Skip to contents

convert_model_to_yaml_structure() transforms the output of generate_model() 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_to_yaml_structure(
  model,
  thickness_wall_ext = 0.25,
  thickness_wall_int = 0.1
)

Arguments

model

list, generated by generate_model()

thickness_wall_ext

numeric, exterior wall thickness used in model generation

thickness_wall_int

numeric, interior wall thickness used in model generation

Value

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