Buildings.Utilities.Plotters.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Buildings.Utilities.IO.BCVTB.

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

Package Content

Name Description
Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve ControlsVerification_CoolingCoilValve Validation model for the cooling coil control subsequence with recorded data trends
Buildings.Utilities.Plotters.Examples.Scatter Scatter Simple scatter plots
Buildings.Utilities.Plotters.Examples.SingleZoneVAV SingleZoneVAV Various plots for a single zone VAV system
Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u SingleZoneVAVSupply_u Scatter plots for control signal of a single zone VAV controller from ASHRAE Guideline 36
Buildings.Utilities.Plotters.Examples.TimeSeries TimeSeries Simple time series plots
Buildings.Utilities.Plotters.Examples.BaseClasses BaseClasses Package with base classes for Buildings.Utilities.Plotters.Examples

Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve

Validation model for the cooling coil control subsequence with recorded data trends

Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve

Information

This model validates the cooling coil signal subsequence implemented in Building 33 on the main LBNL campus. Data used for the validation are measured input and output trends with 5s time steps, starting at 2018-06-07 00:00:00 PDT. The trends were exported from the ALC EIKON webserver.

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

Modelica definition

model ControlsVerification_CoolingCoilValve "Validation model for the cooling coil control subsequence with recorded data trends" extends Modelica.Icons.Example; Modelica.Blocks.Sources.CombiTimeTable TOut_F( tableOnFile=true, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, offset={0}, timeScale(displayUnit="s"), tableName="OA_Temp", smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, columns={3}, fileName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Utilities/Plotters/Examples/ControlsVerification_CoolingCoilValve/OA_Temp.mos")) "Measured outdoor air temperature"; Modelica.Blocks.Sources.CombiTimeTable TSupSetpoint_F( tableOnFile=true, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, offset={0}, timeScale(displayUnit="s"), smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, tableName="SA_Clg_Stpt", columns={3}, fileName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Utilities/Plotters/Examples/ControlsVerification_CoolingCoilValve/SA_Clg_Stpt.mos")) "Supply air temperature setpoint"; Modelica.Blocks.Sources.CombiTimeTable coolingValveSignal( tableOnFile=true, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, offset={0}, timeScale(displayUnit="s"), tableName="Clg_Coil_Valve", columns={3}, smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, fileName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Utilities/Plotters/Examples/ControlsVerification_CoolingCoilValve/Clg_Coil_Valve.mos")) "Output of the cooling valve control subsequence"; Modelica.Blocks.Sources.CombiTimeTable fanFeedback( tableOnFile=true, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, offset={0}, timeScale(displayUnit="s"), tableName="VFD_Fan_Feedback", columns={3}, smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, fileName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Utilities/Plotters/Examples/ControlsVerification_CoolingCoilValve/VFD_Fan_Feedback.mos")) "Fan feedback"; Modelica.Blocks.Sources.CombiTimeTable fanStatus( tableOnFile=true, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, offset={0}, timeScale(displayUnit="s"), tableName="VFD_Fan_Enable", columns={3}, smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, fileName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Utilities/Plotters/Examples/ControlsVerification_CoolingCoilValve/VFD_Fan_Enable.mos")) "Fan status"; Modelica.Blocks.Sources.CombiTimeTable TSupply_F( tableOnFile=true, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, offset={0}, timeScale(displayUnit="s"), smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, tableName="Supply_Air_Temp", columns={3}, fileName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Utilities/Plotters/Examples/ControlsVerification_CoolingCoilValve/Supply_Air_Temp.mos")) "Measured supply air temperature"; Buildings.Utilities.Plotters.Examples.BaseClasses.CoolingCoilValve cooValSta( reverseActing=false, TSupHighLim(displayUnit="degC"), TSupHigLim(displayUnit="degC"), TOutDelta(displayUnit="degC"), TOutCooCut(displayUnit="degC") = 50*(5/9) - 32*(5/9) + 273.15) "Cooling valve position control sequence"; Buildings.Controls.OBC.CDL.Continuous.GreaterThreshold greThr(t=0.5) "Converter to boolean"; Buildings.Controls.OBC.CDL.Continuous.MultiplyByParameter percConv(k=0.01) "Converter from percentage"; Buildings.Controls.OBC.CDL.Continuous.MultiplyByParameter percConv1(k=0.01) "Converter from percentage"; Buildings.Controls.OBC.UnitConversions.From_degF from_degF "Unit Converter"; Buildings.Controls.OBC.UnitConversions.From_degF from_degF1 "Unit Converter"; Buildings.Controls.OBC.UnitConversions.From_degF from_degF2 "Unit Converter"; Buildings.Controls.OBC.UnitConversions.To_degC to_degC "Unit Converter"; Buildings.Controls.OBC.UnitConversions.To_degC to_degC1 "Unit Converter"; Buildings.Controls.OBC.UnitConversions.To_degC to_degC2 "Unit Converter"; protected Buildings.Utilities.IO.Files.CSVWriter csvWriter( samplePeriod=5, nin=2, headerNames={"Trended","Modeled"}) "Writes trended and modeled cooling coil valve position to CSV"; inner Buildings.Utilities.Plotters.Configuration plotConfiguration( timeUnit=Buildings.Utilities.Plotters.Types.TimeUnit.hours, activation=Buildings.Utilities.Plotters.Types.GlobalActivation.always, samplePeriod=300, fileName="coolingCoilValve_validationPlots.html") "Cooling valve control sequence validation"; Buildings.Utilities.Plotters.Scatter correlation( n=1, legend={"Modeled cooling valve signal"}, xlabel="Trended cooling valve signal", title="Modeled result/recorded trend correlation") "Reference vs. output results"; Buildings.Utilities.Plotters.TimeSeries timSerRes( n=2, legend={"Cooling valve control signal, modeled","Cooling valve control signal, trended"}, title="Cooling valve control signal: reference trend vs. modeled result") "Cooling valve control signal: reference trend vs. modeled result"; Buildings.Utilities.Plotters.TimeSeries timSerInp( n=3, legend={"Supply air temperature, [degC]","Supply air temperature setpoint, [degC]", "Outdoor air temperature, [degC]"}, title="Trended input signals") "Trended input signals"; equation connect(cooValSta.yCooVal, timSerRes.y[1]); connect(cooValSta.yCooVal, correlation.y[1]); connect(percConv.y, timSerRes.y[2]); connect(percConv.y, correlation.x); connect(greThr.y, cooValSta.uFanSta); connect(percConv1.y, cooValSta.uFanFee); connect(coolingValveSignal.y[1], percConv.u); connect(fanFeedback.y[1], percConv1.u); connect(fanStatus.y[1], greThr.u); connect(percConv.y,csvWriter. u[1]); connect(cooValSta.yCooVal,csvWriter. u[2]); connect(TSupply_F.y[1], from_degF.u); connect(from_degF.y, to_degC.u); connect(TSupSetpoint_F.y[1], from_degF1.u); connect(from_degF1.y, to_degC1.u); connect(TOut_F.y[1], from_degF2.u); connect(from_degF2.y, to_degC2.u); connect(from_degF2.y, cooValSta.TOut); connect(from_degF1.y, cooValSta.TSupSet); connect(from_degF.y, cooValSta.TSup); connect(to_degC.y, timSerInp.y[1]); connect(to_degC1.y, timSerInp.y[2]); connect(to_degC2.y, timSerInp.y[3]); end ControlsVerification_CoolingCoilValve;

