tum-ens / urbs

A linear optimisation model for distributed energy systems
GNU General Public License v3.0
186 stars 132 forks source link

Change conversion parameters in scenarios.py #313

Closed philippklughardt closed 2 years ago

philippklughardt commented 2 years ago

Dear urbs community,

I would like to change some input/output ratios in the Process-Commodity tab within a scenario. Unfortunately, after defining pro_co = data['process-commodity'] in scenarios.py, I get the following error message when running the model: KeyError: 'process-commodity'

Has someone encountered this problem and could help me out? Thanks a lot in advance!

ojdo commented 2 years ago

The key is called process_commodity: https://github.com/tum-ens/urbs/blob/6368500ca32461dfe135c9427f240f2ca7b7f475/urbs/input.py#L160-L173