As due to swigPy objects coming from IfcOpenShell and OCC we can't directly serialize a whole bim2sim project or even the elements structure with serializers like pickle. That is not too bad as we still can load the decisions from previous runs and so replicate the same results based on an existing project without user input.
But especially for post processing we don't want to run a whole project again if we just want to have some plots. Plots need two core information:
the simulation results
the element structure with its information (e.g. the area of ThermalZone instances to create a floorplan plot)
Simulation results
Those can simply be loaded from the existing project from the result files. For dymola/modelica simulations those are the .mat files, for EnergyPlus it should be possible with the .csv files.
element structure
This is tricky due to serialization problem described above and what we will try to solve within this issue.
As due to swigPy objects coming from IfcOpenShell and OCC we can't directly serialize a whole bim2sim project or even the elements structure with serializers like pickle. That is not too bad as we still can load the decisions from previous runs and so replicate the same results based on an existing project without user input.
But especially for post processing we don't want to run a whole project again if we just want to have some plots. Plots need two core information:
ThermalZone
instances to create a floorplan plot)Simulation results
Those can simply be loaded from the existing project from the result files. For dymola/modelica simulations those are the .mat files, for EnergyPlus it should be possible with the .csv files.
element structure
This is tricky due to serialization problem described above and what we will try to solve within this issue.