
Adjust absolute H of components
adjust_h_abs.Rd
adjust_h_abs()
adjusts the filed H_abs
in all data.frame of data_table
.
Usage
adjust_h_abs(data_table, h_abs = c("model", "room", "component"), h_ref = 0)
Value
The same list of data.frame, each with fields H
and H_abs
that
has been
adjusted (or maybe created).
Details
If some of the data.frame in data_table do not have a field H
, it is added
and set to 0. Il some values in any field H
are missing (NA values), they
are set to 0.
H_abs
is adjusted depending on the value of h_abs
:
For model, all
H_abs
are adjusted by taking into account the relative heightH
of the component and the absolute heightH_abs
of its container.For room, all rooms are supposed to be at
H_abs = 0
, then the same logic as in case model is applied. RelativeH
for storeys and rooms are set to 0 for consistency.For component all relative height
H
and absolute heightH_abs
are set to 0.
Note :
one room is "contained" in one storey
one wall or one furniture is "contained" in one room
one opening or one coating is "contained" in one wall