
Extract elementary damages by room
extract_damage_detail_by_room.Rd
Extract elementary damages by room
See also
extract_elementary_component_from_detail()
and
extract_damage_detail_external()
, to handle the calculation of
damage functions by rooms and walls
Examples
model = analyse_model(
model = adu_t_basement,
stage = c("extract", "damaging")
)
#> Extracting building information for 'adu_t_basement'...
#> - extracted:
#> - parameter
#> - storey
#> - room
#> - wall
#> - opening
#> - coating
#> - furniture
#> - missing (not found):
#> ... Informations successfully extracted for 'adu_t_basement'
#> Computing some values for 'adu_t_basement'...
#> ... Informations successfully extracted for 'adu_t_basement'
#> Computing damage for 'adu_t_basement'...
#> ... Damaging successfully computed for 'adu_t_basement'
#> End of analysis for 'adu_t_basement'. Total elapsed time 1.04 secs
#> More information availabe at /tmp/R-test/model/adu/adu_t_basement/adu_t_basement.log
test = extract_damage_detail_by_room(
x = model[["damaging"]][["detail"]],
room = levels(model[["data_table"]][["room"]][["room"]])
)