DocumentationHelp CenterDocumentation
A high-voltage battery like those used in hybrid electric vehicles. The model uses a realistic DC-link current profile, which originates from a dynamic driving cycle. The total simulation time is 3600 seconds.
Implement a passive cell balancing for a Lithium-ion battery pack. Cell-to-cell differences in the module create imbalance in cell state of charge and hence voltages. In this example, the balancing algorithm starts when the battery pack is idle and the difference in the cell state of charge is above a certain predefined value.
Model an automotive battery pack for thermal management tasks. The battery pack consists of several battery modules, which are combinations of cells in series and parallel. Each battery cell is modeled using the Battery (Table-Based) Simscape Electrical block. In this example, the initial temperature and the state of charge are the same for all cells. Four battery modules, three similar and one differing from the other three, are connected in series to simulate a battery pack. The results in this example assume an initial ambient temperature equal to 25 degree Celsius. The Coolant Controls subsystem defines the logic used to determine the battery pack coolant flow rate.
Model an automotive battery pack for DC fast charging tasks. The battery pack consists of several battery modules, which are combinations of cells in series and parallel. Each battery cell is modeled using the Battery (Table-Based) Simscape Electrical block. In this example, the initial temperature and the state of charge are the same for all cells. The cell capacity varies according to the manufacturing tolerances or uncertainities. Three battery modules, two similar and one differing from the other two, are connected in series to simulate a battery pack. The results in this example assume an initial ambient temperature equal to zero degree Celsius. The Controls subsystem defines the logic to determine the battery pack charging time and current.
Model a short-circuit in a lithium-ion battery module. The battery module consists of 30 cells with a string of three parallel cells connected in a series of ten strings. Each battery cell is modeled using the Battery (Table-Based) Simscape Electrical block. In this example, the initial temperature and the state of charge are the same for all cells. There is no coolant flow modeled in this example. The battery module is shorted with a 0.1mOhm resistor. There is an inrush current followed by cell quick discharge and heating up. Once the cell reaches the trigger temperature for thermal runaway and cell venting, the electrical circuit is disconnected to stop the electrical simulation.
Use a permanent magnet synchronous generator (PMSG) to charge a battery. An ideal angular velocity source is used to maintain the rotor speed constant. The Control subsystem uses field oriented control to regulate the torque of the PMSG. The torque reference is obtained as a function of dc-link voltage. The initial battery state of charge is 25%. The Scopes subsystem contains scopes that allow you to see the simulation results.
The voltage output by a Supercapacitor block as it is charged and then discharged. To charge the Supercapacitor, a current of 100 mA is input to the Supercapacitor for 100 seconds. The Supercapacitor is then rested for one minute. For the next hour, to discharge the Supercapacitor, a load of 50 mA is stepped on for one second in every 50 seconds. The Supercapacitor is then rested until the end of the simulation. The scope displays the Supercapacitor charging/discharging current and voltage.
How a DC-DC converter can be used to maintain a constant load voltage when drawing power from an ultracapacitor. Initially the converter supplies power to the load, and as it does so, the capacitor voltage drops. The protection circuit disconnects the load when the capacitor voltage drops below a threshold of 4V. At 10 seconds the generator is turned on, and power is supplied to both the load and to the capacitor to recharge it.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office