blockPartialPlotter
Partial block for plotters
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Partial block that implements the basic functionality used by the scatter and the time series plotters.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | plotConfiguration.fileName | Name of html file |
| String | introduction | "" | Introduction text written below title and above the plot |
| Integer | n | 0 | Number of independent data series (dimension of y) |
| Activation | |||
| Modelica.Units.SI.Time | samplePeriod | plotConfiguration.samplePeriod | Sample period of component |
| Buildings.Utilities.Plotters.Types.LocalActivation | activation | Buildings.Utilities.Plotters.Types.LocalActivation.use_activation | Set to true to enable an input that allows activating and deactivating the plotting |
| Modelica.Units.SI.Time | activationDelay | plotConfiguration.activationDelay | Time that needs to elapse to enable plotting after activate becomes true |
| Labels | |||
| String | title | getInstanceName() | Title of the plot |
| String | legend | String array for legend, such as {"x1", "x2"} | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealVectorInput[n] | y | y-data | |
| Modelica.Blocks.Interfaces.BooleanInput | activate | Set to true to enable plotting of time series after activationDelay elapsed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Utilities.Plotters.Configuration | plotConfiguration | Default plot configuration | |
| Boolean | active | Flag, true if plots record data |
Revisions
-
March 23, 2018, by Michael Wetter:
First implementation.