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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | includeGround (from BaseElectricDevice) | false | Include inner electrical ground at pin_n |
| Boolean | includeHeatPort (from BaseElectricDevice) | false | Include the battery heat port |
| Boolean | usingMultiBodyChassis (from BaseElectricDevice) | false | Include secondary ground node on the right port |
| Modelica.Units.SI.Power | P | 0 | Constant power production |
| Real | SoCLo | 0.4 | Start REX when SoC falls below SoCLo |
| Real | SoCHi | 0.8 | Stop REX when SoC rises above SoCHi |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ControlBus | controlBus (from BaseElectricDevice) | Control signal bus | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p (from BaseElectricDevice) | Positive electrical pin | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n (from BaseElectricDevice) | Negative electrical pin | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from BaseElectricDevice) | Conditional port for exhaust heat flow |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Hysteresis | hysteresis | ||
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.Blocks.Sources.Constant | constP | ||
| Modelica.Blocks.Sources.Constant | const0 | ||
| ElectricDrives.Components.IdealPowerConverter | idealPowerConverter | ||
| Sensors.ElectricalMultiSensorDC | electricalMulitSensorDC | ||
| Modelica.Blocks.Continuous.Integrator | integratorEnergy |