idaholab / HERON

Holistic Energy Resource Optimization Network (HERON) is a modeling toolset and plugin for RAVEN to accelerate stochastic technoeconomic assessment of the economic viability of various grid-energy system configurations, especially with application to electrical grids and integrated energy systems (IES).
Apache License 2.0
22 stars 36 forks source link

Variable initial storage #346

Closed PaulTalbot-INL closed 3 months ago

PaulTalbot-INL commented 3 months ago

Pull Request Description

What issue does this change request address?

Closes #345

What are the significant changes in functionality due to this change request?

Allows initial storage level to be a solvable variable when applying periodic conditions. This means that initial_stored will be ignored when periodic conditions are applied.


For Change Control Board: Change Request Review

The following review must be completed by an authorized member of the Change Control Board.

PaulTalbot-INL commented 3 months ago

It looks like the Windows and Linux tests are arriving at different but equivalent solutions, as the diffs are all in the activity and not in the NPV. If I can get some time, I might just gold OS-dependent tests for this.

PaulTalbot-INL commented 3 months ago

I should never rebase, now it's tracking changes from Dylan's PR removing the mult target option. Will try to fix it.

PaulTalbot-INL commented 3 months ago

The files I primarily changed: Source

Tests

PaulTalbot-INL commented 3 months ago

@dylanjm something magic happened and I'm back down to just the changes for this PR. I also merged in the recent HERON_DATA change, and put the 2-year 21 step CSV that I generated into that central space. This should be ready for review now.