architecture-building-systems / CityEnergyAnalyst

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

Debug mode in demand script cause issues #3565

Closed peppenappi closed 2 months ago

peppenappi commented 2 months ago

Describe the bug When running the Demand script with the debug mode on, I receive the following error:

Traceback (most recent call last): File "C:\Users\nimathia\Documents\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\pandas\io\excel_util.py", line 93, in get_writer raise ValueError(f"No Excel writer '{engine_name}'") from err ValueError: No Excel writer 'xlwt'

On the other hand, when setting debug mode off, the code works perfectly. The error should be linked to the writing of the results from the simulation.

To Reproduce Steps to reproduce the behavior:

  1. Go to Demand Forecasting on CEA
  2. Click on Debug mode to activate it
  3. Wait for the simulation to end
  4. The error will appear eventually