Time steps
Solving occurs at discrete times which are defined in the weather file. Each timestamp loaded represents a specific period, the definition of which is one of the following:
-
“End of period”, includes all the time in the period before, starting from the previous timestamp,
-
“Start of period”, the time after and up to the next timestamp,
-
“Middle of period”, the period extends forwards and backwards by equal amounts, accounting for half the time step in each direction, centred on the timestamp,
-
“Instantaneous”, assumes that the irradiance and other weather values are true at the timestamp itself rather than averaged over a period. The solar position is computed at the timestamp (plus an optional time offset). However, energy calculations still integrate the irradiance over the full time step between consecutive timestamps.1
The length of the period (i.e., the amount of time between adjacent time stamps) can be any integer number of minutes. The time steps throughout the entire simulation period must be uniform. It is optional to include the night steps within the weather.2
The time series output files provided by SunSolve Yield are created using the same definition of the timestamp as the input weather file.
Time for Solar Position Calculation
Section titled “Time for Solar Position Calculation”The solar position is determined at a single representative time within each observation period. This representative time corresponds to the average position of the sun during that period and is obtained by applying an offset to the recorded timestamp. The offset depends on how the timestamp is defined (e.g., start, middle, or end of period) and whether the period falls near sunrise, during the day, or at sunset.
For timestamps defined as the end of the period, the solar position is shifted backward by approximately half the period duration. At sunrise and sunset, additional offsets account for the partial illumination of those intervals. For timestamps defined as the start of the period, the offset is forward-shifted, reflecting the time before sunrise or until sunset as appropriate. When timestamps are defined as the middle of the period, smaller corrections are applied depending on whether sunrise or sunset occurs before or after the midpoint of the interval.
Time offsets used for solar position calculation
| Observation period | First period of sunlight (mins) | During the day (mins) | Last period of sunlight (mins) |
|---|---|---|---|
| End of period | |||
| Start of period | |||
| Middle of period | See next table | 0 | See next table |
| Instantaneous |
Additional offsets when using middle of period
| Event | Occurs in first half of period (mins) | Occurs in second half of period (mins) |
|---|---|---|
| Sunrise | ||
| Sunset |
Note that the solar position is intentionally shifted during sunrise and sunset to ensure that the modeled sun remains above the horizon. In standard weather files, irradiance values for these hours are already scaled to account for reduced sunlight duration within each period. The offsets described here simply align SunSolve’s solar geometry calculations with that same physical interpretation.
Instantaneous with a time offset
Section titled “Instantaneous with a time offset”For the Instantaneous observation period, the solar position is computed at the timestamp plus a user-specified irradiance time offset (in hours). Unlike the other observation periods, no sunrise or sunset edge-case logic is applied — the offset is used directly.
This mode is useful when comparing against experimental data where the irradiance measurement is associated with a specific moment in time, but the sun position relevant to that measurement is at a known fixed offset from the reported timestamp. For example, a data logger may record the timestamp at the end of a measurement interval while the irradiance value corresponds to the conditions at a fixed offset before the timestamp.
Note that even in Instantaneous mode, the energy contribution of each time step is still calculated using the full period length between consecutive timestamps in the weather file. The Instantaneous setting affects only how the solar position is determined, not how the irradiance is integrated over time.
The time offset can be configured on the Weather options page.
Conversion between solar time and universal time
Section titled “Conversion between solar time and universal time”SunSolve performs the ray tracing in local solar time (LST) when the sun is at its zenith at midday. If the weather data is loaded in universal time (UTC) or legal time (e.g., UTC + 3h), then SunSolve must convert from UTC to LST. LST is calculated from UTC by
where EoT is the ‘Equation of Time’ which accounts for the eccentricity of the earth’s orbit and axial tilt. SunSolve’s default is to implement the equations from [Reno2012]:
It is also possible to select the equations for EoT used by PVSyst and those published in Blanco–Muriel [Blanco2001], which are both calcuated by the day and therefore have steps at UTC midnight (which can occur during the day at LST).
Footnotes
Section titled “Footnotes”-
This mode is commonly used when comparing against experimental data where the measurement timestamp has a known relationship to the sun position. The optional time offset allows the solar position to be shifted relative to the recorded timestamp. ↩
-
If included then the module temperature is calculated at these times, this is important if the transient temperature model is applied as the modules tend to start the day at a temperature lower than the ambient. ↩