BuildSysPro.Utilities.Time.ApparentSolarTime

# .BuildSysPro.Utilities.Time.ApparentSolarTime

Real Solar Time (RST)

## Information

Hypothesis and equations

Function computing the Real Solar Time according to (t0 + t) given in seconds.

The longitude is in degrees and the time equation (TE) in hours.

The year is supposed to be not bisextile.

t : calculation moment in seconds

t0: elapsed time in seconds since January 1st at t=0s of the simulation

As output, the solar time is in hours.

RST = (t+t0)/3600 + longitude/15 - TE

Then RST is converted to the hour of the day, in the range [0 ; 24[ modulo 24 : RST = mod(RST+24,24).

Bibliography

[1] : H. BOUIA, "Amélioration du temps de calcul dans BuildSysPro par traitements numériques optimisés de la conduction et des calculs solaires", Note H-E14-2013-00715-FR, 03/2013.

Instructions for use

none

Known limits / Use precautions

none

Validations

Validated function - Hassan BOUIA 03/2013

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Hassan BOUIA, EDF (2013)
--------------------------------------------------------------

#### Interface

>     function ApparentSolarTime
>       input Real t0 = 0 "Time in seconds at t=0";
>       input Modelica.Units.SI.Time t "Universal Time in seconds";
>       input Modelica.Units.NonSI.Angle_deg longitude "Longitude in degrees";
>       output Real TSV "Real Solar Time in hrs (RST = UT + longitude/15 - TM)";
>     end ApparentSolarTime;

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos