Describe the bug
In the Energy Systems Hizard, we can select PV / BIPV technologies. These need to be assigned to a specific surface geometry, otherwise they won't be included in the electricity generation. As this is "hidden" in the hizard, we implemented a warning message in an earlier PR #625 that also turns the component orange. It would inform the user that there are PV techs in the hizard that have not been assigned to any actual surface. This feature works usually, but not in the following situation (see "To Reproduce")...
To Reproduce
Steps to reproduce the behavior:
Open the template file Hive_FullTemplate.gh
Navigate to the EnergySystems Hizard
Change the U, V parameters of the mesh component that connects to "Mesh/SolarTechProperties" of the Hizard. This will change the surface ID and thus clear it from the current PV assignment in the Hizard
You will see that the hizard will not turn orange as it should and that no warning message is created
Expected behavior
Upon changing anything the input surface (e.g., the U,V parameters), it will clear the assignment in the Hizard, and that should also trigger a warning. See screenshots
Screenshots
Changing U,V will clear assignment, but no warning and no orange component:
After opening and closing the hizard, it will trigger the warning correctly though:
Describe the bug In the Energy Systems Hizard, we can select PV / BIPV technologies. These need to be assigned to a specific surface geometry, otherwise they won't be included in the electricity generation. As this is "hidden" in the hizard, we implemented a warning message in an earlier PR #625 that also turns the component orange. It would inform the user that there are PV techs in the hizard that have not been assigned to any actual surface. This feature works usually, but not in the following situation (see "To Reproduce")...
To Reproduce Steps to reproduce the behavior:
Hive_FullTemplate.gh
Expected behavior Upon changing anything the input surface (e.g., the U,V parameters), it will clear the assignment in the Hizard, and that should also trigger a warning. See screenshots
Screenshots Changing U,V will clear assignment, but no warning and no orange component:
After opening and closing the hizard, it will trigger the warning correctly though:
Software