MotorData record
Requirements.Examples.MotorsWithLosses.Components.MotorData
ยท source
Data needed from Modelica.Electrical.Machines.BasicMachines.DCMachines.DC_PermanentMagnet
Extends Modelica.Icons.Record
The subset of a DC_PermanentMagnet instance that the requirements
observe, built at the call site with an explicit record constructor,
MotorData(VaNominal=dcpm1.VaNominal, ..., inertiaRotor=InertiaData(w=dcpm1.inertiaRotor.w)).
The Modelica Language Specification (section 12.6.1, casting to record) also
allows the short form MotorData(dcpm1), and Dymola accepts it;
OpenModelica 1.27 and Modelon Impact (OCT) do not, nor do they accept passing
the instance itself. The explicit constructor is what all three run
(measured 2026-09-14).
Parameters
| Name | Type | Description |
|---|---|---|
VaNominal parameter | SI.Voltage | Nominal armature voltage |
IaNominal parameter | SI.Current | Nominal armature current |
wNominal parameter | SI.AngularVelocity | Nominal speed |
Components and variables
| Name | Type | Description |
|---|---|---|
va | SI.Voltage | Armature voltage |
ia | SI.Current | Armature current |
inertiaRotor | InertiaData | Data of the rotor inertia |