modelCCCV

Constant voltage, constant current discharging device

Extends from ElectricalEnergyStorage.Icons.Sink (Icon for a basic block).

Parameters

TypeNameDefaultDescription
BooleanExternalControltrue
Modelica.SIunits.VoltageVminMinimal battery voltage
Modelica.SIunits.CurrentImaxMaximal discharging current
Modelica.SIunits.TimeT0.01Controller time constant

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_pPositive pin Positive pin (potential p.v > n.v for positive voltage drop v)
Modelica.Electrical.Analog.Interfaces.NegativePinpin_nNegative pin
Modelica.Blocks.Interfaces.BooleanInputon
Modelica.Blocks.Interfaces.RealInputv

Components

TypeNameDefaultDescription
Components.ControlledCurrentcontrolledCurrent
Modelica.Electrical.Analog.Sensors.VoltageSensorvoltageSensor