Open yiqiaowang-arch opened 7 months ago
Hi @yiqiaowang-arch
Thanks for bringing up this issue and sorry for the late reply. Would you mind sending me your case in a zip folder? It would facilitate debugging.
Hi @MatNif, here is my input folder of my setup. inputs.zip I'm sorry for the late reply (as we were focusing on other tasks during the last week) and hope this helps with the issue.
Describe the bug When running optimization beta script, I received an error about one building (B302011886) and the optimization wouldn't continue. I looked into the solar potential files and found out that solar collector (SC) yield for this building is almost always nan. Example of SC potential result:![image](https://github.com/architecture-building-systems/CityEnergyAnalyst/assets/28997207/cb1a83a0-f209-4269-a72d-1602406a35a8)
B302011886 info:
Possible reasons could be that I set the inflow temperature to default (75°C), and the solar radiation is just not strong enough to heat up the water, so no yield is generated. This building is a parking lot and is very small, hidden among other buildings, causing it to not gain enough radiation. (But I also set the installation threshold of PVT and SC to be above 800kWh/m2a, so it should not consider this building in the beginning.)
In the following output generated by optimization beta script, some other buildings also have problems in their PVT or SC results, but the script did not stop on those buildings (for example, B302060757).
B302060757 info:
![image](https://github.com/architecture-building-systems/CityEnergyAnalyst/assets/28997207/a68d46d5-d029-4a72-8a55-d68f1d01c8c2)
Expected Behaviour I would first expect the SC or PVT script to generate correct output according to the radiation threshold. Then, if a building is totally unable to produce any heat, it should be correctly considered in the optimization beta script. Below are example SC and PVT files that doesn't have a valid output: solar potential two buildings.zip
Error: