Skip to content
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

Fix calculation of node RH, wetbulb, and dewpoint for EMS sensors if not also requested as an output variable #5307

Merged
merged 4 commits into from
Nov 10, 2015

Conversation

EnergyArchmage
Copy link
Contributor

fixes #4232.

NodeInputManager.unit.cc was not in CMakeLists
correct logic for check, correct string comparison, correct schedule
number
got unit test work single run
remove extra semicolon
@@ -1141,8 +1145,21 @@ namespace NodeInputManager {
}
}
}
if ( EMSManager::CheckIfNodeMoreInfoSensedByEMS( iNode, "System Node Wetbulb Temperature" ) ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Myoldmopar Style question - do we have a preference for new code for "using" verses full reference?

EMSManager::CheckIfNodeMoreInfoSensedByEMS( )
vs
using EMSManager
...
CheckIfNodeMoreInfoSensedByEMS( )

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I much prefer the full scope instead of using statements. This goes against the majority of the code, but that is likely where we are going eventually...

@mjwitte mjwitte changed the title 4232 add EMS sensor check to CalcMoreNodeInfo Fix calculation of node RH, wetbulb, and dewpoint for EMS sensors if not also requested as an output variable Nov 10, 2015
mjwitte added a commit that referenced this pull request Nov 10, 2015
…ensors

Fix calculation of node RH, wetbulb, and dewpoint for EMS sensors if not also requested as an output variable
@mjwitte mjwitte merged commit 0ccb287 into develop Nov 10, 2015
@mjwitte mjwitte deleted the 4232-CalcMoreNodeInfo-detect-EMS-Sensors branch November 10, 2015 16:45
@mjwitte mjwitte added the Defect Includes code to repair a defect in EnergyPlus label Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Includes code to repair a defect in EnergyPlus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node relative humidity, dewpoint, and wetbulb need to be calculated for EMS Sensor
6 participants