Calculates the solar time at a given longitude in respect of time zone, difference to UTC and an optional offset.
(Purely technical component without physical modeling.)
(Purely technical component without physical modeling.)
(no remarks)
Parameters:
offset: Sets the offset of simulation time [0, ...] to time to simulate. Type ist Real[4]: seconds, minutes, hours, day. {10,5,1,0} starts at 3910s
longitude_local: longitude of position, west positive in rad
longitude_standard: standard longitude of time zone, e.g. 15° for UTC+1 regular time (in rad)
utc: difference to utc in hours, e.g. +1 for Amsterdam/Berlin/Bern/Rome - will be calculated from longitude_standard as default
public variables:
solarTime: gives calculated solar time in seconds
dayoftheyear: returns day of the year as integer value
totaldays: total days of the year, standard=365, leap year=366
offset_sec=((offset[1]*24+offset[2]*60)+offset[3]*60)+offset[4]
(no remarks)
(no remarks)
DIN 5034 as cited by Quaschning: Regenerative Energiesysteme (2014)
Model created by Tobias Toerber (tobias.toerber@tuhh.de), Jul 2015
Edited by Sascha Guddusch (sascha.guddusch@tuhh.de), May 2016
Modified by Anne Senkel (anne.senkel@tuhh.de), Mar 2017
Modified by Lisa Andresen (andresen@tuhh.de), Apr. 2017
Modified by Annika Heyer (heyer@gwi-essen.de), Dec 2021