removePlots();

simulateModel("Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc", stopTime=100, method="dassl", resultFile="GCritCalc");

createPlot(id = 1,
 position = {0, 0, 1000, 500},
 y = {"criSol.G_TC"},
 range = {0.0, 100.0, -50.0, 300.0},
 autoscale = true,
 autoerase = true,
 autoreplot = true,
 description = false,
 grid = true,
 color = true,
 online = false,
 filename = "GCritCalc.mat",
 leftTitleType = 1,
 bottomTitleType = 1,
 colors = {{0,0,255}});
createPlot(id = 1,
 position = {0, 0, 1000, 500},
 y = {"criSol.TEnv", "criSol.TIn"},
 range = {0.0, 88000.0, -100.0, 700.0},
 autoscale = true,
 autoerase = true,
 autoreplot = true,
 description = false,
 grid = true,
 color = true,
 online = false,
 subPlot = 2,
 leftTitleType = 1,
 bottomTitleType = 1,
 colors = {{0,0,255}, {255,0,0}});


