The SimInfoManager manages all simulation information. It loads TMY3 weather data files and applies transformations for computing the solar irradiance on the zone surfaces.
filNam and filDir can be
used to set the path to the TMY3 weather file. This file should
include the latitude, longitude and time zone corresponding to the
weather file. See the included weather files for the correct
format.incAndAziInBus. incAndAziInBus determines
for which inclination and azimuth the solar radiation is
pre-computed.computeConservationOfEnergy=true. Conservation
of energy is checked by computing the internal energy for all
components that are within "the system" and by adding to this the
integral of all heat flows entering/leaving the system. There are
two options for choosing the extent of the system based on
parameter openSystemConservationOfEnergy. Either
conservation of energy for a closed system is computed, or it is
computed for an open system.Buildings package. I.e. all heat flows at embedded
ports port_emb of walls, fluid ports of the zones,
zone.gainCon and zone.gainRad are
considered to be a heat gain to the system and every other
component is considered to be outside of the system for which
conservation of energy is checked.openSystemConservationOfEnergy=true these heat flow
rates are not taken into account because they are assumed to flow
between components that are both within the bounds of the system.
The user then needs to choose how large the system is and he should
make sure that all heat flow rates entering the system are added to
sim.Qgai.Q_flow and that all internal energy of the
system is added to sim.E.E.IDEAS supports several levels of detail for simulating
interzonal airflow and air infiltration, which can be selected by
setting the value of the parameter
interzonalAirFlowType. By default,
interzonalAirFlowType = None and a fixed n50 value is
assumed for each zone. The corresponding fixed mass flow
rate is pushed into (with ambient properties) and extracted from
each zone model. In practice, air infiltration however depends on
the wind pressure and occurs only for zones that have an
exterior/outer wall or windows.
The other interzonalAirFlowType options model this
effect in more detail. By default, the OuterWall and
Window leakage coefficients are computed using the
zone n50 values. The volume and n50 value of each zone are used to
compute the total nominal air infiltration at 50 Pa pressure
difference. The total exterior wall and window surface area are
used to compute an average air leakage coefficient
(q50 value) such that this total air infiltration is
obtained at 50 Pa pressure difference. Using these coefficients and
the static wind pressures, a flow network is configured that
computes the mass flow rates through each wall and window. When a
custom q50 value for a wall or window is known, it can be assigned
by the user using the parameters use_custom_q50 and
custom_q50. The algorithm considers these q50 values
as known and recomputes all remaining q50 values such that the n50
value is reached. In a similar way, the total n50 value for one
zone can be forced by using the zone parameters
use_custom_n50 and n50. In this case,
only the remaining zones contribute to the total building air
leakage, which is subsequently attributed to the surfaces of only
those zones. When use_custom_q50=false,
n50 is ignored and sim.n50 is used
instead for this computation. I.e., the whole building is assumed
to have the n50 value sim.n50 except for zones where
use_custom_q50=true.
In case interzonalAirFlowType=OnePort then one port
is used to model the air exchange through each surface and through
cavities in internal walls (open doors). When
interzonalAirFlowType=TwoPorts two ports are used,
which increases the level of detail at the cost of having to solve
a more complex flow network. The second port e.g. allows more
detailed modelling of bidirectional flow through cavities (e.g.
open doors) using two flow paths instead of only modelling the
total flow through a single flow path. The two-port option is still
under development.
When setting unify_n50=true in the
SimInfoManager while
interzonalAirFlowType=None, the n50 values are
automatically redistributed across the zones but instead of using
pressure-driven flow, a fixed infiltration flow rate is assumed.
While this implementation is more detailed and comes at no added
computational cost, it is disabled by default for backward
compatibility reasons.