Skip to content

KeyError: 'BATTERY: es1 Power (kW)' when running the default EV Battery Sizing scenario #1

Description

@mirkop-evcs

Dears,
trying to launch the analysis from the pre-set "EV Battery Sizing" configuration and adding my load timeseries (15-minutes timestep) the app terminates with this error:

[2025-08-20 09:44:03.057] [info]  Traceback (most recent call last):
  File "pandas/core/indexes/base.py", line 3805, in get_loc
  File "index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc
  File "index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 7081, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 7089, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'BATTERY: es1 Power (kW)'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "run_DERVET.py", line 57, in <module>
  File "dervet/DERVET.py", line 83, in solve
  File "storagevet/Result.py", line 91, in add_instance

[2025-08-20 09:44:03.061] [info]    File "dervet/MicrogridResult.py", line 68, in collect_results
  File "storagevet/Result.py", line 140, in collect_results
  File "dervet/MicrogridPOI.py", line 373, in merge_reports
  File "pandas/core/frame.py", line 4090, in __getitem__
  File "pandas/core/indexes/base.py", line 3812, in get_loc
KeyError: 'BATTERY: es1 Power (kW)'
[54272] Failed to execute script 'run_DERVET' due to unhandled exception!

[2025-08-20 09:44:03.361] [error] {}

I'm using DER-VET GUI 1.3.0 on macOS 15.5, Python 3.13.
Let me know if you need additional details!
Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions