Skip to content

Commit fc35009

Browse files
committed
Make use of the SI import.
1 parent a22a05a commit fc35009

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

OpenIPSL/Electrical/Solar/PowerFactory/DIgSILENT/DCBusBar.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
within OpenIPSL.Electrical.Solar.PowerFactory.DIgSILENT;
22
model DCBusBar "Model of a DC busbar between the module and inverter"
3-
parameter Modelica.Units.SI.Capacitance C=1.5e-3 "Capacity of capacitor on DC busbar";
3+
parameter SI.Capacitance C=1.5e-3 "Capacity of capacitor on DC busbar";
44
Modelica.Blocks.Interfaces.RealInput P_conv annotation (
55
Placement(
66
transformation(

OpenIPSL/Electrical/Solar/PowerFactory/DIgSILENT/PVArray.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ model PVArray "Array of PV modules"
1515
Dialog(group = "Parameters of PV Modules"));
1616
parameter Types.Current Isc_stc = 5 "Short-circuit current at Standard Test Conditions" annotation (
1717
Dialog(group = "Parameters of PV Modules"));
18-
parameter Modelica.Units.SI.LinearTemperatureCoefficient au=-0.0039 "Temperature correction factor (voltage)" annotation (Dialog(group="Parameters of PV Modules"));
19-
parameter Modelica.Units.SI.LinearTemperatureCoefficient ai=0.0004 "Temperature correction factor (current)" annotation (Dialog(group="Parameters of PV Modules"));
18+
parameter SI.LinearTemperatureCoefficient au=-0.0039 "Temperature correction factor (voltage)" annotation (Dialog(group="Parameters of PV Modules"));
19+
parameter SI.LinearTemperatureCoefficient ai=0.0004 "Temperature correction factor (current)" annotation (Dialog(group="Parameters of PV Modules"));
2020
parameter Boolean use_input_E = false;
2121
parameter Boolean use_input_theta = false;
2222
Modelica.Blocks.Interfaces.RealOutput Iarray annotation (

OpenIPSL/Electrical/Solar/PowerFactory/DIgSILENT/PVModule.mo

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
within OpenIPSL.Electrical.Solar.PowerFactory.DIgSILENT;
22
model PVModule "Model of a single PV module"
3-
parameter Modelica.Units.SI.Voltage U0_stc=43.8 "Open-circuit voltage at Standard Test Conditions";
4-
parameter Modelica.Units.SI.Voltage Umpp_stc=35 "MPP voltage at Standard Test Conditions";
3+
parameter SI.Voltage U0_stc=43.8 "Open-circuit voltage at Standard Test Conditions";
4+
parameter SI.Voltage Umpp_stc=35 "MPP voltage at Standard Test Conditions";
55
parameter Types.Current Impp_stc = 4.58 "MPP current at Standard Test Conditions";
66
parameter Types.Current Isc_stc = 5 "Short-circuit current at Standard Test Conditions";
7-
parameter Modelica.Units.SI.LinearTemperatureCoefficient au=-0.0039 "Temperature correction factor (voltage)";
8-
parameter Modelica.Units.SI.LinearTemperatureCoefficient ai=0.0004 "Temperature correction factor (current)";
7+
parameter SI.LinearTemperatureCoefficient au=-0.0039 "Temperature correction factor (voltage)";
8+
parameter SI.LinearTemperatureCoefficient ai=0.0004 "Temperature correction factor (current)";
99
parameter Boolean use_input_E = false "If true irradiance is used as input";
1010
parameter Boolean use_input_theta = false "If true temperature is used as input";
1111
parameter Types.ActivePower P_init "Initial active power (needed only if input E is not used)";
12-
parameter Modelica.Units.SI.Irradiance E_STC=1000;
13-
parameter Modelica.Units.SI.Temperature theta_STC=298.15;
12+
parameter SI.Irradiance E_STC=1000;
13+
parameter SI.Temperature theta_STC=298.15;
1414
Modelica.Blocks.Interfaces.RealInput U annotation (
1515
Placement(transformation(origin={-100,80}, extent = {{-20, -20}, {20, 20}}), iconTransformation(origin={-90,90}, extent = {{-10, -10}, {10, 10}})));
1616
Modelica.Blocks.Interfaces.RealInput E if use_input_E annotation (

OpenIPSL/Electrical/Solar/PowerFactory/DIgSILENT/PV_Plant.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ model PV_Plant "DIgSILENT model of a solar plant"
2626
Dialog(group = "Parameters of PV Modules"));
2727
parameter Types.Current Isc_stc = 5 "Short-circuit current at Standard Test Conditions" annotation (
2828
Dialog(group = "Parameters of PV Modules"));
29-
parameter Modelica.Units.SI.LinearTemperatureCoefficient au=-0.0039 "Temperature correction factor (voltage)" annotation (Dialog(group="Parameters of PV Modules"));
30-
parameter Modelica.Units.SI.LinearTemperatureCoefficient ai=0.0004 "Temperature correction factor (current)" annotation (Dialog(group="Parameters of PV Modules"));
31-
parameter Modelica.Units.SI.Capacitance C=1.5e-3 "Capacity of capacitor on DC busbar" annotation (Dialog(group="DC busbar parameters"));
29+
parameter SI.LinearTemperatureCoefficient au=-0.0039 "Temperature correction factor (voltage)" annotation (Dialog(group="Parameters of PV Modules"));
30+
parameter SI.LinearTemperatureCoefficient ai=0.0004 "Temperature correction factor (current)" annotation (Dialog(group="Parameters of PV Modules"));
31+
parameter SI.Capacitance C=1.5e-3 "Capacity of capacitor on DC busbar" annotation (Dialog(group="DC busbar parameters"));
3232
parameter Real Kp = 0.005 "Gain, Active Power PI-Controller" annotation (
3333
Dialog(group = "Current Controller Parameters"));
3434
parameter Types.Time Tip = 0.03 "Integration Time Constant, Active Power PI-Ctrl." annotation (

0 commit comments

Comments
 (0)