Buildings.Utilities.Plotters.Examples.Scatter Buildings.Utilities.Plotters.Examples.Scatter

Simple scatter plots

Buildings.Utilities.Plotters.Examples.Scatter

Information

This example demonstrates the use of a scatter plotter that plots (sin(t), cos(t)), which will be a circle with radius 1, and (sin(t), cos2(t)), which will be an arc above the x-axis. The plots will be in the file specified in the plot configuration plotConfiguration.

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

Modelica definition

model Scatter "Simple scatter plots" extends Modelica.Icons.Example; inner Buildings.Utilities.Plotters.Configuration plotConfiguration( samplePeriod=0.1) "Configuration for the plotters"; Buildings.Utilities.Plotters.Scatter sca( samplePeriod=0.1, n=1, title="Sine vs cosine", xlabel="sine", legend={"cos"}, introduction="This plot shows a scatter plot of sine vs cosine.") "Scatter plot"; Modelica.Blocks.Sources.RealExpression sine(y=sin(uniCon*time)) "Sine signal"; Modelica.Blocks.Sources.RealExpression cosine(y=cos(uniCon*time)) "Cosine signal"; Buildings.Utilities.Plotters.Scatter sca1( samplePeriod=0.1, n=2, title="Sine vs cosine and sine vs cosine^2", legend={"sin vs cos","sin vs cos^2"}, xlabel="sine", introduction= "This plot shows a scatter plot of sine vs cosine and of sine vs cosine^2.") "Scatter plot"; Modelica.Blocks.Math.Product product "Product to compute the square of cos(time)"; protected constant Real uniCon(final unit="1/s") = 1 "Unit conversion to satisfy unit check"; equation connect(sca.x, sine.y); connect(cosine.y, sca.y[1]); connect(sca1.x, sine.y); connect(cosine.y, sca1.y[1]); connect(cosine.y, product.u1); connect(cosine.y, product.u2); connect(product.y, sca1.y[2]); end Scatter;

