AntonelloDN / Morpho

🦋 A plugin to create Envimet 2.5D and 3D models (INX), write configuration files (SIMX) and run simulations
https://antonellodn.github.io/Morpho/
GNU Affero General Public License v3.0
20 stars 2 forks source link

Reading component issue with Envimet Lite version #5

Closed AntonelloDN closed 2 years ago

AntonelloDN commented 3 years ago

From LBT forum: I was trying to use morpho plugin to extract a visualize the results of a ENVI-met LITE 4.4.6 simulation, following the tutorial on the slice grid reader on the wikipage of the github page for morpho, and I got the following error with the output_folder component: Runtime error (Win32Exception): WindowsError Traceback: line 50, in script, which I did not get from the example files that work properly.

I think it happens because there are differences in my ENVI-met output folder and subfolder from the example: my subfolder inside “buildings” is “static” instead of “dynamic” and my subfolder list includes “log”, “receptors” and inflow and no “solaraccess” folders. I suppose it is because I am using ENVImet LITE 4.4.6., is it?

Just to understand the issue, I tweaked my folder (changed the name of “static” folder, deleted/added folders to look as the examples - I did not dare change the python code inside the component - and it works, but for slice grid reading only. As getting only the slicing grid result would be ok for me right now, is there another component to be used to solve the issue, or a way to modify the python code to deal also with the results when buildings are “static”?