Skip to content

Commit

Permalink
This fixes a bug in definition of replaceable thermalZone in partialM…
Browse files Browse the repository at this point in the history
…ultizone.mo

#150
  • Loading branch information
mlauster committed Feb 17, 2016
1 parent 84b7811 commit 04e5b80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions AixLib/Building/LowOrder/Multizone/partialMultizone.mo
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@ protected
"Choose setup for zones" annotation (choicesAllMatching=false);
parameter Integer orientations[:]=zoneParam.n "Number cardinal directions";
public
replaceable AixLib.Building.LowOrder.ThermalZone.ThermalZoneEquipped zone[buildingParam.numZones](
zoneParam=zoneParam) constrainedby
AixLib.Building.LowOrder.ThermalZone.partialThermalZone
"Choose thermal zone model" annotation (Placement(transformation(extent={{40,35},
replaceable AixLib.Building.LowOrder.ThermalZone.ThermalZoneEquipped zone[buildingParam.numZones] constrainedby
AixLib.Building.LowOrder.ThermalZone.partialThermalZone(zoneParam=zoneParam)
"Choose thermal zone model" annotation (Placement(transformation(extent={{40,35},
{80,75}})),choicesAllMatching=true);
AixLib.Utilities.Interfaces.SolarRad_in radIn[max(orientations)]
"Solar radiation" annotation (
"Solar radiation" annotation (
Placement(transformation(
extent={{-10,-10},{10,10}},
rotation=270,
origin={-20,92}), iconTransformation(
extent={{-10,-10},{10,10}},
rotation=270,
origin={-62,90})));

Modelica.Blocks.Interfaces.RealInput internalGains[3*buildingParam.numZones]
"Input profiles for internal gains persons, machines, light"
annotation (Placement(transformation(extent={{20,-20},{-20,20}},
Expand Down
2 changes: 1 addition & 1 deletion AixLib/package.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within ;
package AixLib
annotation(uses(Modelica(version = "3.2.1")), version = "0.2.4", Documentation(info = "<html>
annotation(uses(Modelica(version = "3.2.1")), version = "0.2.5", Documentation(info = "<html>
<p>The free open-source <code>AixLib</code> library is being developed for research and teaching purposes. It aims at dynamic simulations of thermal and hydraulic systems to develop control strategies for HVAC systems and analyse interactions in complex systems. It is used for simulations on component, building and city district level. As this library is developed mainly for academic purposes, user-friendliness and model robustness is not a main task. This research focus thus influences the layout and philosophy of the library. </p>
<p>Various connectors of the Modelica Standard Library are used, e.g. <code>Modelica.Fluid</code> and <code>Modelica.HeatTransfer</code>. These are accompanied by own connectors for simplified hydraulics (no <code>fluid.media</code>, incompressible, one phase) , shortwave radiation (intensity), longwave radiation (heat flow combined with a virtual temperature) and combined longwave radiation and thermal. The pressure in the connectors is the total pressure. The used media models are simplified from the <code>Modelica.Media</code> library. If possible and necessary, components use continuously differentiable equations. In general, zero mass flow rate and reverse flow are supported.</p>
<p>Most models have been analytically verified. In addition, hydraulic components are compared to empirical data such as performance curves. High and low order building models have been validated using a standard test suite provided by the ANSI/ASHRAE Standard 140 and VDI 6007 Guideline. The library has only been tested with Dymola.</p>
Expand Down

0 comments on commit 04e5b80

Please sign in to comment.