-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeatBalanceSurfaceManager.hh
More file actions
166 lines (117 loc) · 5.32 KB
/
HeatBalanceSurfaceManager.hh
File metadata and controls
166 lines (117 loc) · 5.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
#ifndef HeatBalanceSurfaceManager_hh_INCLUDED
#define HeatBalanceSurfaceManager_hh_INCLUDED
// ObjexxFCL Headers
#include <ObjexxFCL/Optional.hh>
// EnergyPlus Headers
#include <EnergyPlus.hh>
namespace EnergyPlus {
namespace HeatBalanceSurfaceManager {
// Data
// MODULE PARAMETER DEFINITIONS:
// na
// DERIVED TYPE DEFINITIONS:
// na
// MODULE VARIABLE DECLARATIONS:
// na
// Subroutine Specifications for the Heat Balance Module
// Driver Routines
// Initialization routines for module
// Algorithms for the module
// These are now external subroutines
//PUBLIC CalcHeatBalanceOutsideSurf ! The heat balance routines are now public because the
//PUBLIC CalcHeatBalanceInsideSurf ! radiant systems need access to them in order to simulate
// Record Keeping/Utility Routines for Module
// Reporting routines for module
// Functions
void
ManageSurfaceHeatBalance();
// Beginning Initialization Section of the Module
//******************************************************************************
void
InitSurfaceHeatBalance();
void
GatherForPredefinedReport();
void
AllocateSurfaceHeatBalArrays();
void
InitThermalAndFluxHistories();
void
InitSolarHeatGains();
void
InitIntSolarDistribution();
void
ComputeIntThermalAbsorpFactors();
void
ComputeIntSWAbsorpFactors();
void
ComputeDifSolExcZonesWIZWindows( int const NumberOfZones ); // Number of zones
void
InitEMSControlledSurfaceProperties();
void
InitEMSControlledConstructions();
// End Initialization Section of the Module
//******************************************************************************
// Begin Algorithm Section of the Module
//******************************************************************************
// Beginning of Record Keeping subroutines for the HB Module
// *****************************************************************************
void
UpdateFinalSurfaceHeatBalance();
void
UpdateThermalHistories();
void
CalculateZoneMRT( Optional_int_const ZoneToResimulate = _ ); // if passed in, then only calculate surfaces that have this zone
// End of Record Keeping subroutines for the HB Module
// *****************************************************************************
// Beginning of Reporting subroutines for the HB Module
// *****************************************************************************
void
ReportSurfaceHeatBalance();
// End of Reporting subroutines for the HB Module
// *****************************************************************************
} // HeatBalanceSurfaceManager
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
// EXTERNAL SUBROUTINES (heavily related to HeatBalanceSurfaceManager)
void
CalcHeatBalanceOutsideSurf( Optional_int_const ZoneToResimulate = _ ); // if passed in, then only calculate surfaces that have this zone
void
CalcHeatBalanceInsideSurf( Optional_int_const ZoneToResimulate = _ ); // if passed in, then only calculate surfaces that have this zone
void
CalcOutsideSurfTemp(
int const SurfNum, // Surface number DO loop counter
int const ZoneNum, // Zone number the current surface is attached to
int const ConstrNum, // Construction index for the current surface
Real64 const HMovInsul, // "Convection" coefficient of movable insulation
Real64 const TempExt // Exterior temperature boundary condition
);
void
CalcExteriorVentedCavity( int const SurfNum ); // index of surface
void
GatherComponentLoadsSurfAbsFact();
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
// NOTICE
// Copyright © 1996-2014 The Board of Trustees of the University of Illinois
// and The Regents of the University of California through Ernest Orlando Lawrence
// Berkeley National Laboratory. All rights reserved.
// Portions of the EnergyPlus software package have been developed and copyrighted
// by other individuals, companies and institutions. These portions have been
// incorporated into the EnergyPlus software package under license. For a complete
// list of contributors, see "Notice" located in main.cc.
// NOTICE: The U.S. Government is granted for itself and others acting on its
// behalf a paid-up, nonexclusive, irrevocable, worldwide license in this data to
// reproduce, prepare derivative works, and perform publicly and display publicly.
// Beginning five (5) years after permission to assert copyright is granted,
// subject to two possible five year renewals, the U.S. Government is granted for
// itself and others acting on its behalf a paid-up, non-exclusive, irrevocable
// worldwide license in this data to reproduce, prepare derivative works,
// distribute copies to the public, perform publicly and display publicly, and to
// permit others to do so.
// TRADEMARKS: EnergyPlus is a trademark of the US Department of Energy.
} // EnergyPlus
#endif