-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a4fa24
commit bfd1e11
Showing
37 changed files
with
975 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
Buildings/Resources/Scripts/Dymola/Templates/Components/Validation/BoilerHotWater.mos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
simulateModel("Buildings.Templates.Components.Validation.BoilerHotWater", | ||
method="cvode", | ||
tolerance=1e-6, | ||
stopTime=2000.0, | ||
resultFile="BoilerHotWater"); | ||
createPlot(id=1, | ||
position={19, 10, 474, 390}, | ||
y={"THeaWatRet.y", "THeaWatSupSet.y", "boiTab.bus.THeaWatSup", "boiPol.bus.THeaWatSup"}, | ||
subPlot=1, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"boiTab.boi.Q_flow_nominal", "boiPol.boi.Q_flow_nominal", "boiTab.boi.QWat_flow", "boiPol.boi.QWat_flow"}, | ||
subPlot=2, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"boiTab.boi.m_flow_nominal", "boiPol.boi.m_flow_nominal", "boiTab.boi.m_flow", "boiPol.boi.m_flow"}, | ||
subPlot=3, | ||
autoscale=true, | ||
grid=true); |
16 changes: 16 additions & 0 deletions
16
Buildings/Resources/Scripts/Dymola/Templates/Components/Validation/BoilerHotWaterRecord.mos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
simulateModel("Buildings.Templates.Components.Validation.BoilerHotWaterRecord", | ||
method="cvode", | ||
tolerance=1e-6, | ||
stopTime=2000.0, | ||
resultFile="BoilerHotWaterRecord"); | ||
createPlot(id=1, | ||
position={19, 10, 474, 390}, | ||
y={"per.Q_flow_nominal", "datBoiTab.per.Q_flow_nominal", "datBoiTabRed.per.Q_flow_nominal", "datBoiTabLoc.per.Q_flow_nominal"}, | ||
subPlot=1, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"per.effCur[4, 11]", "datBoiTab.per.effCur[4, 11]", "datBoiTabRed.per.effCur[4, 11]", "datBoiTabLoc.per.effCur[4, 11]"}, | ||
subPlot=2, | ||
autoscale=true, | ||
grid=true); |
31 changes: 31 additions & 0 deletions
31
Buildings/Resources/Scripts/Dymola/Templates/Components/Validation/PumpMultipleRecord.mos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
simulateModel("Buildings.Templates.Components.Validation.PumpMultipleRecord", | ||
method="cvode", | ||
tolerance=1e-6, | ||
stopTime=2000.0, | ||
resultFile="PumpMultipleRecord"); | ||
createPlot(id=1, | ||
position={19, 10, 476, 550}, | ||
y={"V_flow_nominal[1]", "V_flow_nominal[2]"}, | ||
subPlot=1, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"datDef.per[1].pressure.V_flow[2]", "datDef.per[2].pressure.V_flow[2]"}, | ||
subPlot=2, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"datRed.per[1].pressure.V_flow[2]", "datRed.per[2].pressure.V_flow[2]"}, | ||
subPlot=3, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"datAss.per[1].pressure.V_flow[2]", "datAss.per[2].pressure.V_flow[2]"}, | ||
subPlot=4, | ||
autoscale=true, | ||
grid=true); | ||
createPlot(id=1, | ||
y={"datPre.per[1].pressure.V_flow[2]", "datPre.per[2].pressure.V_flow[2]"}, | ||
subPlot=5, | ||
autoscale=true, | ||
grid=true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,45 @@ | ||
within Buildings.Templates.Components.Boilers; | ||
model HotWaterTable "Hot water boiler" | ||
extends Buildings.Templates.Components.Interfaces.BoilerHotWater( | ||
model HotWaterTable "Hot water boiler with efficiency described by a table" | ||
extends Buildings.Templates.Components.Interfaces.PartialBoilerHotWater( | ||
final typMod=Buildings.Templates.Components.Types.BoilerHotWaterModel.Table, | ||
redeclare Buildings.Fluid.Boilers.BoilerTable boi(final per=dat.per)); | ||
|
||
annotation ( | ||
defaultComponentName="boi", | ||
Icon(coordinateSystem(preserveAspectRatio=false)), Diagram( | ||
coordinateSystem(preserveAspectRatio=false))); | ||
coordinateSystem(preserveAspectRatio=false)), | ||
Documentation(info="<html> | ||
<p> | ||
This is a model for a hot water boiler where the efficiency is computed | ||
based on a lookup table indexed by the firing rate and the inlet temperature. | ||
This model is based on | ||
<a href=\"modelica://Buildings.Fluid.Boilers.BoilerTable\"> | ||
Buildings.Fluid.Boilers.BoilerTable</a>. | ||
The user may refer to the documentation of | ||
<a href=\"modelica://Buildings.Fluid.Boilers.UsersGuide\"> | ||
Buildings.Fluid.Boilers.UsersGuide</a> | ||
for the modeling assumptions. | ||
</p> | ||
<h4>Control points</h4> | ||
<p> | ||
See the documentation of | ||
<a href=\"modelica://Buildings.Templates.Components.Interfaces.BoilerHotWater\"> | ||
Buildings.Templates.Components.Interfaces.BoilerHotWater</a>. | ||
</p> | ||
<h4>Model parameters</h4> | ||
<p> | ||
The design parameters and the efficiency table are specified with an instance of | ||
<a href=\"modelica://Buildings.Templates.Components.Data.BoilerHotWater\"> | ||
Buildings.Templates.Components.Data.BoilerHotWater</a>. | ||
The documentation of this record class provides further details on how to | ||
properly parameterize the model. | ||
</p> | ||
</html>", revisions="<html> | ||
<ul> | ||
<li> | ||
April 28, 2023, by Antoine Gautier:<br/> | ||
First implementation. | ||
</li> | ||
</ul> | ||
</html>")); | ||
end HotWaterTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.