Buildings.Utilities.Plotters.Examples.SingleZoneVAV Buildings.Utilities.Plotters.Examples.SingleZoneVAV

Various plots for a single zone VAV system

Buildings.Utilities.Plotters.Examples.SingleZoneVAV

Information

This example demonstrates the use of a time plot and a scatter plot for a single zone VAV system. The plots are configured to plot every 15 minutes. The plots will be in the file specified in the plot configuration plotConfiguration.

Extends from Buildings.Air.Systems.SingleZone.VAV.Examples.ChillerDXHeatingEconomizer (Variable air volume flow system with single themal zone and conventional control).

Parameters

TypeNameDefaultDescription
TemperatureTSupChi_nominal279.15Design value for chiller leaving water temperature [K]

Connectors

TypeNameDescription
BusweaBusWeather bus

Modelica definition

model SingleZoneVAV "Various plots for a single zone VAV system" extends Buildings.Air.Systems.SingleZone.VAV.Examples.ChillerDXHeatingEconomizer; Plotters plo "Block with plotters"; model Plotters extends Modelica.Blocks.Icons.Block; Modelica.Blocks.Interfaces.BooleanInput activate "Set to true to enable plotting of time series after activationDelay elapsed"; Modelica.Blocks.Interfaces.RealInput TOutDryBul "Outdoor drybulb temperature"; Modelica.Blocks.Interfaces.RealInput TOutDew "Outdoor dewpoint temperature"; Modelica.Blocks.Interfaces.RealInput TRoo "Room temperature"; Modelica.Blocks.Interfaces.RealInput uEco "Economizer control signal"; Modelica.Blocks.Interfaces.RealInput PFan "Fan power consumption"; Modelica.Blocks.Interfaces.RealInput yFan "Fan control signal"; inner Buildings.Utilities.Plotters.Configuration plotConfiguration( samplePeriod(displayUnit="min") = 900, timeUnit=Buildings.Utilities.Plotters.Types.TimeUnit.days, activation=Buildings.Utilities.Plotters.Types.GlobalActivation.use_input, activationDelay(displayUnit="min") = 600) "Plot configuration"; Buildings.Utilities.Plotters.TimeSeries ploTOut( title="Outdoor drybulb and dew point temperatures", legend={"TOutDryBul","TOutDewPoi","TRoo"}, activation=Buildings.Utilities.Plotters.Types.LocalActivation.always, introduction="Outside conditions.", n=3) "Temperatures"; Buildings.Utilities.Plotters.Scatter scaEco( title="Economizer control signal", legend={"uEco"}, xlabel="TOut [degC]", n=1, introduction="Economizer control signal while the system is operating for at least 10 minutes.") "Scatter plot for economizer"; Buildings.Utilities.Plotters.Scatter scaPFan( title="Fan power", xlabel="yFan [1]", legend={"PFan in [W]"}, n=1, activation=Buildings.Utilities.Plotters.Types.LocalActivation.always) "Scatter plot for fan power"; Buildings.Utilities.Plotters.Scatter scaTRoo( xlabel="TOut [degC]", title="Room air temperature", legend={"TRoo [degC]"}, introduction="Room air temperatures while the system is operating for at least 10 minutes.", n=1) "Scatter plot for room air temperature"; Modelica.Blocks.Math.UnitConversions.To_degC TRooAir_degC "Room air temperature in degC"; Modelica.Blocks.Math.UnitConversions.To_degC TDewPoi_degC "Outdoor dewpoint temperature in degC"; Modelica.Blocks.Math.UnitConversions.To_degC TOutDryBul_degC "Outdoor drybulb in degC"; equation connect(plotConfiguration.activate, activate); connect(scaEco.y[1], uEco); connect(scaPFan.x, yFan); connect(PFan, scaPFan.y[1]); connect(scaEco.x, TOutDryBul_degC.y); connect(TOutDryBul_degC.u, TOutDryBul); connect(TOutDew, TDewPoi_degC.u); connect(TRoo, TRooAir_degC.u); connect(TOutDryBul_degC.y, ploTOut.y[1]); connect(TDewPoi_degC.y, ploTOut.y[2]); connect(TRooAir_degC.y, ploTOut.y[3]); connect(TRooAir_degC.y, scaTRoo.y[1]); connect(scaTRoo.x, TOutDryBul_degC.y); end Plotters; equation connect(plo.activate, con.chiOn); connect(weaBus.TDryBul, plo.TOutDryBul); connect(weaBus.TDewPoi, plo.TOutDew); connect(plo.TRoo, zon.TRooAir); connect(con.yOutAirFra, plo.uEco); connect(hvac.PFan, plo.PFan); connect(con.yFan, plo.yFan); end SingleZoneVAV;

Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u

