@@ -301,7 +301,7 @@ model CampusGridA "Microgrid model for university campus A"
301301 R= 0 ,
302302 X= 0.0001 ,
303303 G= 0 ,
304- B= 0 ) annotation (Placement(transformation(extent={{-104 ,30},{-84 ,50}})));
304+ B= 0 ) annotation (Placement(transformation(extent={{-102 ,30},{-82 ,50}})));
305305 OpenIPSL.Electrical.Branches.PwLine L4(
306306 R= 0 ,
307307 X= 0.0001 ,
@@ -337,7 +337,8 @@ model CampusGridA "Microgrid model for university campus A"
337337 OpenIPSL.Electrical.Banks.PSSE.Shunt BC03(G= 0 , B= 0.03 )
338338 annotation (Placement(
339339 transformation(extent={{10,-188},{22,-176}})));
340- GenerationGroups.CTG2.CTG2MachineES CTB(
340+ GenerationGroups.CTG2.CTG2MachineComplete
341+ CTB(
341342 P_0= pf.powerflow.machines.PG3,
342343 Q_0= pf.powerflow.machines.QG3,
343344 v_0= pf.powerflow.bus.V9,
@@ -347,7 +348,8 @@ model CampusGridA "Microgrid model for university campus A"
347348 extent={{-10,-10},{10,10}},
348349 rotation=90,
349350 origin={-80,-84})));
350- GenerationGroups.CTG1.CTG1MachineESVC CTA(
351+ GenerationGroups.CTG1.CTG1MachineComplete
352+ CTA(
351353 P_0= pf.powerflow.machines.PG2,
352354 Q_0= pf.powerflow.machines.QG2,
353355 v_0= pf.powerflow.bus.V7,
@@ -357,7 +359,8 @@ model CampusGridA "Microgrid model for university campus A"
357359 extent={{-10,-10},{10,10}},
358360 rotation=90,
359361 origin={-50,-24})));
360- GenerationGroups.STG1.STG1MachineESVC STGA(
362+ GenerationGroups.STG1.STG1MachineComplete
363+ STGA(
361364 P_0= pf.powerflow.machines.PG4,
362365 Q_0= pf.powerflow.machines.QG4,
363366 v_0= pf.powerflow.bus.V10,
@@ -367,7 +370,8 @@ model CampusGridA "Microgrid model for university campus A"
367370 extent={{-9,-9},{9,9}},
368371 rotation=90,
369372 origin={81,-83})));
370- GenerationGroups.STG2.STG2MachineES STGB(
373+ GenerationGroups.STG2.STG2MachineComplete
374+ STGB(
371375 P_0= pf.powerflow.machines.PG5,
372376 Q_0= pf.powerflow.machines.QG5,
373377 v_0= pf.powerflow.bus.V12,
@@ -439,9 +443,9 @@ model CampusGridA "Microgrid model for university campus A"
439443 rotation=90,
440444 origin={110,-126})));
441445 Electrical.Events.PwFault pwFault(
442- R= 0 ,
443- X= 0.2 ,
444- t1= 1000 ,
446+ R= 0.5 ,
447+ X= 0.5 ,
448+ t1= 100 ,
445449 t2= 1001 )
446450 annotation (Placement(transformation(extent={{-48,-66},{-36,-54}})));
447451 Electrical.Machines.PSSE.GENCLS UTILITY(
@@ -458,7 +462,7 @@ model CampusGridA "Microgrid model for university campus A"
458462 origin={-70,200})));
459463 Electrical.Events.Breaker BreakerMicrogrid(
460464 enableTrigger= false ,
461- t_o= 10 ,
465+ t_o= 2 ,
462466 rc_enabled= false ,
463467 t_rc= 2.5 ) annotation (Placement(transformation(
464468 extent={{-6,-6},{6,6}},
@@ -530,10 +534,8 @@ equation
530534 0,-160}}, color={0,0,255}));
531535 connect (Load11.p, B416N.p) annotation (Line(points={{-18,-176},{-18,-168},
532536 {0,-168},{0,-160}}, color={0,0,255}));
533- connect (A1W.p, L2.n) annotation (Line(points={{-50,26},{-50,40},{-85 ,40}},
537+ connect (A1W.p, L2.n) annotation (Line(points={{-50,26},{-50,40},{-83 ,40}},
534538 color={0,0,255}));
535- connect (L2.p, H2E.p) annotation (Line(points={{-103,40},{-110,40},{-110,
536- 78}}, color={0,0,255}));
537539 connect (A2E.p, L3.p)
538540 annotation (Line(points={{50,26},{50,40},{85,40}}, color={0,0,255}));
539541 connect (L3.n, H1W.p) annotation (Line(points={{103,40},{110,40},{110,78}},
@@ -611,12 +613,14 @@ equation
611613 annotation (Line(points={{0,194},{0,186}}, color={0,0,255}));
612614 connect (UTILITY.p, AENA1.p)
613615 annotation (Line(points={{-60,200},{0,200},{0,194}}, color={0,0,255}));
616+ connect (L2.p, H2E.p)
617+ annotation (Line(points={{-101,40},{-110,40},{-110,78}}, color={0,0,255}));
614618 annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},
615619 {100,100}})), Diagram(coordinateSystem(
616620 preserveAspectRatio=false, extent={{-160,-200},{160,220}})),
617621 experiment(
618- StopTime=15 ,
619- __Dymola_NumberOfIntervals=1000 ,
622+ StopTime=50 ,
623+ __Dymola_NumberOfIntervals=5000 ,
620624 Tolerance=1e-06,
621625 __Dymola_Algorithm="Dassl" ),
622626 Documentation(info="<html>
0 commit comments