-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
You get an error if you try to include the LCOE output:
ValueError: cannot insert hour, already exists
Raised by this line
To Reproduce
Include the following in the settings file for a model
[[outputs]]
quantity = "LCOE"
sink = "aggregate"
filename = "{cwd}/{default_output_dir}/MCA{Quantity}.csv"and you will get the error above
Expected behavior
This should work without error, and create a file containing the LCOE metric for the simulation. This worked when I tried it a few weeks ago investigating #316, so whatever the problem it's relatively new. I think it was very likely introduced by #289
Screenshots
If applicable, add screenshots to help explain your problem.
Context
Please, complete the following to better understand the system you are using to run MUSE.
- Operating system (eg. Windows 10):
- MUSE version (eg. 1.0.1): dev
- Installation method (eg. pipx, pip, development mode): dev
- Python version (you can get this running
python --version): 3.12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
✅ Done