Closed veronikarichter closed 1 month ago
@DaJansenGit currently, heating and cooling profiles are extrapolated from heating and cooling setpoints available in IFC. I did not find a proper way (or setting) to change this setting to template-based and it took me a while to figure out that it is not the template data that is used for heating_profile and cooling_profile.
General idea to add information about the source of the parameters:
ToDos:
check()
EnrichUseConditions
und den Inhalt von ValidateLayerMaterials
komplett in conditions
überführenEnrichUseConditions
und den Inhalt von EnrichLayersMaterials
komplett in enrichment in attribute.py
überführen
enrichment='teaser'
oder enrichment='None'
mandatory
enrichment()
in attribute.py
schreibencreate_elements
task decisions triggern für attribute, die mandatory
sind um bspw. Baujahr sicher zu machenmandatory
abfrage noch in CheckIFC
und dann neuen Task der mandatory werte über decisions einholt (wenn <x werte, sonst abbruch)flowchart TB
gv["get_value()"]
ps{default_ps}
as{default_association}
fi{finder}
pt{patterns}
ft{functions}
de{default}
re[return value]
gv --> ps -->|Value not existing| as -->|Value not existing| fi -->|Value not existing| pt -->|Value not existing| ft -->|Value not existing| de
ps -->|Value exists| re
as -->|Value exists| re
fi -->|Value exists| re
pt -->|Value exists| re
ft -->|Value exists| re
de --> re
flowchart TB
re{"request()"}
req_params["request_param()"] --> req[requested attributes]
be -->|"get_pending_attribute_decisions(elements)"| decisions
be[base_elements] --> re -->|available| no[None]
re --> |"Not avialable"| dec[Decision]
ee["export_elements"] -->|"collect_params()"| pa["set value to export element parameter"]
actual situation of using cached_properties
cached_property
)removed all cached_properties "orientation", because not needed anymore
some structure figure were moved to issue " understanding the structure of bim2sim #640"
a first implementation of the data_source
information for attributes is done. We still need to figure out a clear guideline what information should be stored in which way:
Currently, racking the enrichment process within bim2sim requires manual checking of the resulting parameters. For practical applications we need information on the data that was obtained from the input IFC file and which parameters have been enriched from templates.
This information should be tracked for each instance and each parameter individually, as it is common that only partial information can be obtained from IFC. Maybe export the enrichment information as a dict with the exported models?