Scatter plots for control signal of a single zone VAV controller from ASHRAE Guideline 36

Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u

Information

This example demonstrates how to create a scatter plot that shows for a single zone VAV control logic the heating and cooling set point temperatures, and the fan speed, all as a function of the heating and cooling control signal. The sequence that will be used to plot the sequence diagram is Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Supply and shown below. The plot will be generated in the file plots.html.

Image of set point reset

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

Modelica definition

model SingleZoneVAVSupply_u "Scatter plots for control signal of a single zone VAV controller from ASHRAE Guideline 36" extends Modelica.Icons.Example; inner Configuration plotConfiguration(samplePeriod=0.005) "Plot configuration"; Buildings.Controls.OBC.CDL.Continuous.Subtract heaCooConSig "Add control signal for heating (with negative sign) and cooling"; Buildings.Utilities.Plotters.Scatter scaTem( title="Temperature setpoints", n=2, xlabel="Heating (negative) and cooling (positive) control loop signal", legend={"THea [degC]","TCoo [degC]"}, introduction="Set point temperatures as a function of the heating loop signal (from -1 to 0) and the cooling loop signal (from 0 to +1).") "Scatter plot for temperature setpoints"; Buildings.Controls.OBC.UnitConversions.To_degC THea_degC "Control signal for heating"; Buildings.Controls.OBC.UnitConversions.To_degC TCoo_degC "Control signal for cooling"; Buildings.Utilities.Plotters.Scatter scaYFan( n=1, title="Fan control signal", legend={"yFan"}, xlabel="Heating (negative) and cooling (positive) control loop signal", introduction="Fan speed as a function of the heating loop signal (from -1 to 0) and the cooling loop signal (from 0 to +1).") "Scatter plot for fan speed"; Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Supply setPoiVAV( yHeaMax=0.7, yMin=0.3, TSupSetMax=303.15, TSupSetMin=289.15) "Block that computes the setpoints for temperature and fan speed"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TZon( k = 273.15 + 28) "Zone air temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TOut(k=273.15 + 22) "Outdoor temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp uHea( duration=0.25, height=-1, offset=1) "Heating control signal"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp uCoo( duration=0.25, startTime=0.75) "Cooling control signal"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TSetZon(k=273.15 + 23) "Average zone set point"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant fanSta(k=true) "Fan is on"; equation connect(TOut.y, setPoiVAV.TOut); connect(uHea.y, setPoiVAV.uHea); connect(uCoo.y, setPoiVAV.uCoo); connect(scaTem.x, heaCooConSig.y); connect(THea_degC.y, scaTem.y[1]); connect(TCoo_degC.y, scaTem.y[2]); connect(setPoiVAV.y, scaYFan.y[1]); connect(heaCooConSig.y, scaYFan.x); connect(setPoiVAV.TZon, TZon.y); connect(setPoiVAV.TSupHeaEco, THea_degC.u); connect(setPoiVAV.TSupCoo, TCoo_degC.u); connect(TSetZon.y, setPoiVAV.TZonSet); connect(fanSta.y, setPoiVAV.uFan); connect(uHea.y, heaCooConSig.u2); connect(uCoo.y, heaCooConSig.u1); end SingleZoneVAVSupply_u;

