@@ -34,11 +34,6 @@ package Breakers "Breakers "
34
34
r = relaxation(time - t0, t_relax, p_relax);
35
35
{v,i} = if closed then {(r[1 ]+ r[2 ]* epsR)* s,(r[1 ]* epsG+ r[2 ])* s} else {(r[1 ]* epsR+ r[2 ])* s,(r[1 ]+ r[2 ]* epsG)* s};
36
36
annotation (defaultComponentName = "switch1" ,
37
- Window(
38
- x=0.45,
39
- y=0.01,
40
- width=0.44,
41
- height=0.65),
42
37
Documentation(
43
38
info="<html>
44
39
<p>Allows switching of single conductor (of totally one or two).<br>
97
92
model ForcedCommSwitch "Forced commuting switch, 1-phase"
98
93
extends Basic.Nominal.NominalVI;
99
94
100
- parameter Real [2 ] eps(final min = {0 ,0 }, unit= "1" )= {1e-4 ,1e-4 }
95
+ parameter Real [2 ] eps(final min = {0 ,0 }, each unit= "1" )= {1e-4 ,1e-4 }
101
96
"{resistance 'closed', conductance 'open'}" ;
102
97
parameter SI.Time t_relax= 10e-3 "switch relaxation time" ;
103
98
parameter Integer p_relax(min = 2 )= 4 "power of relaxation exponent" ;
@@ -158,11 +153,6 @@ with
158
153
{v_t,i_t} = if closed_t then {(r[1 ]+ r[2 ]* epsR)* s_t,(r[1 ]* epsG+ r[2 ])* s_t} else {(r[1 ]* epsR+ r[2 ])* s_t,(r[1 ]+ r[2 ]* epsG)* s_t};
159
154
{v_f,i_f} = if open_t then {(r[1 ]+ r[2 ]* epsR)* s_f,(r[1 ]* epsG+ r[2 ])* s_f} else {(r[1 ]* epsR+ r[2 ])* s_f,(r[1 ]+ r[2 ]* epsG)* s_f};
160
155
annotation (defaultComponentName = "switch1" ,
161
- Window(
162
- x=0.45,
163
- y=0.01,
164
- width=0.44,
165
- height=0.65),
166
156
Documentation(
167
157
info="<html>
168
158
<p>Allows switching of single conductor (of totally one or two).<br>
@@ -278,11 +268,6 @@ with
278
268
connect (control, switch_1.closed)
279
269
annotation (Line(points={{0,100},{0,60}}, color={255,0,255}));
280
270
annotation (defaultComponentName = "switch1" ,
281
- Window(
282
- x=0.45,
283
- y=0.01,
284
- width=0.44,
285
- height=0.65),
286
271
Documentation(
287
272
info="<html>
288
273
<p>Allows switching of single conductor (of totally one or two).</p>
@@ -326,11 +311,6 @@ Electrically the switch is on if it is 'closed', whereas it is switched off, if
326
311
connect (control, breaker_1.closed)
327
312
annotation (Line(points={{0,100},{0,50}}, color={255,0,255}));
328
313
annotation (defaultComponentName = "breaker1" ,
329
- Window(
330
- x=0.45,
331
- y=0.01,
332
- width=0.44,
333
- height=0.65),
334
314
Documentation(
335
315
info="<html>
336
316
<p> Allows switching of single conductor (of totally one or two).</p>
@@ -390,11 +370,6 @@ Electrically the switch is on if it is 'closed', whereas it is switched off, if
390
370
{v[1 ],i[1 ]} = if closed[1 ] then {(r_1[1 ]+ r_1[2 ]* epsR)* s[1 ],(r_1[1 ]* epsG+ r_1[2 ])* s[1 ]} else {(r_1[1 ]* epsR+ r_1[2 ])* s[1 ],(r_1[1 ]+ r_1[2 ]* epsG)* s[1 ]};
391
371
{v[2 ],i[2 ]} = if closed[2 ] then {(r_2[1 ]+ r_2[2 ]* epsR)* s[2 ],(r_2[1 ]* epsG+ r_2[2 ])* s[2 ]} else {(r_2[1 ]* epsR+ r_2[2 ])* s[2 ],(r_2[1 ]+ r_2[2 ]* epsG)* s[2 ]};
392
372
annotation (defaultComponentName = "switch1" ,
393
- Window(
394
- x=0.45,
395
- y=0.01,
396
- width=0.44,
397
- height=0.65),
398
373
Documentation(
399
374
info="<html>
400
375
<p>Allows double switching of double conductor.<br>
@@ -489,11 +464,6 @@ with
489
464
connect (control[2 ], switch_2.closed) annotation (Line(points={{0,105},{0,
490
465
80},{20,80},{20,0}}, color={255,0,255}));
491
466
annotation (defaultComponentName = "switch1" ,
492
- Window(
493
- x=0.45,
494
- y=0.01,
495
- width=0.44,
496
- height=0.65),
497
467
Documentation(
498
468
info="<html>
499
469
<p>Allows double switching of double conductor.</p>
@@ -549,11 +519,6 @@ if it is mechanically 'open' and the corresponding phase-current crosses zero.</
549
519
connect (control[2 ], breaker_2.closed) annotation (Line(points={{0,105},{0,
550
520
80},{20,80},{20,0}}, color={255,0,255}));
551
521
annotation (defaultComponentName = "breaker1" ,
552
- Window(
553
- x=0.45,
554
- y=0.01,
555
- width=0.44,
556
- height=0.65),
557
522
Documentation(
558
523
info="<html>
559
524
<p>Allows double switching of double conductor.</p>
@@ -582,19 +547,12 @@ if it is mechanically fully 'open' (after a given opening duration) and the corr
582
547
extends Ports.Port_pn;
583
548
extends Basic.Nominal.NominalVI;
584
549
585
- parameter Real [2 ] eps(final min = {0 ,0 }, unit= "1" )= {1e-4 ,1e-4 }
550
+ parameter Real [2 ] eps(final min = {0 ,0 }, each unit= "1" )= {1e-4 ,1e-4 }
586
551
"{resistance 'closed', conductance 'open'}" ;
587
552
protected
588
553
final parameter SI.Resistance epsR= eps[1 ]* V_nom/ I_nom;
589
554
final parameter SI.Conductance epsG= eps[2 ]* I_nom/ V_nom;
590
555
annotation (
591
- Window(
592
- x=
593
- 0.45, y=
594
- 0.01, width=
595
- 0.44,
596
- height=
597
- 0.65),
598
556
Documentation(
599
557
info="<html>
600
558
</html>
@@ -635,13 +593,6 @@ if it is mechanically fully 'open' (after a given opening duration) and the corr
635
593
i = term_p.i[1 ];
636
594
term_p.v[2 ] = term_n.v[2 ];
637
595
annotation (
638
- Window(
639
- x=
640
- 0.45, y=
641
- 0.01, width=
642
- 0.44,
643
- height=
644
- 0.65),
645
596
Documentation(
646
597
info="<html>
647
598
<p>Allows one or two conductors. The first is switched.</p>
@@ -675,13 +626,6 @@ if it is mechanically fully 'open' (after a given opening duration) and the corr
675
626
v = term_p.v - term_n.v;
676
627
i = term_p.i;
677
628
annotation (
678
- Window(
679
- x=
680
- 0.45, y=
681
- 0.01, width=
682
- 0.44,
683
- height=
684
- 0.65),
685
629
Documentation(
686
630
info="<html>
687
631
<p>Both of two conductors are switched.</p>
@@ -700,13 +644,7 @@ if it is mechanically fully 'open' (after a given opening duration) and the corr
700
644
Line(points={{-80,30},{-50,30}}, color={0,0,255}),
701
645
Line(points={{10,30},{80,30}}, color={0,0,255})}));
702
646
end DoubleSwitchBase;
703
- annotation ( Window(
704
- x=0.05,
705
- y=0.44,
706
- width=0.31,
707
- height=0.23,
708
- library=1,
709
- autolayout=1));
647
+
710
648
end Partials;
711
649
712
650
package Parameters "Parameter data for interactive use"
@@ -720,11 +658,6 @@ record BreakerArc "Breaker parameters, 3-phase"
720
658
parameter Real R0= 1 "small signal resistance arc" ;
721
659
722
660
annotation (defaultComponentName = "data" ,
723
- Window(
724
- x=0.45,
725
- y=0.01,
726
- width=0.44,
727
- height=0.65),
728
661
Documentation(
729
662
info="<html>
730
663
</html>
@@ -737,14 +670,7 @@ height=0.65),
737
670
extent={{-100,-100},{100,100}},
738
671
grid={2,2}), graphics));
739
672
end BreakerArc;
740
- annotation (preferedView="info" ,
741
- Window(
742
- x=0.05,
743
- y=0.41,
744
- width=0.4,
745
- height=0.38,
746
- library=1,
747
- autolayout=1),
673
+ annotation (preferredView="info" ,
748
674
Documentation(info="<html>
749
675
<p>Records containing parameters of the corresponding components.</p>
750
676
</html>" ),
@@ -753,14 +679,7 @@ Documentation(info="<html>
753
679
extent={{-100,-100},{100,100}},
754
680
grid={2,2}), graphics));
755
681
end Parameters;
756
- annotation (preferedView="info" ,
757
- Window(
758
- x=0.05,
759
- y=0.41,
760
- width=0.4,
761
- height=0.32,
762
- library=1,
763
- autolayout=1),
682
+ annotation (preferredView="info" ,
764
683
Documentation(info="<html>
765
684
<p>Contains switches acting on one conductor only and double-switches acting on both conductors.</p>
766
685
<p>Terminology:</p>
0 commit comments