Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lvanfretti committed Mar 11, 2024
1 parent ca43f8e commit 17ab279
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions Example2/Analysis/KchangeLinRamping.mo
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ model KchangeLinRamping
extent={{-20,-20},{20,20}},
origin={0,118})));
equation
connect(zeroInputs.y, plant.uPSS) annotation (Line(points={{-158,80},{-26,80},
{-26,17.1429},{53.7143,17.1429}}, color={0,0,127}));
connect(zeroInputs.y, plant.uPSS) annotation (Line(points={{-158,80},{-26,80},{-26,17.1429},{53.7143,17.1429}},
color={0,0,127}));
connect(rampingLoad.y,add. u2) annotation (Line(
points={{-137,-167},{-124,-167},{-124,-152},{-114,-152}},
color={238,46,47},
Expand All @@ -54,14 +54,14 @@ equation
points={{-68,-140},{-46,-140},{-46,-34.2857},{53.7143,-34.2857}},
color={0,140,72},
thickness=1));
connect(r, plant.uAVRin) annotation (Line(points={{-221,21},{-28,21},{-28,0},
{53.7143,0}}, color={0,0,127},
connect(r, plant.uAVRin) annotation (Line(points={{-221,21},{-28,21},{-28,0},{53.7143,0}},
color={0,0,127},
smooth=Smooth.Bezier));
connect(plant.w, w) annotation (Line(points={{142.857,0},{210,0}},
color={0,0,127}));
connect(add.u1, zeroInputs.y) annotation (Line(points={{-114,-128},{-138,-128},{-138,80},{-158,80}}, color={0,0,127}));
connect(plant.uLoad7, uLoad7) annotation (Line(points={{53.7143,-17.1429},{
-112,-17.1429},{-112,-40},{-220,-40}}, color={0,0,127}));
connect(plant.uLoad7, uLoad7) annotation (Line(points={{53.7143,-17.1429},{-112,-17.1429},{-112,-40},{-220,-40}},
color={0,0,127}));
connect(plant.uPm, ramping.y) annotation (Line(
points={{54.2857,34.2857},{0,34.2857},{0,96}},
color={238,46,47},
Expand Down
12 changes: 6 additions & 6 deletions Example2/Analysis/Ramping.mo
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ model Ramping
parameter Real pss4_Kw=5 "Stabilizer gain [pu/pu]" annotation (Dialog(tab="PSS Parameters", group="PSS 4"));
parameter OpenIPSL.Types.Time pss4_Tw=5 "Wash-out time constant" annotation (Dialog(tab="PSS Parameters", group="PSS 4"));
equation
connect(r.y, plant.uLoad7) annotation (Line(points={{-98,-24},{-24,-24},{-24,
-17.1429},{51.7143,-17.1429}}, color={0,0,127}));
connect(r.y, plant.uLoad7) annotation (Line(points={{-98,-24},{-24,-24},{-24,-17.1429},{51.7143,-17.1429}},
color={0,0,127}));
connect(ramping.y, plant.uPm) annotation (Line(
points={{-98,48},{-22,48},{-22,34.2857},{52.2857,34.2857}},
color={238,46,47},
Expand All @@ -55,10 +55,10 @@ equation
points={{51.7143,-34.2857},{-68,-34.2857},{-68,48},{-98,48}},
color={238,46,47},
thickness=1));
connect(plant.uPSS, r.y) annotation (Line(points={{51.7143,17.1429},{8,
17.1429},{8,-24},{-98,-24}}, color={0,0,127}));
connect(plant.uAVRin, r.y) annotation (Line(points={{51.7143,0},{-30,0},{-30,
-24},{-98,-24}}, color={0,0,127}));
connect(plant.uPSS, r.y) annotation (Line(points={{51.7143,17.1429},{8,17.1429},{8,-24},{-98,-24}},
color={0,0,127}));
connect(plant.uAVRin, r.y) annotation (Line(points={{51.7143,0},{-30,0},{-30,-24},{-98,-24}},
color={0,0,127}));
//,
// __Dymola_selections={Selection(name="MySelection", match={MatchVariable(name="plant.Vt", newName="Vt"),MatchVariable(name="plant.Q", newName="Q"),MatchVariable(name="plant.P",newName="P"),MatchVariable(name="plant.w",newName="w"),MatchVariable(name="plant.AVRin",newName="u"),MatchVariable(name="plant.AVRout",newName="AVRout"),MatchVariable(name="timedMultiRamp.y",newName="rampY"),MatchVariable(name="plant.Load9.P",newName="Pload"),MatchVariable(name="r.y",newName="r"),MatchVariable(name="plant.g1.pss.vs",newName="pssy"),MatchVariable(name="ramping.y",newName="rampingy")})});
annotation (
Expand Down
8 changes: 4 additions & 4 deletions Example2/Analysis/RampingRandomLoadAndInput.mo
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ model RampingRandomLoadAndInput
extent={{-20,-20},{20,20}},
origin={0,122})));
equation
connect(zeroInputs.y, plant.uPSS) annotation (Line(points={{-100,80},{-26,80},
{-26,17.1429},{53.7143,17.1429}}, color={0,0,127}));
connect(uL7.y, plant.uLoad7) annotation (Line(points={{-95.9,-57},{-95.9,-60},
{-80,-60},{-80,-17.1429},{53.7143,-17.1429}}, color={0,0,127}));
connect(zeroInputs.y, plant.uPSS) annotation (Line(points={{-100,80},{-26,80},{-26,17.1429},{53.7143,17.1429}},
color={0,0,127}));
connect(uL7.y, plant.uLoad7) annotation (Line(points={{-95.9,-57},{-95.9,-60},{-80,-60},{-80,-17.1429},{53.7143,-17.1429}},
color={0,0,127}));
connect(rampingLoad.y,add. u2) annotation (Line(
points={{-137,-167},{-124,-167},{-124,-152},{-114,-152}},
color={238,46,47},
Expand Down

0 comments on commit 17ab279

Please sign in to comment.