## Equivalent circuit battery model

Download

Ver. 1.1.0
for R2021a

This is an equivalent circuit battery model consisting of open circuit voltage, DC resistance, inductance, and two RC parallel circuits.

The battery temperature or ambient temperature is connected to the input port.

The SOC and battery temperature are connected to the output port.

The electrical system domain signal is connected to the physical conserving port.

When thermal calculation mode is "Enable", the battery temperature is calculated based on Joule heating, atmosphere temperature, and thermophysical property parameters.

R, C, and L are two-dimensional maps that depend on the battery temperature and SOC, respectively.

The SOC and battery temperature are connected to the output port.

The electrical system domain signal is connected to the physical conserving port.

When thermal calculation mode is "Enable", the battery temperature is calculated based on Joule heating, atmosphere temperature, and thermophysical property parameters.

R, C, and L are two-dimensional maps that depend on the battery temperature and SOC, respectively.

#### To connect a simple electric motor model:

#### Equivalent circuit battery model internal configuration diagram:

The internal configuration of this model

The thermal calculation schematic of this model.

When thermal calculation mode is "Enable", the battery temperature is calculated based on Joule heating, atmosphere temperature, and thermophysical property parameters.

#### Operating environment:

#### Block diagram:

##### Solver settings:

・Global solver

- Solver: Arbitrary

- Sample time: Dependents on the setting value of the local solver

・Local solver

- Solver: Backward Euler method

- Sample time: 1 msec

- Number of iterations: 3 times

- Solver: Arbitrary

- Sample time: Dependents on the setting value of the local solver

・Local solver

- Solver: Backward Euler method

- Sample time: 1 msec

- Number of iterations: 3 times

##### Model constraints:

- This model does not simulate or guarantee the behavior and behavior accuracy of the actual machine.

- If the file structure in the library folder is changed, this model does not work.

- Operation in other than the above operating environment and solver settings is not covered by the warranty.

- Operation with other than the supplied parameter set is not covered by the warranty.

- The Lookuptable setting in this model is Interpolation: Linear, Extrapolation: Nearest (final data retention).

- In the case of SOC=0 and discharge, or SOC=1 and charge, current will continue to flow but SOC will not change.

- If the battery voltage becomes negative, the simulation will stop.

- If the file structure in the library folder is changed, this model does not work.

- Operation in other than the above operating environment and solver settings is not covered by the warranty.

- Operation with other than the supplied parameter set is not covered by the warranty.

- The Lookuptable setting in this model is Interpolation: Linear, Extrapolation: Nearest (final data retention).

- In the case of SOC=0 and discharge, or SOC=1 and charge, current will continue to flow but SOC will not change.

- If the battery voltage becomes negative, the simulation will stop.

##### How to execute:

1. Set the folder containing the library to MATLAB current directory.

2. Read the parameter file.

3. Open the model to be executed.

4. Run the model.

2. Read the parameter file.

3. Open the model to be executed.

4. Run the model.

Download

Ver. 1.1.0
for R2021a

Ver. 1.1.0
for R2021a