modelDcpm
Extends from Modelica.Electrical.Machines.Icons.TransientMachine, Modelica.Electrical.Analog.Interfaces.PartialConditionalHeatPort (Partial model to include a conditional HeatPort in order to dissipate losses, used for graphical modeling, i.e., for building models by drag-and-drop).
Information
This is a simplified model of a permanent magnet excited DC machine. All losses except ohmic losses of the armature winding are neglected. The armature resistance is dependent on temperature. Additionally, the armature inductance is implemented. Induced voltage and generated torque are calculated in the electro-mechanical converter. By extending from the PartialMachine, shaft flange, inertia of stator and rotor as well as a conditional support/housing flange and a conditional thermal connector are inherited.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| BikeTrailer.DataRecords.DCPM.DcpmData | dcpmData | ||
| Boolean | useHeatPort (from PartialConditionalHeatPort) | false | =true, if HeatPort is enabled |
| SI.Temperature | T (from PartialConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialConditionalHeatPort) | Optional port to which dissipated losses are transported in form of heat | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p | ||
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | shaft | ||
| Modelica.Blocks.Interfaces.RealOutput | w | Mechanical shaft speed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | va | pin_p.v - pin_n.v | Armature voltage |
| Modelica.Units.SI.Current | ia | pin_p.i | Armature current |
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature | fixedTemperature (from PartialConditionalHeatPort) | ||
| Modelica.Units.SI.Angle | phi | shaft.phi | Mechnical shaft angle |
| Modelica.Units.SI.Torque | tau | inertiaRotor.flange_a.tau | Inner torque |
| Subcomponents.ElectroMechanicalConverter | electroMechanicalConverter | ||
| Modelica.Electrical.Analog.Basic.Resistor | armatureResistance | ||
| Modelica.Electrical.Analog.Basic.Inductor | armatureInductance | ||
| Modelica.Mechanics.Rotational.Components.Inertia | inertiaRotor | ||
| Modelica.Mechanics.Rotational.Sensors.SpeedSensor | speedSensor |