modelNightMode
Module to establish if an element should opperate in night mode or not.
Information
Overview
Model for the switching between night and day operation modes based on the simulation time.
Example Results
AixLib.Utilities.Examples.TimeUtilities_test
-
April 11, 2013 by Ole Odendahl:
Formatted documentation appropriately -
Mai 20, 2011 by Ana Constantin:
Implemented
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dayStart | hour when day operation starts | |
| Real | dayEnd | hour when night operation starts | |
| Real | startTime | 0 | The start time of the simulation in reference to 1st of Jan. 0:00 o'clock |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | SwitchToNightMode | Connector of Boolean output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BaseLib.Sources.HourOfDay | hourOfDay | ||
| Modelica.Blocks.Logical.GreaterEqualThreshold | greaterThreshold | ||
| Modelica.Blocks.Logical.LessThreshold | lessEqualThreshold | ||
| Modelica.Blocks.Logical.Nand | IsNight |