BIM2SIM / bim2sim

A python tool to create simulation models for different domains based on BIM IFC models.
https://bim2sim.github.io/bim2sim/
GNU Lesser General Public License v3.0
46 stars 8 forks source link

track enrichment data sources #510

Closed veronikarichter closed 1 month ago

veronikarichter commented 1 year ago

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?

veronikarichter commented 1 year 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.

Cudok commented 12 months ago

General idea to add information about the source of the parameters:

ToDos:

  1. [ ] implement the source feature to the attribute task
  2. [ ] implement the source feature to the enrichment task
  3. [ ] discuss solution
  4. [ ] add/adapt a test
Cudok commented 10 months ago
DaJansenGit commented 9 months ago

Results of discussion with @Cudok on 03.01.2024

Ziel Struktur

Flowchart attribute system (aktueller Stand)

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

request system (WIP)

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"]
Cudok commented 8 months ago

actual situation of using cached_properties

Cudok commented 7 months ago

removed all cached_properties "orientation", because not needed anymore

Cudok commented 6 months ago

some structure figure were moved to issue " understanding the structure of bim2sim #640"

Cudok commented 2 months ago

Remove cached property

DaJansenGit commented 1 month ago

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: