modelWeeklyScheduleWindowsLineEndings
Weekly schedule example
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Example for a weekly schedule that reads the schedule data from a file. There are two file readers, one reading a file with Windows line endings and the other with Linux line endings.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | data | "double tab1(3,5) #test: mon:0:0:10 - 3 1 - tue,thu:20:30:59 123 - 45 - wed 12 1 4 -" | Contents of schedule.txt |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Utilities.IO.Files.WeeklySchedule | weeSchLin | Weekly schedule example using file data source | |
| Buildings.Utilities.IO.Files.WeeklySchedule | weeSchWin | Weekly schedule example using parameter data source | |
| Diagnostics.AssertEquality[4] | assEqu | Trigger an assertion if the outputs differ |
Revisions
-
April 2, 2024, by Michael Wetter:
First implementation.
This is for IBPSA, #1860.