Skip to content

Commit ce1c88a

Browse files
committed
Preserve the aspect ratio unless _really_ necesssary.
1 parent 7c2c253 commit ce1c88a

12 files changed

Lines changed: 15 additions & 18 deletions

File tree

OpenIPSL/Electrical/Renewables/PSSE/BESS.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ equation
175175
color={0,0,127}));
176176
connect(PlantController.regulate_vi, regulate_vi) annotation (Line(points={{-44,22},{-44,92},{80,92},{80,120}},
177177
color={0,0,127}));
178-
annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={
178+
annotation (Icon(graphics={
179179
Ellipse(
180180
extent={{-100,100},{100,-100}},
181181
lineColor={0,0,0},

OpenIPSL/Electrical/Renewables/PSSE/ElectricalController/BaseClasses/CurrentLimitLogicREECB.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ equation
6363
Iqmax = if Pqflag == true then sqrt(Imax^2 - Ipcmd^2) else Imax;
6464
Iqmin = -Iqmax;
6565

66-
annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={
66+
annotation (Icon(graphics={
6767
Rectangle(
6868
extent={{-100,100},{100,-100}},
6969
lineColor={28,108,200}), Text(

OpenIPSL/Electrical/Renewables/PSSE/ElectricalController/BaseClasses/PIwithNoVariableLimiter.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ equation
6262
connect(or1.y, reset_switch.u2)
6363
annotation (Line(points={{-71,40},{-42,40}}, color={255,0,255}));
6464
annotation (
65-
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}),
65+
Icon(coordinateSystem(extent={{-100,-100},{100,100}}),
6666
graphics={Rectangle(extent={{-100,100},{100,-100}}, lineColor={28,108,200}), Text(
6767
extent={{-80,40},{80,-40}},
6868
textColor={0,0,255},

OpenIPSL/Electrical/Renewables/PSSE/ElectricalController/BaseClasses/PIwithVariableLimiter.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ equation
7878
annotation (Line(points={{-94,40},{-98,40},{-98,60},{-120,60}},
7979
color={255,0,255}));
8080
annotation (
81-
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}),
81+
Icon(coordinateSystem(extent={{-100,-100},{100,100}}),
8282
graphics={Rectangle(extent={{-100,100},{100,-100}}, lineColor={28,108,200}), Text(
8383
extent={{-80,40},{80,-40}},
8484
textColor={0,0,255},

OpenIPSL/Electrical/Renewables/PSSE/ElectricalController/BaseClasses/StateOfChargeLogic.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ equation
1414
ipmax_SOC = if SOC <= SOCmin then 0 else 1;
1515
ipmin_SOC = if SOC >= SOCmax then 0 else 1;
1616

17-
annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={
17+
annotation (Icon(graphics={
1818
Rectangle(
1919
extent={{-100,100},{100,-100}},
2020
lineColor={28,108,200},

OpenIPSL/Electrical/Renewables/PSSE/InverterInterface/BaseClasses/BaseREGC.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ equation
106106
VT = sqrt(p.vr*p.vr + p.vi*p.vi);
107107
delta = anglev;
108108

109-
annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-140,-140},
109+
annotation (Icon(coordinateSystem(extent={{-140,-140},
110110
{140,140}}), graphics={
111111
Rectangle(extent={{-140,140},{140,-140}}, lineColor={28,108,200}),
112112
Text(
@@ -149,7 +149,7 @@ equation
149149
extent={{106,-104},{134,-136}},
150150
textColor={0,0,255},
151151
textString="P0")}), Diagram(
152-
coordinateSystem(preserveAspectRatio=false, extent={{-140,-140},{140,140}})),
152+
coordinateSystem(extent={{-140,-140},{140,140}})),
153153
Documentation(info="<html>
154154
<p>
155155
This component is the base class for the inverter components from the InverterInterface sub-package.

OpenIPSL/Electrical/Renewables/PSSE/InverterInterface/BaseClasses/LVACM.mo

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ equation
1919
iconTransformation(extent={{-20,-20},{20,20}},
2020
rotation=90,
2121
origin={66,-102})),
22-
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,
23-
-100},{100,100}}),
24-
graphics={
22+
Icon(graphics={
2523
Rectangle(
2624
extent={{-100,100},{100,-100}},
2725
lineColor={0,0,0}),

OpenIPSL/Electrical/Renewables/PSSE/InverterInterface/BaseClasses/LVPL.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ equation
1616
annotation (Placement(transformation(extent={{-140,0},{-100,40}})),
1717
Placement(transformation(extent={{-140,-40},{-100,0}})),
1818
Placement(transformation(extent={{-140,-80},{-100,-40}})),
19-
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,
20-
-100},{100,100}}), graphics={
19+
Icon(graphics={
2120
Rectangle(
2221
extent={{-100,100},{100,-100}},
2322
lineColor={0,0,0}),

OpenIPSL/Electrical/Renewables/PSSE/PV.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ equation
167167
connect(PlantController.regulate_vi, regulate_vi) annotation (Line(points={{-44,22},{-44,92},{80,92},{80,120}},
168168
color={0,0,127}));
169169
connect(RenewableController.Ipcmd, RenewableGenerator.Ipcmd) annotation (Line(points={{20.6667,-11.3333},{23.9048,-11.3333},{23.9048,-11.4286},{27.1429,-11.4286}}, color={0,0,127}));
170-
annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={
170+
annotation (Icon(graphics={
171171
Ellipse(
172172
extent={{-100,100},{100,-100}},
173173
lineColor={0,0,0},

OpenIPSL/Electrical/Renewables/PSSE/PlantController/BaseClasses/BaseREPC.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected
8888

8989
equation
9090

91-
annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-200,-200},
91+
annotation (Icon(coordinateSystem(extent={{-200,-200},
9292
{200,200}}), graphics={
9393
Rectangle(
9494
extent={{-200,200},{200,-200}},
@@ -151,7 +151,7 @@ equation
151151
extent={{110,206},{182,154}},
152152
textColor={0,0,255},
153153
textString="REG BUS VR")}), Diagram(coordinateSystem(
154-
preserveAspectRatio=false, extent={{-200,-200},{200,200}})),
154+
extent={{-200,-200},{200,200}})),
155155
Documentation(info="<html>
156156
<p>
157157
The BaseREPC model is the base class that is extended to create the <a href=\"modelica://OpenIPSL.Electrical.Renewables.PSSE.PlantController.REPCA1\">REPCA1</a> component.

0 commit comments

Comments
 (0)