Buildings.Obsolete.Controls.OBC.CDL.Conversions

Package with obsolete models for type conversion.

Information

Package with obsolete models for type conversions.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsHoliday IsHoliday Block that outputs true if the input is a holiday
Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsNonWorkingDay IsNonWorkingDay Block that outputs true if the input is a non-working day
Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsWorkingDay IsWorkingDay Block that outputs true if the input is a working day
Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation Validation Collection of validation models

Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsHoliday Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsHoliday

Block that outputs true if the input is a holiday

Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsHoliday

Information

Block that outputs true if the input signal is of type holiday.

Connectors

TypeNameDescription
input DayTypeInputuConnector of DayType input signal
output BooleanOutputyConnector of Boolean output signal

Modelica definition

block IsHoliday "Block that outputs true if the input is a holiday" Buildings.Obsolete.Controls.OBC.CDL.Interfaces.DayTypeInput u "Connector of DayType input signal"; Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput y "Connector of Boolean output signal"; equation y=u == Buildings.Obsolete.Controls.OBC.CDL.Types.Day.Holiday; end IsHoliday;

Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsNonWorkingDay Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsNonWorkingDay

Block that outputs true if the input is a non-working day

Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsNonWorkingDay

Information

Block that outputs true if the input signal is of type non-working day.

Connectors

TypeNameDescription
input DayTypeInputuConnector of DayType input signal
output BooleanOutputyConnector of Boolean output signal

Modelica definition

block IsNonWorkingDay "Block that outputs true if the input is a non-working day" Buildings.Obsolete.Controls.OBC.CDL.Interfaces.DayTypeInput u "Connector of DayType input signal"; Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput y "Connector of Boolean output signal"; equation y=u == Buildings.Obsolete.Controls.OBC.CDL.Types.Day.NonWorkingDay; end IsNonWorkingDay;

Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsWorkingDay Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsWorkingDay

Block that outputs true if the input is a working day

Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsWorkingDay

Information

Block that outputs true if the input signal is of type working day.

Connectors

TypeNameDescription
input DayTypeInputuConnector of DayType input signal
output BooleanOutputyConnector of Boolean output signal

Modelica definition

block IsWorkingDay "Block that outputs true if the input is a working day" Buildings.Obsolete.Controls.OBC.CDL.Interfaces.DayTypeInput u "Connector of DayType input signal"; Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput y "Connector of Boolean output signal"; equation y=u == Buildings.Obsolete.Controls.OBC.CDL.Types.Day.WorkingDay; end IsWorkingDay;