Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ equation
connect(terminalBox.starpoint, starMachine.plug_p) annotation (Line(points={{-20,-38},{-40,-38},{-40,-52}}, color={0,0,255}));
connect(starMachine.pin_n, ground.p) annotation (Line(points={{-40,-72},{-40,-80},{-70,-80}}, color={0,0,255}));
connect(starMachineQS.pin_n, groundQS.pin) annotation (Line(points={{-40,28},{-40,20},{-70,20}}, color={85,170,255}));
annotation (experiment(StopTime=1.5, Interval=0.00001, Tolerance=1e-06), Documentation(
annotation (experiment(
StopTime=1.5,
Interval=0.0001,
Tolerance=1e-06), Documentation(
info="<html>
<strong>Test example: Steady-State Initialization of an induction machine with squirrel cage</strong><br>
The induction machine with squirrel cage is initialized in steady-state at no-load;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ equation
annotation (
experiment(
StopTime=10,
Interval=0.0001,
Interval=0.01,
Tolerance=1e-06),
Documentation(info="<html>
<ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
time
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
mass.s
mass.v
massQS.s
massQS.v
vfController.x
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
time
imc.airGap.V_mrr.im
imc.airGap.V_mrr.re
imc.airGap.V_msr.im
imc.airGap.V_msr.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.port_p.V_m.im
imc.stator.port_p.V_m.re
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
loadInertia.phi
loadInertia.w
loadInertiaQS.phi
loadInertiaQS.w
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
time
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
loadInertia.phi
loadInertia.w
loadInertiaQS.phi
loadInertiaQS.w
transformer.l2sigma.inductor[1].i
transformer.l2sigma.inductor[3].i
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
time
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
loadInertia.phi
loadInertia.w
loadInertiaQS.phi
loadInertiaQS.w
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
time
constantSpeed.phi
constantSpeedQS.phi
smee.excitation.electroMagneticConverter.Phi.re
smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
smee.stator.stray.port_p.Phi.im
smee.stator.stray.port_p.Phi.re
// smee.stator.zeroInductor.i0
smeeQS.short.port_p.reference.gamma
Ptr
Pqs
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
time
inertiaLoad.phi
inertiaLoad.w
inertiaLoadQS.phi
inertiaLoadQS.w
terminalBoxQS.plugSupply.pin[1].v.re
terminalBoxQS.plugSupply.pin[1].v.im
terminalBoxQS.plugSupply.pin[1].i.re
terminalBoxQS.plugSupply.pin[1].i.im
terminalBoxQS.plugSupply.pin[2].v.re
terminalBoxQS.plugSupply.pin[2].v.im
terminalBoxQS.plugSupply.pin[2].i.re
terminalBoxQS.plugSupply.pin[2].i.im
terminalBoxQS.plugSupply.pin[3].v.re
terminalBoxQS.plugSupply.pin[3].v.im
terminalBoxQS.plugSupply.pin[3].i.re
terminalBoxQS.plugSupply.pin[3].i.im
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_Conveyor "Induction machine with squirrel cage and inverter driving a conveyor"
extends Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor;
annotation (experiment(StopTime=5.00, Interval=0.0001, Tolerance=1e-06),
TestCase(shouldPass = true,
__ModelicaAssociation(Comparison(TimeWindows={TimeSlot(4.00, 5.00)}))),
Diagram(graphics={
Text(
extent={{20,60},{100,52}},
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"),
Text(
extent={{20,-40},{100,-48}},
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_Conveyor;
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_Initialize "Steady-state initialization of induction machine with squirrel cage"
extends Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize;
annotation (experiment(
StopTime=0.60,
Interval=0.0001,
Tolerance=1e-06),
TestCase(shouldPass = true,
__ModelicaAssociation(Comparison(TimeWindows={TimeSlot(0.45, 0.60)}))),
Diagram(graphics={
Text(
extent={{20,8},{100,0}},
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"),
Text(
extent={{20,-92},{100,-100}},
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_Initialize;
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_Transformer "Induction machine with squirrel cage starting with transformer"
extends Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer;
annotation (experiment(StopTime=2.1, Interval=0.0001, Tolerance=1e-06),
TestCase(shouldPass = true,
__ModelicaAssociation(Comparison(TimeWindows={TimeSlot(2.00, 2.10)}))),
Diagram(graphics={
Text(
extent={{80,8},{160,0}},
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"),
Text(
extent={{80,-92},{160,-100}},
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_Transformer;
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_YD "Induction machine with squirrel cage starting Y-D"
extends Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD;
annotation (experiment(StopTime=2.1,Interval=0.0001,Tolerance=1e-06),
TestCase(shouldPass = true,
__ModelicaAssociation(Comparison(TimeWindows={TimeSlot(2.00, 2.10)}))),
Diagram(graphics={
Text(
extent={{-60,20},{20,12}},
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{-60,-80},{20,-88}},
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_YD;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines;
package InductionMachines "Modelica.Icons.ExamplesPackage"
extends Modelica.Icons.ExamplesPackage;
end InductionMachines;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
IMC_YD
IMC_Transformer
IMC_Conveyor
IMC_Initialize
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines;
model SMEE_Generator "Electrical excited synchronous machine operating as generator"
extends Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator;
annotation (
experiment(
StopTime=15.1,
Interval=1E-4,
Tolerance=1e-06),
TestCase(shouldPass = true,
__ModelicaAssociation(Comparison(TimeWindows={TimeSlot(14.9, 15.1)}))),
Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,
-100},{100,100}}),
graphics={ Text(
extent={{20,8},{100,0}},
textStyle={TextStyle.Bold},
textString="%m phase quasi-static",
textColor={0,0,0}), Text(
extent={{20,-92},{100,-100}},
textStyle={TextStyle.Bold},
textString="%m phase transient",
textColor={0,0,0})}));
end SMEE_Generator;
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines;
model SMPM_CurrentSource "Test example: PermanentMagnetSynchronousMachine fed by current source"
extends Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource;
annotation (
experiment(StopTime=0.20, Interval=1E-4, Tolerance=1E-6),
TestCase(shouldPass = true,
__ModelicaAssociation(Comparison(TimeWindows={TimeSlot(0.00, 0.20)}))),
Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,
-100},{100,100}}), graphics={
Text(
extent={{30,48},{110,40}},
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{30,-52},{110,-60}},
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end SMPM_CurrentSource;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines;
package SynchronousMachines
extends Modelica.Icons.ExamplesPackage;
end SynchronousMachines;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SMPM_CurrentSource
SMEE_Generator
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples;
package BasicMachines
extends Modelica.Icons.ExamplesPackage;
end BasicMachines;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
InductionMachines
SynchronousMachines
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
within ModelicaTest.Magnetic.QuasiStatic.FundamentalWave;
package Examples
extends Modelica.Icons.ExamplesPackage;
end Examples;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BasicMachines
4 changes: 4 additions & 0 deletions ModelicaTest/Magnetic/QuasiStatic/FundamentalWave/package.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
within ModelicaTest.Magnetic.QuasiStatic;
package FundamentalWave
extends Modelica.Icons.ExamplesPackage;
end FundamentalWave;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Examples
1 change: 1 addition & 0 deletions ModelicaTest/Magnetic/QuasiStatic/package.order
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
FluxTubes
FundamentalWave
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
time
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
// imc.stator.zeroInductor.i0
Comment thread
AHaumer marked this conversation as resolved.
imcQS.rotorCage.port_p.reference.gamma
mass.s
mass.v
massQS.s
massQS.v
vfController.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
time
imc.airGap.V_mrr.im
imc.airGap.V_mrr.re
imc.airGap.V_msr.im
imc.airGap.V_msr.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.port_p.V_m.im
imc.stator.port_p.V_m.re
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
loadInertia.phi
loadInertia.w
loadInertiaQS.phi
loadInertiaQS.w
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
time
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
loadInertia.phi
loadInertia.w
loadInertiaQS.phi
loadInertiaQS.w
transformer.l2sigma.inductor[1].i
transformer.l2sigma.inductor[3].i
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
time
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
// imc.stator.zeroInductor.i0
imcQS.rotorCage.port_p.reference.gamma
loadInertia.phi
loadInertia.w
loadInertiaQS.phi
loadInertiaQS.w
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
time
constantSpeed.phi
constantSpeedQS.phi
smee.excitation.electroMagneticConverter.Phi.re
smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re
smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im
smee.stator.stray.port_p.Phi.im
smee.stator.stray.port_p.Phi.re
// smee.stator.zeroInductor.i0
smeeQS.short.port_p.reference.gamma
theta
thetaQS
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
time
inertiaLoad.phi
inertiaLoad.w
inertiaLoadQS.phi
inertiaLoadQS.w
terminalBoxQS.plugSupply.pin[1].v.re
terminalBoxQS.plugSupply.pin[1].v.im
terminalBoxQS.plugSupply.pin[1].i.re
terminalBoxQS.plugSupply.pin[1].i.im
terminalBoxQS.plugSupply.pin[2].v.re
terminalBoxQS.plugSupply.pin[2].v.im
terminalBoxQS.plugSupply.pin[2].i.re
terminalBoxQS.plugSupply.pin[2].i.im
terminalBoxQS.plugSupply.pin[3].v.re
terminalBoxQS.plugSupply.pin[3].v.im
terminalBoxQS.plugSupply.pin[3].i.re
terminalBoxQS.plugSupply.pin[3].i.im
2 changes: 1 addition & 1 deletion ModelicaTest/package.order
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Blocks
Tables
Electrical
Fluid
Magnetic
Media
Comment on lines 4 to 7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Electrical
Fluid
Magnetic
Media
Electrical
Magnetic
Fluid
Media

I understand that it looked odd to have "Magnetic" last, but I assume it is an expanded view of the Modelica-structure not a pure alphabetic order (that's why Media is before Math and Tables after Blocks), so I think Magnetic should be grouped with Electrical, not between Fluid and Media.

It could also be that it is just based on when the packages were added, but even in that case I think we should start working towards a logical order based on MSL - not an alphabetical one.

Math
MultiBody
Rotational
Translational
Utilities
ComplexMath
Magnetic