modelRangeExtender

Simple model of a range extender

Extends from Interfaces.BaseElectricDevice (Basic interface for electric devices), VehicleInterfaces.Icons.Engine (Icon for an engine subsystem).

Information

Simple model of a range extender feeding electrial energy when Soc falls below SoCLo until SoC rises above SoCHi.

Parameters

TypeNameDefaultDescription
BooleanincludeGround (from BaseElectricDevice)falseInclude inner electrical ground at pin_n
BooleanincludeHeatPort (from BaseElectricDevice)falseInclude the battery heat port
BooleanusingMultiBodyChassis (from BaseElectricDevice)falseInclude secondary ground node on the right port
Modelica.Units.SI.PowerP0Constant power production
RealSoCLo0.4Start REX when SoC falls below SoCLo
RealSoCHi0.8Stop REX when SoC rises above SoCHi

Connectors

TypeNameDefaultDescription
ControlBuscontrolBus (from BaseElectricDevice)Control signal bus
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p (from BaseElectricDevice)Positive electrical pin
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n (from BaseElectricDevice)Negative electrical pin
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from BaseElectricDevice)Conditional port for exhaust heat flow

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.Hysteresishysteresis
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.ConstantconstP
Modelica.Blocks.Sources.Constantconst0
ElectricDrives.Components.IdealPowerConverteridealPowerConverter
Sensors.ElectricalMultiSensorDCelectricalMulitSensorDC
Modelica.Blocks.Continuous.IntegratorintegratorEnergy