MATLAB: Does the Power System Blockset contain a block that models a battery

battery_system_managementpower_electronics_controlSimscape Electrical

I would like to know if the Power System Blockset contains a block that models a battery.

Best Answer

SimPowerSystems does not contain a pre-build block which models the behavior of a battery. It does have the building blocks for creating a battery model. You can model a battery using a DC voltage source in series with a resistor. The resistor represents the internal resistance which is related to the characteristics of the battery: temperature, chemical components, etc. If you require a more complex model to simulate the voltage vs time characteristic of a battery you can use a controlled voltage source driven by a function block or a look up table.
We are considering implementing such a block in a future version of the SimPowerSystems Blockset.