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

TypeNameDefaultDescription
RealdayStarthour when day operation starts
RealdayEndhour when night operation starts
RealstartTime0The start time of the simulation in reference to 1st of Jan. 0:00 o'clock

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputSwitchToNightModeConnector of Boolean output signal

Components

TypeNameDefaultDescription
BaseLib.Sources.HourOfDayhourOfDay
Modelica.Blocks.Logical.GreaterEqualThresholdgreaterThreshold
Modelica.Blocks.Logical.LessThresholdlessEqualThreshold
Modelica.Blocks.Logical.NandIsNight