Buildings.Utilities.Plotters.Examples.TimeSeries Buildings.Utilities.Plotters.Examples.TimeSeries

Simple time series plots

Buildings.Utilities.Plotters.Examples.TimeSeries

Information

This example demonstrates the use of a plotter that plots (t, sin(t), cos(t), sin(t)*cos(t)) in one plot, and (t, sin(t), cos(t)) in another plot. Both plots will be in the file specified in the plot configuration plotConfiguration.

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

Modelica definition

model TimeSeries "Simple time series plots" extends Modelica.Icons.Example; inner Buildings.Utilities.Plotters.Configuration plotConfiguration( samplePeriod=0.1, timeUnit=Buildings.Utilities.Plotters.Types.TimeUnit.seconds) "Configuration for the plotters"; Buildings.Utilities.Plotters.TimeSeries timSer( samplePeriod=0.1, n=3, title="Sine, cosine and sine*cosine", legend={"sin","cos","sin*cos"}) "Plotter"; Modelica.Blocks.Sources.RealExpression sine(y=sin(uniCon*time)) "Sine output signal"; Modelica.Blocks.Sources.RealExpression cosine(y=cos(uniCon*time)) "Cosine output signal"; Buildings.Utilities.Plotters.TimeSeries timSer1( samplePeriod=0.1, n=2, title="Sine, cosine", legend={"sin","cos"}) "Plotter"; Modelica.Blocks.Math.Product pro "Product of sine times cosine"; protected constant Real uniCon(final unit="1/s") = 1 "Unit conversion to satisfy unit check"; equation connect(sine.y, timSer.y[1]); connect(cosine.y, timSer.y[2]); connect(sine.y, timSer1.y[1]); connect(cosine.y, timSer1.y[2]); connect(sine.y, pro.u1); connect(cosine.y, pro.u2); connect(pro.y, timSer.y[3]); end TimeSeries;

Buildings.Utilities.Plotters.Examples.SingleZoneVAV.Plotters Buildings.Utilities.Plotters.Examples.SingleZoneVAV.Plotters


