Skip to content

Commit

Permalink
Space HVAC - repair Add SpaceHVAC:EquipmentConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwitte committed Aug 1, 2023
1 parent 84eb3b3 commit 3dcd66b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 11 additions & 11 deletions src/EnergyPlus/DataZoneEquipment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -402,18 +402,18 @@ void GetZoneEquipmentData(EnergyPlusData &state)
for (int spaceNum : thisZone.spaceIndexes) {
++spaceCount;
if (state.dataHeatBal->space(spaceNum).SystemZoneNodeNumber == 0) {
std::string spaceNodeName = format("{}-Space {}", state.dataLoopNodes->NodeID(thisZone.SystemZoneNodeNumber), spaceCount);
int spaceNodeNum = GetOnlySingleNode(state,
spaceNodeName,
state.dataZoneEquip->GetZoneEquipmentDataErrorsFound,
DataLoopNode::ConnectionObjectType::ZoneHVACEquipmentConnections,
AlphArray(1),
DataLoopNode::NodeFluidType::Air,
DataLoopNode::ConnectionType::ZoneNode,
NodeInputManager::CompFluidStream::Primary,
DataLoopNode::ObjectIsNotParent);
state.dataHeatBal->space(spaceNum).SystemZoneNodeNumber = spaceNodeNum;
}
std::string spaceNodeName = format("{}-Space {}", AlphArray(5), spaceCount);
int spaceNodeNum = GetOnlySingleNode(state,
spaceNodeName,
state.dataZoneEquip->GetZoneEquipmentDataErrorsFound,
DataLoopNode::ConnectionObjectType::ZoneHVACEquipmentConnections,
AlphArray(1),
DataLoopNode::NodeFluidType::Air,
DataLoopNode::ConnectionType::ZoneNode,
NodeInputManager::CompFluidStream::Primary,
DataLoopNode::ObjectIsNotParent);
state.dataHeatBal->space(spaceNum).SystemZoneNodeNumber = spaceNodeNum;
}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/EnergyPlus/ZoneTempPredictorCorrector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4420,7 +4420,6 @@ Real64 ZoneSpaceHeatBalanceData::correctAirTemp(
// SNLOAD is the single zone load, without Zone Multiplier or Zone List Multiplier
SNLoad = ZoneEnthalpyIn - (thisSystemNode.MassFlowRate / ZoneMult) * CpAir * thisSystemNode.Temp + this->NonAirSystemResponse / ZoneMult +
this->SysDepZoneLoadsLagged;
Real64 dummy = SNLoad;

} else {

Expand Down

2 comments on commit 3dcd66b

@nrel-bot
Copy link

Choose a reason for hiding this comment

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

SpaceSizingHVAC (mjwitte) - Win64-Windows-10-VisualStudio-16: OK (2673 of 2673 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

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

SpaceSizingHVAC (mjwitte) - x86_64-MacOS-10.17-clang-13.0.0: OK (3445 of 3446 tests passed, 770 test warnings)

Messages:\n

  • 771 tests had: AUD diffs.
  • 1 test had: BND diffs.
  • 1 test had: EIO diffs.
  • 1 test had: ESO big diffs.
  • 1 test had: Table big diffs.

Failures:\n

regression Test Summary

  • Passed: 771
  • Failed: 1

Build Badge Test Badge

Please sign in to comment.