From 78162806ff78414964d76fbeceed84d2196e5a09 Mon Sep 17 00:00:00 2001 From: hcasperfu Date: Tue, 22 Aug 2023 16:42:26 -0700 Subject: [PATCH] corrected mos to remove empty subplot --- .../Validation/HeaterCooler_u.mos | 40 ++++++++----------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/Buildings/Resources/Scripts/Dymola/Fluid/HeatExchangers/Validation/HeaterCooler_u.mos b/Buildings/Resources/Scripts/Dymola/Fluid/HeatExchangers/Validation/HeaterCooler_u.mos index dba10857c4b..e7fdc8fcf05 100644 --- a/Buildings/Resources/Scripts/Dymola/Fluid/HeatExchangers/Validation/HeaterCooler_u.mos +++ b/Buildings/Resources/Scripts/Dymola/Fluid/HeatExchangers/Validation/HeaterCooler_u.mos @@ -1,24 +1,18 @@ simulateModel("Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u", method="CVode", tolerance=1e-6, stopTime=1200, resultFile="HeaterCooler_u"); -createPlot(id = 1, - position = {78, 39, 400, 444}, - y = {"con1.u_s", "con1.u_m", "con2.u_m"}, - range = {0.0, 1200.0, 35.0, 15.0}, - autoscale = true, - autoerase = true, - autoreplot = true, - grid = true, - color = true, - leftTitleType = 1, - bottomTitleType = 1); -createPlot(id = 20, - position = {78, 39, 400, 219}, - y = {"con1.y", "con2.y"}, - range = {0.0, 1200.0, 1.5, -0.5}, - autoscale = true, - autoerase = true, - autoreplot = true, - grid = true, - color = true, - subPlot = 2, - leftTitleType = 1, - bottomTitleType = 1); +createPlot(id=1, + position={125, 65, 400, 447}, + y={"con1.u_s", "con1.u_m", "con2.u_m"}, + range={0.0, 1200.0, 290.0, 305.0}, + grid=true, + subPlot=101, + colors={{28,108,200}, {238,46,47}, {0,140,72}}, + timeUnit="s"); +createPlot(id=1, + position={125, 65, 400, 447}, + y={"con1.y", "con2.y"}, + range={0.0, 1200.0, -0.5, 1.5}, + grid=true, + subPlot=102, + colors={{28,108,200}, {238,46,47}}, + timeUnit="s"); +