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 |
---|---|
IsHoliday | Block that outputs true if the input is a holiday |
IsNonWorkingDay | Block that outputs true if the input is a non-working day |
IsWorkingDay | Block that outputs true if the input is a working day |
Validation | Collection of validation models |
Buildings.Obsolete.Controls.OBC.CDL.Conversions.IsHoliday
Block that outputs true if the input is a holiday
Information
Block that outputs true
if the input signal is
of type holiday.
Connectors
Type | Name | Description |
---|---|---|
input DayTypeInput | u | Connector of DayType input signal |
output BooleanOutput | y | Connector 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
Block that outputs true if the input is a non-working day
Information
Block that outputs true
if the input signal is
of type non-working day.
Connectors
Type | Name | Description |
---|---|---|
input DayTypeInput | u | Connector of DayType input signal |
output BooleanOutput | y | Connector 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
Block that outputs true if the input is a working day
Information
Block that outputs true
if the input signal is
of type working day.
Connectors
Type | Name | Description |
---|---|---|
input DayTypeInput | u | Connector of DayType input signal |
output BooleanOutput | y | Connector 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;