1
1
within PowerSystems;
2
- package Test
2
+ package Test
3
3
4
4
5
5
package SimpleComponentsTest
@@ -112,7 +112,9 @@ package Test
112
112
113
113
PowerSystems.Generic.Generator generator annotation (Placement(
114
114
transformation(extent={{-20,0},{0,20}})));
115
- Modelica.Mechanics.Rotational.Components.Inertia inertia(J= 1e3 , w(start= 2 * pi* 50 ))
115
+ Modelica.Mechanics.Rotational.Components.Inertia inertia(J= 1e3 ,
116
+ phi(start= 0 , fixed= true ),
117
+ w(start= 2 * pi* 50 , fixed= true ))
116
118
annotation (Placement(transformation(extent={{-50,0},{-30,20}})));
117
119
Modelica.Mechanics.Rotational.Sources.ConstantTorque constantTorque(useSupport= false , tau_constant= 3e6 / 50 / 2 / pi)
118
120
annotation (Placement(transformation(extent={{-90,0},{-70,
@@ -136,7 +138,9 @@ package Test
136
138
137
139
PowerSystems.Generic.Generator generator annotation (Placement(
138
140
transformation(extent={{-20,0},{0,20}})));
139
- Modelica.Mechanics.Rotational.Components.Inertia inertia(J= 1e3 , w(start= 50 * 2 * pi))
141
+ Modelica.Mechanics.Rotational.Components.Inertia inertia(J= 1e3 ,
142
+ phi(start= 0 , fixed= true ),
143
+ w(start= 50 * 2 * pi, fixed= true ))
140
144
annotation (Placement(transformation(extent={{-50,0},{-30,20}})));
141
145
Modelica.Mechanics.Rotational.Sources.ConstantTorque constantTorque(useSupport= false , tau_constant= 3e6 / 50 / 2 / 2 / pi)
142
146
annotation (Placement(transformation(extent={{-90,0},{-70,
@@ -147,7 +151,9 @@ package Test
147
151
annotation (Placement(transformation(extent={{60,-20},{80,0}})));
148
152
PowerSystems.Generic.Generator generator1(synchronous= false ) annotation (
149
153
Placement(transformation(extent={{-20,-40},{0,-20}})));
150
- Modelica.Mechanics.Rotational.Components.Inertia inertia1(J= 1e3 , w(start= 50 * 2 * pi))
154
+ Modelica.Mechanics.Rotational.Components.Inertia inertia1(J= 1e3 ,
155
+ phi(start= 0 , fixed= true ),
156
+ w(start= 50 * 2 * pi, fixed= true ))
151
157
annotation (Placement(transformation(extent={{-50,-40},{-30,-20}})));
152
158
Modelica.Mechanics.Rotational.Sources.ConstantTorque constantTorque1(useSupport= false , tau_constant= 3e6 / 50 / 2 / pi)
153
159
annotation (Placement(transformation(extent={{-90,-40},{-70,
0 commit comments