Skip to content

Commit

Permalink
Initial commit of AixLib
Browse files Browse the repository at this point in the history
This corresponds to subversion revision 15030
  • Loading branch information
marcusfuchs committed Jul 10, 2014
1 parent 24441bf commit 0e7274a
Show file tree
Hide file tree
Showing 98 changed files with 49,686 additions and 0 deletions.
4,309 changes: 4,309 additions & 0 deletions AixLib/Building/Components.mo

Large diffs are not rendered by default.

14,129 changes: 14,129 additions & 0 deletions AixLib/Building/HighOrder.mo

Large diffs are not rendered by default.

4,719 changes: 4,719 additions & 0 deletions AixLib/Building/LowOrder.mo

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions AixLib/Building/package.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
within AixLib;
package Building "Package contains models for components used in setting up the building envelope, along with high and low order building models."
extends Modelica.Icons.Package;


annotation (Documentation(info="<html>
<h4><span style=\"color:#008000\">Overview</span></h4>
<p><br>This package contains models for components used in setting up the building envelope, along with high and low order building models.</p>
</html>"));
end Building;
3 changes: 3 additions & 0 deletions AixLib/Building/package.order
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Components
HighOrder
LowOrder
107 changes: 107 additions & 0 deletions AixLib/DataBase/Boiler.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
within AixLib.DataBase;
package Boiler "Records describing boiler efficiencies"
extends Modelica.Icons.Package;
record BoilerEfficiencyBaseDataDefinition
"TYPE: Table with boiler efficiency depending on part-load factor"
extends Modelica.Icons.Record;
parameter Real[:,2] boilerEfficiency "part-load factor | boiler efficiency";

annotation (Documentation(info="<html>
<h4><span style=\"color:#008000\">Overview</span></h4>
<p>This base record defines the record structure for boiler efficiencies. Boiler efficiency is defined depending on the part-load factor.</p>
<h4><span style=\"color:#008000\">Concept</span></h4>
<p>1. Column: part-load factor Q(T)/Q_max</p>
<p>2. Column: boiler efficiency</p>
<h4><span style=\"color:#008000\">References</span></h4>
<p>Base data definition for record to be used in model <a href=\"AixLib.HVAC.HeatGeneration.Boiler\">AixLib.HVAC.HeatGeneration.Boiler</a></p>
</html>",
revisions="<html>
<p>October 2013, Marcus Fuchs</p>
<p><ul>
<li>implemented</li>
</ul></p>
</html>"));
end BoilerEfficiencyBaseDataDefinition;

record BoilerConst
"Boiler efficency for a simple boiler with fixed temperature"
extends BoilerEfficiencyBaseDataDefinition(
boilerEfficiency=[0.0000, 0.78;
0.2000, 0.78;
0.4000, 0.82;
0.6000, 0.84;
0.8000, 0.86;
1.0000, 0.88]);
annotation (Documentation(info="<html>
<h4><span style=\"color:#008000\">Overview</span></h4>
<p>This record defines the efficiencies of a standard boiler operating at a constant temperature. Boiler efficiency is defined depending on the part-load factor.</p>
<h4><span style=\"color:#008000\">Level of Development</span></h4>
<p><img src=\"modelica://AixLib/Images/stars3.png\"/></p>
<h4><span style=\"color:#008000\">Concept</span></h4>
<p>1. Column: part-load factor Q(T)/Q_max</p>
<p>2. Column: boiler efficiency</p>
<h4><span style=\"color:#008000\">References</span></h4>
<p>Record is used in model <a href=\"AixLib.HVAC.HeatGeneration.Boiler\">AixLib.HVAC.HeatGeneration.Boiler</a></p>
</html>",
revisions="<html>
<p>October 2013, Marcus Fuchs</p>
<p><ul>
<li>implemented</li>
</ul></p>
</html>"));
end BoilerConst;

record BoilerLT "Boiler efficency for a low-temperature boiler"
extends BoilerEfficiencyBaseDataDefinition(
boilerEfficiency=[0.0000, 1.0;
0.2000, 1.0;
0.4000, 0.98;
0.6000, 0.96;
0.8000, 0.95;
1.0000, 0.94]);
annotation (Documentation(info="<html>
<h4><span style=\"color:#008000\">Overview</span></h4>
<p>This record defines the efficiencies of a low-temperature boiler operating at a variable temperature. Boiler efficiency is defined depending on the part-load factor.</p>
<h4><span style=\"color:#008000\">Level of Development</span></h4>
<p><img src=\"modelica://AixLib/Images/stars3.png\"/></p>
<h4><span style=\"color:#008000\">Concept</span></h4>
<p>1. Column: part-load factor Q(T)/Q_max</p>
<p>2. Column: boiler efficiency</p>
<h4><span style=\"color:#008000\">References</span></h4>
<p>Record is used in model <a href=\"AixLib.HVAC.HeatGeneration.Boiler\">AixLib.HVAC.HeatGeneration.Boiler</a></p>
</html>",
revisions="<html>
<p>October 2013, Marcus Fuchs</p>
<p><ul>
<li>implemented</li>
</ul></p>
</html>"));
end BoilerLT;

record BoilerCondensing "Boiler efficency for a condensing boiler"
extends BoilerEfficiencyBaseDataDefinition(
boilerEfficiency=[0.0000, 1.05;
0.2000, 1.05;
0.4000, 1.02;
0.6000, 1.0;
0.8000, 0.98;
1.0000, 0.96]);
annotation (Documentation(info="<html>
<h4><span style=\"color:#008000\">Overview</span></h4>
<p>This record defines the efficiencies of a condensing boiler operating at a variable temperature. Boiler efficiency is defined depending on the part-load factor.</p>
<h4><span style=\"color:#008000\">Level of Development</span></h4>
<p><img src=\"modelica://AixLib/Images/stars3.png\"/></p>
<h4><span style=\"color:#008000\">Concept</span></h4>
<p>1. Column: part-load factor Q(T)/Q_max</p>
<p>2. Column: boiler efficiency</p>
<h4><span style=\"color:#008000\">References</span></h4>
<p>Record is used in model <a href=\"AixLib.HVAC.HeatGeneration.Boiler\">AixLib.HVAC.HeatGeneration.Boiler</a></p>
</html>",
revisions="<html>
<p>October 2013, Marcus Fuchs</p>
<p><ul>
<li>implemented</li>
</ul></p>
</html>"));
end BoilerCondensing;
end Boiler;
Loading

0 comments on commit 0e7274a

Please sign in to comment.