blockEquationOfTime
Equation of time
Extends from PartialConvertTime (Converts the simulation time to calendar time in scale of 1 year (365 days), or a multiple of a year).
Information
This component computes the difference between solar noon and noon of local civil time.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | weaDatStaTim (from PartialConvertTime) | 0 | Start time of weather data |
| Modelica.Units.SI.Time | weaDatEndTim (from PartialConvertTime) | 31536000 | End time of weather data |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | nDay | Zero-based day number in seconds (January 1=0, January 2=86400) | |
| Modelica.Blocks.Interfaces.RealOutput | eqnTim | Equation of time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | modTimAux (from PartialConvertTime) | Model time | |
| Modelica.Units.SI.Time | calTimAux (from PartialConvertTime) | Calendar time |
Revisions
-
March 27, 2023, by Ettore Zanetti:
Updated to use partial class for conversion from simulation time to calendar time.
This is for IBPSA #1716. -
May 13, 2010, by Wangda Zuo:
First implementation.