rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

Feature/coupled maximumCap #848

Closed ciaradunks closed 3 years ago

ciaradunks commented 3 years ago

Fix #Issue

Changes proposed in this pull request:

The following steps were realized, as well (if applies):

For more information on how to contribute check the CONTRIBUTING.md.

ciaradunks commented 3 years ago

@smartie2076 after making the suggested changes and running the tests, KeyError: 'maximumAddCap' is returned from D1.transformer_constant_efficiency_optimize(), for instance. Do you have an idea of why this is happening?

smartie2076 commented 3 years ago

Yes, I do! It is the same thing that was the case in the other PR: The input files for the D0and D1tests are json files: tests/test_data/inputs_for_D0/mvs_config.json and tests/test_data/inputs_for_D1/mvs_config.json. You need to add the new parameter there as well... :/