Skip to content

Commit

Permalink
redid iEPlusNodeType
Browse files Browse the repository at this point in the history
  • Loading branch information
jmythms committed Mar 15, 2021
1 parent 8d3af6a commit 47f4f32
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 61 deletions.
36 changes: 20 additions & 16 deletions src/EnergyPlus/AirflowNetwork/include/AirflowNetwork/Elements.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,20 +163,24 @@ namespace AirflowNetwork {
};

// EPlus node type
extern int const EPlusTypeNum_ZIN; // Zone inlet node
extern int const EPlusTypeNum_ZOU; // Zone outlet node
extern int const EPlusTypeNum_SPL; // Splitter node
extern int const EPlusTypeNum_MIX; // Mixer node
extern int const EPlusTypeNum_OAN; // Outside air system node
extern int const EPlusTypeNum_EXT; // OA system inlet node
extern int const EPlusTypeNum_FIN; // Fan Inlet node
extern int const EPlusTypeNum_FOU; // Fan Outlet Node
extern int const EPlusTypeNum_COU; // Coil Outlet Node
extern int const EPlusTypeNum_HXO; // Heat exchanger Outlet Node
extern int const EPlusTypeNum_DIN; // Damper Inlet node
extern int const EPlusTypeNum_DOU; // Damper Outlet Node
extern int const EPlusTypeNum_SPI; // Splitter inlet Node
extern int const EPlusTypeNum_SPO; // Splitter Outlet Node
enum class iEPlusNodeType : int
{
Unassigned = 0,
ZIN = 1, // Zone inlet node
ZOU = 2, // Zone outlet node
SPL = 3, // Splitter node
MIX = 4, // Mixer node
OAN = 5, // Outside air system node
EXT = 6, // OA system inlet node
FIN = 7, // Fan Inlet node
FOU = 8, // Fan Outlet Node
COU = 9, // Coil Outlet Node
HXO = 10, // Heat exchanger Outlet Node
DIN = 11, // Damper Inlet node
DOU = 12, // Damper Outlet Node
SPI = 13, // Splitter inlet Node
SPO = 14 // Splitter Outlet Node
};

extern int const iWPCCntr_Input;
extern int const iWPCCntr_SurfAvg;
Expand Down Expand Up @@ -1288,14 +1292,14 @@ namespace AirflowNetwork {
int EPlusNodeNum;
int ExtNodeNum;
int OutAirNodeNum;
int EPlusTypeNum;
iEPlusNodeType EPlusTypeNum;
int RAFNNodeNum; // RoomAir model node number
int NumOfLinks; // Number of links for RoomAir model
int AirLoopNum; // AirLoop number

// Default Constructor
AirflowNetworkNodeProp()
: NodeHeight(0.0), NodeNum(0), NodeTypeNum(0), EPlusZoneNum(0), EPlusNodeNum(0), ExtNodeNum(0), OutAirNodeNum(0), EPlusTypeNum(0),
: NodeHeight(0.0), NodeNum(0), NodeTypeNum(0), EPlusZoneNum(0), EPlusNodeNum(0), ExtNodeNum(0), OutAirNodeNum(0), EPlusTypeNum(iEPlusNodeType::Unassigned),
RAFNNodeNum(0), NumOfLinks(0), AirLoopNum(0)
{
}
Expand Down
Loading

5 comments on commit 47f4f32

@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.

Global-Elements (jmythms) - x86_64-MacOS-10.15-clang-11.0.0: OK (3061 of 3061 tests passed, 47 test warnings)

Messages:\n

  • 47 tests had: ERR diffs.

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

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

Global-Elements (jmythms) - Win64-Windows-10-VisualStudio-16: OK (2310 of 2310 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

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

Global-Elements (jmythms) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1615 of 1615 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

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

Global-Elements (jmythms) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (3101 of 3101 tests passed, 52 test warnings)

Messages:\n

  • 52 tests had: ERR diffs.

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

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

Global-Elements (jmythms) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: OK (726 of 727 tests passed, 0 test warnings)

Failures:\n

integration Test Summary

  • Passed: 726
  • Timeout: 1

Build Badge Test Badge Coverage Badge

Please sign in to comment.