1 | package grid
|
---|
2 | import SI = Modelica.SIunits;
|
---|
3 |
|
---|
4 | package filter
|
---|
5 | model pi
|
---|
6 | parameter SI.Capacitance C1 = 0.00001;
|
---|
7 | parameter SI.Capacitance C2 = 0.00001;
|
---|
8 | parameter SI.Capacitance C3 = 0.00001;
|
---|
9 | parameter SI.Capacitance C4 = 0.00001;
|
---|
10 | parameter SI.Capacitance C5 = 0.00001;
|
---|
11 | parameter SI.Capacitance C6 = 0.00001;
|
---|
12 | parameter SI.Inductance L1 = 0.001;
|
---|
13 | parameter SI.Inductance L2 = 0.001;
|
---|
14 | parameter SI.Inductance L3 = 0.001;
|
---|
15 | parameter SI.Resistance R1= 0.01;
|
---|
16 | parameter SI.Resistance R2= 0.01;
|
---|
17 | parameter SI.Resistance R3= 0.01;
|
---|
18 | parameter SI.Resistance R4= 0.01;
|
---|
19 | parameter SI.Resistance R5= 0.01;
|
---|
20 | parameter SI.Resistance R6= 0.01;
|
---|
21 | parameter SI.Resistance R7= 0.01;
|
---|
22 | parameter SI.Resistance R8= 0.01;
|
---|
23 | parameter SI.Resistance R9= 0.01;
|
---|
24 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
25 | Placement(visible = true, transformation(origin = {-14, 28}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
26 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
27 | Placement(visible = true, transformation(origin = {-14, 52}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
28 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
29 | Placement(visible = true, transformation(origin = {-14, 78}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
30 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
31 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
32 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
33 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
34 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
35 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
36 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
37 | Placement(visible = true, transformation(origin = {-70, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
38 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
39 | Placement(visible = true, transformation(origin = {-48, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
40 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
41 | Placement(visible = true, transformation(origin = {-26, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
42 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
43 | Placement(visible = true, transformation(origin = {0, -70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
44 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
45 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
46 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
47 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
48 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
49 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
50 | Modelica.Electrical.Analog.Basic.Capacitor capacitor4(C = C4) annotation(
|
---|
51 | Placement(visible = true, transformation(origin = {26, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
52 | Modelica.Electrical.Analog.Basic.Capacitor capacitor5(C = C5) annotation(
|
---|
53 | Placement(visible = true, transformation(origin = {46, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
54 | Modelica.Electrical.Analog.Basic.Capacitor capacitor6(C = C6) annotation(
|
---|
55 | Placement(visible = true, transformation(origin = {64, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
56 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
57 | Placement(visible = true, transformation(origin = {-70, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
58 | grid.components.resistor resistor2(R = R2) annotation(
|
---|
59 | Placement(visible = true, transformation(origin = {-48, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
60 | grid.components.resistor resistor3(R = R3) annotation(
|
---|
61 | Placement(visible = true, transformation(origin = {-26, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
62 | grid.components.resistor resistor4(R = R4) annotation(
|
---|
63 | Placement(visible = true, transformation(origin = {10, 28}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
64 | grid.components.resistor resistor5(R = R5) annotation(
|
---|
65 | Placement(visible = true, transformation(origin = {10, 52}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
66 | grid.components.resistor resistor6(R = R6) annotation(
|
---|
67 | Placement(visible = true, transformation(origin = {10, 78}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
68 | grid.components.resistor resistor7(R = R7) annotation(
|
---|
69 | Placement(visible = true, transformation(origin = {26, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
70 | grid.components.resistor resistor8(R = R8) annotation(
|
---|
71 | Placement(visible = true, transformation(origin = {46, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
72 | grid.components.resistor resistor9(R = R9) annotation(
|
---|
73 | Placement(visible = true, transformation(origin = {64, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
74 | equation
|
---|
75 | connect(inductor1.n, resistor4.p) annotation(
|
---|
76 | Line(points = {{-4, 28}, {0, 28}, {0, 28}, {0, 28}}, color = {0, 0, 255}));
|
---|
77 | connect(inductor2.n, resistor5.p) annotation(
|
---|
78 | Line(points = {{-4, 52}, {-4, 52}, {-4, 52}, {0, 52}}, color = {0, 0, 255}));
|
---|
79 | connect(inductor3.n, resistor6.p) annotation(
|
---|
80 | Line(points = {{-4, 78}, {0, 78}, {0, 78}, {0, 78}}, color = {0, 0, 255}));
|
---|
81 | connect(resistor3.p, pin3) annotation(
|
---|
82 | Line(points = {{-26, 2}, {-26, 2}, {-26, 18}, {-36, 18}, {-36, 78}, {-90, 78}, {-90, 60}, {-100, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
83 | connect(resistor2.p, pin2) annotation(
|
---|
84 | Line(points = {{-48, 2}, {-48, 2}, {-48, 52}, {-84, 52}, {-84, 0}, {-100, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
85 | connect(resistor1.p, pin1) annotation(
|
---|
86 | Line(points = {{-70, 2}, {-80, 2}, {-80, -60}, {-98, -60}, {-98, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
87 | connect(resistor1.n, capacitor1.p) annotation(
|
---|
88 | Line(points = {{-70, -18}, {-70, -18}, {-70, -28}, {-70, -28}}, color = {0, 0, 255}));
|
---|
89 | connect(resistor2.n, capacitor2.p) annotation(
|
---|
90 | Line(points = {{-48, -18}, {-48, -18}, {-48, -28}, {-48, -28}}, color = {0, 0, 255}));
|
---|
91 | connect(resistor3.n, capacitor3.p) annotation(
|
---|
92 | Line(points = {{-26, -18}, {-26, -18}, {-26, -28}, {-26, -28}}, color = {0, 0, 255}));
|
---|
93 | connect(resistor9.n, capacitor6.p) annotation(
|
---|
94 | Line(points = {{64, -18}, {64, -18}, {64, -28}, {64, -28}}, color = {0, 0, 255}));
|
---|
95 | connect(capacitor6.n, capacitor5.n) annotation(
|
---|
96 | Line(points = {{64, -48}, {46, -48}}, color = {0, 0, 255}));
|
---|
97 | connect(capacitor5.p, resistor8.n) annotation(
|
---|
98 | Line(points = {{46, -28}, {46, -28}, {46, -18}, {46, -18}}, color = {0, 0, 255}));
|
---|
99 | connect(resistor5.n, resistor8.p) annotation(
|
---|
100 | Line(points = {{20, 52}, {46, 52}, {46, 2}}, color = {0, 0, 255}));
|
---|
101 | connect(resistor7.n, capacitor4.p) annotation(
|
---|
102 | Line(points = {{26, -18}, {26, -18}, {26, -28}, {26, -28}}, color = {0, 0, 255}));
|
---|
103 | connect(resistor6.n, pin6) annotation(
|
---|
104 | Line(points = {{20, 78}, {84, 78}, {84, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
105 | connect(resistor5.n, pin5) annotation(
|
---|
106 | Line(points = {{20, 52}, {84, 52}, {84, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
107 | connect(resistor4.n, pin4) annotation(
|
---|
108 | Line(points = {{20, 28}, {74, 28}, {74, 28}, {76, 28}, {76, -60}, {100, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
109 | connect(resistor6.n, resistor9.p) annotation(
|
---|
110 | Line(points = {{20, 78}, {64, 78}, {64, 2}, {64, 2}}, color = {0, 0, 255}));
|
---|
111 | connect(resistor4.n, resistor7.p) annotation(
|
---|
112 | Line(points = {{20, 28}, {26, 28}, {26, 2}, {26, 2}}, color = {0, 0, 255}));
|
---|
113 | connect(pin1, inductor1.p) annotation(
|
---|
114 | Line(points = {{-100, -60}, {-80, -60}, {-80, 28}, {-24, 28}}, color = {0, 0, 255}));
|
---|
115 | connect(pin3, inductor3.p) annotation(
|
---|
116 | Line(points = {{-100, 60}, {-90, 60}, {-90, 78}, {-24, 78}}, color = {0, 0, 255}));
|
---|
117 | connect(capacitor3.n, ground1.p) annotation(
|
---|
118 | Line(points = {{-26, -48}, {0, -48}, {0, -60}}, color = {0, 0, 255}));
|
---|
119 | connect(capacitor4.n, ground1.p) annotation(
|
---|
120 | Line(points = {{26, -48}, {0, -48}, {0, -60}}, color = {0, 0, 255}));
|
---|
121 | connect(inductor2.p, pin2) annotation(
|
---|
122 | Line(points = {{-24, 52}, {-84, 52}, {-84, 0}, {-100, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
123 | connect(capacitor2.n, capacitor3.n) annotation(
|
---|
124 | Line(points = {{-48, -48}, {-26, -48}, {-26, -48}, {-26, -48}}, color = {0, 0, 255}));
|
---|
125 | connect(capacitor1.n, capacitor2.n) annotation(
|
---|
126 | Line(points = {{-70, -48}, {-48, -48}, {-48, -48}, {-48, -48}}, color = {0, 0, 255}));
|
---|
127 | connect(capacitor5.n, capacitor4.n) annotation(
|
---|
128 | Line(points = {{46, -48}, {26, -48}, {26, -48}, {26, -48}}, color = {0, 0, 255}));
|
---|
129 | end pi;
|
---|
130 |
|
---|
131 | model lcl
|
---|
132 | parameter SI.Capacitance C1= 0.00001;
|
---|
133 | parameter SI.Capacitance C2= 0.00001;
|
---|
134 | parameter SI.Capacitance C3= 0.00001;
|
---|
135 | parameter SI.Inductance L1= 0.001;
|
---|
136 | parameter SI.Inductance L2= 0.001;
|
---|
137 | parameter SI.Inductance L3= 0.001;
|
---|
138 | parameter SI.Inductance L4= 0.001;
|
---|
139 | parameter SI.Inductance L5= 0.001;
|
---|
140 | parameter SI.Inductance L6= 0.001;
|
---|
141 | parameter SI.Resistance R1= 0.01;
|
---|
142 | parameter SI.Resistance R2= 0.01;
|
---|
143 | parameter SI.Resistance R3= 0.01;
|
---|
144 | parameter SI.Resistance R4= 0.01;
|
---|
145 | parameter SI.Resistance R5= 0.01;
|
---|
146 | parameter SI.Resistance R6= 0.01;
|
---|
147 | parameter SI.Resistance R7= 0.01;
|
---|
148 | parameter SI.Resistance R8= 0.01;
|
---|
149 | parameter SI.Resistance R9= 0.01;
|
---|
150 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
151 | Placement(visible = true, transformation(origin = {-60, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
152 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
153 | Placement(visible = true, transformation(origin = {-64, 58}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
154 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
155 | Placement(visible = true, transformation(origin = {-72, 86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
156 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
157 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
158 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
159 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
160 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
161 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
162 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
163 | Placement(visible = true, transformation(origin = {38, -46}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
164 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
165 | Placement(visible = true, transformation(origin = {12, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
166 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
167 | Placement(visible = true, transformation(origin = {-28, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
168 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
169 | Placement(visible = true, transformation(origin = {12, -68}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
170 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
171 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
172 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
173 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
174 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
175 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
176 | Modelica.Electrical.Analog.Basic.Inductor inductor4(L = L4) annotation(
|
---|
177 | Placement(visible = true, transformation(origin = {68, 6}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
178 | Modelica.Electrical.Analog.Basic.Inductor inductor5(L = L5) annotation(
|
---|
179 | Placement(visible = true, transformation(origin = {70, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
180 | Modelica.Electrical.Analog.Basic.Inductor inductor6(L = L6) annotation(
|
---|
181 | Placement(visible = true, transformation(origin = {74, 62}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
182 | grid.components.resistor resistor1 annotation(
|
---|
183 | Placement(visible = true, transformation(origin = {-36, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
184 | grid.components.resistor resistor2 annotation(
|
---|
185 | Placement(visible = true, transformation(origin = {-32, 48}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
186 | grid.components.resistor resistor3 annotation(
|
---|
187 | Placement(visible = true, transformation(origin = {-30, 82}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
188 | grid.components.resistor resistor4 annotation(
|
---|
189 | Placement(visible = true, transformation(origin = {42, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
190 | grid.components.resistor resistor5 annotation(
|
---|
191 | Placement(visible = true, transformation(origin = {8, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
192 | grid.components.resistor resistor6 annotation(
|
---|
193 | Placement(visible = true, transformation(origin = {-22, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
194 | grid.components.resistor resistor7 annotation(
|
---|
195 | Placement(visible = true, transformation(origin = {32, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
196 | grid.components.resistor resistor8 annotation(
|
---|
197 | Placement(visible = true, transformation(origin = {40, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
198 | grid.components.resistor resistor9 annotation(
|
---|
199 | Placement(visible = true, transformation(origin = {34, 68}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
200 | equation
|
---|
201 | connect(resistor2.n, resistor5.p) annotation(
|
---|
202 | Line(points = {{-22, 48}, {8, 48}, {8, 0}}, color = {0, 0, 255}));
|
---|
203 | connect(resistor8.p, resistor2.n) annotation(
|
---|
204 | Line(points = {{30, 44}, {2, 44}, {2, 48}, {-22, 48}}, color = {0, 0, 255}));
|
---|
205 | connect(resistor2.p, inductor2.n) annotation(
|
---|
206 | Line(points = {{-42, 48}, {-50, 48}, {-50, 58}, {-54, 58}}, color = {0, 0, 255}));
|
---|
207 | connect(pin2, inductor2.p) annotation(
|
---|
208 | Line(points = {{-100, 0}, {-91, 0}, {-91, 58}, {-74, 58}}, color = {0, 0, 255}));
|
---|
209 | connect(pin3, inductor3.p) annotation(
|
---|
210 | Line(points = {{-100, 60}, {-93, 60}, {-93, 86}, {-82, 86}}, color = {0, 0, 255}));
|
---|
211 | connect(resistor3.p, inductor3.n) annotation(
|
---|
212 | Line(points = {{-40, 82}, {-47, 82}, {-47, 86}, {-62, 86}}, color = {0, 0, 255}));
|
---|
213 | connect(resistor3.n, resistor9.p) annotation(
|
---|
214 | Line(points = {{-20, 82}, {3, 82}, {3, 68}, {24, 68}}, color = {0, 0, 255}));
|
---|
215 | connect(resistor6.p, resistor3.n) annotation(
|
---|
216 | Line(points = {{-22, 2}, {-22, 41}, {-20, 41}, {-20, 82}}, color = {0, 0, 255}));
|
---|
217 | connect(inductor6.n, pin6) annotation(
|
---|
218 | Line(points = {{84, 62}, {84, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
219 | connect(resistor9.n, inductor6.p) annotation(
|
---|
220 | Line(points = {{44, 68}, {55, 68}, {55, 62}, {64, 62}}, color = {0, 0, 255}));
|
---|
221 | connect(inductor5.n, pin5) annotation(
|
---|
222 | Line(points = {{80, 40}, {88, 40}, {88, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
223 | connect(resistor8.n, inductor5.p) annotation(
|
---|
224 | Line(points = {{50, 44}, {55, 44}, {55, 40}, {60, 40}}, color = {0, 0, 255}));
|
---|
225 | connect(resistor7.n, inductor4.p) annotation(
|
---|
226 | Line(points = {{42, 30}, {54, 30}, {54, 6}, {58, 6}}, color = {0, 0, 255}));
|
---|
227 | connect(resistor4.p, resistor7.p) annotation(
|
---|
228 | Line(points = {{42, 0}, {42, 14.5}, {22, 14.5}, {22, 30}}, color = {0, 0, 255}));
|
---|
229 | connect(resistor1.n, resistor7.p) annotation(
|
---|
230 | Line(points = {{-26, 20}, {2, 20}, {2, 30}, {22, 30}}, color = {0, 0, 255}));
|
---|
231 | connect(inductor4.n, pin4) annotation(
|
---|
232 | Line(points = {{78, 6}, {80, 6}, {80, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
233 | connect(capacitor2.n, capacitor1.n) annotation(
|
---|
234 | Line(points = {{12, -46}, {23, -46}, {23, -56}, {38, -56}}, color = {0, 0, 255}));
|
---|
235 | connect(resistor4.n, capacitor1.p) annotation(
|
---|
236 | Line(points = {{42, -20}, {42, -24}, {38, -24}, {38, -36}}, color = {0, 0, 255}));
|
---|
237 | connect(resistor5.n, capacitor2.p) annotation(
|
---|
238 | Line(points = {{8, -20}, {8, -24}, {12, -24}, {12, -26}}, color = {0, 0, 255}));
|
---|
239 | connect(capacitor3.n, capacitor2.n) annotation(
|
---|
240 | Line(points = {{-28, -46}, {12, -46}}, color = {0, 0, 255}));
|
---|
241 | connect(resistor6.n, capacitor3.p) annotation(
|
---|
242 | Line(points = {{-22, -18}, {-22, -24}, {-28, -24}, {-28, -26}}, color = {0, 0, 255}));
|
---|
243 | connect(resistor1.p, inductor1.n) annotation(
|
---|
244 | Line(points = {{-46, 20}, {-50, 20}, {-50, 20}, {-50, 20}}, color = {0, 0, 255}));
|
---|
245 | connect(pin1, inductor1.p) annotation(
|
---|
246 | Line(points = {{-100, -60}, {-85, -60}, {-85, 20}, {-70, 20}}, color = {0, 0, 255}));
|
---|
247 | connect(capacitor2.n, ground1.p) annotation(
|
---|
248 | Line(points = {{12, -46}, {12, -46}, {12, -58}, {12, -58}}, color = {0, 0, 255}));
|
---|
249 | end lcl;
|
---|
250 |
|
---|
251 | model lc
|
---|
252 | parameter SI.Capacitance C1= 0.00001;
|
---|
253 | parameter SI.Capacitance C2= 0.00001;
|
---|
254 | parameter SI.Capacitance C3= 0.00001;
|
---|
255 | parameter SI.Inductance L1= 0.001;
|
---|
256 | parameter SI.Inductance L2= 0.001;
|
---|
257 | parameter SI.Inductance L3= 0.001;
|
---|
258 | parameter SI.Resistance R1= 0.01;
|
---|
259 | parameter SI.Resistance R2= 0.01;
|
---|
260 | parameter SI.Resistance R3= 0.01;
|
---|
261 | parameter SI.Resistance R4= 0.01;
|
---|
262 | parameter SI.Resistance R5= 0.01;
|
---|
263 | parameter SI.Resistance R6= 0.01;
|
---|
264 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
265 | Placement(visible = true, transformation(origin = {-60, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
266 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
267 | Placement(visible = true, transformation(origin = {-60, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
268 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
269 | Placement(visible = true, transformation(origin = {-60, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
270 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
271 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
272 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
273 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
274 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
275 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
276 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
277 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
278 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
279 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
280 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
281 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
282 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
283 | Placement(visible = true, transformation(origin = {32, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
284 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
285 | Placement(visible = true, transformation(origin = {12, -68}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
286 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
287 | Placement(visible = true, transformation(origin = {12, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
288 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
289 | Placement(visible = true, transformation(origin = {-8, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
290 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
291 | Placement(visible = true, transformation(origin = {-34, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
292 | grid.components.resistor resistor2(R = R2) annotation(
|
---|
293 | Placement(visible = true, transformation(origin = {-34, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
294 | grid.components.resistor resistor3(R = R3) annotation(
|
---|
295 | Placement(visible = true, transformation(origin = {-26, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
296 | grid.components.resistor resistor4(R = R4) annotation(
|
---|
297 | Placement(visible = true, transformation(origin = {32, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
298 | grid.components.resistor resistor5(R = R5) annotation(
|
---|
299 | Placement(visible = true, transformation(origin = {12, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
300 | grid.components.resistor resistor6(R = R6) annotation(
|
---|
301 | Placement(visible = true, transformation(origin = {-8, -8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
302 | equation
|
---|
303 | connect(resistor3.n, resistor6.p) annotation(
|
---|
304 | Line(points = {{-16, 70}, {-8, 70}, {-8, 2}}, color = {0, 0, 255}));
|
---|
305 | connect(resistor3.n, pin6) annotation(
|
---|
306 | Line(points = {{-16, 70}, {80, 70}, {80, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
307 | connect(inductor3.n, resistor3.p) annotation(
|
---|
308 | Line(points = {{-50, 70}, {-36, 70}}, color = {0, 0, 255}));
|
---|
309 | connect(pin4, resistor1.n) annotation(
|
---|
310 | Line(points = {{100, -60}, {62, -60}, {62, 20}, {-24, 20}, {-24, 20}}, color = {0, 0, 255}));
|
---|
311 | connect(resistor4.n, capacitor1.p) annotation(
|
---|
312 | Line(points = {{32, -18}, {32, -18}, {32, -26}, {32, -26}}, color = {0, 0, 255}));
|
---|
313 | connect(resistor5.n, capacitor2.p) annotation(
|
---|
314 | Line(points = {{12, -18}, {12, -18}, {12, -26}, {12, -26}}, color = {0, 0, 255}));
|
---|
315 | connect(resistor6.n, capacitor3.p) annotation(
|
---|
316 | Line(points = {{-8, -18}, {-8, -18}, {-8, -26}, {-8, -26}}, color = {0, 0, 255}));
|
---|
317 | connect(pin5, resistor2.n) annotation(
|
---|
318 | Line(points = {{100, 0}, {78, 0}, {78, 44}, {-24, 44}, {-24, 44}}, color = {0, 0, 255}));
|
---|
319 | connect(resistor2.n, resistor5.p) annotation(
|
---|
320 | Line(points = {{-24, 44}, {12, 44}, {12, 2}, {12, 2}}, color = {0, 0, 255}));
|
---|
321 | connect(resistor1.n, resistor4.p) annotation(
|
---|
322 | Line(points = {{-24, 20}, {32, 20}, {32, 2}, {32, 2}}, color = {0, 0, 255}));
|
---|
323 | connect(inductor1.n, resistor1.p) annotation(
|
---|
324 | Line(points = {{-50, 20}, {-44, 20}, {-44, 20}, {-44, 20}}, color = {0, 0, 255}));
|
---|
325 | connect(inductor2.n, resistor2.p) annotation(
|
---|
326 | Line(points = {{-50, 44}, {-44, 44}, {-44, 44}, {-44, 44}}, color = {0, 0, 255}));
|
---|
327 | connect(capacitor3.n, capacitor2.n) annotation(
|
---|
328 | Line(points = {{-8, -46}, {12, -46}, {12, -46}, {12, -46}}, color = {0, 0, 255}));
|
---|
329 | connect(capacitor2.n, ground1.p) annotation(
|
---|
330 | Line(points = {{12, -46}, {12, -46}, {12, -58}, {12, -58}}, color = {0, 0, 255}));
|
---|
331 | connect(capacitor2.n, capacitor1.n) annotation(
|
---|
332 | Line(points = {{12, -46}, {32, -46}, {32, -46}, {32, -46}}, color = {0, 0, 255}));
|
---|
333 | connect(pin1, inductor1.p) annotation(
|
---|
334 | Line(points = {{-100, -60}, {-85, -60}, {-85, 20}, {-70, 20}}, color = {0, 0, 255}));
|
---|
335 | connect(pin3, inductor3.p) annotation(
|
---|
336 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-70, 70}}, color = {0, 0, 255}));
|
---|
337 | connect(pin2, inductor2.p) annotation(
|
---|
338 | Line(points = {{-100, 0}, {-91, 0}, {-91, 44}, {-70, 44}}, color = {0, 0, 255}));
|
---|
339 | end lc;
|
---|
340 |
|
---|
341 | model lclc
|
---|
342 | parameter SI.Capacitance C1 = 0.00001;
|
---|
343 | parameter SI.Capacitance C2 = 0.00001;
|
---|
344 | parameter SI.Capacitance C3 = 0.00001;
|
---|
345 | parameter SI.Capacitance C4 = 0.00001;
|
---|
346 | parameter SI.Capacitance C5 = 0.00001;
|
---|
347 | parameter SI.Capacitance C6 = 0.00001;
|
---|
348 | parameter SI.Inductance L1 = 0.001;
|
---|
349 | parameter SI.Inductance L2 = 0.001;
|
---|
350 | parameter SI.Inductance L3 = 0.001;
|
---|
351 | parameter SI.Inductance L4 = 0.001;
|
---|
352 | parameter SI.Inductance L5 = 0.001;
|
---|
353 | parameter SI.Inductance L6 = 0.001;
|
---|
354 | parameter SI.Resistance R1 = 0.01;
|
---|
355 | parameter SI.Resistance R2 = 0.01;
|
---|
356 | parameter SI.Resistance R3 = 0.01;
|
---|
357 | parameter SI.Resistance R4 = 0.01;
|
---|
358 | parameter SI.Resistance R5 = 0.01;
|
---|
359 | parameter SI.Resistance R6 = 0.01;
|
---|
360 | parameter SI.Resistance R7 = 0.01;
|
---|
361 | parameter SI.Resistance R8 = 0.01;
|
---|
362 | parameter SI.Resistance R9 = 0.01;
|
---|
363 | parameter SI.Resistance R10 = 0.01;
|
---|
364 | parameter SI.Resistance R11 = 0.01;
|
---|
365 | parameter SI.Resistance R12 = 0.01;
|
---|
366 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
367 | Placement(visible = true, transformation(origin = {-82, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
368 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
369 | Placement(visible = true, transformation(origin = {-82, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
370 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
371 | Placement(visible = true, transformation(origin = {-84, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
372 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
373 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
374 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
375 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
376 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
377 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
378 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
379 | Placement(visible = true, transformation(origin = {-2, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
380 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
381 | Placement(visible = true, transformation(origin = {-22, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
382 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
383 | Placement(visible = true, transformation(origin = {-42, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
384 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
385 | Placement(visible = true, transformation(origin = {16, -70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
386 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
387 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
388 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
389 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
390 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
391 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
392 | Modelica.Electrical.Analog.Basic.Inductor inductor4(L = L4) annotation(
|
---|
393 | Placement(visible = true, transformation(origin = {34, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
394 | Modelica.Electrical.Analog.Basic.Inductor inductor5(L = L5) annotation(
|
---|
395 | Placement(visible = true, transformation(origin = {34, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
396 | Modelica.Electrical.Analog.Basic.Inductor inductor6(L = L6) annotation(
|
---|
397 | Placement(visible = true, transformation(origin = {36, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
398 | Modelica.Electrical.Analog.Basic.Capacitor capacitor4(C = C4) annotation(
|
---|
399 | Placement(visible = true, transformation(origin = {72, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
400 | Modelica.Electrical.Analog.Basic.Capacitor capacitor5(C = C5) annotation(
|
---|
401 | Placement(visible = true, transformation(origin = {52, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
402 | Modelica.Electrical.Analog.Basic.Capacitor capacitor6(C = C6) annotation(
|
---|
403 | Placement(visible = true, transformation(origin = {32, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
404 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
405 | Placement(visible = true, transformation(origin = {-56, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
406 | grid.components.resistor resistor2(R = R2) annotation(
|
---|
407 | Placement(visible = true, transformation(origin = {-56, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
408 | grid.components.resistor resistor3(R = R3) annotation(
|
---|
409 | Placement(visible = true, transformation(origin = {-56, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
410 | grid.components.resistor resistor4(R = R4) annotation(
|
---|
411 | Placement(visible = true, transformation(origin = {-2, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
412 | grid.components.resistor resistor5(R = R5) annotation(
|
---|
413 | Placement(visible = true, transformation(origin = {-22, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
414 | grid.components.resistor resistor6(R = R6) annotation(
|
---|
415 | Placement(visible = true, transformation(origin = {-42, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
416 | grid.components.resistor resistor7(R = R7) annotation(
|
---|
417 | Placement(visible = true, transformation(origin = {10, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
418 | grid.components.resistor resistor8(R = R8) annotation(
|
---|
419 | Placement(visible = true, transformation(origin = {10, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
420 | grid.components.resistor resistor9(R = R9) annotation(
|
---|
421 | Placement(visible = true, transformation(origin = {10, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
422 | grid.components.resistor resistor10(R = R10) annotation(
|
---|
423 | Placement(visible = true, transformation(origin = {72, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
424 | grid.components.resistor resistor11(R = R11) annotation(
|
---|
425 | Placement(visible = true, transformation(origin = {52, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
426 | grid.components.resistor resistor12(R = R12) annotation(
|
---|
427 | Placement(visible = true, transformation(origin = {32, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
428 | equation
|
---|
429 | connect(resistor10.p, inductor4.n) annotation(
|
---|
430 | Line(points = {{72, -4}, {72, -4}, {72, 20}, {44, 20}, {44, 20}}, color = {0, 0, 255}));
|
---|
431 | connect(inductor5.n, resistor11.p) annotation(
|
---|
432 | Line(points = {{44, 44}, {54, 44}, {54, 44}, {52, 44}, {52, -4}, {52, -4}}, color = {0, 0, 255}));
|
---|
433 | connect(resistor12.p, inductor6.n) annotation(
|
---|
434 | Line(points = {{32, -4}, {32, -4}, {32, 10}, {58, 10}, {58, 70}, {46, 70}, {46, 70}}, color = {0, 0, 255}));
|
---|
435 | connect(resistor11.n, capacitor5.p) annotation(
|
---|
436 | Line(points = {{52, -24}, {52, -24}, {52, -28}, {52, -28}}, color = {0, 0, 255}));
|
---|
437 | connect(resistor12.n, capacitor6.p) annotation(
|
---|
438 | Line(points = {{32, -24}, {32, -24}, {32, -28}, {32, -28}}, color = {0, 0, 255}));
|
---|
439 | connect(resistor1.n, resistor4.p) annotation(
|
---|
440 | Line(points = {{-46, 20}, {-2, 20}, {-2, -4}, {-2, -4}, {-2, -4}}, color = {0, 0, 255}));
|
---|
441 | connect(resistor2.n, resistor5.p) annotation(
|
---|
442 | Line(points = {{-46, 44}, {-22, 44}, {-22, -4}, {-22, -4}, {-22, -4}}, color = {0, 0, 255}));
|
---|
443 | connect(resistor6.p, resistor3.n) annotation(
|
---|
444 | Line(points = {{-42, -4}, {-42, -4}, {-42, 70}, {-46, 70}, {-46, 70}}, color = {0, 0, 255}));
|
---|
445 | connect(resistor1.n, resistor7.p) annotation(
|
---|
446 | Line(points = {{-46, 20}, {-46, 20}, {-46, 20}, {0, 20}}, color = {0, 0, 255}));
|
---|
447 | connect(resistor2.n, resistor8.p) annotation(
|
---|
448 | Line(points = {{-46, 44}, {-46, 44}, {-46, 44}, {0, 44}}, color = {0, 0, 255}));
|
---|
449 | connect(resistor3.n, resistor9.p) annotation(
|
---|
450 | Line(points = {{-46, 70}, {0, 70}, {0, 70}, {0, 70}}, color = {0, 0, 255}));
|
---|
451 | connect(resistor7.n, inductor4.p) annotation(
|
---|
452 | Line(points = {{20, 20}, {24, 20}, {24, 20}, {24, 20}}, color = {0, 0, 255}));
|
---|
453 | connect(resistor6.n, capacitor3.p) annotation(
|
---|
454 | Line(points = {{-42, -24}, {-42, -24}, {-42, -28}, {-42, -28}}, color = {0, 0, 255}));
|
---|
455 | connect(resistor5.n, capacitor2.p) annotation(
|
---|
456 | Line(points = {{-22, -24}, {-22, -24}, {-22, -24}, {-22, -28}}, color = {0, 0, 255}));
|
---|
457 | connect(resistor4.n, capacitor1.p) annotation(
|
---|
458 | Line(points = {{-2, -24}, {-2, -24}, {-2, -28}, {-2, -28}}, color = {0, 0, 255}));
|
---|
459 | connect(resistor10.n, capacitor4.p) annotation(
|
---|
460 | Line(points = {{72, -24}, {72, -24}, {72, -28}, {72, -28}}, color = {0, 0, 255}));
|
---|
461 | connect(resistor8.n, inductor5.p) annotation(
|
---|
462 | Line(points = {{20, 44}, {24, 44}}, color = {0, 0, 255}));
|
---|
463 | connect(resistor9.n, inductor6.p) annotation(
|
---|
464 | Line(points = {{20, 70}, {26, 70}, {26, 70}, {26, 70}}, color = {0, 0, 255}));
|
---|
465 | connect(inductor1.n, resistor1.p) annotation(
|
---|
466 | Line(points = {{-72, 20}, {-66, 20}, {-66, 20}, {-66, 20}}, color = {0, 0, 255}));
|
---|
467 | connect(inductor3.n, resistor3.p) annotation(
|
---|
468 | Line(points = {{-74, 70}, {-74, 70}, {-74, 70}, {-66, 70}}, color = {0, 0, 255}));
|
---|
469 | connect(inductor2.n, resistor2.p) annotation(
|
---|
470 | Line(points = {{-72, 44}, {-66, 44}, {-66, 44}, {-66, 44}}, color = {0, 0, 255}));
|
---|
471 | connect(inductor4.n, pin4) annotation(
|
---|
472 | Line(points = {{44, 20}, {92, 20}, {92, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
473 | connect(inductor6.n, pin6) annotation(
|
---|
474 | Line(points = {{46, 70}, {76, 70}, {76, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
475 | connect(capacitor6.n, ground1.p) annotation(
|
---|
476 | Line(points = {{32, -48}, {16, -48}, {16, -60}}, color = {0, 0, 255}));
|
---|
477 | connect(capacitor6.n, capacitor5.n) annotation(
|
---|
478 | Line(points = {{32, -48}, {52, -48}, {52, -48}, {52, -48}}, color = {0, 0, 255}));
|
---|
479 | connect(capacitor5.n, capacitor4.n) annotation(
|
---|
480 | Line(points = {{52, -48}, {72, -48}, {72, -48}, {72, -48}}, color = {0, 0, 255}));
|
---|
481 | connect(capacitor1.n, ground1.p) annotation(
|
---|
482 | Line(points = {{-2, -48}, {16, -48}, {16, -60}, {16, -60}}, color = {0, 0, 255}));
|
---|
483 | connect(inductor5.n, pin5) annotation(
|
---|
484 | Line(points = {{44, 44}, {94, 44}, {94, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
485 | connect(capacitor3.n, capacitor2.n) annotation(
|
---|
486 | Line(points = {{-42, -48}, {-22, -48}, {-22, -48}, {-22, -48}}, color = {0, 0, 255}));
|
---|
487 | connect(capacitor1.n, capacitor2.n) annotation(
|
---|
488 | Line(points = {{-2, -48}, {-22, -48}, {-22, -48}, {-22, -48}}, color = {0, 0, 255}));
|
---|
489 | connect(pin3, inductor3.p) annotation(
|
---|
490 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-94, 70}}, color = {0, 0, 255}));
|
---|
491 | connect(pin2, inductor2.p) annotation(
|
---|
492 | Line(points = {{-100, 0}, {-95, 0}, {-95, 44}, {-92, 44}}, color = {0, 0, 255}));
|
---|
493 | connect(pin1, inductor1.p) annotation(
|
---|
494 | Line(points = {{-100, -60}, {-93, -60}, {-93, 20}, {-92, 20}}, color = {0, 0, 255}));
|
---|
495 | end lclc;
|
---|
496 |
|
---|
497 | model l
|
---|
498 | parameter SI.Inductance L1 = 0.001;
|
---|
499 | parameter SI.Inductance L2 = 0.001;
|
---|
500 | parameter SI.Inductance L3 = 0.001;
|
---|
501 | parameter SI.Resistance R1 = 0.01;
|
---|
502 | parameter SI.Resistance R2 = 0.01;
|
---|
503 | parameter SI.Resistance R3 = 0.01;
|
---|
504 |
|
---|
505 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
506 | Placement(visible = true, transformation(origin = {-60, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
507 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
508 | Placement(visible = true, transformation(origin = {-60, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
509 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
510 | Placement(visible = true, transformation(origin = {-60, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
511 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
512 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
513 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
514 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
515 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
516 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
517 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
518 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
519 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
520 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
521 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
522 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
523 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
524 | Placement(visible = true, transformation(origin = {-32, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
525 | grid.components.resistor resistor2(R = R2) annotation(
|
---|
526 | Placement(visible = true, transformation(origin = {-32, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
527 | grid.components.resistor resistor3(R = R3) annotation(
|
---|
528 | Placement(visible = true, transformation(origin = {-32, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
529 | equation
|
---|
530 | connect(resistor1.n, pin4) annotation(
|
---|
531 | Line(points = {{-22, 20}, {14, 20}, {14, -60}, {100, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
532 | connect(resistor2.n, pin5) annotation(
|
---|
533 | Line(points = {{-22, 44}, {70, 44}, {70, 0}, {100, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
534 | connect(resistor3.n, pin6) annotation(
|
---|
535 | Line(points = {{-22, 70}, {80, 70}, {80, 60}, {100, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
536 | connect(inductor1.n, resistor1.p) annotation(
|
---|
537 | Line(points = {{-50, 20}, {-50, 20}, {-50, 20}, {-42, 20}}, color = {0, 0, 255}));
|
---|
538 | connect(inductor2.n, resistor2.p) annotation(
|
---|
539 | Line(points = {{-50, 44}, {-42, 44}, {-42, 44}, {-42, 44}}, color = {0, 0, 255}));
|
---|
540 | connect(inductor3.n, resistor3.p) annotation(
|
---|
541 | Line(points = {{-50, 70}, {-42, 70}, {-42, 70}, {-42, 70}}, color = {0, 0, 255}));
|
---|
542 | connect(pin1, inductor1.p) annotation(
|
---|
543 | Line(points = {{-100, -60}, {-85, -60}, {-85, 20}, {-70, 20}}, color = {0, 0, 255}));
|
---|
544 | connect(pin3, inductor3.p) annotation(
|
---|
545 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-70, 70}}, color = {0, 0, 255}));
|
---|
546 | connect(pin2, inductor2.p) annotation(
|
---|
547 | Line(points = {{-100, 0}, {-91, 0}, {-91, 44}, {-70, 44}}, color = {0, 0, 255}));
|
---|
548 | end l;
|
---|
549 | end filter;
|
---|
550 |
|
---|
551 | package loads
|
---|
552 | model rc
|
---|
553 | parameter SI.Resistance R1 = 20;
|
---|
554 | parameter SI.Resistance R2= 20;
|
---|
555 | parameter SI.Resistance R3= 20;
|
---|
556 | parameter SI.Capacitance C1= 0.00001;
|
---|
557 | parameter SI.Capacitance C2= 0.00001;
|
---|
558 | parameter SI.Capacitance C3= 0.00001;
|
---|
559 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
560 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
561 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
562 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
563 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
564 | Placement(visible = true, transformation(origin = {0, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
565 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
566 | Placement(visible = true, transformation(origin = {-66, -48}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
567 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
568 | Placement(visible = true, transformation(origin = {-32, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
569 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
570 | Placement(visible = true, transformation(origin = {48, 0}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
571 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
572 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
573 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
574 | Placement(visible = true, transformation(origin = {-50, -48}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
575 | grid.components.resistor resistor2(R = R2) annotation(
|
---|
576 | Placement(visible = true, transformation(origin = {0, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
577 | grid.components.resistor resistor3(R = R3) annotation(
|
---|
578 | Placement(visible = true, transformation(origin = {72, -2}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
579 | equation
|
---|
580 | connect(resistor2.n, ground1.p) annotation(
|
---|
581 | Line(points = {{0, -20}, {0, -20}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
582 | connect(pin2, resistor2.p) annotation(
|
---|
583 | Line(points = {{-100, 0}, {0, 0}, {0, 0}, {0, 0}}, color = {0, 0, 255}));
|
---|
584 | connect(resistor1.p, pin1) annotation(
|
---|
585 | Line(points = {{-50, -38}, {-50, -38}, {-50, -22}, {-90, -22}, {-90, -60}, {-100, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
586 | connect(resistor1.n, ground1.p) annotation(
|
---|
587 | Line(points = {{-50, -58}, {-50, -58}, {-50, -62}, {0, -62}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
588 | connect(resistor3.n, ground1.p) annotation(
|
---|
589 | Line(points = {{72, -12}, {72, -12}, {72, -62}, {0, -62}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
590 | connect(pin3, resistor3.p) annotation(
|
---|
591 | Line(points = {{-100, 60}, {68, 60}, {68, 60}, {72, 60}, {72, 8}, {72, 8}}, color = {0, 0, 255}));
|
---|
592 | connect(capacitor1.p, pin1) annotation(
|
---|
593 | Line(points = {{-66, -38}, {-66, -22}, {-90, -22}, {-90, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
594 | connect(capacitor3.p, pin3) annotation(
|
---|
595 | Line(points = {{48, 10}, {48, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
596 | connect(pin3, capacitor3.p) annotation(
|
---|
597 | Line(points = {{-100, 60}, {48, 60}, {48, 10}}, color = {0, 0, 255}));
|
---|
598 | connect(capacitor3.n, ground1.p) annotation(
|
---|
599 | Line(points = {{48, -10}, {48, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
600 | connect(capacitor2.p, pin2) annotation(
|
---|
601 | Line(points = {{-32, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
602 | connect(capacitor2.n, ground1.p) annotation(
|
---|
603 | Line(points = {{-32, -20}, {-32, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
604 | connect(capacitor1.n, ground1.p) annotation(
|
---|
605 | Line(points = {{-66, -58}, {-66, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
606 | end rc;
|
---|
607 |
|
---|
608 | model c
|
---|
609 | parameter SI.Capacitance C1= 0.00001;
|
---|
610 | parameter SI.Capacitance C2= 0.00001;
|
---|
611 | parameter SI.Capacitance C3= 0.00001;
|
---|
612 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
613 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
614 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
615 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
616 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
617 | Placement(visible = true, transformation(origin = {-102, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-102, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
618 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
619 | Placement(visible = true, transformation(origin = {-34, -44}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
620 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
621 | Placement(visible = true, transformation(origin = {4, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
622 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
623 | Placement(visible = true, transformation(origin = {40, 38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
624 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
625 | Placement(visible = true, transformation(origin = {4, -84}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
626 | equation
|
---|
627 | connect(capacitor3.p, pin3) annotation(
|
---|
628 | Line(points = {{40, 48}, {40, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
629 | connect(pin2, capacitor2.p) annotation(
|
---|
630 | Line(points = {{-102, 0}, {4, 0}}, color = {0, 0, 255}));
|
---|
631 | connect(capacitor2.n, ground1.p) annotation(
|
---|
632 | Line(points = {{4, -20}, {4, -74}}, color = {0, 0, 255}));
|
---|
633 | connect(pin1, capacitor1.p) annotation(
|
---|
634 | Line(points = {{-100, -60}, {-67, -60}, {-67, -34}, {-34, -34}}, color = {0, 0, 255}));
|
---|
635 | connect(capacitor3.n, ground1.p) annotation(
|
---|
636 | Line(points = {{40, 28}, {40, -54}, {4, -54}, {4, -74}}, color = {0, 0, 255}));
|
---|
637 | connect(capacitor1.n, ground1.p) annotation(
|
---|
638 | Line(points = {{-34, -54}, {4, -54}, {4, -74}, {4, -74}}, color = {0, 0, 255}));
|
---|
639 | end c;
|
---|
640 |
|
---|
641 | model r
|
---|
642 | parameter SI.Resistance R1 = 20;
|
---|
643 | parameter SI.Resistance R2= 20;
|
---|
644 | parameter SI.Resistance R3= 20;
|
---|
645 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
646 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
647 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
648 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
649 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
650 | Placement(visible = true, transformation(origin = {0, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
651 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
652 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
653 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
654 | Placement(visible = true, transformation(origin = {-66, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
655 | grid.components.resistor resistor2(R = R1) annotation(
|
---|
656 | Placement(visible = true, transformation(origin = {-66, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
657 | grid.components.resistor resistor3(R = R1) annotation(
|
---|
658 | Placement(visible = true, transformation(origin = {-66, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
659 | equation
|
---|
660 | connect(resistor3.n, ground1.p) annotation(
|
---|
661 | Line(points = {{-56, 60}, {0, 60}, {0, -76}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
662 | connect(resistor2.n, ground1.p) annotation(
|
---|
663 | Line(points = {{-56, 0}, {-56, 0}, {-56, 0}, {0, 0}, {0, -76}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
664 | connect(resistor1.n, ground1.p) annotation(
|
---|
665 | Line(points = {{-56, -60}, {0, -60}, {0, -76}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
666 | connect(pin1, resistor1.p) annotation(
|
---|
667 | Line(points = {{-100, -60}, {-76, -60}, {-76, -60}, {-76, -60}}, color = {0, 0, 255}));
|
---|
668 | connect(pin2, resistor2.p) annotation(
|
---|
669 | Line(points = {{-100, 0}, {-100, 0}, {-100, 0}, {-76, 0}}, color = {0, 0, 255}));
|
---|
670 | connect(pin3, resistor3.p) annotation(
|
---|
671 | Line(points = {{-100, 60}, {-76, 60}, {-76, 60}, {-76, 60}}, color = {0, 0, 255}));
|
---|
672 | end r;
|
---|
673 |
|
---|
674 | model l
|
---|
675 | parameter SI.Inductance L1 = 0.001;
|
---|
676 | parameter SI.Inductance L2 = 0.001;
|
---|
677 | parameter SI.Inductance L3 = 0.001;
|
---|
678 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
679 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
680 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
681 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
682 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
683 | Placement(visible = true, transformation(origin = {0, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
684 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
685 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
686 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
687 | Placement(visible = true, transformation(origin = {-48, -50}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
688 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
689 | Placement(visible = true, transformation(origin = {0, -16}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
690 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
691 | Placement(visible = true, transformation(origin = {50, 50}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
692 | equation
|
---|
693 | connect(inductor3.n, ground1.p) annotation(
|
---|
694 | Line(points = {{50, 40}, {50, 40}, {50, -60}, {0, -60}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
695 | connect(pin3, inductor3.p) annotation(
|
---|
696 | Line(points = {{-100, 60}, {50, 60}, {50, 60}, {50, 60}}, color = {0, 0, 255}));
|
---|
697 | connect(inductor2.n, ground1.p) annotation(
|
---|
698 | Line(points = {{0, -26}, {0, -26}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
699 | connect(pin2, inductor2.p) annotation(
|
---|
700 | Line(points = {{-100, 0}, {0, 0}, {0, -6}}, color = {0, 0, 255}));
|
---|
701 | connect(inductor1.n, ground1.p) annotation(
|
---|
702 | Line(points = {{-48, -60}, {0, -60}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
703 | connect(pin1, inductor1.p) annotation(
|
---|
704 | Line(points = {{-100, -60}, {-78, -60}, {-78, -40}, {-48, -40}, {-48, -40}, {-48, -40}}, color = {0, 0, 255}));
|
---|
705 | end l;
|
---|
706 |
|
---|
707 | model rlc
|
---|
708 | parameter SI.Resistance R1 = 20;
|
---|
709 | parameter SI.Resistance R2= 20;
|
---|
710 | parameter SI.Resistance R3= 20;
|
---|
711 | parameter SI.Capacitance C1= 0.00001;
|
---|
712 | parameter SI.Capacitance C2= 0.00001;
|
---|
713 | parameter SI.Capacitance C3= 0.00001;
|
---|
714 | parameter SI.Inductance L1 = 0.001;
|
---|
715 | parameter SI.Inductance L2 = 0.001;
|
---|
716 | parameter SI.Inductance L3 = 0.001;
|
---|
717 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
718 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
719 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
720 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
721 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
722 | Placement(visible = true, transformation(origin = {0, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
723 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
724 | Placement(visible = true, transformation(origin = {-58, -44}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
725 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
726 | Placement(visible = true, transformation(origin = {0, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
727 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
728 | Placement(visible = true, transformation(origin = {56, 42}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
729 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
730 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
731 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
732 | Placement(visible = true, transformation(origin = {-76, -44}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
733 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
734 | Placement(visible = true, transformation(origin = {-20, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
735 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
736 | Placement(visible = true, transformation(origin = {38, 42}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
737 | grid.components.resistor resistor1(R = R1) annotation(
|
---|
738 | Placement(visible = true, transformation(origin = {-40, -44}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
739 | grid.components.resistor resistor2(R = R2) annotation(
|
---|
740 | Placement(visible = true, transformation(origin = {18, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
741 | grid.components.resistor resistor3(R = R3) annotation(
|
---|
742 | Placement(visible = true, transformation(origin = {74, 42}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
743 | equation
|
---|
744 | connect(inductor2.n, ground1.p) annotation(
|
---|
745 | Line(points = {{-20, -2}, {-20, -2}, {-20, -62}, {0, -62}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
746 | connect(inductor1.p, pin1) annotation(
|
---|
747 | Line(points = {{-76, -34}, {-76, -22}, {-90, -22}, {-90, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
748 | connect(inductor1.n, ground1.p) annotation(
|
---|
749 | Line(points = {{-76, -54}, {-76, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
750 | connect(ground1.p, resistor1.n) annotation(
|
---|
751 | Line(points = {{0, -76}, {0, -62}, {-40, -62}, {-40, -54}}, color = {0, 0, 255}));
|
---|
752 | connect(resistor1.p, pin1) annotation(
|
---|
753 | Line(points = {{-40, -34}, {-40, -22}, {-90, -22}, {-90, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
754 | connect(resistor2.n, ground1.p) annotation(
|
---|
755 | Line(points = {{18, -2}, {18, -2}, {18, -62}, {0, -62}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
756 | connect(pin2, resistor2.p) annotation(
|
---|
757 | Line(points = {{-100, 0}, {-50, 0}, {-50, 24}, {18, 24}, {18, 18}, {18, 18}, {18, 18}}, color = {0, 0, 255}));
|
---|
758 | connect(resistor3.p, pin3) annotation(
|
---|
759 | Line(points = {{74, 52}, {74, 52}, {74, 60}, {-100, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
760 | connect(ground1.p, resistor3.n) annotation(
|
---|
761 | Line(points = {{0, -76}, {0, -76}, {0, -62}, {74, -62}, {74, 32}, {74, 32}}, color = {0, 0, 255}));
|
---|
762 | connect(pin2, inductor2.p) annotation(
|
---|
763 | Line(points = {{-100, 0}, {-50, 0}, {-50, 24}, {-20, 24}, {-20, 18}}, color = {0, 0, 255}));
|
---|
764 | connect(capacitor2.p, pin2) annotation(
|
---|
765 | Line(points = {{0, 18}, {0, 24}, {-50, 24}, {-50, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
766 | connect(capacitor2.n, ground1.p) annotation(
|
---|
767 | Line(points = {{0, -2}, {0, -76}}, color = {0, 0, 255}));
|
---|
768 | connect(inductor3.n, ground1.p) annotation(
|
---|
769 | Line(points = {{38, 32}, {38, 32}, {38, -62}, {0, -62}, {0, -76}, {0, -76}}, color = {0, 0, 255}));
|
---|
770 | connect(pin3, inductor3.p) annotation(
|
---|
771 | Line(points = {{-100, 60}, {38, 60}, {38, 52}, {38, 52}}, color = {0, 0, 255}));
|
---|
772 | connect(capacitor3.n, ground1.p) annotation(
|
---|
773 | Line(points = {{56, 32}, {56, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
774 | connect(pin3, capacitor3.p) annotation(
|
---|
775 | Line(points = {{-100, 60}, {56, 60}, {56, 52}}, color = {0, 0, 255}));
|
---|
776 | connect(capacitor3.p, pin3) annotation(
|
---|
777 | Line(points = {{56, 52}, {56, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
778 | connect(capacitor1.n, ground1.p) annotation(
|
---|
779 | Line(points = {{-58, -54}, {-58, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
780 | connect(capacitor1.p, pin1) annotation(
|
---|
781 | Line(points = {{-58, -34}, {-58, -22}, {-90, -22}, {-90, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
782 | end rlc;
|
---|
783 |
|
---|
784 | model lc
|
---|
785 | parameter SI.Capacitance C1(start = 0.00001);
|
---|
786 | parameter SI.Capacitance C2(start = 0.00001);
|
---|
787 | parameter SI.Capacitance C3(start = 0.00001);
|
---|
788 | parameter SI.Inductance L1(start = 0.001);
|
---|
789 | parameter SI.Inductance L2(start = 0.001);
|
---|
790 | parameter SI.Inductance L3(start = 0.001);
|
---|
791 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
792 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
793 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
794 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
795 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
796 | Placement(visible = true, transformation(origin = {0, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
797 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
798 | Placement(visible = true, transformation(origin = {-56, -18}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
799 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
800 | Placement(visible = true, transformation(origin = {0, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
801 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
802 | Placement(visible = true, transformation(origin = {56, 42}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
803 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
804 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
805 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
806 | Placement(visible = true, transformation(origin = {-56, -44}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
807 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
808 | Placement(visible = true, transformation(origin = {0, -24}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
809 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
810 | Placement(visible = true, transformation(origin = {56, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
811 | equation
|
---|
812 | connect(capacitor3.n, inductor3.p) annotation(
|
---|
813 | Line(points = {{56, 32}, {56, 32}, {56, 18}, {56, 18}}, color = {0, 0, 255}));
|
---|
814 | connect(inductor3.n, ground1.p) annotation(
|
---|
815 | Line(points = {{56, -2}, {56, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
816 | connect(capacitor1.n, inductor1.p) annotation(
|
---|
817 | Line(points = {{-56, -28}, {-56, -28}, {-56, -34}, {-56, -34}}, color = {0, 0, 255}));
|
---|
818 | connect(inductor1.n, ground1.p) annotation(
|
---|
819 | Line(points = {{-56, -54}, {-56, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
820 | connect(capacitor1.p, pin1) annotation(
|
---|
821 | Line(points = {{-56, -8}, {-56, 0}, {-88, 0}, {-88, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
822 | connect(capacitor2.p, pin2) annotation(
|
---|
823 | Line(points = {{0, 18}, {0, 24}, {-94, 24}, {-94, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
824 | connect(capacitor2.n, inductor2.p) annotation(
|
---|
825 | Line(points = {{0, -2}, {0, -2}, {0, -14}, {0, -14}}, color = {0, 0, 255}));
|
---|
826 | connect(inductor2.n, ground1.p) annotation(
|
---|
827 | Line(points = {{0, -34}, {0, -76}}, color = {0, 0, 255}));
|
---|
828 | connect(pin3, capacitor3.p) annotation(
|
---|
829 | Line(points = {{-100, 60}, {56, 60}, {56, 52}}, color = {0, 0, 255}));
|
---|
830 | connect(capacitor3.p, pin3) annotation(
|
---|
831 | Line(points = {{56, 52}, {56, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
832 | end lc;
|
---|
833 |
|
---|
834 | model rl
|
---|
835 | parameter SI.Resistance R1 = 20;
|
---|
836 | parameter SI.Resistance R2= 20;
|
---|
837 | parameter SI.Resistance R3= 20;
|
---|
838 | parameter SI.Inductance L1 = 0.001;
|
---|
839 | parameter SI.Inductance L2 = 0.001;
|
---|
840 | parameter SI.Inductance L3 = 0.001;
|
---|
841 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
842 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
843 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
844 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
845 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
846 | Placement(visible = true, transformation(origin = {0, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
847 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
848 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
849 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
850 | Placement(visible = true, transformation(origin = {-40, -46}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
851 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
852 | Placement(visible = true, transformation(origin = {0, -18}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
853 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
854 | Placement(visible = true, transformation(origin = {60, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
855 | grid.components.resistor resistor1 annotation(
|
---|
856 | Placement(visible = true, transformation(origin = {-40, -20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
857 | grid.components.resistor resistor2 annotation(
|
---|
858 | Placement(visible = true, transformation(origin = {0, 12}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
859 | grid.components.resistor resistor3 annotation(
|
---|
860 | Placement(visible = true, transformation(origin = {60, 34}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
861 | equation
|
---|
862 | connect(resistor1.n, inductor1.p) annotation(
|
---|
863 | Line(points = {{-40, -30}, {-40, -30}, {-40, -36}, {-40, -36}}, color = {0, 0, 255}));
|
---|
864 | connect(pin3, resistor3.p) annotation(
|
---|
865 | Line(points = {{-100, 60}, {60, 60}, {60, 44}, {60, 44}}, color = {0, 0, 255}));
|
---|
866 | connect(resistor3.n, inductor3.p) annotation(
|
---|
867 | Line(points = {{60, 24}, {60, 24}, {60, 24}, {60, 18}}, color = {0, 0, 255}));
|
---|
868 | connect(resistor2.n, inductor2.p) annotation(
|
---|
869 | Line(points = {{0, 2}, {0, 2}, {0, -8}, {0, -8}}, color = {0, 0, 255}));
|
---|
870 | connect(pin2, resistor2.p) annotation(
|
---|
871 | Line(points = {{-100, 0}, {-66, 0}, {-66, 22}, {0, 22}}, color = {0, 0, 255}));
|
---|
872 | connect(pin1, resistor1.p) annotation(
|
---|
873 | Line(points = {{-100, -60}, {-74, -60}, {-74, -10}, {-40, -10}, {-40, -10}}, color = {0, 0, 255}));
|
---|
874 | connect(inductor3.n, ground1.p) annotation(
|
---|
875 | Line(points = {{60, -2}, {60, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
876 | connect(inductor1.n, ground1.p) annotation(
|
---|
877 | Line(points = {{-40, -56}, {-40, -62}, {0, -62}, {0, -76}}, color = {0, 0, 255}));
|
---|
878 | connect(inductor2.n, ground1.p) annotation(
|
---|
879 | Line(points = {{0, -28}, {0, -76}}, color = {0, 0, 255}));
|
---|
880 | end rl;
|
---|
881 | end loads;
|
---|
882 |
|
---|
883 | package inverters
|
---|
884 | model inverter
|
---|
885 | // input Real regler1;
|
---|
886 | // input Real regler2;
|
---|
887 | // input Real regler3;
|
---|
888 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
889 | Placement(visible = true, transformation(origin = {-74, -82}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
890 | Modelica.Electrical.Analog.Sources.SignalVoltage signalVoltage1 annotation(
|
---|
891 | Placement(visible = true, transformation(origin = {-74, -42}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
892 | Modelica.Electrical.Analog.Sources.SignalVoltage signalVoltage2 annotation(
|
---|
893 | Placement(visible = true, transformation(origin = {-74, 20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
894 | Modelica.Electrical.Analog.Sources.SignalVoltage signalVoltage3 annotation(
|
---|
895 | Placement(visible = true, transformation(origin = {-76, 70}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
896 | Modelica.Blocks.Interfaces.RealInput u1 annotation(
|
---|
897 | Placement(visible = true, transformation(origin = {-104, -60}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, -60}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
898 | Modelica.Blocks.Interfaces.RealInput u3 annotation(
|
---|
899 | Placement(visible = true, transformation(origin = {-104, 60}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, 60}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
900 | Modelica.Blocks.Interfaces.RealInput u2 annotation(
|
---|
901 | Placement(visible = true, transformation(origin = {-104, 4.44089e-16}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, 4.44089e-16}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
902 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
903 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
904 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
905 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
906 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
907 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
908 | equation
|
---|
909 | connect(u1, signalVoltage1.v) annotation(
|
---|
910 | Line(points = {{-104, -60}, {-54, -60}, {-54, -42}, {-62, -42}}, color = {0, 0, 127}));
|
---|
911 | connect(signalVoltage2.p, pin2) annotation(
|
---|
912 | Line(points = {{-74, 30}, {80, 30}, {80, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
913 | connect(signalVoltage3.p, pin3) annotation(
|
---|
914 | Line(points = {{-76, 80}, {80, 80}, {80, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
915 | connect(signalVoltage1.p, pin1) annotation(
|
---|
916 | Line(points = {{-74, -32}, {80, -32}, {80, -60}, {100, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
917 | connect(signalVoltage3.n, ground1.p) annotation(
|
---|
918 | Line(points = {{-76, 60}, {-76, 48}, {-82, 48}, {-82, -72}, {-74, -72}}, color = {0, 0, 255}));
|
---|
919 | connect(signalVoltage3.v, u3) annotation(
|
---|
920 | Line(points = {{-64, 70}, {-56, 70}, {-56, 60}, {-104, 60}}, color = {0, 0, 127}));
|
---|
921 | connect(u2, signalVoltage2.v) annotation(
|
---|
922 | Line(points = {{-104, 0}, {-56, 0}, {-56, 20}, {-62, 20}}, color = {0, 0, 127}));
|
---|
923 | connect(signalVoltage2.n, ground1.p) annotation(
|
---|
924 | Line(points = {{-74, 10}, {-82, 10}, {-82, -72}, {-74, -72}, {-74, -72}}, color = {0, 0, 255}));
|
---|
925 | connect(signalVoltage1.n, ground1.p) annotation(
|
---|
926 | Line(points = {{-74, -52}, {-74, -72}}, color = {0, 0, 255}));
|
---|
927 | /* connect(signalVoltage1.v, regler1) annotation(
|
---|
928 | Line);
|
---|
929 | connect(signalVoltage2.v, regler2) annotation(
|
---|
930 | Line);
|
---|
931 | connect(signalVoltage3.v, regler3) annotation(
|
---|
932 | Line);
|
---|
933 | */
|
---|
934 | annotation(
|
---|
935 | uses(Modelica(version = "3.2.3")));
|
---|
936 | end inverter;
|
---|
937 | end inverters;
|
---|
938 |
|
---|
939 | package ideal_filter
|
---|
940 | model pi
|
---|
941 | parameter SI.Capacitance C1 = 0.00001;
|
---|
942 | parameter SI.Capacitance C2 = 0.00001;
|
---|
943 | parameter SI.Capacitance C3 = 0.00001;
|
---|
944 | parameter SI.Capacitance C4 = 0.00001;
|
---|
945 | parameter SI.Capacitance C5 = 0.00001;
|
---|
946 | parameter SI.Capacitance C6 = 0.00001;
|
---|
947 | parameter SI.Inductance L1 = 0.001;
|
---|
948 | parameter SI.Inductance L2 = 0.001;
|
---|
949 | parameter SI.Inductance L3 = 0.001;
|
---|
950 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
951 | Placement(visible = true, transformation(origin = {2, -16}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
952 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
953 | Placement(visible = true, transformation(origin = {2, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
954 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
955 | Placement(visible = true, transformation(origin = {0, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
956 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
957 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
958 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
959 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
960 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
961 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
962 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
963 | Placement(visible = true, transformation(origin = {-70, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
964 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
965 | Placement(visible = true, transformation(origin = {-48, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
966 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
967 | Placement(visible = true, transformation(origin = {-26, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
968 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
969 | Placement(visible = true, transformation(origin = {0, -70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
970 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
971 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
972 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
973 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
974 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
975 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
976 | Modelica.Electrical.Analog.Basic.Capacitor capacitor4(C = C4) annotation(
|
---|
977 | Placement(visible = true, transformation(origin = {26, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
978 | Modelica.Electrical.Analog.Basic.Capacitor capacitor5(C = C5) annotation(
|
---|
979 | Placement(visible = true, transformation(origin = {46, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
980 | Modelica.Electrical.Analog.Basic.Capacitor capacitor6(C = C6) annotation(
|
---|
981 | Placement(visible = true, transformation(origin = {66, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
982 | equation
|
---|
983 | connect(inductor3.n, capacitor6.p) annotation(
|
---|
984 | Line(points = {{10, 60}, {66, 60}, {66, -28}, {66, -28}}, color = {0, 0, 255}));
|
---|
985 | connect(capacitor3.p, pin3) annotation(
|
---|
986 | Line(points = {{-26, -28}, {-26, -28}, {-26, 60}, {-100, 60}, {-100, 60}}, color = {0, 0, 255}));
|
---|
987 | connect(inductor1.n, pin4) annotation(
|
---|
988 | Line(points = {{12, -16}, {70, -16}, {70, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
989 | connect(inductor1.n, capacitor4.p) annotation(
|
---|
990 | Line(points = {{12, -16}, {26, -16}, {26, -28}}, color = {0, 0, 255}));
|
---|
991 | connect(pin1, inductor1.p) annotation(
|
---|
992 | Line(points = {{-100, -60}, {-80, -60}, {-80, -16}, {-8, -16}}, color = {0, 0, 255}));
|
---|
993 | connect(inductor3.n, pin6) annotation(
|
---|
994 | Line(points = {{10, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
995 | connect(pin3, inductor3.p) annotation(
|
---|
996 | Line(points = {{-100, 60}, {-10, 60}}, color = {0, 0, 255}));
|
---|
997 | connect(inductor2.n, pin5) annotation(
|
---|
998 | Line(points = {{12, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
999 | connect(inductor2.n, capacitor5.p) annotation(
|
---|
1000 | Line(points = {{12, 0}, {46, 0}, {46, -28}}, color = {0, 0, 255}));
|
---|
1001 | connect(inductor2.p, pin2) annotation(
|
---|
1002 | Line(points = {{-8, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
1003 | connect(capacitor1.p, pin1) annotation(
|
---|
1004 | Line(points = {{-70, -28}, {-80, -28}, {-80, -60}, {-100, -60}}, color = {0, 0, 255}));
|
---|
1005 | connect(capacitor2.p, pin2) annotation(
|
---|
1006 | Line(points = {{-48, -28}, {-48, -28}, {-48, 0}, {-100, 0}, {-100, 0}}, color = {0, 0, 255}));
|
---|
1007 | connect(capacitor3.n, ground1.p) annotation(
|
---|
1008 | Line(points = {{-26, -48}, {0, -48}, {0, -60}}, color = {0, 0, 255}));
|
---|
1009 | connect(capacitor4.n, ground1.p) annotation(
|
---|
1010 | Line(points = {{26, -48}, {0, -48}, {0, -60}}, color = {0, 0, 255}));
|
---|
1011 | connect(capacitor2.n, capacitor3.n) annotation(
|
---|
1012 | Line(points = {{-48, -48}, {-26, -48}, {-26, -48}, {-26, -48}}, color = {0, 0, 255}));
|
---|
1013 | connect(capacitor1.n, capacitor2.n) annotation(
|
---|
1014 | Line(points = {{-70, -48}, {-48, -48}, {-48, -48}, {-48, -48}}, color = {0, 0, 255}));
|
---|
1015 | connect(capacitor5.n, capacitor4.n) annotation(
|
---|
1016 | Line(points = {{46, -48}, {26, -48}, {26, -48}, {26, -48}}, color = {0, 0, 255}));
|
---|
1017 | connect(capacitor6.n, capacitor5.n) annotation(
|
---|
1018 | Line(points = {{66, -48}, {46, -48}, {46, -48}, {46, -48}}, color = {0, 0, 255}));
|
---|
1019 | end pi;
|
---|
1020 |
|
---|
1021 | model lcl
|
---|
1022 | parameter SI.Capacitance C1 = 0.00001;
|
---|
1023 | parameter SI.Capacitance C2 = 0.00001;
|
---|
1024 | parameter SI.Capacitance C3 = 0.00001;
|
---|
1025 | parameter SI.Inductance L1 = 0.001;
|
---|
1026 | parameter SI.Inductance L2 = 0.001;
|
---|
1027 | parameter SI.Inductance L3 = 0.001;
|
---|
1028 | parameter SI.Inductance L4 = 0.001;
|
---|
1029 | parameter SI.Inductance L5 = 0.001;
|
---|
1030 | parameter SI.Inductance L6 = 0.001;
|
---|
1031 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
1032 | Placement(visible = true, transformation(origin = {-60, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1033 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
1034 | Placement(visible = true, transformation(origin = {-60, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1035 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
1036 | Placement(visible = true, transformation(origin = {-60, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1037 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
1038 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1039 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
1040 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1041 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
1042 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1043 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
1044 | Placement(visible = true, transformation(origin = {32, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1045 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
1046 | Placement(visible = true, transformation(origin = {12, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1047 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
1048 | Placement(visible = true, transformation(origin = {-8, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1049 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
1050 | Placement(visible = true, transformation(origin = {12, -68}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1051 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
1052 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1053 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
1054 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1055 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
1056 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1057 | Modelica.Electrical.Analog.Basic.Inductor inductor4(L = L4) annotation(
|
---|
1058 | Placement(visible = true, transformation(origin = {68, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1059 | Modelica.Electrical.Analog.Basic.Inductor inductor5(L = L5) annotation(
|
---|
1060 | Placement(visible = true, transformation(origin = {74, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1061 | Modelica.Electrical.Analog.Basic.Inductor inductor6(L = L6) annotation(
|
---|
1062 | Placement(visible = true, transformation(origin = {64, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1063 | equation
|
---|
1064 | connect(inductor2.n, inductor5.p) annotation(
|
---|
1065 | Line(points = {{-50, 44}, {-50, 44}, {-50, 44}, {64, 44}}, color = {0, 0, 255}));
|
---|
1066 | connect(inductor2.n, capacitor2.p) annotation(
|
---|
1067 | Line(points = {{-50, 44}, {12, 44}, {12, -26}, {12, -26}}, color = {0, 0, 255}));
|
---|
1068 | connect(inductor1.n, inductor4.p) annotation(
|
---|
1069 | Line(points = {{-50, 20}, {-50, 20}, {-50, 20}, {58, 20}}, color = {0, 0, 255}));
|
---|
1070 | connect(inductor1.n, capacitor1.p) annotation(
|
---|
1071 | Line(points = {{-50, 20}, {32, 20}, {32, -26}, {32, -26}}, color = {0, 0, 255}));
|
---|
1072 | connect(inductor3.n, capacitor3.p) annotation(
|
---|
1073 | Line(points = {{-50, 70}, {-8, 70}, {-8, -26}, {-8, -26}}, color = {0, 0, 255}));
|
---|
1074 | connect(inductor3.n, inductor6.p) annotation(
|
---|
1075 | Line(points = {{-50, 70}, {54, 70}, {54, 70}, {54, 70}}, color = {0, 0, 255}));
|
---|
1076 | connect(inductor4.n, pin4) annotation(
|
---|
1077 | Line(points = {{78, 20}, {80, 20}, {80, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
1078 | connect(inductor6.n, pin6) annotation(
|
---|
1079 | Line(points = {{74, 70}, {84, 70}, {84, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
1080 | connect(pin1, inductor1.p) annotation(
|
---|
1081 | Line(points = {{-100, -60}, {-85, -60}, {-85, 20}, {-70, 20}}, color = {0, 0, 255}));
|
---|
1082 | connect(pin3, inductor3.p) annotation(
|
---|
1083 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-70, 70}}, color = {0, 0, 255}));
|
---|
1084 | connect(inductor5.n, pin5) annotation(
|
---|
1085 | Line(points = {{84, 44}, {88, 44}, {88, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
1086 | connect(pin2, inductor2.p) annotation(
|
---|
1087 | Line(points = {{-100, 0}, {-91, 0}, {-91, 44}, {-70, 44}}, color = {0, 0, 255}));
|
---|
1088 | connect(capacitor2.n, ground1.p) annotation(
|
---|
1089 | Line(points = {{12, -46}, {12, -46}, {12, -58}, {12, -58}}, color = {0, 0, 255}));
|
---|
1090 | connect(capacitor2.n, capacitor1.n) annotation(
|
---|
1091 | Line(points = {{12, -46}, {32, -46}, {32, -46}, {32, -46}}, color = {0, 0, 255}));
|
---|
1092 | connect(capacitor3.n, capacitor2.n) annotation(
|
---|
1093 | Line(points = {{-8, -46}, {12, -46}, {12, -46}, {12, -46}}, color = {0, 0, 255}));
|
---|
1094 | end lcl;
|
---|
1095 |
|
---|
1096 | model lc
|
---|
1097 | parameter SI.Capacitance C1 =0.00001;
|
---|
1098 | parameter SI.Capacitance C2 = 0.00001;
|
---|
1099 | parameter SI.Capacitance C3 = 0.00001;
|
---|
1100 | parameter SI.Inductance L1 = 0.001;
|
---|
1101 | parameter SI.Inductance L2 = 0.001;
|
---|
1102 | parameter SI.Inductance L3 = 0.001;
|
---|
1103 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
1104 | Placement(visible = true, transformation(origin = {-60, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1105 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
1106 | Placement(visible = true, transformation(origin = {-60, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1107 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
1108 | Placement(visible = true, transformation(origin = {-60, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1109 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
1110 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1111 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
1112 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1113 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
1114 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1115 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
1116 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1117 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
1118 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1119 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
1120 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1121 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
1122 | Placement(visible = true, transformation(origin = {32, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1123 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
1124 | Placement(visible = true, transformation(origin = {12, -68}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1125 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
1126 | Placement(visible = true, transformation(origin = {12, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1127 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
1128 | Placement(visible = true, transformation(origin = {-8, -36}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1129 | equation
|
---|
1130 | connect(inductor1.n, pin4) annotation(
|
---|
1131 | Line(points = {{-50, 20}, {54, 20}, {54, -60}, {100, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
1132 | connect(inductor2.n, pin5) annotation(
|
---|
1133 | Line(points = {{-50, 44}, {68, 44}, {68, 0}, {100, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
1134 | connect(inductor3.n, pin6) annotation(
|
---|
1135 | Line(points = {{-50, 70}, {80, 70}, {80, 60}, {100, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
1136 | connect(inductor3.n, capacitor3.p) annotation(
|
---|
1137 | Line(points = {{-50, 70}, {-8, 70}, {-8, -26}, {-8, -26}}, color = {0, 0, 255}));
|
---|
1138 | connect(inductor2.n, capacitor2.p) annotation(
|
---|
1139 | Line(points = {{-50, 44}, {12, 44}, {12, -26}, {12, -26}}, color = {0, 0, 255}));
|
---|
1140 | connect(inductor1.n, capacitor1.p) annotation(
|
---|
1141 | Line(points = {{-50, 20}, {32, 20}, {32, -26}, {32, -26}}, color = {0, 0, 255}));
|
---|
1142 | connect(capacitor3.n, capacitor2.n) annotation(
|
---|
1143 | Line(points = {{-8, -46}, {12, -46}, {12, -46}, {12, -46}}, color = {0, 0, 255}));
|
---|
1144 | connect(capacitor2.n, ground1.p) annotation(
|
---|
1145 | Line(points = {{12, -46}, {12, -46}, {12, -58}, {12, -58}}, color = {0, 0, 255}));
|
---|
1146 | connect(capacitor2.n, capacitor1.n) annotation(
|
---|
1147 | Line(points = {{12, -46}, {32, -46}, {32, -46}, {32, -46}}, color = {0, 0, 255}));
|
---|
1148 | connect(pin1, inductor1.p) annotation(
|
---|
1149 | Line(points = {{-100, -60}, {-85, -60}, {-85, 20}, {-70, 20}}, color = {0, 0, 255}));
|
---|
1150 | connect(pin3, inductor3.p) annotation(
|
---|
1151 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-70, 70}}, color = {0, 0, 255}));
|
---|
1152 | connect(pin2, inductor2.p) annotation(
|
---|
1153 | Line(points = {{-100, 0}, {-91, 0}, {-91, 44}, {-70, 44}}, color = {0, 0, 255}));
|
---|
1154 | end lc;
|
---|
1155 |
|
---|
1156 | model lclc
|
---|
1157 | parameter SI.Capacitance C1 = 0.00001;
|
---|
1158 | parameter SI.Capacitance C2 = 0.00001;
|
---|
1159 | parameter SI.Capacitance C3 = 0.00001;
|
---|
1160 | parameter SI.Capacitance C4 = 0.00001;
|
---|
1161 | parameter SI.Capacitance C5 = 0.00001;
|
---|
1162 | parameter SI.Capacitance C6 = 0.00001;
|
---|
1163 | parameter SI.Inductance L1 = 0.001;
|
---|
1164 | parameter SI.Inductance L2 = 0.001;
|
---|
1165 | parameter SI.Inductance L3 = 0.001;
|
---|
1166 | parameter SI.Inductance L4 = 0.001;
|
---|
1167 | parameter SI.Inductance L5 = 0.001;
|
---|
1168 | parameter SI.Inductance L6 = 0.001;
|
---|
1169 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
1170 | Placement(visible = true, transformation(origin = {-82, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1171 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
1172 | Placement(visible = true, transformation(origin = {-82, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1173 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
1174 | Placement(visible = true, transformation(origin = {-84, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1175 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
1176 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1177 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
1178 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1179 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
1180 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1181 | Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = C1) annotation(
|
---|
1182 | Placement(visible = true, transformation(origin = {-2, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1183 | Modelica.Electrical.Analog.Basic.Capacitor capacitor2(C = C2) annotation(
|
---|
1184 | Placement(visible = true, transformation(origin = {-22, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1185 | Modelica.Electrical.Analog.Basic.Capacitor capacitor3(C = C3) annotation(
|
---|
1186 | Placement(visible = true, transformation(origin = {-42, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1187 | Modelica.Electrical.Analog.Basic.Ground ground1 annotation(
|
---|
1188 | Placement(visible = true, transformation(origin = {16, -70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1189 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
1190 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1191 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
1192 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1193 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
1194 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1195 | Modelica.Electrical.Analog.Basic.Inductor inductor4(L = L4) annotation(
|
---|
1196 | Placement(visible = true, transformation(origin = {34, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1197 | Modelica.Electrical.Analog.Basic.Inductor inductor5(L = L5) annotation(
|
---|
1198 | Placement(visible = true, transformation(origin = {34, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1199 | Modelica.Electrical.Analog.Basic.Inductor inductor6(L = L6) annotation(
|
---|
1200 | Placement(visible = true, transformation(origin = {36, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1201 | Modelica.Electrical.Analog.Basic.Capacitor capacitor4(C = C4) annotation(
|
---|
1202 | Placement(visible = true, transformation(origin = {72, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1203 | Modelica.Electrical.Analog.Basic.Capacitor capacitor5(C = C5) annotation(
|
---|
1204 | Placement(visible = true, transformation(origin = {52, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1205 | Modelica.Electrical.Analog.Basic.Capacitor capacitor6(C = C6) annotation(
|
---|
1206 | Placement(visible = true, transformation(origin = {32, -38}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
---|
1207 | equation
|
---|
1208 | connect(inductor4.n, capacitor4.p) annotation(
|
---|
1209 | Line(points = {{44, 20}, {72, 20}, {72, -28}, {72, -28}}, color = {0, 0, 255}));
|
---|
1210 | connect(inductor6.n, capacitor6.p) annotation(
|
---|
1211 | Line(points = {{46, 70}, {64, 70}, {64, 4}, {32, 4}, {32, -28}}, color = {0, 0, 255}));
|
---|
1212 | connect(capacitor3.p, inductor3.n) annotation(
|
---|
1213 | Line(points = {{-42, -28}, {-42, -28}, {-42, 70}, {-74, 70}, {-74, 70}}, color = {0, 0, 255}));
|
---|
1214 | connect(capacitor2.p, inductor2.n) annotation(
|
---|
1215 | Line(points = {{-22, -28}, {-22, -28}, {-22, 44}, {-72, 44}, {-72, 44}}, color = {0, 0, 255}));
|
---|
1216 | connect(inductor5.n, capacitor5.p) annotation(
|
---|
1217 | Line(points = {{44, 44}, {52, 44}, {52, -28}, {52, -28}}, color = {0, 0, 255}));
|
---|
1218 | connect(inductor3.n, inductor6.p) annotation(
|
---|
1219 | Line(points = {{-74, 70}, {26, 70}, {26, 70}, {26, 70}}, color = {0, 0, 255}));
|
---|
1220 | connect(inductor2.n, inductor5.p) annotation(
|
---|
1221 | Line(points = {{-72, 44}, {-72, 44}, {-72, 44}, {24, 44}}, color = {0, 0, 255}));
|
---|
1222 | connect(inductor1.n, inductor4.p) annotation(
|
---|
1223 | Line(points = {{-72, 20}, {24, 20}, {24, 20}, {24, 20}}, color = {0, 0, 255}));
|
---|
1224 | connect(inductor1.n, capacitor1.p) annotation(
|
---|
1225 | Line(points = {{-72, 20}, {-2, 20}, {-2, -28}, {-2, -28}}, color = {0, 0, 255}));
|
---|
1226 | connect(inductor4.n, pin4) annotation(
|
---|
1227 | Line(points = {{44, 20}, {92, 20}, {92, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
1228 | connect(inductor6.n, pin6) annotation(
|
---|
1229 | Line(points = {{46, 70}, {76, 70}, {76, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
1230 | connect(capacitor6.n, ground1.p) annotation(
|
---|
1231 | Line(points = {{32, -48}, {16, -48}, {16, -60}}, color = {0, 0, 255}));
|
---|
1232 | connect(capacitor6.n, capacitor5.n) annotation(
|
---|
1233 | Line(points = {{32, -48}, {52, -48}, {52, -48}, {52, -48}}, color = {0, 0, 255}));
|
---|
1234 | connect(capacitor5.n, capacitor4.n) annotation(
|
---|
1235 | Line(points = {{52, -48}, {72, -48}, {72, -48}, {72, -48}}, color = {0, 0, 255}));
|
---|
1236 | connect(capacitor1.n, ground1.p) annotation(
|
---|
1237 | Line(points = {{-2, -48}, {16, -48}, {16, -60}, {16, -60}}, color = {0, 0, 255}));
|
---|
1238 | connect(inductor5.n, pin5) annotation(
|
---|
1239 | Line(points = {{44, 44}, {94, 44}, {94, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
1240 | connect(capacitor3.n, capacitor2.n) annotation(
|
---|
1241 | Line(points = {{-42, -48}, {-22, -48}, {-22, -48}, {-22, -48}}, color = {0, 0, 255}));
|
---|
1242 | connect(capacitor1.n, capacitor2.n) annotation(
|
---|
1243 | Line(points = {{-2, -48}, {-22, -48}, {-22, -48}, {-22, -48}}, color = {0, 0, 255}));
|
---|
1244 | connect(pin3, inductor3.p) annotation(
|
---|
1245 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-94, 70}}, color = {0, 0, 255}));
|
---|
1246 | connect(pin2, inductor2.p) annotation(
|
---|
1247 | Line(points = {{-100, 0}, {-95, 0}, {-95, 44}, {-92, 44}}, color = {0, 0, 255}));
|
---|
1248 | connect(pin1, inductor1.p) annotation(
|
---|
1249 | Line(points = {{-100, -60}, {-93, -60}, {-93, 20}, {-92, 20}}, color = {0, 0, 255}));
|
---|
1250 | end lclc;
|
---|
1251 |
|
---|
1252 | model l
|
---|
1253 | parameter SI.Inductance L1 = 0.001;
|
---|
1254 | parameter SI.Inductance L2 = 0.001;
|
---|
1255 | parameter SI.Inductance L3 = 0.001;
|
---|
1256 | Modelica.Electrical.Analog.Basic.Inductor inductor1(L = L1) annotation(
|
---|
1257 | Placement(visible = true, transformation(origin = {-60, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1258 | Modelica.Electrical.Analog.Basic.Inductor inductor2(L = L2) annotation(
|
---|
1259 | Placement(visible = true, transformation(origin = {-60, 44}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1260 | Modelica.Electrical.Analog.Basic.Inductor inductor3(L = L3) annotation(
|
---|
1261 | Placement(visible = true, transformation(origin = {-60, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1262 | Modelica.Electrical.Analog.Interfaces.Pin pin3 annotation(
|
---|
1263 | Placement(visible = true, transformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1264 | Modelica.Electrical.Analog.Interfaces.Pin pin1 annotation(
|
---|
1265 | Placement(visible = true, transformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1266 | Modelica.Electrical.Analog.Interfaces.Pin pin2 annotation(
|
---|
1267 | Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1268 | Modelica.Electrical.Analog.Interfaces.Pin pin6 annotation(
|
---|
1269 | Placement(visible = true, transformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1270 | Modelica.Electrical.Analog.Interfaces.Pin pin4 annotation(
|
---|
1271 | Placement(visible = true, transformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1272 | Modelica.Electrical.Analog.Interfaces.Pin pin5 annotation(
|
---|
1273 | Placement(visible = true, transformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {100, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1274 | equation
|
---|
1275 | connect(inductor3.n, pin6) annotation(
|
---|
1276 | Line(points = {{-50, 70}, {80, 70}, {80, 60}, {100, 60}, {100, 60}}, color = {0, 0, 255}));
|
---|
1277 | connect(inductor2.n, pin5) annotation(
|
---|
1278 | Line(points = {{-50, 44}, {78, 44}, {78, 0}, {100, 0}, {100, 0}}, color = {0, 0, 255}));
|
---|
1279 | connect(inductor1.n, pin4) annotation(
|
---|
1280 | Line(points = {{-50, 20}, {60, 20}, {60, -60}, {100, -60}, {100, -60}}, color = {0, 0, 255}));
|
---|
1281 | connect(pin1, inductor1.p) annotation(
|
---|
1282 | Line(points = {{-100, -60}, {-85, -60}, {-85, 20}, {-70, 20}}, color = {0, 0, 255}));
|
---|
1283 | connect(pin3, inductor3.p) annotation(
|
---|
1284 | Line(points = {{-100, 60}, {-93, 60}, {-93, 70}, {-70, 70}}, color = {0, 0, 255}));
|
---|
1285 | connect(pin2, inductor2.p) annotation(
|
---|
1286 | Line(points = {{-100, 0}, {-91, 0}, {-91, 44}, {-70, 44}}, color = {0, 0, 255}));
|
---|
1287 | end l;
|
---|
1288 | end ideal_filter;
|
---|
1289 |
|
---|
1290 | package components
|
---|
1291 | model resistor
|
---|
1292 | parameter SI.Resistance R(start = 1);
|
---|
1293 | extends Modelica.Electrical.Analog.Interfaces.OnePort;
|
---|
1294 | equation
|
---|
1295 | v = R * i;
|
---|
1296 | annotation(
|
---|
1297 | Documentation(info = "<html>
|
---|
1298 | <p>The linear resistor connects the branch voltage <em>v</em> with the branch current <em>i</em> by <em>i*R = v</em>. The Resistance <em>R</em> is allowed to be positive, zero, or negative.</p>
|
---|
1299 | </html>", revisions = "<html>
|
---|
1300 | <ul>
|
---|
1301 | <li><em> August 07, 2009 </em>
|
---|
1302 | by Anton Haumer<br> temperature dependency of resistance added<br>
|
---|
1303 | </li>
|
---|
1304 | <li><em> March 11, 2009 </em>
|
---|
1305 | by Christoph Clauss<br> conditional heat port added<br>
|
---|
1306 | </li>
|
---|
1307 | <li><em> 1998 </em>
|
---|
1308 | by Christoph Clauss<br> initially implemented<br>
|
---|
1309 | </li>
|
---|
1310 | </ul>
|
---|
1311 | </html>"),
|
---|
1312 | Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}), graphics = {Rectangle(extent = {{-70, 30}, {70, -30}}, lineColor = {0, 0, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid), Line(points = {{-90, 0}, {-70, 0}}, color = {0, 0, 255}), Line(points = {{70, 0}, {90, 0}}, color = {0, 0, 255}), Text(extent = {{-150, -40}, {150, -80}}, textString = "R=%R"), Line(visible = useHeatPort, points = {{0, -100}, {0, -30}}, color = {127, 0, 0}, pattern = LinePattern.Dot), Text(extent = {{-150, 90}, {150, 50}}, textString = "%name", lineColor = {0, 0, 255})}));
|
---|
1313 | end resistor;
|
---|
1314 | end components;
|
---|
1315 |
|
---|
1316 | model network
|
---|
1317 |
|
---|
1318 | grid.inverters.inverter inverter1 annotation(
|
---|
1319 | Placement(visible = true, transformation(origin = {-70, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1320 | grid.ideal_filter.lc lc1 annotation(
|
---|
1321 | Placement(visible = true, transformation(origin = {-30, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1322 | grid.loads.rc rc1 annotation(
|
---|
1323 | Placement(visible = true, transformation(origin = {70, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1324 | grid.inverters.inverter inverter2 annotation(
|
---|
1325 | Placement(visible = true, transformation(origin = {-70, -30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1326 | grid.ideal_filter.lc lc2 annotation(
|
---|
1327 | Placement(visible = true, transformation(origin = {30, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1328 | Modelica.Blocks.Interfaces.RealInput i1p1 annotation(
|
---|
1329 | Placement(visible = true, transformation(origin = {-104, 18}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, 18}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
1330 | Modelica.Blocks.Interfaces.RealInput i2p1 annotation(
|
---|
1331 | Placement(visible = true, transformation(origin = {-104, -42}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, -42}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
1332 | Modelica.Blocks.Interfaces.RealInput i1p2 annotation(
|
---|
1333 | Placement(visible = true, transformation(origin = {-104, 30}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, 30}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
1334 | Modelica.Blocks.Interfaces.RealInput i2p2 annotation(
|
---|
1335 | Placement(visible = true, transformation(origin = {-104, -30}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, -30}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
1336 | Modelica.Blocks.Interfaces.RealInput i2p3 annotation(
|
---|
1337 | Placement(visible = true, transformation(origin = {-104, -18}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, -18}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
1338 | Modelica.Blocks.Interfaces.RealInput i1p3 annotation(
|
---|
1339 | Placement(visible = true, transformation(origin = {-104, 42}, extent = {{-8, -8}, {8, 8}}, rotation = 0), iconTransformation(origin = {-104, 42}, extent = {{-8, -8}, {8, 8}}, rotation = 0)));
|
---|
1340 | ideal_filter.lcl lcl1 annotation(
|
---|
1341 | Placement(visible = true, transformation(origin = {-30, -30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
---|
1342 | equation
|
---|
1343 | connect(lc2.pin4, rc1.pin1) annotation(
|
---|
1344 | Line(points = {{40, 24}, {60, 24}, {60, 24}, {60, 24}}, color = {0, 0, 255}));
|
---|
1345 | connect(lc2.pin5, rc1.pin2) annotation(
|
---|
1346 | Line(points = {{40, 30}, {60, 30}, {60, 30}, {60, 30}}, color = {0, 0, 255}));
|
---|
1347 | connect(lc2.pin6, rc1.pin3) annotation(
|
---|
1348 | Line(points = {{40, 36}, {60, 36}, {60, 36}, {60, 36}}, color = {0, 0, 255}));
|
---|
1349 | connect(lc1.pin6, lc2.pin3) annotation(
|
---|
1350 | Line(points = {{-20, 36}, {20, 36}, {20, 36}, {20, 36}}, color = {0, 0, 255}));
|
---|
1351 | connect(lc1.pin5, lc2.pin2) annotation(
|
---|
1352 | Line(points = {{-20, 30}, {20, 30}, {20, 30}, {20, 30}}, color = {0, 0, 255}));
|
---|
1353 | connect(lc1.pin4, lc2.pin1) annotation(
|
---|
1354 | Line(points = {{-20, 24}, {20, 24}, {20, 24}, {20, 24}}, color = {0, 0, 255}));
|
---|
1355 | connect(inverter1.pin3, lc1.pin3) annotation(
|
---|
1356 | Line(points = {{-60, 36}, {-40, 36}}, color = {0, 0, 255}));
|
---|
1357 | connect(inverter1.pin2, lc1.pin2) annotation(
|
---|
1358 | Line(points = {{-60, 30}, {-40, 30}}, color = {0, 0, 255}));
|
---|
1359 | connect(inverter1.pin1, lc1.pin1) annotation(
|
---|
1360 | Line(points = {{-60, 24}, {-40, 24}}, color = {0, 0, 255}));
|
---|
1361 | connect(i1p1, inverter1.u1) annotation(
|
---|
1362 | Line(points = {{-104, 18}, {-86, 18}, {-86, 24}, {-80, 24}, {-80, 24}}, color = {0, 0, 127}));
|
---|
1363 | connect(i1p2, inverter1.u2) annotation(
|
---|
1364 | Line(points = {{-104, 30}, {-80, 30}, {-80, 30}, {-80, 30}}, color = {0, 0, 127}));
|
---|
1365 | connect(i1p3, inverter1.u3) annotation(
|
---|
1366 | Line(points = {{-104, 42}, {-86, 42}, {-86, 36}, {-80, 36}}, color = {0, 0, 127}));
|
---|
1367 | connect(i2p3, inverter2.u3) annotation(
|
---|
1368 | Line(points = {{-104, -18}, {-88, -18}, {-88, -24}, {-80, -24}, {-80, -24}}, color = {0, 0, 127}));
|
---|
1369 | connect(i2p2, inverter2.u2) annotation(
|
---|
1370 | Line(points = {{-104, -30}, {-80, -30}, {-80, -30}, {-80, -30}}, color = {0, 0, 127}));
|
---|
1371 | connect(i2p1, inverter2.u1) annotation(
|
---|
1372 | Line(points = {{-104, -42}, {-90, -42}, {-90, -36}, {-80, -36}, {-80, -36}}, color = {0, 0, 127}));
|
---|
1373 | connect(inverter2.pin3, lcl1.pin3) annotation(
|
---|
1374 | Line(points = {{-60, -24}, {-40, -24}, {-40, -24}, {-40, -24}}, color = {0, 0, 255}));
|
---|
1375 | connect(inverter2.pin2, lcl1.pin2) annotation(
|
---|
1376 | Line(points = {{-60, -30}, {-40, -30}, {-40, -30}, {-40, -30}}, color = {0, 0, 255}));
|
---|
1377 | connect(inverter2.pin1, lcl1.pin1) annotation(
|
---|
1378 | Line(points = {{-60, -36}, {-40, -36}, {-40, -36}, {-40, -36}}, color = {0, 0, 255}));
|
---|
1379 | connect(lcl1.pin6, lc2.pin3) annotation(
|
---|
1380 | Line(points = {{-20, -24}, {-4, -24}, {-4, 36}, {20, 36}, {20, 36}}, color = {0, 0, 255}));
|
---|
1381 | connect(lcl1.pin5, lc2.pin2) annotation(
|
---|
1382 | Line(points = {{-20, -30}, {0, -30}, {0, 30}, {20, 30}, {20, 30}}, color = {0, 0, 255}));
|
---|
1383 | connect(lcl1.pin4, lc2.pin1) annotation(
|
---|
1384 | Line(points = {{-20, -36}, {6, -36}, {6, 24}, {20, 24}, {20, 24}}, color = {0, 0, 255}));
|
---|
1385 | annotation(
|
---|
1386 | Diagram);
|
---|
1387 | end network;
|
---|
1388 | annotation(
|
---|
1389 | uses(Modelica(version = "3.2.3")));
|
---|
1390 | end grid;
|
---|