Skip to content

Commit

Permalink
added mos scripts for #1109
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathadon committed Apr 6, 2019
1 parent 185a70d commit c0839b7
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
simulateModel("IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil", stopTime=80, tolerance=1E-6, method="dassl", resultFile="HADryCoil");
createPlot(id=1, position={15, 10, 430, 786}, y={"TWat.y", "TAir.y"}, range={0.0, 0.001, 270.0, 340.0}, grid=true, colors={{28,108,200}, {238,46,47}});
createPlot(id=1, position={15, 10, 430, 260}, y={"mWat_flow.y"}, range={0.0, 0.001, -0.02, 0.12000000000000001}, grid=true, subPlot=2, colors={{28,108,200}});
createPlot(id=1, position={15, 10, 430, 259}, y={"mAir_flow.y"}, range={0.0, 0.001, -0.5, 3.0}, grid=true, subPlot=3, colors={{28,108,200}});
createPlot(id=2, position={462, 14, 363, 777}, y={"hADryCoi.hA_1", "hADryCoi.hA_2"}, range={0.0, 0.001, 0.0, 44000.0}, grid=true, colors={{28,108,200}, {238,46,47}});
createPlot(id=3, position={842, 16, 361, 773}, y={"hADryCoiAir.hA_1", "hADryCoiAir.hA_2"}, range={0.0, 0.001, 0.0, 32000.0}, grid=true, colors={{28,108,200}, {238,46,47}});
createPlot(id=4, position={1222, 16, 383, 768}, y={"hADryCoiWat.hA_1", "hADryCoiWat.hA_2"}, range={0.0, 0.001, 0.0, 44000.0}, grid=true, colors={{28,108,200}, {238,46,47}});
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
simulateModel("IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow", method="dassl", tolerance=1e-6, stopTime=3600, resultFile="DryCoilEffectivenessNTUMassFlow");
createPlot(id = 1,
position = {15, 10, 400, 237},
y = {"hex.m1_flow", "hex.m2_flow"},
range = {0, 1, 0.15, -0.15},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
filename = "DryCoilEffectivenessNTUMassFlow.mat",
subPlot = 2,
leftTitleType = 1,
bottomTitleType = 1);
createPlot(id = 2,
position = {427, 12, 400, 479},
y = {"hex.QMax_flow", "hex.Q1_flow", "hex.Q2_flow"},
range = {0, 1, 4000.0, -3000.0},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
leftTitleType = 1,
bottomTitleType = 1);
createPlot(id = 2,
position = {427, 12, 400, 236},
y = {"hex.hA.hA_1", "hex.hA.hA_2"},
range = {0, 1, 400.0, 0},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
subPlot = 2,
leftTitleType = 1,
bottomTitleType = 1);
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
simulateModel("IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl", stopTime=3600, method="dassl", tolerance=1e-6, resultFile="DryCoilEffectivenessNTUPControl");
createPlot(id = 4,
position = {550, 0, 400, 342},
y = {"P.u_s", "P.u_m"},
range = {0, 4000.0, 20.0, -20.0},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
filename = "DryCoilEffectivenessNTUPControl.mat",
leftTitleType = 1,
bottomTitleType = 1);
createPlot(id = 6,
position = {14, -1, 530, 586},
y = {"hex.sta_a1.T", "hex.sta_b1.T", "hex.sta_a2.T", "hex.sta_b2.T"},
range = {0, 4000.0, 70.0, 10.0},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
leftTitleType = 1,
bottomTitleType = 1);
createPlot(id = 6,
position = {14, -1, 530, 154},
y = {"hex.Q1_flow", "hex.Q2_flow"},
range = {0, 4000.0, 200000.0, -200000.0},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
subPlot = 3,
leftTitleType = 1,
bottomTitleType = 1);
createPlot(id = 6,
position = {14, -1, 530, 177},
y = {"hex.m1_flow", "hex.m2_flow"},
range = {0, 4000.0, 15.0, 0},
autoscale = true,
autoerase = true,
autoreplot = true,
grid = true,
color = true,
subPlot = 2,
leftTitleType = 1,
bottomTitleType = 1);

0 comments on commit c0839b7

Please sign in to comment.