modelElectricalAccessories
Simple model of electrical power consumption
Extends from Interfaces.BaseElectricDevice (Basic interface for electric devices), VehicleInterfaces.Icons.Accessories (Icon for an accessories subsystem).
Information
Simple model of electrical power consumption, either constant or given by the input signal.
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 |
| Boolean | useConstantPower | true | Use constant power consumpton, otherwise input |
| Modelica.Units.SI.Power | P | 0 | Constant power consumption |
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 | |
| Modelica.Blocks.Interfaces.RealInput | p |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Sources.Constant | const | ||
| ElectricDrives.Components.IdealPowerConverter | idealPowerConverter | ||
| Sensors.ElectricalMultiSensorDC | electricalMulitSensorDC | ||
| Modelica.Blocks.Continuous.Integrator | integratorEnergy |