-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Address zone air terminal zone outdoor air flow rate reporting issues #7955
Conversation
Below is plots of Zone Air Terminal Outdoor Air Volume Flow Rate report variable for AirTerminal:SingleDuct:ConstantVolume:NoReheat air terminal object for develop and this branch. Develop shows zero flow rate because this variable was not assigned a value. This was based on a test file ASHRAE9012016_RestaurantFastFood_Denver.idf. This test file is added as a defect file. |
The *.rdd and *.Audit output files diffs are caused by addition of new report variable Zone Air Terminal Outdoor Air Volume Flow Rate to AirTerminal:SingleDuct:ConstantVolume:Reheat object. |
\paragraph{Zone Air Terminal Outdoor Air Volume Flow Rate {[}m3/s{]}}\label{zone-air-terminal-outdoor-air-volume-flow-rate-m3s} | ||
|
||
This output is the amount of outdoor air entering the zone. This is the average value over the frequency being reported. The amount of outdoor air is defined as the terminal unit air volume flow rate multiplied by the fraction of outdoor air entering the air loop's outside air system. | ||
|
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 is description of the new report variable added for AirTerminal:SingleDuct:ConstantVolume:Reheat air terminal unit.
\subsubsection{Outputs} | ||
|
||
There are no outputs for the constant volume reheat air terminal. | ||
|
||
\subsection{AirTerminal:SingleDuct:ConstantVolume:NoReheat}\label{airterminalsingleductconstantvolumenoreheat} |
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.
removed since a new report variable listed above is added.
|
||
\paragraph{Zone Air Terminal Outdoor Air Volume Flow Rate {[}m3/s{]}}\label{zone-air-terminal-outdoor-air-volume-flow-rate-m3s} | ||
|
||
This output is the amount of outdoor air entering the zone. This is the average value over the frequency being reported. The amount of outdoor air is defined as the terminal unit air volume flow rate multiplied by the fraction of outdoor air entering the air loop's outside air system. | ||
|
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 is missing description of existing report variable for AirTerminal:SingleDuct:ConstantVolume:NoReheat air terminal unit.
@@ -1529,7 +1529,6 @@ namespace DualDuct { | |||
this->dd_airterminalOutlet.AirMassFlowRateMaxAvail = MassFlow; | |||
this->dd_airterminalOutlet.AirMassFlowRateMinAvail = this->ZoneMinAirFrac * this->dd_airterminalHotAirInlet.AirMassFlowRateMax; | |||
this->dd_airterminalOutlet.AirEnthalpy = Enthalpy; | |||
this->OutdoorAirFlowRate = MassFlow * AirLoopOAFrac; |
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 is moved to a new common member function CalcOutdoorIAirVolumeFlowRate() added for AirTerminalDualDuct:VAV and AirTerminalDualDuct:ConstantVolume objects.
// do nothing for now | ||
} | ||
} | ||
|
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 new member common function added for use with AirTerminal:DualDuct:VAV and AirTerminal:DualDuct:ConstantVolume objects.
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.
Will there ever be anything in the ELSE block here?
"System", | ||
"Average", | ||
sd_airterminal(SysNum).SysName); | ||
|
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.
new report variable added for AirTerminal:SingleDuct:ConstantVolume:Reheat object.
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.
👍
@@ -3688,9 +3696,6 @@ namespace SingleDuct { | |||
} | |||
} | |||
|
|||
// set OA report variable | |||
this->OutdoorAirFlowRate = (MassFlow / StdRhoAir) * AirLoopOAFrac; | |||
|
|||
// push the flow rate history |
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.
moved to a common new member function added to singleduct air terminal struct.
// do nothing for now | ||
} | ||
} | ||
|
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 is the common new member function added to singleduct air terminal struct. This is used for all single air terminal but currently only four of the single duct air terminals have this report variable.
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.
"Same" function in two locations. I'm assuming there's not a parent component. Should there (eventually) be one?
@@ -5310,6 +5315,8 @@ namespace SingleDuct { | |||
if (Contaminant.GenericContamSimulation) { | |||
Node(OutletNode).GenContam = Node(InletNode).GenContam; | |||
} | |||
// set OA volume flow rate report variable | |||
this->CalcOutdoorAirVolumeFlowRate(); |
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 new member function is called during update() function call as it is used to update a report variable. This function is now invoked during update only improves performance by tiny amount.
This pull request is ready for review. |
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.
Pretty straight forward changes here. Assuming CI is happy, this should go in soon.
// do nothing for now | ||
} | ||
} | ||
|
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.
Will there ever be anything in the ELSE block here?
"System", | ||
"Average", | ||
sd_airterminal(SysNum).SysName); | ||
|
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.
👍
// do nothing for now | ||
} | ||
} | ||
|
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.
"Same" function in two locations. I'm assuming there's not a parent component. Should there (eventually) be one?
// check AT air mass flow rates | ||
EXPECT_EQ(expectedMassFlow, thisAirTerminalInlet.AirMassFlowRate); | ||
EXPECT_EQ(expectedMassFlow, thisAirTerminalOutlet.AirMassFlowRate); | ||
EXPECT_EQ(expected_OAVolFlowRate, thisAirTerminal.OutdoorAirFlowRate); // OA 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.
👌
HVAC,Average,Zone Air Terminal Outdoor Air Volume Flow Rate {[}m3/s{]} | ||
\end{itemize} | ||
|
||
\paragraph{Zone Air Terminal Outdoor Air Volume Flow Rate {[}m3/s{]}}\label{zone-air-terminal-outdoor-air-volume-flow-rate-m3s} |
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.
👍
HVAC,Average,Zone Air Terminal Outdoor Air Volume Flow Rate {[}m3/s{]} | ||
\end{itemize} | ||
|
||
\paragraph{Zone Air Terminal Outdoor Air Volume Flow Rate {[}m3/s{]}}\label{zone-air-terminal-outdoor-air-volume-flow-rate-m3s} |
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.
👍
Looks like this fell off my radar. I'm assuming CI is still happy, so this should be able to merge soon once that has run again with the latest develop pulled in. |
These CI results seem pretty reasonable. Added report variable showing AUD and RDD diffs. Github is currently dealing with an incident causing the gh-pages sites to not build, so that's why CI results aren't available (technically they are, and for that branch they are here). I think I'll go ahead and merge this in once the unit and integration tests finish. |
One. More. Time. Seriously, though. It's gonna happen this time. |
Some minor updates were needed in the unit tests due to the recent GIO changes. I ran the unit tests and 40-ish files locally, and it all looks good. The minor AUD and RDD diffs are expected, and CI has been consistently good here for a long time. I'm not waiting for CI to run on this again. Merging. |
Pull request overview
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.