@@ -16,6 +16,8 @@ package Test
16
16
PowerSystems.Generic.Ground
17
17
ground
18
18
annotation (Placement(transformation(extent={{40,0},{60,20}})));
19
+ inner PowerSystems.System system
20
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
19
21
equation
20
22
connect (source.terminal , load.terminal_p)
21
23
annotation (Line(points={{-60,10},{-20,10}}, color={0,120,120}));
@@ -35,6 +37,8 @@ package Test
35
37
PowerSystems.Generic.Ground
36
38
ground
37
39
annotation (Placement(transformation(extent={{40,0},{60,20}})));
40
+ inner PowerSystems.System system
41
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
38
42
equation
39
43
connect (source.terminal , load.terminal_p)
40
44
annotation (Line(points={{-60,10},{-20,10}}, color={0,120,120}));
@@ -59,6 +63,8 @@ package Test
59
63
ground
60
64
annotation (Placement(transformation(extent={{40,
61
65
0},{60,20}})));
66
+ inner PowerSystems.System system
67
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
62
68
equation
63
69
connect (source.terminal , line.terminal_p)
64
70
annotation (Line(points={{-60,10},{-40,10}}, color={0,120,120}));
@@ -79,6 +85,8 @@ package Test
79
85
annotation (Placement(transformation(extent={{-40,0},{-20,20}})));
80
86
PowerSystems.Generic.FixedCurrent
81
87
load(I= 173.448 , phi= - 0.356 ) annotation (Placement(transformation(extent={{0,0},{20,20}})));
88
+ inner PowerSystems.System system
89
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
82
90
equation
83
91
connect (line.terminal_n, load.terminal )
84
92
annotation (Line(points={{-20,10},{0,10}}, color={0,120,120}));
@@ -99,6 +107,8 @@ package Test
99
107
PowerSystems.Generic.FixedLoad
100
108
load( P= 2.7076e6 , phi= atan (1000 /
101
109
3000 )) annotation (Placement(transformation(extent={{0,0},{20,20}})));
110
+ inner PowerSystems.System system
111
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
102
112
equation
103
113
connect (source.terminal , line.terminal_p)
104
114
annotation (Line(points={{-60,10},{-40,10}}, color={0,120,120}));
@@ -118,6 +128,8 @@ package Test
118
128
PowerSystems.Generic.FixedLoad
119
129
load( P= 2.7076e6 , phi= atan (1000 /
120
130
3000 )) annotation (Placement(transformation(extent={{0,0},{20,20}})));
131
+ inner PowerSystems.System system
132
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
121
133
equation
122
134
connect (source.terminal , pMeter.terminal_p)
123
135
annotation (Line(points={{-60,10},{-40,10}}, color={0,120,120}));
@@ -142,6 +154,8 @@ package Test
142
154
fixedLoad(P= 3e6 ,
143
155
phi= 0.3 )
144
156
annotation (Placement(transformation(extent={{20,0},{40,20}})));
157
+ inner PowerSystems.System system
158
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
145
159
equation
146
160
connect (inertia.flange_b, generator.flange)
147
161
annotation (Line(points={{-30,10},{-20,10}}, color={0,0,0}));
@@ -183,6 +197,8 @@ package Test
183
197
PowerSystems.Generic.Impedance
184
198
impedance1
185
199
annotation (Placement(transformation(extent={{20,-40},{40,-20}})));
200
+ inner PowerSystems.System system
201
+ annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
186
202
equation
187
203
connect (inertia.flange_b, generator.flange)
188
204
annotation (Line(points={{-30,10},{-20,10}}, color={0,0,0}));
0 commit comments