replace_in_building.Rd
Replace elements in some building part of a model
replace_in_building(l, element, type, value)
list, corresponding to a subset of building part a model
character of length 1, where in the list should be find what to change
character of length 2, giving correspondence between original and final type
named vector, giving correspondence between new values (values) and old ones (names)
a list of same structure than l with types ans values changed.
if (FALSE) {
model = load_model("test_1", "dwelling")
building = replace_in_building(model[["building"]][["building"]])
}