-
Couldn't load subscription status.
- Fork 7
Add heating charge factor #536
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nealkruis
reviewed
Mar 28, 2025
src/srd.h
Outdated
| // returns true iff word modernized (word updated) | ||
| // else false | ||
| { | ||
| bool bMatch = _strcmpi(word, mp_oldWord) == 0; |
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.
_strcmpi is not standard C++
|
You could fix this to keep things moving.
…On Fri, Mar 28, 2025, 10:28 Neal Kruis ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/srd.h
<#536 (comment)>:
> +public:
+ MODERNIZEPAIR(const char* oldWord, const char* curWord)
+ : mp_oldWord{ oldWord }, mp_curWord{ curWord }
+ {}
+ bool mp_IsEnd() const
+ {
+ return mp_oldWord==nullptr;
+ }
+ bool mp_ModernizeIf(
+ const char* &word) const // word that may need modernizing
+ // e.g. from user input
+ // returned updated if needed
+ // returns true iff word modernized (word updated)
+ // else false
+ {
+ bool bMatch = _strcmpi(word, mp_oldWord) == 0;
_strcmpi is not standard C++
—
Reply to this email directly, view it on GitHub
<#536 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWGW7H4IF47CV6VWOXUZPD2WVMCFAVCNFSM6AAAAABZ57NXSWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDOMRVG4ZTSMJWHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
nealkruis
approved these changes
Mar 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Generalized RSYS charge factor scheme.
These changes results in smaller autosized capacities, but that is expected and has only a minor impact on energy results.
ALSO merged branch "modernize" that allows mapping of old to new probe names.
Small test results changes (due to autosizing differences). Reference files are reviewed and updated.
Documentation updated.