@@ -5,17 +5,20 @@ model PVElectricalSingleDiodeMPP
55 IBPSA.Electrical.BaseClasses.PV.BaseClasses.PartialPVElectricalSingleDiode;
66
77 // Main parameters under standard conditions
8+ // Analytical parameter extraction equations under standard conditions (Batzelis et al., 2016)
89
9- Modelica.Units.SI.ElectricCurrent IPh0
10+ parameter Modelica.Units.SI.ElectricCurrent IPh0= ( 1 + RS0 / RSh0) * ISC0
1011 "Photo current under standard conditions" ;
11- Modelica.Units.SI.ElectricCurrent IS0
12+ parameter Modelica.Units.SI.ElectricCurrent IS0= IPh0 * exp ( - 1 / (a0 / VOC0))
1213 "Saturation current under standard conditions" ;
13- Modelica.Units.SI.Resistance RS0
14+ parameter Modelica.Units.SI.Resistance RS0= (a0 * (w0 - 1 ) - VMP0) / IMP0
1415 "Series resistance under standard conditions" ;
15- Modelica.Units.SI.Resistance RSh0
16+ parameter Modelica.Units.SI.Resistance RSh0= a0 * (w0 - 1 ) / (ISC0 * ( 1 - 1 / w0) - IMP0)
1617 "Shunt resistance under standard conditions" ;
17- Real a0(unit= "V" ) "Modified diode ideality factor under standard conditions" ;
18- Real w0(final unit= "1" )
18+
19+ parameter Real a0(unit= "V" )= VOC0* (1 - TCel0* betaVOC)/ (50.1 - TCel0* alphaISC)
20+ "Modified diode ideality factor under standard conditions" ;
21+ parameter Real w0(final unit= "1" )= IBPSA.Electrical.BaseClasses.PV.BaseClasses.lambertWSimple(exp (1 / (a0/ VOC0)+ 1 ))
1922 "MPP auxiliary correlation coefficient under standard conditions" ;
2023
2124// Additional parameters and constants
@@ -50,21 +53,6 @@ model PVElectricalSingleDiodeMPP
5053
5154equation
5255
53- // Analytical parameter extraction equations under standard conditions (Batzelis et al., 2016)
54-
55- a0 = VOC0* (1 - TCel0* betaVOC)/ (50.1 - TCel0* alphaISC);
56-
57- w0 = IBPSA.Electrical.BaseClasses.PV.BaseClasses.lambertWSimple(exp (1 / (a0/
58- VOC0) + 1 ));
59-
60- RS0 = (a0* (w0 - 1 ) - VMP0)/ IMP0;
61-
62- RSh0 = a0* (w0 - 1 )/ (ISC0* (1 - 1 / w0) - IMP0);
63-
64- IPh0 = (1 + RS0/ RSh0)* ISC0;
65-
66- IS0 = IPh0* exp (- 1 / (a0/ VOC0));
67-
6856 // Parameter extrapolation equations to operating conditions (DeSoto et al., 2006)
6957
7058 a/ a0 = TCel/ TCel0;
0 commit comments