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

Feature/add reservoir node #256

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

s-simoncelli
Copy link
Contributor

Hi,

as we discussed yesterday at the dev meeting, this is the new ReservoirNode. Some things to highlight:

  • The compensation flow is a Link with a min_flow constraint but it may be better to use a soft constraint (when the LinkNode with soft min constraint is ready?)
  • I added an option to auto-connect the comp node to the spill component. The user can disable it and connect the nodes as they wish using the slots
  • @knoxsp suggested that the bathymetry implementation differs from what's suggested in pywr-1 in PR #1115. This node allow using either a piecewise linear interpolation or a polynomial relation. I tagged him so he can comment on this.
  • The use_max_area to use the maximum surface area for the rainfall volume is not implemented yet because I am not sure how to get the max area from the Metrics in the bathymetry when the schema is built. There may be a solution I haven't thought about.

@s-simoncelli s-simoncelli marked this pull request as draft September 27, 2024 12:25
@s-simoncelli s-simoncelli marked this pull request as ready for review October 11, 2024 07:12
@s-simoncelli
Copy link
Contributor Author

I added the use_max_area option and the PR is now ready for review

@jetuk jetuk mentioned this pull request Nov 28, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant