Skip to content

Commit

Permalink
Adapt documentation #1575
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Oct 6, 2023
1 parent 32da78f commit 031dddd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions IBPSA/Electrical/BaseClasses/PV/PVElectricalSingleDiodeMPP.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within IBPSA.Electrical.BaseClasses.PV;
model PVElectricalSingleDiodeMPP "Analytical 5-p model for PV I-V
characteristics with temp. dependency based on 5 parameters with automatic MPP control"
characteristics with temperature dependency based on 5 parameters with automatic MPP control"
extends
IBPSA.Electrical.BaseClasses.PV.BaseClasses.PartialPVElectricalSingleDiode;

Expand All @@ -22,7 +22,7 @@ model PVElectricalSingleDiodeMPP "Analytical 5-p model for PV I-V
// Additional parameters and constants

constant Real euler=Modelica.Math.exp(1.0)
"Euler's constant";
"Eulers constant";
constant Real q(unit = "A.s")= 1.602176620924561e-19
"Electron charge";

Expand Down Expand Up @@ -51,7 +51,7 @@ model PVElectricalSingleDiodeMPP "Analytical 5-p model for PV I-V

equation

// Analytical parameter extraction equations under standard conditions (Batzelis et al., 2016)
// Analytical parameter extraction equations under standard conditions (Batzelis et al, 2016)

a_0 = V_oc0*(1-TCel0*beta_Voc)/(50.1-TCel0*alpha_Isc);

Expand All @@ -65,7 +65,7 @@ equation

I_s0 = I_ph0*exp(-1/(a_0/V_oc0));

// Parameter extrapolation equations to operating conditions (DeSoto et al.,2006)
// Parameter extrapolation equations to operating conditions (DeSoto et al, 2006)

a/a_0 = TCel/TCel0;

Expand All @@ -79,7 +79,7 @@ equation

R_sh/R_sh0 = if noEvent(absRadRat > Modelica.Constants.eps) then 1/absRadRat else 0;

//Simplified Power correlations at MPP using lambert W function (Batzelis et al., 2016)
//Simplified Power correlations at MPP using lambert W function (Batzelis et al, 2016)

I_mp = if noEvent(absRadRat <= Modelica.Constants.eps or w<=Modelica.Constants.eps) then 0
else I_ph*(1-1/w)-a*(w-1)/R_sh;
Expand Down
2 changes: 1 addition & 1 deletion IBPSA/Electrical/BaseClasses/PV/PVOpticalAbsRat.mo
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ R_b = if noEvent((zen >= Modelica.Constants.pi/2*0.999) or (cos(incAng)
HGloHor = HDirHor + HDifHor;


//Computes the absorption irradiation ratio for operating conditions following De Soto et al.
//Computes the absorption irradiation ratio for operating conditions following De Soto et al
absRadRat = if noEvent(HGloHor <=0.1) then 0
else
airMassModifier.airMasMod*(HDirHor/HGloHor0*R_b*incAngMod
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within IBPSA.Electrical.BaseClasses.PV;
model PVThermalEmpMountCloseToGround
"Empirical thermal model for PV cell with back close to ground ~(0 deg < til < 10 deg)"
"Empirical thermal model for PV cell with back close to ground (0 deg < til < 10 deg)"
extends IBPSA.Electrical.BaseClasses.PV.BaseClasses.PartialPVThermalEmp;

equation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ model PVSingleDiodeNISTValidation
parameter Modelica.Units.SI.Angle lat=39.1354*Modelica.Constants.pi/180
"Latitude";
parameter Modelica.Units.SI.Angle azi=0
"Surface azimuth. azi=min 90 degree if surface outward unit normal points toward east, azi=0 if it points toward south";
"Surface azimuth: azi=min 90 degree if surface outward unit normal points toward east, azi=0 if it points toward south";
parameter Modelica.Units.SI.Angle til=10*Modelica.Constants.pi/180
"Surface tilt. til=90 degree for walls, til=0 for ceilings, til=180 for roof";
"Surface tilt: til=90 degree for walls, til=0 for ceilings, til=180 for roof";

parameter Modelica.Units.SI.Time nDay=(31+28+31+30+31+14)*24*3600 "Day at which simulation starts";

Expand Down

0 comments on commit 031dddd

Please sign in to comment.