architecture-building-systems / CityEnergyAnalyst

The City Energy Analyst (CEA)
https://www.cityenergyanalyst.com/
MIT License
194 stars 61 forks source link

Unable to plot optimization results #3639

Open ldrame21 opened 1 month ago

ldrame21 commented 1 month ago

Describe the bug I'm unable to plot the optimization results from the "Supply System Part. II (centralized)" using the UI. I get blocked as the "generation" parameter box is greyed out (see picture).

I think the problem comes from the optmization_new script. Looking into it, I noticed that the checkpoints were not saved in the optimization/master folder.

Is there a way around or a way to use the old optimization script instead?

To Reproduce Steps to reproduce the behavior:

  1. Run all the steps necessary until optimization part II using the GUI
  2. Try to plot the Pareto Curve using the GUI

Expected behavior Not able to plot anything related to optimization

Screenshots

Screenshot 2024-07-22 at 10 39 11

Hardware (please complete the following information):

MatNif commented 1 month ago

Hi @ldrame21,

I'm sorry, but the plotting of the optimisation results is currently not functional. I have created visualisations for the new script on another CEA branch (called 'visualisations-for-new-optimisation-scirpt'), but I am lagging on their implementation in the dashboard.

If you are interested, feel free to test for visualisation on the new branch. You can find them under 'cea/plots/optimisation_new' on the visualisation branch. I'm also happy to receive your feedback regarding which visualisations you find useful and which you might want us to improve.

ldrame21 commented 1 month ago

Hi @MatNif,

Thank you for your answer. For now I will try to use an older version as I need to provide results before the end of august. Do you know what version I could use?

I will not hesitate to give you feedback on the visualization if I have any idea or comment!