Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use average flows over allocation intervals for realized in allocation.arrow #1356

Open
SouthEndMusic opened this issue Apr 4, 2024 · 0 comments
Labels
allocation Allocation layer core Issues related to the computational core in Julia

Comments

@SouthEndMusic
Copy link
Collaborator

What
Use average flows over allocation intervals for realized in allocation.arrow. In the case of level demand, use the difference in storage between the beginning and the end of the basin.

How
Integrate flows in integrate_flows! for the flows that are relevant for this allocation input, stored somewhere in the allocation data structure (make sure that this goes well in subnetworks where all optimizations are run twice). For the storage difference: use the current u and the previous one which can be taken from the integrator object (which is available in the update_allocation! function).

@SouthEndMusic SouthEndMusic added allocation Allocation layer core Issues related to the computational core in Julia labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allocation Allocation layer core Issues related to the computational core in Julia
Projects
Status: What's next
Development

No branches or pull requests

1 participant