This function is used within IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.SolarAzimuth to calculate solar azimuth with events.
function solarAzimuthWithEvent input Real solAziTem(quantity = "Angle", unit = "rad", displayUnit = "deg") "Temporary solar azimuth"; input Real solTim(quantity = "Time", unit = "s") "Solar time"; input Real day(quantity = "Time", unit = "s") "Number of seconds in day"; output Real solAzi(quantity = "Angle", unit = "rad", displayUnit = "deg") "Solar azimuth"; end solarAzimuthWithEvent;