-
Notifications
You must be signed in to change notification settings - Fork 7
Submeters for METER and LOADMETER #393
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chipbarnaby just a couple comments on confusing names and unrelated changes.
| return rc; | ||
| } // cgSubMeterSetup | ||
| //------------------------------------------------------------------------------ | ||
| RC SUBMETERSEQ::smsq_Setup() // derive submeter sequences |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smsq? 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...nm. This is just a prefix. The context should be (mostly) clear based on the class name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smsq = submeter sequence
| wh_qLoss = BtuperkWh * wh_HPWH.hw_qLoss; // tank loss, + = to surround | ||
| wh_qEnv = BtuperkWh * wh_HPWH.hw_qEnv; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem relevant to this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not. Work on DHW energy balance became entangled.
| return true; | ||
| } // DGRAPH::dg_TopologicalSort | ||
| //----------------------------------------------------------------------------- | ||
| bool DGRAPH::dg_TopologicalSortDFS( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DFS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DFS = depth first search
Description
Initial implementation of submeters for METER and LOADMETER
Also includes incomplete DHWSYSRES accounting fixes.