modelDayType
Example model for the source that outputs the type of the day
Information
This example generates signals for three different work weeks.
The instance dayTypMon outputs a signal with five working
days, followed by two non-working days.
The instance dayTypSat does the same, except that the first
days is a non-working day.
The instance dayTypTwoWeeks outputs six working days, followed
by 8 non-working days.
The instance dayTypMonThr is configured the same as
dayTypMon, except that it outputs the type of the day
for three days, starting with the current day, then the next day and
the day after.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Obsolete.Controls.OBC.CDL.Discrete.DayType | dayTypMon | Model that outputs the type of the day, starting with Monday | |
| Buildings.Obsolete.Controls.OBC.CDL.Discrete.DayType | dayTypSat | Model that outputs the type of the day, starting with Saturday | |
| Buildings.Obsolete.Controls.OBC.CDL.Discrete.DayType | dayTypTwoWeeks | Model that outputs the type of the day, starting with 6 workdays, then 8 non-working days | |
| Buildings.Obsolete.Controls.OBC.CDL.Discrete.DayType | dayTypMonThr | Model that outputs the type of the day for 3 days, starting with Monday |
Revisions
-
January 13, 2022, by Michael Wetter:
Moved toObsoletepackage.
This is for issue 2839. -
January 11, 2017, by Milica Grahovac:
First CDL implementation. -
March 20, 2014 by Michael Wetter:
First implementation.