modelCCCV

Constant voltage, constant current charging device

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

Parameters

TypeNameDefaultDescription
BooleanExternalControltrue
Modelica.SIunits.VoltageVmaxMinimal battery voltage
Modelica.SIunits.CurrentImaxMaximal charging 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
ElectricalEnergyStorage.Sources.Components.ControlledCurrentcontrolledCurrent
Modelica.Electrical.Analog.Sensors.VoltageSensorvoltageSensor