EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE_OS

[BUG] Some outputs fail to work

Open
#659 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Description

In MUSE 1.3.3, I get the following error when using the `emission_costs`, `fuel_costs` and `capital_costs` outputs:

  File "...venv\Lib\site-packages\xarray\core\indexes.py", line 791, in sel

raise KeyError(
...<2 lines>...
) from e
KeyError: "not all values found in index 'year'. Try setting the 'method' keyword argument (example: method='nearest')."

Additionally, the `LCOE` and `AEC` outputs produce the following:

  File "...venv\Lib\site-packages\xarray\core\common.py", line 302, in __getattr__

raise AttributeError(
f"{type(self).__name__!r} object has no attribute {name!r}"
)
AttributeError: 'Dataset' object has no attribute 'enduse'

It seems to be related to #421, but these errors did not appear in MUSE 1.3.2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.