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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | includeHeatPort | false | Include the drive heat port |
| ParameterRecords.ElectricDrives.GenericDrives.GenericDriveData | driveData | ||
| Advanced › Only for 1D electric drive | |||
| Boolean | usingMultiBodySystem (from Base) | false | = true, if connecting to a MultiBody system |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Interfaces.FlangeWithBearing | shaft_b (from Base) | Mechanical shaft | |
| VehicleInterfaces.Interfaces.ControlBus | controlBus (from Base) | Control signal bus | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p (from BaseDCMachine) | Positive electrical pin | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n (from BaseDCMachine) | Negative electrical pin | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort | Conditional port for exhaust heat flow |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Mechanics.MultiBody.MultiBodyEnd | end_1 (from Base) | ||
| Modelica.Mechanics.Rotational.Components.Inertia | inertia | ||
| Modelica.Mechanics.Rotational.Sources.Torque | torque | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Components.FieldWeakening | fieldWeakening | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter | ||
| Sensors.RotationalMultiSensor | rotationalMultiSensor | ||
| Components.IdealPowerConverter | idealPowerConverter | ||
| Sensors.ElectricalMultiSensorDC | electricalMultiSensorDC | ||
| Components.DriveEfficiency | driveEfficiency | ||
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature | fixedTemperature | ||
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow | ||
| Sensors.RotationalMultiSensor | rotationalMultiSensor1 |