simulateModel("Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage",tolerance=1e-6, stopTime=1440, method="Cvode", resultFile="ChillerStage");
removePlots(false);
createPlot(id=5,
 position={510, 13, 592, 427},
 y={"QTot.y", "chiStaCon.criPoiLoa"},
 range={0.0, 0.4, -350000.0, -100000.0},
 grid=true,
 filename="ChillerStage.mat",
 colors={{28,108,200}, {238,46,47}});
plotExpression(apply(ChillerStage[end].chiStaCon.criPoiLoa+ChillerStage[end].chiStaCon.dQ),
 false, "upLoa", 5);
plotExpression(apply(ChillerStage[end].chiStaCon.criPoiLoa-ChillerStage[end].chiStaCon.dQ),
 false, "lowLoa", 5);
createPlot(id=5,
 position={510, 13, 592, 211},
 y={"TCHWSup.y"},
 range={0.0, 0.4, 278.0, 280.5},
 grid=true,
 subPlot=2,
 colors={{28,108,200}});
plotExpression(apply(ChillerStage[end].chiStaCon.criPoiTem+ChillerStage[end].chiStaCon.dT),
 false, "upTem", 5);
plotExpression(apply(ChillerStage[end].chiStaCon.criPoiTem-ChillerStage[end].chiStaCon.dT),
 false, "lowTem", 5);
createPlot(id=1,
 position={15, 10, 592, 139},
 y={"cooMod.y"},
 range={0.0, 1100.0, -1.0, 3.0},
 grid=true,
 subPlot=1,
 colors={{28,108,200}});
createPlot(id=1,
 position={15, 10, 592, 140},
 y={"chiStaCon.y[1]", "chiStaCon.y[2]"},
 range={0.0, 1100.0, -2.0, 2.0},
 grid=true,
 subPlot=2,
 colors={{28,108,200}, {238,46,47}});
