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

Fix 2PT volume allocation #917

Merged
merged 4 commits into from
Apr 17, 2024
Merged

Fix 2PT volume allocation #917

merged 4 commits into from
Apr 17, 2024

Conversation

Jozzey
Copy link
Contributor

@Jozzey Jozzey commented Apr 17, 2024

https://eaflood.atlassian.net/browse/WATER-4377

It was found during testing that if the individual return line volumes are greater than the charge reference authorised volume, which in turn is greater than the element authorised volume. That the element was being over-allocated.

This PR fixes this issue and creates a new unit test to check for it as it wasn't being picked up previously.

https://eaflood.atlassian.net/browse/WATER-4377

It was found during testing that if the individual return line volumes are greater than the charge reference authorised volume, which in turn is greater than the element authorised volume. That the element was being over allocated.

This PR fixes this issue and creates a new unit test to check for it as it wasn't being picked up previously.
@Jozzey Jozzey added the bug Something isn't working label Apr 17, 2024
@Jozzey Jozzey self-assigned this Apr 17, 2024
@Jozzey Jozzey marked this pull request as ready for review April 17, 2024 14:38
@Jozzey Jozzey requested a review from Beckyrose200 April 17, 2024 14:50
Copy link
Contributor

@Beckyrose200 Beckyrose200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jozzey Jozzey merged commit b932afa into main Apr 17, 2024
6 checks passed
@Jozzey Jozzey deleted the fix-tpt-volume-allocation branch April 17, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants