modelConfiguration
Configuration for plotters
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This block can be used to globally configure the parameters for the blocks from the package Buildings.Utilities.Plotters. Use this block for example to set the same plot file name and sampling time.
To use this block, simply drag it at the top-most level, or higher, where your plotters are.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | samplePeriod | Sample period of component | |
| String | fileName | Modelica.Utilities.Files.fullPathName("plots.html") | Name of html file |
| Labels | |||
| Buildings.Utilities.Plotters.Types.TimeUnit | timeUnit | Types.TimeUnit.hours | Time unit for plot |
| Activation | |||
| Buildings.Utilities.Plotters.Types.GlobalActivation | activation | Buildings.Utilities.Plotters.Types.GlobalActivation.always | Set to true to enable an input that allows activating and deactivating the plotting |
| Modelica.Units.SI.Time | activationDelay | 0 | Time that needs to elapse to enable plotting after activate becomes true |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | activate | Set to true to enable plotting of time series after activationDelay elapsed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | active | Flag, true if plots record data |