Skip to content

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

@tsmbland

Description

@tsmbland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions