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

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
BooleanuseConstantPowertrueUse constant power consumpton, otherwise input
Modelica.Units.SI.PowerP0Constant power consumption

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
Modelica.Blocks.Interfaces.RealInputp

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Sources.Constantconst
ElectricDrives.Components.IdealPowerConverteridealPowerConverter
Sensors.ElectricalMultiSensorDCelectricalMulitSensorDC
Modelica.Blocks.Continuous.IntegratorintegratorEnergy