From 04e5b80fee414e0318d02da8a441aa3a48c7458f Mon Sep 17 00:00:00 2001 From: mlauster Date: Wed, 17 Feb 2016 12:49:00 +0100 Subject: [PATCH] This fixes a bug in definition of replaceable thermalZone in partialMultizone.mo #150 --- AixLib/Building/LowOrder/Multizone/partialMultizone.mo | 10 ++++------ AixLib/package.mo | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/AixLib/Building/LowOrder/Multizone/partialMultizone.mo b/AixLib/Building/LowOrder/Multizone/partialMultizone.mo index 2a98b377b0..973ff7c019 100644 --- a/AixLib/Building/LowOrder/Multizone/partialMultizone.mo +++ b/AixLib/Building/LowOrder/Multizone/partialMultizone.mo @@ -7,13 +7,12 @@ 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, @@ -21,7 +20,6 @@ public 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}}, diff --git a/AixLib/package.mo b/AixLib/package.mo index ae287bc819..f2d89f664e 100644 --- a/AixLib/package.mo +++ b/AixLib/package.mo @@ -1,6 +1,6 @@ within ; package AixLib - annotation(uses(Modelica(version = "3.2.1")), version = "0.2.4", Documentation(info = " + annotation(uses(Modelica(version = "3.2.1")), version = "0.2.5", Documentation(info = "

The free open-source AixLib 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.

Various connectors of the Modelica Standard Library are used, e.g. Modelica.Fluid and Modelica.HeatTransfer. These are accompanied by own connectors for simplified hydraulics (no fluid.media, 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 Modelica.Media library. If possible and necessary, components use continuously differentiable equations. In general, zero mass flow rate and reverse flow are supported.

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.