-
Notifications
You must be signed in to change notification settings - Fork 422
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
New outputs for infiltration and ventilation #10940
Conversation
|
|
|
At this point diffs are as expected due to new output variables. Regression Summary The ESO small diffs are due to a change in the order of calculations for air change rates. |
Here's a test file for infiltration. All instances use coefficients of 1,0,0,0 to get a constant volume flow rate at the specified density basis. The density basis has been added to the name of each infiltration object "IN" "STD" or "OUT". The first five are specified with flow/zone, the last two with ACH. Note that the ones based on Indoor density show some slight wiggle in the outputs due to the indoor density being slightly different when the mass flow rate is calculated in |
|
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.
Walkthru.
This still needs a new or extended unit test, but otherwise it's ready for review.
if (vol > 0.0) { | ||
Real64 secInHrOverVol = Constant::rSecsInHour / vol; | ||
thisInfiltration.InfilAirChangeRateCurDensity = thisInfiltration.InfilVdotCurDensity * secInHrOverVol; | ||
thisInfiltration.InfilAirChangeRateStdDensity = thisInfiltration.InfilVdotStdDensity * secInHrOverVol; | ||
thisInfiltration.InfilAirChangeRateOutDensity = thisInfiltration.InfilVdotOutDensity * secInHrOverVol; |
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.
Consolidate ACH calcs here. precalculating secInHrOverVol
introduces some tiny diffs.
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.
No problem.
@@ -911,10 +911,8 @@ void GetSimpleAirModelInputs(EnergyPlusData &state, bool &ErrorsFound) // IF err | |||
ShowContinueError(state, "Infiltration Coefficients are all zero. No Infiltration will be reported."); | |||
} | |||
} | |||
if (!lAlphaFieldBlanks(5)) { |
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.
Address earlier comment from @rraustad
SetupOutputVariable(state, | ||
"Infiltration Outdoor Density Volume Flow Rate", |
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.
Add new output variables.
Zone Hybrid Unitary HVAC DehumidificationLoad to Humidistat Setpoint Heat Tansfer Energy,Zone Hybrid Unitary HVAC Dehumidification Load to Humidistat Setpoint Heat Transfer Energy, | ||
Zone Hybrid Unitary HVAC Humidification Load to Humidistat Setpoint Heat Tansfer Energy,Zone Hybrid Unitary HVAC Humidification Load to Humidistat Setpoint Heat Transfer Energy, | ||
Infiltration Air Change Rate,Infiltration Current Density Air Change Rate, |
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.
3 existing output variables changed.
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.
👍
|
|
|
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.
Good to go.
Zone Infiltration Outdoor Density Air Change Rate | ||
Zone Ventilation Outdoor Density Volume Flow Rate | ||
Zone Ventilation Standard Density Air Change Rate | ||
Zone Ventilation Outdoor Density Air Change Rate |
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.
👍
Zone Hybrid Unitary HVAC DehumidificationLoad to Humidistat Setpoint Heat Tansfer Energy,Zone Hybrid Unitary HVAC Dehumidification Load to Humidistat Setpoint Heat Transfer Energy, | ||
Zone Hybrid Unitary HVAC Humidification Load to Humidistat Setpoint Heat Tansfer Energy,Zone Hybrid Unitary HVAC Humidification Load to Humidistat Setpoint Heat Transfer Energy, | ||
Infiltration Air Change Rate,Infiltration Current Density Air Change Rate, |
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.
👍
if (vol > 0.0) { | ||
Real64 secInHrOverVol = Constant::rSecsInHour / vol; | ||
thisInfiltration.InfilAirChangeRateCurDensity = thisInfiltration.InfilVdotCurDensity * secInHrOverVol; | ||
thisInfiltration.InfilAirChangeRateStdDensity = thisInfiltration.InfilVdotStdDensity * secInHrOverVol; | ||
thisInfiltration.InfilAirChangeRateOutDensity = thisInfiltration.InfilVdotOutDensity * secInHrOverVol; |
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.
No problem.
This is good, the diffs are acceptable. Thanks for this cleanup @mjwitte , merging. |
Pull request overview
Pull Request Author
If adding/removing any LaTeX docs or figures, update that document's CMakeLists file dependenciesReviewer