modelIdealBattery

Ideal linear DC source

Extends from DriveControl.Interfaces.PartialBattery (Partial DC source).

Information

The IdealBattery consists of a constant voltage source and an inner resistance.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.ChargeQ0 (from PartialBattery)0Initial charge
DataRecords.Datadata (from PartialBattery)

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinbat_p (from PartialBattery)Positive DC input
Modelica.Electrical.Analog.Interfaces.NegativePinbat_n (from PartialBattery)Negative DC input

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Basic.Groundground (from PartialBattery)
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor (from PartialBattery)
Modelica.Blocks.Continuous.Integratorcharge (from PartialBattery)
Modelica.Units.SI.ChargeQ (from PartialBattery)charge.yCharge
Modelica.Electrical.Analog.Basic.Resistorri
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage