-
Notifications
You must be signed in to change notification settings - Fork 9
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
Kitchen Tap discharge #46
Conversation
As discussed, this has highlighted the presence of a bug with implementation of discharge object. Issue described here #49 |
Added fix for simultaneous discharge events bug #49 . when calculating discharge the code checks if the starting discharge flow rate is not zero, if so it will update the start time to the next available zero flow time. |
@sophieoneill what do you think about adding a flag to the consumption or discharge object. Basically some way that allows the user to know which event in the |
@val-ismaili I think that's a good suggestion, to add a flag to the consumption or discharge object letting the user know if the event is consumption/drinking, but maybe more of a nice to have at this stage. I have logged it as an issue #55, for a future enhancement. |
Added the discharge patterns for KitchenTap. It uses the discharge object added in PR #39 . Works exactly the same as the BathroomTap, using a simple discharge flow of consistent discharge flow rate.
Consumption

Discharge
