Buildings.Utilities.Plotters.Validation

Collection of validation models

Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn PlotterActivationAlwaysOn Validation model that checks whether the plotters are activated correctly
Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput PlotterActivationGlobalInput Validation for plotter activation based on global input
Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff PlotterActivationGlobalInputFirstOff  
Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput PlotterActivationLocalInput Validation for plotter activation based on local input
Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff PlotterActivationLocalInputFirstOff Validation for plotter activation based on local input, plotter is first off

Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn

Validation model that checks whether the plotters are activated correctly

Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn

Information

Validation model for plotter configuration that is always on.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model PlotterActivationAlwaysOn "Validation model that checks whether the plotters are activated correctly" extends Modelica.Icons.Example; inner Configuration plotConfiguration( timeUnit=Buildings.Utilities.Plotters.Types.TimeUnit.seconds, samplePeriod=0.1); Time.ModelTime timeSignal "Signal that outputs time"; Scatter sca( legend={"x"}, n=1) "Scatter plot"; Scatter scaDel( activationDelay=0.2, legend={"x"}, n=1) "Scatter plot with delayed on"; equation connect(timeSignal.y, sca.x); connect(timeSignal.y, scaDel.x); connect(timeSignal.y, sca.y[1]); connect(timeSignal.y, scaDel.y[1]); end PlotterActivationAlwaysOn;

Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput

Validation for plotter activation based on global input

Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput

Information

Validation model for plotter configuration based on global activation.

Extends from PlotterActivationAlwaysOn (Validation model that checks whether the plotters are activated correctly).

Modelica definition

model PlotterActivationGlobalInput "Validation for plotter activation based on global input" extends PlotterActivationAlwaysOn(plotConfiguration(activation= Buildings.Utilities.Plotters.Types.GlobalActivation.use_input)); Modelica.Blocks.Sources.BooleanPulse booPul(period=2) "Boolean pulse signal"; equation connect(booPul.y, plotConfiguration.activate); end PlotterActivationGlobalInput;

Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff


Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff

Information

Validation model for plotter configuration based on global activation that is first off.

Extends from PlotterActivationGlobalInput (Validation for plotter activation based on global input).

Modelica definition

model PlotterActivationGlobalInputFirstOff extends PlotterActivationGlobalInput(booPul(startTime=2)); end PlotterActivationGlobalInputFirstOff;

Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput

Validation for plotter activation based on local input

Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput

Information

Validation model for plotter configuration based on local activation.

Extends from PlotterActivationAlwaysOn (Validation model that checks whether the plotters are activated correctly).

Modelica definition

model PlotterActivationLocalInput "Validation for plotter activation based on local input" extends PlotterActivationAlwaysOn(sca(activation=Buildings.Utilities.Plotters.Types.LocalActivation.use_input), scaDel(activation=Buildings.Utilities.Plotters.Types.LocalActivation.use_input)); Modelica.Blocks.Sources.BooleanPulse booPul(period=2) "Boolean pulse signal"; equation connect(booPul.y, sca.activate); connect(booPul.y, scaDel.activate); end PlotterActivationLocalInput;

Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff

Validation for plotter activation based on local input, plotter is first off

Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff

Information

Validation model for plotter configuration based on local activation that is first off.

Extends from PlotterActivationLocalInput (Validation for plotter activation based on local input).

Modelica definition

model PlotterActivationLocalInputFirstOff "Validation for plotter activation based on local input, plotter is first off" extends PlotterActivationLocalInput(booPul(startTime=2)); end PlotterActivationLocalInputFirstOff;