From 3ef3df2ab9f24b2d2580ad5057ee143128823205 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Thu, 4 Jan 2024 13:34:51 -0800 Subject: [PATCH] Formatted file --- IBPSA/Electrical/BaseClasses/PV/PVOpticalAbsRat.mo | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/IBPSA/Electrical/BaseClasses/PV/PVOpticalAbsRat.mo b/IBPSA/Electrical/BaseClasses/PV/PVOpticalAbsRat.mo index 11564ff8c2..ce711dc9a3 100644 --- a/IBPSA/Electrical/BaseClasses/PV/PVOpticalAbsRat.mo +++ b/IBPSA/Electrical/BaseClasses/PV/PVOpticalAbsRat.mo @@ -80,10 +80,7 @@ protected equation // Restriction for zenith angle -zen = if zenAng <= Modelica.Constants.pi/2 then -zenAng - else - Modelica.Constants.pi/2; +zen = if zenAng <= Modelica.Constants.pi/2 then zenAng else Modelica.Constants.pi/2; //Refraction angle that the incoming irradiation is refracted by due to the glazing refAng = if noEvent(incAng >= Modelica.Constants.eps and incAng <= @@ -176,7 +173,7 @@ absRadRat =if noEvent(HGloHor <= 0.1) then 0 Documentation(info="

This is an optical model to calculate the absorption ratio of a PV cell based on the radiation. -The model computes the air mass AM = +The model computes the air mass AM =

For a definition of the parameters, see the @@ -185,13 +182,13 @@ IBPSA.BoundaryConditions.UsersGuide.

References

-De Soto, W., Klein, S. A., & Beckman, W. A. (2006). Improvement and validation +De Soto, W., Klein, S. A., & Beckman, W. A. (2006). Improvement and validation of a model for photovoltaic array performance. Solar energy, 80(1), 78-88. https://doi.org/10.1016/j.solener.2005.06.010

-De Soto, W., Klein, S. A., & Beckman, W. A. (2006). Improvement and validation +De Soto, W., Klein, S. A., & Beckman, W. A. (2006). Improvement and validation of a model for photovoltaic array performance. Solar energy, 80(1), 78-88. https://doi.org/10.1016/j.solener.2005.06.010