Buildings.Utilities.Plotters.Examples.SingleZoneVAV.Plotters

Information

Block that contains unit conversion, plotter configuration and various plotters.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Connectors

TypeNameDescription
input BooleanInputactivateSet to true to enable plotting of time series after activationDelay elapsed
input RealInputTOutDryBulOutdoor drybulb temperature
input RealInputTOutDewOutdoor dewpoint temperature
input RealInputTRooRoom temperature
input RealInputuEcoEconomizer control signal
input RealInputPFanFan power consumption
input RealInputyFanFan control signal

Modelica definition

model Plotters extends Modelica.Blocks.Icons.Block; Modelica.Blocks.Interfaces.BooleanInput activate "Set to true to enable plotting of time series after activationDelay elapsed"; Modelica.Blocks.Interfaces.RealInput TOutDryBul "Outdoor drybulb temperature"; Modelica.Blocks.Interfaces.RealInput TOutDew "Outdoor dewpoint temperature"; Modelica.Blocks.Interfaces.RealInput TRoo "Room temperature"; Modelica.Blocks.Interfaces.RealInput uEco "Economizer control signal"; Modelica.Blocks.Interfaces.RealInput PFan "Fan power consumption"; Modelica.Blocks.Interfaces.RealInput yFan "Fan control signal"; inner Buildings.Utilities.Plotters.Configuration plotConfiguration( samplePeriod(displayUnit="min") = 900, timeUnit=Buildings.Utilities.Plotters.Types.TimeUnit.days, activation=Buildings.Utilities.Plotters.Types.GlobalActivation.use_input, activationDelay(displayUnit="min") = 600) "Plot configuration"; Buildings.Utilities.Plotters.TimeSeries ploTOut( title="Outdoor drybulb and dew point temperatures", legend={"TOutDryBul","TOutDewPoi","TRoo"}, activation=Buildings.Utilities.Plotters.Types.LocalActivation.always, introduction="Outside conditions.", n=3) "Temperatures"; Buildings.Utilities.Plotters.Scatter scaEco( title="Economizer control signal", legend={"uEco"}, xlabel="TOut [degC]", n=1, introduction="Economizer control signal while the system is operating for at least 10 minutes.") "Scatter plot for economizer"; Buildings.Utilities.Plotters.Scatter scaPFan( title="Fan power", xlabel="yFan [1]", legend={"PFan in [W]"}, n=1, activation=Buildings.Utilities.Plotters.Types.LocalActivation.always) "Scatter plot for fan power"; Buildings.Utilities.Plotters.Scatter scaTRoo( xlabel="TOut [degC]", title="Room air temperature", legend={"TRoo [degC]"}, introduction="Room air temperatures while the system is operating for at least 10 minutes.", n=1) "Scatter plot for room air temperature"; Modelica.Blocks.Math.UnitConversions.To_degC TRooAir_degC "Room air temperature in degC"; Modelica.Blocks.Math.UnitConversions.To_degC TDewPoi_degC "Outdoor dewpoint temperature in degC"; Modelica.Blocks.Math.UnitConversions.To_degC TOutDryBul_degC "Outdoor drybulb in degC"; equation connect(plotConfiguration.activate, activate); connect(scaEco.y[1], uEco); connect(scaPFan.x, yFan); connect(PFan, scaPFan.y[1]); connect(scaEco.x, TOutDryBul_degC.y); connect(TOutDryBul_degC.u, TOutDryBul); connect(TOutDew, TDewPoi_degC.u); connect(TRoo, TRooAir_degC.u); connect(TOutDryBul_degC.y, ploTOut.y[1]); connect(TDewPoi_degC.y, ploTOut.y[2]); connect(TRooAir_degC.y, ploTOut.y[3]); connect(TRooAir_degC.y, scaTRoo.y[1]); connect(scaTRoo.x, TOutDryBul_degC.y); end Plotters;