Skip to content

Commit 5dcebbf

Browse files
committed
fix conflicting start values of DrivesAC3ph examples
1 parent cfc78ee commit 5dcebbf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

PowerSystems/Examples/Spot/DrivesAC3ph.mo

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,7 @@ The machine defines the reference-system independent of the system choice (as ne
390390
PowerSystems.AC3ph.Drives.SM_ctrl sm_ctrl(
391391
rotor(J=0.3),
392392
inverter(par=idealSC1k_100),
393-
motor(par=syn3rdpm400_30k),
394-
w_ini=0.05235987755983)
393+
motor(par=syn3rdpm400_30k))
395394
annotation (Placement(transformation(extent={{0,-40},{20,-20}})));
396395
PowerSystems.Common.Thermal.BdCondV bdCond(m=3) annotation (Placement(
397396
transformation(extent={{0,-20},{20,0}})));
@@ -571,8 +570,7 @@ Transient start with torque-increase at 0.5 s and load-step 2 s.</p>
571570
PowerSystems.AC3ph.Drives.ASM_ctrl asm_ctrl(
572571
rotor(J=0.3),
573572
inverter(par=idealSC1k_100),
574-
motor(par=asyn400_30k),
575-
w_ini(displayUnit="rpm") = 31.415926535898)
573+
motor(par=asyn400_30k))
576574
annotation (Placement(transformation(extent={{0,-40},{20,-20}})));
577575
PowerSystems.Common.Thermal.BdCondV bdCond(m=3) annotation (Placement(
578576
transformation(extent={{0,-20},{20,0}})));
@@ -667,11 +665,12 @@ Check uPhasor[1] &lt 1.<br>The time-average inverter produces a desired voltage
667665
redeclare PowerSystems.AC3ph.Inverters.Inverter inverter(redeclare
668666
PowerSystems.AC3ph.Inverters.Components.InverterSwitch inverter
669667
"switch, no diode, no losses") "inverter with modulator",
670-
w_ini=20.943951023932)
668+
w_ini=0.10471975511966)
671669
annotation (Placement(transformation(extent={{0,-40},{20,-20}})));
672670
PowerSystems.Common.Thermal.BdCondV bdCond(m=5) annotation (Placement(
673671
transformation(extent={{0,-20},{20,0}})));
674-
PowerSystems.Mechanics.Rotation.Rotor loadInertia(J=0.5, w_start=1)
672+
PowerSystems.Mechanics.Rotation.Rotor loadInertia(J=0.5, w_start(
673+
displayUnit="rpm") = 0.10471975511966)
675674
annotation (Placement(transformation(extent={{40,-40},{60,-20}})));
676675
PowerSystems.Mechanics.Rotation.FrictionTorque frictTorq(cFrict={5,0.5})
677676
annotation (Placement(transformation(extent={{80,-40},{100,-20}})));

0 commit comments

Comments
 (0)