Skip to contents

convert_model() transforms the output of generate_model_coordinate() into a nested list organized by external walls and rooms. Openings are attached to the wall that contains them, preserving type, H, and coordinate fields.

Usage

convert_model(model, thickness_wall_ext = 0.25, thickness_wall_int = 0.1, ...)

Arguments

model

list, generated by generate_model_coordinate()

thickness_wall_ext

numeric, exterior wall thickness used in model generation

thickness_wall_int

numeric, interior wall thickness used in model generation

...

other parameter that will be added to $general in result

Value

list, structured like the YAML building definition with external walls and room walls containing opening definitions.