Battery
Description of the Battery component in Schematic Editor
The Battery component is implemented as a controlled voltage source and a series resistance. The voltage source is controlled by a lookup table that is automatically modified by changing the battery type. In order to get information regarding the battery's state of charge during simulation in HIL SCADA, it is necessary to check the State of charge output (SOC), and to connect the battery to the Probe, which adds the SOC signal (in %) to the list of analog signals in the SCADA.
component | component dialog window | component parameters |
---|---|---|
![]() Battery |
![]() |
|
Generic battery model
The battery model is implemented in the Typhoon emulator using a generic set of equations that describes the behavior of the battery.
There are 3 points at the battery's discharge curve (Figure 1) that are used by the equations:
- Fully charged battery (Vfull, Q - rated capacity of the battery)
- End of exponential zone (Vexp, Qexp)
- End of nominal zone (Vnom, Qnom)

Figure 2 presents a schematic diagram of the battery model implemented in the Typhoon emulator. It consists of a controlled voltage source (E) and a series resistance (Rbat). The controlled voltage source is managed by the discharge state of the battery. The battery voltage is a function of the discharge state (it) according to the following formula:

"it" in the previous equation is the discharge state of the battery, and it is defined as:
- A: Voltage drop during the exponential zone:
- 3/B: Charge at the end of exponential zone:
- K: Polarization voltage:
- Voltage constant E0:
where i is the rated discharge current.
Tab: General

All parameters for batteries are defined in Schematic Editor.
- Battery type: Models are available for the 4 most common battery types: Lead-Acid, Lithium-ion, Nickel-Cadmium and Nickel-Metal-Hydride. Additionally, you can choose to define your own battery composition.
- Nominal voltage: is the nominal voltage of the battery.
- Capacity: is the rated capacity of battery.
- Initial SOC: is the initial state of charge of the battery.
If you need additional parameters, then chose the "User defined" option. This enables the hidden parameters that allow you to define the battery's SOC curve in detail, letting you shape it to your needs.
- Full charge voltage: percentage of the nominal voltage of battery when it is fully charged. This number is always larger than 100%
- Nominal discharge current is defined as a percentage of the rated capacity/1h.
- Internal resistance
- Capacity at nominal voltage: percentage of the rated capacity.
- Capacity at exponential zone: percentage of the rated capacity.
- Voltage at exponential zone: percentage of the nominal voltage.
- Preview SOC Curve button will graph the characteristic SOC curve of a selected battery based on the previous equations (more documentation can be found in t-tn003 - Battery-modeling and application).

Tab: Signal Processing

If the State of charge output (SOC) property is checked, an additional signal processing output port on the battery model will be added (Figure 6), which outputs the current state of charge of the battery. The Execution rate property will be enabled in that case, which determines the execution rate of the signal processing components.

If the Use signal processing Look up table property is checked, the entire battery will be modeled with a Signal Processing lookup table (Figure 7). The initial State of Charge is set in HIL SCADA through the Scada Input property Name.InitialSOC. It can be changed during the simulation runtime. In this case, the Execution rate property will be enabled, adapting the simulation to the execution rate of the signal processing components and not by the time step defined in the circuit solver settings.

Measurements internal to the battery component
Analog output variable name | Description |
---|---|
name.Ia1 | Battery output current |
name | Battery output voltage |
Analog input variable name | Description |
---|---|
name.InitialSOC | Initial state of charge |