Skip to content

Commit

Permalink
Adapt comments #1575
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Oct 6, 2023
1 parent c17683c commit 41fb9b3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ block AirMass
protected
Modelica.Units.SI.Angle zen "Zenith angle internal use";
equation

// Restriction for zenith angle
zen = if zenAng <= Modelica.Constants.pi/2 then
zenAng
else
Modelica.Constants.pi/2
"Restriction for zenith angle";
Modelica.Constants.pi/2;

airMas =
exp(-0.0001184*alt)/(cos(zen) + 0.5057*(96.080 -
Expand Down

0 comments on commit 41fb9b3

Please sign in to comment.