EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE_OS

Supply values used in the weighted average price calculation are different from those used in the final output

Open
#506 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

I noticed while working on Alaa's model that the supply values used in the weighted average price calculation are different to (or at least not necessarily the same as) the supply values used in the final output.

It's been a while since I looked at this, but I seem to remember it's because the price calculation is using capacity data from the n-1'th iteration of the MCA rather than the final iteration. Right now I'm struggling to see how I came to this conclusion as the code is so completely impenetrable, but that's what I remember.

Just something to be aware of, but I think the correct approach is to thoroughly work through and simplify the code rather than trying to tackle this in isolation.

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.