From f18f3b4c742b9bd34b0fc325c9c54805f23d8cbd Mon Sep 17 00:00:00 2001 From: mlauster Date: Tue, 15 Dec 2015 15:49:40 +0100 Subject: [PATCH 1/2] this fixes two missing links of parameters to the zoneBaseRecord, for winterReduction and T0all for EMI in ventilationController #136 --- .../LowOrder/ThermalZone/ThermalZoneEquipped.mo | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/AixLib/Building/LowOrder/ThermalZone/ThermalZoneEquipped.mo b/AixLib/Building/LowOrder/ThermalZone/ThermalZoneEquipped.mo index 40f53c9b65..c89cdeacaf 100644 --- a/AixLib/Building/LowOrder/ThermalZone/ThermalZoneEquipped.mo +++ b/AixLib/Building/LowOrder/ThermalZone/ThermalZoneEquipped.mo @@ -27,7 +27,9 @@ model ThermalZoneEquipped baseACH=zoneParam.baseACH, maxUserACH=zoneParam.maxUserACH, maxOverheatingACH=zoneParam.maxOverheatingACH, - maxSummerACH=zoneParam.maxSummerACH) + maxSummerACH=zoneParam.maxSummerACH, + winterReduction=zoneParam.winterReduction, + Tmean_start=zoneParam.T0all) "Calculates natural venitlation and infiltration" annotation (Placement(transformation(extent={{-64,-72},{-44,-52}}))); Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor tZone @@ -85,12 +87,12 @@ equation connect(internalGains[2], machines_SensibleHeat_DIN18599.Schedule) annotation (Line(points={{80,-100},{80,-100},{80,-70},{80,-68},{30,-68},{30, -10.5},{41,-10.5}}, color={0,0,127})); - connect(internalGains[3], lights.Schedule) annotation (Line(points={{80,-86.6667}, - {80,-86.6667},{80,-68},{30,-68},{30,-30.5},{41,-30.5}}, + connect(internalGains[3], lights.Schedule) annotation (Line(points={{80, + -86.6667},{80,-86.6667},{80,-68},{30,-68},{30,-30.5},{41,-30.5}}, color={0,0,127})); connect(internalGains[1], ventilationController.relOccupation) annotation ( - Line(points={{80,-113.333},{80,-113.333},{80,-68},{-34,-68},{-34,-74},{-72, - -74},{-72,-68},{-64,-68}}, color={0,0,127})); + Line(points={{80,-113.333},{80,-113.333},{80,-68},{-34,-68},{-34,-74},{ + -72,-74},{-72,-68},{-64,-68}}, color={0,0,127})); connect(ventilationRate, addInfiltrationVentilation.u2) annotation (Line( points={{-40,-100},{-40,-66},{-4.4,-66},{-4.4,-33.2}}, color={0,0,127})); connect(mixedTemperature.mixedTemperatureOut, buildingPhysics.ventilationTemperature) From b82a95f46b8ee408c3bc11083ea68797e3653167 Mon Sep 17 00:00:00 2001 From: mlauster Date: Wed, 16 Dec 2015 13:00:11 +0100 Subject: [PATCH 2/2] this increases version number to 0.2.1 #136 #137 --- AixLib/package.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AixLib/package.mo b/AixLib/package.mo index 0630f60932..f80cb9dc74 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.1.0", Documentation(info = " + annotation(uses(Modelica(version = "3.2.1")), version = "0.2.1", 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.