Skip to content

Commit

Permalink
Adapt simulate and plot script to new name #1171 [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Mar 23, 2022
1 parent 1066f23 commit 81249b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AixLib/Fluid/Storage/Examples/StorageDetailedExample.mo
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ equation
Icon(coordinateSystem(preserveAspectRatio=false)),
Diagram(coordinateSystem(preserveAspectRatio=false)),
experiment(Tolerance=1e-6, StopTime=86400, Interval=60),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Fluid/Storage/Examples/BufferStorage.mos" "Simulate and plot"),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Fluid/Storage/Examples/StorageDetailedExample.mos" "Simulate and plot"),
Documentation(info="<html><p>
<b><span style=\"color: #008000;\">Overview</span></b>
</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
simulateModel("AixLib.Fluid.Storage.Examples.BufferStorage", tolerance=1e-6, stopTime=86400, method="dassl", resultFile="BufferStorage");
simulateModel("AixLib.Fluid.Storage.Examples.StorageDetailedExample", tolerance=1e-6, stopTime=86400, method="dassl", resultFile="StorageDetailed");
createPlot(id=1, position={405, 134, 811, 420}, y={"bufferStorage.heatingCoil1.Therm1[4].Q_flow"}, range={0.0, 90000.0, -200.0, 1800.0}, grid=true, filename="BufferStorage.mat", colors={{28,108,200}});
createPlot(id=2, position={104, 0, 742, 420}, y={"bufferStorage.layer[4].T"}, range={0.0, 90000.0, 25.0, 65.0}, grid=true, filename="BufferStorage.mat", colors={{28,108,200}}, displayUnits={"degC"});
createPlot(id=3, position={235, 62, 807, 420}, y={"bufferStorage.portHC1In.p", "bufferStorage.portHC1Out.p"}, range={0.0, 90000.0, 1.0, 1.16}, grid=true, filename="BufferStorage.mat", colors={{28,108,200}, {238,46,47}}, displayUnits={"bar", "bar"});

0 comments on commit 81249b4

Please sign in to comment.