WOLFRAM SYSTEM MODELER

BatteryCell

The main battery cell model

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.ElectricalEngineering.Battery.Components.BatteryCell"]
Out[1]:=

Information

This is the main part of the battery model. The battery cell can be used in a number of ways, for instance, the cell can be connected in series to form a battery pack.

The cell has two main circuits with a voltage source and a current source, respectively, connected to variable capacitors and variable resistors. The state of the battery is fed back to the battery cell as input to the variable capacitors and resistors.

Parameters (1)

initialStateOfCharge

Value: 0.9

Type: Real

Connectors (5)

n

Type: NegativePin

Description: Negative pin of an electrical component

p

Type: PositivePin

Description: Positive pin of an electrical component

heat

Type: HeatPort_a

Description: Thermal port for 1-dim. heat transfer (filled rectangular icon)

SoCOutput

Type: RealOutput

Description: 'output Real' as connector

CapacityOutput

Type: RealOutput

Description: 'output Real' as connector

Components (15)

ground

Type: Ground

Description: Ground node

capacity

Type: StateOfHealthCapacitor

Description: Capacitor with signal controlling the state of health.

openCircuitVoltage

Type: OpenCircuitVoltage

Description: Voltage in an open circuit.

drawnCurrent

Type: CurrentSensor

Description: Sensor to measure the current in a branch

temperature

Type: TemperatureSensor

Description: Absolute temperature sensor in Kelvin

stateOfCharge

Type: PotentialSensor

Description: Sensor to measure the potential

batteryState

Type: Multiplex3

Description: Multiplexer block for three input connectors

drainCurrent

Type: ProtectedSignalCurrent

Description: Signal current protected from overcharge.

seriesResistance

Type: SeriesResistance

Description: Model of resistors in a series.

shortTransientC

Type: ShortTransientCapacitance

Description: Model with short transient capacitance.

shortTransientR

Type: ShortTransientResistance

Description: Model with short transient resistance.

longTransientC

Type: LongTransientCapacitance

Description: Model with long transient capacitance.

longTransientR

Type: LongTransientResistance

Description: Model with long transient resistance.

LimitController

Type: LessThreshold

Description: Output y is true, if input u is less than threshold

GreaterController

Type: GreaterThreshold

Description: Output y is true, if input u is greater than threshold

Used in Examples (3)

BatteryDischarge

EducationExamples.ElectricalEngineering.Battery

A battery cell will be discharged until it reaches a low State of Charge, the simulation will then be terminated

ChargeDischarge

EducationExamples.ElectricalEngineering.Battery

A scenario where a battery cell will be charged and discharged in intervals

CellPhoneScenario

EducationExamples.ElectricalEngineering.Battery

Model with a battery connected to a cellphone

Used in Components (1)

BatteryPack

EducationExamples.ElectricalEngineering.Battery.Components

Four battery cells connected in series