-
Notifications
You must be signed in to change notification settings - Fork 10
Feature: STEBBS profiles for Heating and Cooling setpoints, Appliance, Occupants and Hot Water #1038
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
base: master
Are you sure you want to change the base?
Conversation
Preview Deployed
Note This preview is ephemeral. It will be lost when:
To restore, push any commit to this PR. |
|
hi @sunt05 and @suegrimmond - I and @yiqing1021 have been working on this for a month now. Despire being aware that best practice would be to work on small set of commits for a PR,in this specific case we preferred to have all of these changes together for continuity. Happy to receive feedback and answer questions about what we have done so far. :) |
|
@dayantur I've been reviewing this PR and spotted a potential indexing issue that I'd like you to double-check. In idx = imin / 10 + 1 !for 10 minutes resolutionThe profile arrays are declared as But this calculation produces indices 1–144:
This would mean the first time bin is never used, and there's a potential out-of-bounds access at end of day. Should this be Could you verify whether this is intentional or needs correcting? |
Hi @sunt05 - this looks like a potential bug! Thanks for spotting this. @yiqing1021 what do you think? |
|
Hi @sunt05 , Thanks for spotting this bug. Yes, I agree we should remove +1. |
Yes I argree Ting's point and have pushed the change |
|
Thank you both @dayantur @yiqing1021 for the prompt fix - please resolve the conflict and and I'll then take another look later. |
|
hi @sunt05 - conflict should be now resolved! |
This PR implements STEBBS profiles of heating and cooling setpoints, appliance use, occupants, and hot water, and wires them through the full SuPy / Fortran SUEWS code.
Key changes
Tests & fixtures