architecture-building-systems / CityEnergyAnalyst

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

KeyError: 'primary_components' when running optimization-new #3649

Closed KFSchlager closed 3 months ago

KFSchlager commented 3 months ago

Describe the bug KeyError when running optimization-new (centralized optimization): KeyError: 'primary_components'

To Reproduce I am not sure how to reproduce the error, it occurs, when i run optimization-new for district heating

Expected behaviour No error, optimized network

Screenshots grafik

Hardware (please complete the following information):

MatNif commented 3 months ago

Hi @KFSchlager,

Could you share the complete error message? These last few lines that you share are not quite enough to go by to identify what triggers the error in your case.

KFSchlager commented 3 months ago

Hi @MatNif, I think I resolved the issue, my Supply excel input file was outdated and didn't include the columns for primary, secondary and tertiary components. Now it works.

Thank you