blockPartialConvertTime
Converts the simulation time to calendar time in scale of 1 year (365 days), or a multiple of a year
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This component converts the simulation time to calendar time in a scale of 1 year (365 days), or a multiple of it, if this is the length of the weather file.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | weaDatStaTim | 0 | Start time of weather data |
| Modelica.Units.SI.Time | weaDatEndTim | 31536000 | End time of weather data |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | modTimAux | Model time | |
| Modelica.Units.SI.Time | calTimAux | Calendar time |
Revisions
-
February 18, 2026, by Jianjun Hu:
Improved ill-posed integer rounding.
This is for Buildings #4480 and IBPSA #2088. -
March 27, 2023, by Ettore Zanetti:
Added partial class for conversion from simulation time to calendar time, to be used by solar models that require calendar time for calculations.
This is for IBPSA #1716.