This section summarizes the changes that have been performed
on the Buildings library
Package Content
-
In
Buildings.Fluid.Interfaces.PartialLumpedVolume,
added to
Medium.BaseProperties
the initialization
X(start=X_start[1:Medium.nX])
. Previously, the initialization
was only done for Xi
but not for X
, which caused the
medium to be initialized to reference_X
, ignoring the value of X_start
.
-
Renamed
Buildings.Media.PerfectGases.MoistAirNonSaturated
to
Buildings.Media.PerfectGases.MoistAirUnsaturated
and Buildings.Media.GasesPTDecoupled.MoistAirNoLiquid
to
Buildings.Media.GasesPTDecoupled.MoistAirUnsaturated,
and added assert
statements if saturation occurs.
-
Added regularization near zero flow to
Buildings.Fluid.HeatExchangers.ConstantEffectiveness
and
Buildings.Fluid.MassExchangers.ConstantEffectiveness.
-
Fixed bug regarding temperature offset in
Buildings.Media.PerfectGases.MoistAirUnsaturated.T_phX.
-
Added implementation of function
Buildings.Media.GasesPTDecoupled.MoistAirUnsaturated.enthalpyOfNonCondensingGas and its derivative.
-
In
Buildings.Media.PerfectGases.MoistAir, fixed
bug in implementation of
Buildings.Media.PerfectGases.MoistAir.T_phX. In the
previous version, it computed the inverse of its parent class,
which gave slightly different results.
-
In
Buildings.Utilities.IO.BCVTB.BCVTB, added parameter to specify
the value to be sent to the BCVTB at the first data exchange,
and added parameter that deactivates the interface. Deactivating
the interface is sometimes useful during debugging.
-
In
Buildings.Media.GasesPTDecoupled.MoistAir and in
Buildings.Media.PerfectGases.MoistAir, added function
enthalpyOfNonCondensingGas and its derivative.
-
In
Buildings.Media,
fixed bug in implementations of derivatives.
-
Added model
Buildings.Fluid.Storage.ExpansionVessel.
-
Added Wrapper function
Buildings.Fluid.Movers.BaseClasses.Characteristics.solve for
Modelica.Math.Matrices.solve. This is currently needed since
Modelica.Math.Matrices.solve does not specify a
derivative.
-
Fixed bug in
Buildings.Fluid.Storage.Stratified.
In the previous version,
for computing the heat conduction between the top (or bottom) segment and
the outside,
the whole thickness of the water volume was used
instead of only half the thickness.
-
In
Buildings.Controls.Continuous.Examples.PIDHysteresis
and
Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,
fixed error in default parameter
eOn
.
Fixed error by introducing parameter Td
,
which used to be hard-wired in the PID controller.
-
Added more models for fans and pumps to the package
Buildings.Fluid.Movers.
The models are similar to the ones in
Modelica.Fluid.Machines but have been adapted for
air-based systems, and to include more characteristic curves
in
Buildings.Fluid.Movers.BaseClasses.Characteristics.
The new models are better suited than the existing fan model
Buildings.Fluid.Movers.FlowMachinePolynomial for zero flow rate.
-
Added an optional mixing volume to
Buildings.Fluid.BaseClasses.PartialThreeWayResistance
and hence to the flow splitter and to the three-way valves. This often breaks algebraic loops and provides a state for the temperature if the mass flow rate goes to zero.
-
Added package Buildings.Fluid.Sources.
The package contains models for modeling species that
do not affect the medium balance of volumes. This can be used to track
for example carbon dioxide or other species that have a small concentration.
-
The package Buildings.Fluid.Actuators.Motors has been added.
The package contains a motor model for valves and dampers.
-
The package Buildings.Media has been reorganized and
the new medium model
Buildings.Media.GasesPTDecoupled.MoistAir
has been added.
In addition, this package now contains a bug fix that is needed for Modelica 2.2.1 and 2.2.2.
The bugs are fixed by using a new
base class
Buildings.Media.Interfaces.PartialSimpleIdealGasMedium
(that fixes the bugs) instead of
Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.
In the original implementation, initial states of fluid volumes can be far away from
the steady-state value because of an inconsistent implementation of the the enthalpy
and internal energy.
When the Buildings library is upgraded to
to Modelica 3.0.0, it should be safe to remove this bug fix.
-
The package Buildings.Fluid.HeatExchangers
has been revised and several models have been renamed.
The heat exchanger models have been revised to allow computing the fluid volumes either
dynamically, or in steady-state.
-
The damper with exponential opening characteristic has been revised to allow control signals
over the whole range between 0 and 1. This was in earlier versions restricted.
In the same model, a bug was fixed that caused the flow to be largest for y=0, i.e., when the damper is closed.
-
Additional models for psychrometric equations have been added. The new models contain equations
that convert dew point temperature and water vapor pressure, as well
as water vapor concentration and water vapor pressure.
-
A new mixing volume has been added that allows latent heat exchange with the volume.
This model can be used to model a volume of moist air with water vapor condensation
inside the volume. The condensate is removed from the volume in its liquid phase.
New in this version are models for two and three way valves.
In addition, the Fluids package has been slightly revised.
The package Fluid.BaseClasses has been added because in
the previous version, partial models for fixed resistances
where part of the Actuator package.
First release of the library.
This version contains basic models for modeling building HVAC systems.
It also contains new medium models in the package
Buildings.Media. These medium models
have simpler property functions than the ones from
Modelica.Media. For example,
there is medium model with constant heat capacity which is often sufficiently
accurate for building HVAC simulation, in contrast to the more detailed models
from Modelica.Media that are valid in
a larger temperature range, at the expense of introducing non-linearities due
to the medium properties.
HTML-documentation generated by Dymola Sat Feb 6 17:22:30 2010.