From 04e5b80fee414e0318d02da8a441aa3a48c7458f Mon Sep 17 00:00:00 2001 From: mlauster Date: Wed, 17 Feb 2016 12:49:00 +0100 Subject: [PATCH 1/2] 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.

From 692ac33fad6340ae124432a4e845062e4a333d03 Mon Sep 17 00:00:00 2001 From: PRemmen Date: Wed, 17 Feb 2016 19:39:48 +0100 Subject: [PATCH 2/2] Update version number in README, #150 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e966f0a008..7fc03a3148 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Parts of **AixLib** have been developed within public funded projects and with f ### Version -The current version 0.2.4 is a pre-release. +The current version 0.2.5 is a pre-release. ### How to contribute to the development of AixLib