modelGenericDrive

Generic drive without losses

Extends from VehicleInterfaces.ElectricDrives.Interfaces.BaseDCMachine (Base interface for electric drive in series), EMOTH.Icons.ElectricDrive (Basic graphical layout of electric drive).

Information

Generic model of an electric drive with constant efficiency:

  • The throttle signal is limited in the range [-1..+1].
  • From the limited throttle signal the torque demand is calculated by the field weakening block, taking into account actual speed.
  • The torque demand goes through a PT1-block, representing the time constant of the current controlled drive.
  • The resulting torque demand is applied to the inertia of the motor and the shaft.
  • Based on the mechanical power, the losses are calculated by the drive efficiency block.
  • Based on the mechanical power and the losses, the ideal power converter calculates the dc current, taking actual dc voltage into account, based on a power balance.

Losses are dissipated either internally or to the optional heatport.

Parameters

TypeNameDefaultDescription
BooleanincludeHeatPortfalseInclude the drive heat port
ParameterRecords.ElectricDrives.GenericDrives.GenericDriveDatadriveData
Advanced › Only for 1D electric drive
BooleanusingMultiBodySystem (from Base)false= true, if connecting to a MultiBody system

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.FlangeWithBearingshaft_b (from Base)Mechanical shaft
VehicleInterfaces.Interfaces.ControlBuscontrolBus (from Base)Control signal bus
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p (from BaseDCMachine)Positive electrical pin
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n (from BaseDCMachine)Negative electrical pin
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortConditional port for exhaust heat flow

Components

TypeNameDefaultDescription
Mechanics.MultiBody.MultiBodyEndend_1 (from Base)
Modelica.Mechanics.Rotational.Components.Inertiainertia
Modelica.Mechanics.Rotational.Sources.Torquetorque
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Components.FieldWeakeningfieldWeakening
Modelica.Blocks.Nonlinear.Limiterlimiter
Sensors.RotationalMultiSensorrotationalMultiSensor
Components.IdealPowerConverteridealPowerConverter
Sensors.ElectricalMultiSensorDCelectricalMultiSensorDC
Components.DriveEfficiencydriveEfficiency
Modelica.Thermal.HeatTransfer.Sources.FixedTemperaturefixedTemperature
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow
Sensors.RotationalMultiSensorrotationalMultiSensor1