add trap to not process population concurrence unless VRP present#6489
add trap to not process population concurrence unless VRP present#6489Myoldmopar merged 5 commits intodevelopfrom
Conversation
follow up for performance issue for standard 62.1 changes
…population-diversity-follow-up
| bool anyVRPinModel( false ); | ||
| for ( int AirLoopNum = 1; AirLoopNum <= NumPrimaryAirSys; ++AirLoopNum ) { | ||
| if ( FinalSysSizing( AirLoopNum ).SystemOAMethod == SOAM_VRP ) { | ||
| anyVRPinModel = true; |
|
@EnergyArchmage did you expect to see diffs like this produced? I checked the absdiff table results and it shows there is a difference of 1.0 on the population diversity value. Please confirm. Also, I agree with @rraustad that since this is a performance improvement, you might as well break early on that loop when you calculate |
|
Well there is tension between filling out std 62.1 tables as much as possible when VRP is not used and doing the calculations properly when VRP is used. But I can rework this to still provide people sums and a diversity of 1.0 without marching thru the schedules. I will push up changes shortly. |
|
@EnergyArchmage did you expect that last batch of changes to clean up the diffs "completely"? I'm not saying you need to, I was just curious about your intent with that last set of commits after my diff comment. Since there are still diffs. |
|
We expect diffs, right? Because we're not calculating diversity anymore unless VRP is active. |
|
Yes, the Ps value and D value are expected to change because the D is not being accurately calculated. These values are not really used for anything if not using VRP but they still have table entries. |
follow up for performance issue for standard 62.1 changes from #6372
Pull request overview
Please change this line to a description of the pull request, with useful supporting information including whether it is a new feature, or fixes a defect, a cross reference to any defects addressed in this PR, the type of changes to be made, and whether diffs are expected/justified based on this change.
Work Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Review Checklist
This will not be exhaustively relevant to every PR.