modelPartialSimpleTestCase
Partial base class for simple test case of base load prediction
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Partial base class to build test for the load prediction.
This model has been added to the library to verify and demonstrate the correct implementation of the load prediction model based on a simple input scenario.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | tPeriod | 24*3600 | Period |
| Modelica.Units.SI.Time | tSample | 3600 | Sampling period |
| Integer | nPre | 12 | Number of time steps to predict |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ElectricalLoad | baseLoad | Baseload prediction | |
| Modelica.Blocks.Sources.BooleanPulse | tri | Sample trigger | |
| Sources.DayType | dayType | Outputs the type of the day for each hour where load is to be predicted | |
| Modelica.Blocks.Logical.Not | notEventDay | Output true if it is not an event day |
Contents
| Name | Description |
|---|---|
Revisions
-
September 24, 2015 by Michael Wetter:
ImplementedSamplerto avoid a translation warning becauseSampler.firstTriggerdoes not set thefixedattribute in MSL 3.2.1. -
March 20, 2014 by Michael Wetter:
First implementation.