-
Notifications
You must be signed in to change notification settings - Fork 7
Add performance map based RSYS systems #490
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
Merge from main.
| ASHPHYD "ASHPHydronic" | ||
| ASHPPKGRM "ASHPPkgRoom" | ||
| ASHPVC "VCHP2" | ||
| ASHPPM "ASHPPM|!VCHP3" |
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.
How does this work? I don't think I've seen this before?
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.
The choice scheme supports aliases. From cndtypes.def --
///////////////////////////////////////////////////////////////////////////////
// Choices: text <-> constant mapping
///////////////////////////////////////////////////////////////////////////////
// choice TEXT may specify aliases ("MAIN|ALIAS1|ALIAS2")
// choices may have TEXT beginning a prefix
// * = hidden (output only, not recognized on input)
// ! = alias (alternative wording for prior "real" choice
// ~ = deprecated alias (same as ! but info msg on input)
// else "normal"
// NOTE: only MAIN yields #define C_XXX_xxx
///////////////////////////////////////////////////////////////////////////////
src/CNRECS.DEF
Outdated
| *i CULSTR pmx_id // axis identifier (e.g. "DBT") | ||
| // cannot use PMGRIDAXIS.name | ||
| // multiple PMGRIDAXISs may use same pmx_id |
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.
I think we should call this "type" instead of "id"? "id" makes it sound like it's something the user can make up, but really it needs to match the types defined by the particular performance map use case.
src/CNRECS.DEF
Outdated
| *f *e FLOAT_GZ rs_COP115; // output: full speed cooling COP at 115F | ||
| *f *e FLOAT_GEZ rs_cap82; // output: total full speed net cooling capacity at 82 F (>= 0), Btuh | ||
| *f *e FLOAT_GZ rs_COP82; // output: full speed cooling COP at 82F | ||
| #if 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.
Clean up before merge.
src/cnloads.cpp
Outdated
| { // pre-2024 assumptions for non-ASHPPM types | ||
| // reverse-calc from prior hard-coded Btuh/ton values | ||
| float fanHeatPerTon = | ||
| #if 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.
Clean up?
src/cnloads.cpp
Outdated
| #endif | ||
| rs_IsPkgRoom() ? 0.f // package room: no fan power adjustment | ||
| : rs_fan.fn_motTy == C_MOTTYCH_PSC ? 500. // PSC: .365 W/cfm | ||
| #if 1 |
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.
Clean up?
src/cueval.cpp
Outdated
| return RCOK; | ||
| } // cupfree | ||
| //============================================================================ | ||
| #if 0 // out of service |
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.
Clean up?
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.
Yes
src/cueval.h
Outdated
| #endif | ||
| RC FC cuEvalR( void *ip, void **ppv, const char **pmsg, USI *pBadH); | ||
| RC FC cupfree( DMP *p); | ||
| #if 0 // out of service, 3-24 |
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.
Clean up?
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.
Yes
src/nummeth.cpp
Outdated
| return i; | ||
| } // ::regula | ||
| //----------------------------------------------------------------------------- | ||
| #if 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.
Clean up? What is this all about?
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.
Somebody's root finding method that I must have been fooling with. Deleted.
| // class PMGRIDAXIS: perfmap grid values (independent vars, e.g. DBT, speed, ) | ||
| // class PMLOOKUPDATA: perfmap performance data (e.g. capacity, power, ) | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
| PMACCESS::PMACCESS() |
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.
This class should be renamed so it's clear it is specific to the RSYS use-case.
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.
Maybe. Wait for typed performance map redesign and see what falls out.
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.
One 32-bit regression test is failing, and might want to change "DBT" to something more specific.
doc/src/records/performancemap.md
Outdated
| Documents the dimension of the axis, for example "DBT", "Speed", or "Flow". | ||
|
|
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.
Not just the dimension, but the actual grid variable (since, for example, multiple axes might be dry bulb temperatures). "DBT" should be changed to "OutdoorDryBulbTemperature" (or something similar).
Description
Support for revised variable speed heat pump model, including