@@ -24,7 +24,7 @@ model GeneratorTurbGovAVRPSS
2424 P_0(displayUnit= "MW" ) = P_0,
2525 Q_0= Q_0,
2626 Xpq= 0.6 ,
27- Tpq0= 0.9 ) annotation (Placement(transformation(extent={{-50,-18 },{40,40 }})));
27+ Tpq0= 0.9 ) annotation (Placement(transformation(extent={{20,-30 },{80,30 }})));
2828 OpenIPSL.Electrical.Controls.PSSE.TG.IEEEG1 iEEEG1_1(
2929 P0= 0.4 ,
3030 K= 20 ,
@@ -43,7 +43,7 @@ model GeneratorTurbGovAVRPSS
4343 K_4= 0 ,
4444 T_6= 0.4 ,
4545 K_5= 0.5 )
46- annotation (Placement(transformation(extent={{-168,90 },{-114,36 }})));
46+ annotation (Placement(transformation(extent={{-70,46 },{-30,6 }})));
4747 OpenIPSL.Electrical.Controls.PSSE.ES.ESST1A eSST1A1(
4848 V_IMAX= 0.3 ,
4949 V_IMIN= - 0.3 ,
@@ -63,7 +63,7 @@ model GeneratorTurbGovAVRPSS
6363 I_LR= 0 ,
6464 T_A= 0.1 ,
6565 T_R= 0.1 )
66- annotation (Placement(transformation(extent={{-110,-68 },{-170,-8 }})));
66+ annotation (Placement(transformation(extent={{-28,-70 },{-68,-30 }})));
6767 OpenIPSL.Electrical.Controls.PSSE.PSS.PSS2A pSS2A(
6868 T_w1= 5 ,
6969 T_w2= 5 ,
@@ -82,50 +82,39 @@ model GeneratorTurbGovAVRPSS
8282 T_4= 0.07 ,
8383 V_STMAX= 0.1 ,
8484 V_STMIN= - 0.1 )
85- annotation (Placement(transformation(extent={{26,52},{-56,94}})));
86- Modelica.Blocks.Sources.Constant const(k= 0 )
87- annotation (Placement(transformation(extent={{0,-102},{-20,-82}})));
88- Modelica.Blocks.Sources.Constant const1(k= - Modelica.Constants.inf)
89- annotation (Placement(transformation(extent={{-202,-102},{-182,-82}})));
90- Modelica.Blocks.Sources.Constant const2(k= Modelica.Constants.inf)
91- annotation (Placement(transformation(extent={{-88,-108},{-108,-88}})));
85+ annotation (Placement(transformation(extent={{60,40},{20,80}})));
86+ Modelica.Blocks.Sources.Constant zero(k= 0 ) annotation (Placement(transformation(extent={{12,-86},{0,-74}})));
87+ Modelica.Blocks.Sources.Constant negInf(k= - Modelica.Constants.inf)
88+ annotation (Placement(transformation(extent={{-84,-94},{-74,-84}})));
89+ Modelica.Blocks.Sources.Constant posInf(k= Modelica.Constants.inf)
90+ annotation (Placement(transformation(extent={{-34,-94},{-44,-84}})));
9291equation
93- connect (eSST1A1.EFD, gENROE.EFD) annotation (Line(points={{-173,-38},{-186,
94- -38},{-186,12},{-100,12},{-100,-6.4},{-59,-6.4}},
92+ connect (eSST1A1.EFD, gENROE.EFD) annotation (Line(points={{-70,-50},{-90,-50},{-90,-18},{14,-18}},
9593 color={102,44,145}));
96- connect (pSS2A.VOTHSG, eSST1A1.VOTHSG) annotation (Line(points={{-60.1,73},{-80,
97- 73},{-80,-26},{-107,-26}}, color={238,46,47}));
98- connect (gENROE.SPEED, iEEEG1_1.SPEED_HP) annotation (Line(points={{44.5,31.3},
99- {54,31.3},{54,32},{70,32},{70,110},{-186,110},{-186,63},{-162.6,63}},
94+ connect (pSS2A.VOTHSG, eSST1A1.VOTHSG) annotation (Line(points={{18,60},{0,60},{0,-42},{-26,-42}},
95+ color={238,46,47}));
96+ connect (gENROE.SPEED, iEEEG1_1.SPEED_HP) annotation (Line(points={{83,21},{94,21},{94,90},{-90,90},{-90,26},{-66,26}},
10097 color={0,140,72}));
101- connect (gENROE.ETERM, eSST1A1.VT) annotation (Line(points={{44.5,2.3 },{80,2.3 },
102- {80,-68},{-92,-68},{-92,-61.475},{-107.075,-61.475}}, color={102,44,
98+ connect (gENROE.ETERM, eSST1A1.VT) annotation (Line(points={{83,-9},{98,-9},{98,-66},{-26.05,-66 },{-26.05,-65.65} },
99+ color={102,44,
103100 145}));
104- connect (gENROE.EFD0, eSST1A1.EFD0) annotation (Line(points={{44.5,-3.5},{68,-3.5},
105- {68,-50},{-107,-50}}, color={102,44,145}));
106- connect (const.y, eSST1A1.VUEL) annotation (Line(points={{-21,-92},{-60,-92},{-60,
107- -80},{-128,-80},{-128,-71}}, color={0,0,0}));
108- connect (eSST1A1.VOTHSG2, eSST1A1.VUEL) annotation (Line(points={{-107,-14},{-60,
109- -14},{-60,-80},{-128,-80},{-128,-71}}, color={0,0,0}));
110- connect (gENROE.XADIFD, eSST1A1.XADIFD) annotation (Line(points={{44.5,-15.1},{
111- 60,-15.1},{60,-116},{-164,-116},{-164,-71}}, color={0,0,127}));
112- connect (eSST1A1.ECOMP, eSST1A1.VT) annotation (Line(points={{-107,-38},{-92,-38},
113- {-92,-61.475},{-107.075,-61.475}}, color={102,44,145}));
114- connect (pSS2A.V_S1, iEEEG1_1.SPEED_HP) annotation (Line(points={{30.1,81.4},{70,
115- 81.4},{70,110},{-186,110},{-186,63},{-162.6,63}}, color={0,140,72}));
116- connect (gENROE.PELEC, pSS2A.V_S2) annotation (Line(points={{44.5,19.7},{90,
117- 19.7},{90,64.6},{30.1,64.6}}, color={238,46,47}));
118- connect (const1.y, eSST1A1.VUEL2) annotation (Line(points={{-181,-92},{-149.03,-92},
119- {-149.03,-70.97}}, color={0,0,0}));
120- connect (eSST1A1.VUEL3, eSST1A1.VUEL2) annotation (Line(points={{-155.555,-70.985},
121- {-155.555,-92},{-149.03,-92},{-149.03,-70.97}}, color={0,0,127}));
122- connect (const2.y, eSST1A1.VOEL) annotation (Line(points={{-109,-98},{-140,-98},
123- {-140,-71}}, color={0,0,0}));
124- connect (iEEEG1_1.PMECH_HP, gENROE.PMECH) annotation (Line(points={{-111.3,
125- 52.2},{-96,52.2},{-96,28.4},{-59,28.4}}, color={0,140,72}));
126- connect (gENROE.p, pwPin) annotation (Line(points={{40,11},{90,11},{90,0},{110,
127- 0}}, color={0,0,255}));
128- annotation (
129- Diagram(
130- coordinateSystem(preserveAspectRatio=false, extent={{-220,-120},{100,120}})));
101+ connect (gENROE.EFD0, eSST1A1.EFD0) annotation (Line(points={{83,-15},{94,-15},{94,-58},{-26,-58}},
102+ color={102,44,145}));
103+ connect (zero.y, eSST1A1.VUEL) annotation (Line(points={{-0.6,-80},{-40,-80},{-40,-72}}, color={0,0,0}));
104+ connect (gENROE.XADIFD, eSST1A1.XADIFD) annotation (Line(points={{83,-27},{90,-27},{90,-98},{-64,-98},{-64,-72}},
105+ color={0,0,127}));
106+ connect (gENROE.PELEC, pSS2A.V_S2) annotation (Line(points={{83,9},{90,9},{90,52},{62,52}},
107+ color={238,46,47}));
108+ connect (negInf.y, eSST1A1.VUEL2) annotation (Line(points={{-73.5,-89},{-54.02,-89},{-54.02,-71.98}},
109+ color={0,0,0}));
110+ connect (posInf.y, eSST1A1.VOEL) annotation (Line(points={{-44.5,-89},{-48,-89},{-48,-72}},
111+ color={0,0,0}));
112+ connect (iEEEG1_1.PMECH_HP, gENROE.PMECH) annotation (Line(points={{-28,18},{14,18}},
113+ color={0,140,72}));
114+ connect (gENROE.p, pwPin) annotation (Line(points={{80,0},{110,0}},
115+ color={0,0,255}));
116+ connect (eSST1A1.VUEL3, negInf.y) annotation (Line(points={{-58.37,-71.99},{-58.37,-89},{-73.5,-89}}, color={0,0,127}));
117+ connect (eSST1A1.VOTHSG2, zero.y) annotation (Line(points={{-26,-34},{-16,-34},{-16,-80},{-0.6,-80}}, color={0,0,127}));
118+ connect (eSST1A1.ECOMP, gENROE.ETERM) annotation (Line(points={{-26,-50},{-10,-50},{-10,-66},{98,-66},{98,-9},{83,-9}}, color={0,0,127}));
119+ connect (pSS2A.V_S1, gENROE.SPEED) annotation (Line(points={{62,68},{94,68},{94,21},{83,21}}, color={0,140,72}));
131120end GeneratorTurbGovAVRPSS;
0 commit comments