Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start.mo
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,29 @@ Simulate for 2 seconds and plot (versus time):
<li>dcee.ie: excitation current</li>
</ul>
Default machine parameters of model <em>DC_ElectricalExcited</em> are used.
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "89773",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcee.ia, legend = "Armature current"),
Curve(y = dcee.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = dcee.tauElectrical, legend = "Motor torque")
},
x = Axis(min = 0, max = 1.2)
),
Plot(
curves = {
Curve(y = dcee.ie, legend = "Field excitation current")
},
x = Axis(min = 0, max = 1.2)
)
}
)
}
));
end DCEE_Start;
19 changes: 18 additions & 1 deletion Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling.mo
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,22 @@ Default machine parameters are used, but:
<li>Armature reference temperature is set to 80 degC.</li>
<li>Nominal armature temperature is set to 80 degC.</li>
</ul>
</html>"));
</html>",
figures = {
Figure(
title = "Temperatures",
identifier = "01776",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = armature.T, legend = "Armature temperature"),
Curve(y = core.T, legend = "Core temperature"),
Curve(y = cooling.T, legend = "Cooling temperature")
}
)
}
)
}
));
end DCPM_Cooling;
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,29 @@ Simulate for 2 seconds and plot (versus time):
<li>dcpm2.wMechanical: motor's speed of quasi-static model</li>
<li>dcpm2.tauElectrical: motor's torque of quasi-static model</li>
</ul>
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "bbe59",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcpm1.ia, legend = "Armature current of transient model"),
Curve(y = dcpm1.wMechanical, legend = "Motor angular velocity of rotor against stator of transient model"),
Curve(y = dcpm1.tauElectrical, legend = "Motor torque of transient model")
}
),
Plot(
curves = {
Curve(y = dcpm2.ia, legend = "Armature current of quasistatic model"),
Curve(y = dcpm2.wMechanical, legend = "Motor angular velocity of rotor against stator of quasistatic model"),
Curve(y = dcpm2.tauElectrical, legend = "Motor torque of quasistatic model")
}
)
}
)
}
));
end DCPM_QuasiStatic;
19 changes: 18 additions & 1 deletion Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start.mo
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,22 @@ Simulate for 2 seconds and plot (versus time):
<li>dcpm.tauElectrical: motor's torque</li>
</ul>
Default machine parameters of model <em>DC_PermanentMagnet</em> are used.
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "9246c",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcpm.ia, legend = "Armature current"),
Curve(y = dcpm.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = dcpm.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end DCPM_Start;
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,22 @@ Default machine parameters are used, but:
</ul>
So the machine is at the beginning in cold condition, ending in warm condition
(with the same armature resistance as the unmodified machine).
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "e423c",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcpm.ia, legend = "Armature current"),
Curve(y = dcpm.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = dcpm.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end DCPM_Temperature;
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,25 @@ Anton Haumer, Christian Kral, Hansj&ouml;rg Kapeller, Thomas B&auml;uml, Johanne
<a href=\"https://2009.international.conference.modelica.org/proceedings/pages/papers/0103/0103_FI.pdf\">
The AdvancedMachines Library: Loss Models for Electric Machines</a><br>
Modelica 2009, 7<sup>th</sup> International Modelica Conference
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "0c174",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcpm1.ia, legend = "Armature current of dcpm1"),
Curve(y = dcpm2.ia, legend = "Armature current of dcpm2"),
Curve(y = dcpm1.wMechanical, legend = "Motor angular velocity of rotor against stator of dcpm1"),
Curve(y = dcpm2.wMechanical, legend = "Motor angular velocity of rotor against stator of dcpm2"),
Curve(y = dcpm1.tauElectrical, legend = "Motor torque of dcpm1"),
Curve(y = dcpm2.tauElectrical, legend = "Motor torque of dcpm2")
}
)
}
)
}
));
end DCPM_withLosses;
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,22 @@ Default machine parameters of model <em>DC_SeriesExcited</em> are used.<br>
<strong>Note:</strong><br>
Since both the field and the armature current are sinusoidal, the waveform of the torque is the square of sine.
Due to the additional inductive voltage drops, output of the motor is lower, compared to the same motor (DCSE_Start) at DC voltage.
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "04168",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcse.ia, legend = "Armature current"),
Curve(y = dcse.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = dcse.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end DCSE_SinglePhase;
19 changes: 18 additions & 1 deletion Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start.mo
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,22 @@ Simulate for 2 seconds and plot (versus time):
<li>dcse.tauElectrical: motor's torque</li>
</ul>
Default machine parameters of model <em>DC_SeriesExcited</em> are used.
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "e556f",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = dcse.ia, legend = "Armature current"),
Curve(y = dcse.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = dcse.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end DCSE_Start;
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,22 @@ The mechanical load is a constant torque like a conveyor (with regularization ar
</ul>

<p>Default machine parameters are used.</p>
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "695b3",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = currentQuasiRMSSensor.I, legend = "Stator current RMS"),
Curve(y = aimc.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = aimc.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end IMC_Conveyor;
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,22 @@ finally reaching nominal speed.</p>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>Default machine parameters are used.</p>
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "36dc2",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = currentQuasiRMSSensor.I, legend = "Stator current RMS"),
Curve(y = aimc.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = aimc.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end IMC_DOL;
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,22 @@ and accelerating inertias.<br>At time tStep a load step is applied.</p>
</ul>

<p>Default machine parameters are used.</p>
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "c51c3",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = currentQuasiRMSSensor.I, legend = "Stator current RMS"),
Curve(y = aimc.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = aimc.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end IMC_Inverter;
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,22 @@ at start time tStart2 the machine is fed directly from the voltage source, final
</ul>

<p>Default machine parameters are used.</p>
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "8efd2",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = currentQuasiRMSSensor.I, legend = "Stator current RMS"),
Curve(y = aimc.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = aimc.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end IMC_Transformer;
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,22 @@ load torque quadratic dependent on speed, finally reaching nominal speed.</p>
</ul>

<p>Default machine parameters are used.</p>
</html>"));
</html>",
figures = {
Figure(
title = "Machine variables",
identifier = "9f2b3",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = currentQuasiRMSSensor.I, legend = "Stator current RMS"),
Curve(y = aimc.wMechanical, legend = "Motor angular velocity of rotor against stator"),
Curve(y = aimc.tauElectrical, legend = "Motor torque")
}
)
}
)
}
));
end IMC_YD;
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,59 @@ Anton Haumer, Christian Kral, Hansj&ouml;rg Kapeller, Thomas B&auml;uml, Johanne
<a href=\"https://2009.international.conference.modelica.org/proceedings/pages/papers/0103/0103_FI.pdf\">
The AdvancedMachines Library: Loss Models for Electric Machines</a><br>
Modelica 2009, 7<sup>th</sup> International Modelica Conference</p>
</html>"),
</html>",
figures = {
Figure(
title = "Current",
identifier = "a1d88",
preferred = true,
plots = {
Plot(
curves = {
Curve(x = Pmech, y = I_sim, legend = "Simulated current vs. Mechanical losses"),
Curve(x = Pmech, y = I_meas, legend = "Measured current vs. Mechanical losses")
}
)
}
),
Figure(
title = "Speed",
identifier = "996d3",
plots = {
Plot(
curves = {
Curve(x = Pmech, y = w_sim, legend = "Simulated angular velocity vs. Mechanical losses"),
Curve(x = Pmech, y = w_meas, legend = "Measured angular velocity vs. Mechanical losses")
}
)
}
),
Figure(
title = "Power factor",
identifier = "2104a",
plots = {
Plot(
curves = {
Curve(x = Pmech, y = pf_sim, legend = "Simulated power factor vs. Mechanical losses"),
Curve(x = Pmech, y = pf_meas, legend = "Measured power factor vs. Mechanical losses")
}
)
}
),
Figure(
title = "Efficiency",
identifier = "9e6d4",
plots = {
Plot(
curves = {
Curve(x = Pmech, y = eff_sim, legend = "Simulated efficiency vs. Mechanical losses"),
Curve(x = Pmech, y = eff_meas, legend = "Measured efficiency vs. Mechanical losses")
}
)
}
)
}
),
Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},
{100,100}}), graphics={Text(
extent={{-72,100},{68,80}},
Expand Down
Loading
Loading