The Buildings library uses the following conventions,
which largely are based on the conventions of the Modelica Standard Library.
Packages have usually the following subpackages:
UsersGuide containing an overall description of the library
and how to use it.
Examples containing models demonstrating the
usage of the library.
Validation containing typically small models that validate a certain
behavior of a model.
Interfaces containing connectors and partial models.
Types containing type, enumeration and choice definitions.
HeatTransfer.
Don't repeat higher level package names, for example, rather than Chillers.CarnotChiller,
use Chillers.Carnot.
preDro for pressure drop model.
Where applicable, a single character can be used if this is generally understood, such
as T for temperature, p for pressure, u for control input
and y for control output signal. As needed, these can be augmented, for example
a controller that outputs a control signal for a valve and a damper may output yVal
and yDam.
T for temperature,p for pressure,dp for pressure difference,P for power,E for energy (or Q for thermal energy),X for mass fraction,Q_flow for heat flow ratem_flow for mass flow rate andH_flow for enthalpy flow rate.X denotes mass fraction per total mass.
x denotes mass fraction per mass of dry air.
z_xy denotes that the function or block has output
z and inputs x and y.
pW denotes water vapor pressure, TDewPoi
denotes dew point temperature, TWetBul denotes wet bulb temperature,
and TDryBul (or simply T) denotes dry bulb temperature.
u and control output signals usually start with y,
unless use of the physical quantity is clearer.
use_ for conditionally enabled input signals, such as use_T_in
for enabling an input connector for temperature in
Buildings.Fluid.Sources.Boundary_pT,
or as use_enthalpy in
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Enable
to flag if it should evaluate outdoor air enthalpy in addition to temperature.
have_ if a controller has a certain input, such as have_CO2Sen
in
Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Controller if the zone has a CO2 sensor.
_flow for a flow variable, such as Q_flow, m_flow
and V_flow.
See
Buildings.Fluid.Sensors.VolumeFlowRate.
_nominal for the design or nominal capacity, i.e., Q_flow_nominal is the
capacity of a device that it has at full load, and m_flow_nominal is the design mass flow rate.
See
Buildings.Fluid.HeatExchangers.HeaterCooler_u.
_small for a small value which is typically used for regularization (to ensure
a numerically robust implementation).
Set for set point.
_min (_max) for minimum (maximum),
such as TSupCoo_min for the lowest cooling supply air temperature
setpoint in
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.SupplyTemperature.
_a, _b
or _p, _n.
Examples are fluid ports port_a and port_b
or electrical connectors
terminal_p and terminal_n.
h4.
(The headings h1, h2, h3 must not be used,
because they are utilized from the automatically generated
documentation.)