-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
The parameter minimal_degree_of_autonomy in constraints.csv, which is a known_extra_parameter and has been implemented in this PR, should be set to its default value if not provided, according to @smartie2076 .
So far however, if not provided, the simulation exits with KeyError.
You can reproduce this
- setting
EXECUTE_TESTS_ONon "master" in /tests/_constants.py, - Removing the line with
minimal_degree_of_autonomyas input parameter for example in /tests/benchmark_test_inputs/AE_grid_battery/csv_elements/constraints.csv and - running the benchmark test
pytest test_benchmark_scenarios.py.
Doing this you'll get:
E KeyError: 'minimal_degree_of_autonomy'
../src/multi_vector_simulator/D2_model_constraints.py:92: KeyError
I've attached the full error message here: KeyError_DoA_mvs.txt
Checklist to make sure that the bug report ist complete:
- OS: Linux - Ubuntu 20.04.1 and macOS - Mojave 10.14.6
- Branch: dev, updated on 28. JAN. 2021, 14:43 MEZ
- If applicable: Attach full error message
- If applicable: Share screenshots/images of your problem
- If applicable: Share used input data
Please mark above checkboxes as following:
- Open
- Done
❌ Checkbox is not applicable to this bug report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request