Line data Source code
1 : // EnergyPlus, Copyright (c) 1996-2025, The Board of Trustees of the University of Illinois,
2 : // The Regents of the University of California, through Lawrence Berkeley National Laboratory
3 : // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
4 : // National Laboratory, managed by UT-Battelle, Alliance for Sustainable Energy, LLC, and other
5 : // contributors. All rights reserved.
6 : //
7 : // NOTICE: This Software was developed under funding from the U.S. Department of Energy and the
8 : // U.S. Government consequently retains certain rights. As such, the U.S. Government has been
9 : // granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable,
10 : // worldwide license in the Software to reproduce, distribute copies to the public, prepare
11 : // derivative works, and perform publicly and display publicly, and to permit others to do so.
12 : //
13 : // Redistribution and use in source and binary forms, with or without modification, are permitted
14 : // provided that the following conditions are met:
15 : //
16 : // (1) Redistributions of source code must retain the above copyright notice, this list of
17 : // conditions and the following disclaimer.
18 : //
19 : // (2) Redistributions in binary form must reproduce the above copyright notice, this list of
20 : // conditions and the following disclaimer in the documentation and/or other materials
21 : // provided with the distribution.
22 : //
23 : // (3) Neither the name of the University of California, Lawrence Berkeley National Laboratory,
24 : // the University of Illinois, U.S. Dept. of Energy nor the names of its contributors may be
25 : // used to endorse or promote products derived from this software without specific prior
26 : // written permission.
27 : //
28 : // (4) Use of EnergyPlus(TM) Name. If Licensee (i) distributes the software in stand-alone form
29 : // without changes from the version obtained under this License, or (ii) Licensee makes a
30 : // reference solely to the software portion of its product, Licensee must refer to the
31 : // software as "EnergyPlus version X" software, where "X" is the version number Licensee
32 : // obtained under this License and may not use a different name for the software. Except as
33 : // specifically required in this Section (4), Licensee shall not use in a company name, a
34 : // product name, in advertising, publicity, or other promotional activities any name, trade
35 : // name, trademark, logo, or other designation of "EnergyPlus", "E+", "e+" or confusingly
36 : // similar designation, without the U.S. Department of Energy's prior written consent.
37 : //
38 : // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
39 : // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
40 : // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
41 : // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
42 : // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43 : // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
44 : // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
45 : // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
46 : // POSSIBILITY OF SUCH DAMAGE.
47 :
48 : // ObjexxFCL Headers
49 : #include <ObjexxFCL/Array.functions.hh>
50 :
51 : // EnergyPlus Headers
52 : #include <EnergyPlus/Data/EnergyPlusData.hh>
53 : #include <EnergyPlus/OutputReportPredefined.hh>
54 :
55 : namespace EnergyPlus {
56 :
57 : namespace OutputReportPredefined {
58 :
59 : // MODULE INFORMATION:
60 : // AUTHOR Jason Glazer of GARD Analytics, Inc.
61 : // DATE WRITTEN August 2006
62 : // MODIFIED na
63 : // RE-ENGINEERED na
64 : // PURPOSE OF THIS MODULE:
65 : // Support the creation of predefined tabular output.
66 : // METHODOLOGY EMPLOYED:
67 : // REFERENCES:
68 : // None.
69 : // OTHER NOTES:.
70 : // Using/Aliasing
71 : // Data
72 : // The following section initializes the predefined column heading variables
73 : // The variables get their value in AssignPredefined
74 :
75 : // Internal data structures to store information provided by calls
76 :
77 234 : void SetPredefinedTables(EnergyPlusData &state)
78 : {
79 : // SUBROUTINE INFORMATION:
80 : // AUTHOR Jason Glazer
81 : // DATE WRITTEN August 2006
82 : // MODIFIED
83 : // RE-ENGINEERED na
84 :
85 : // PURPOSE OF THIS SUBROUTINE:
86 : // Creates the structure of the predefined reports
87 : // including the name and abbreviation of the report
88 : // the subtables involved and the column headings.
89 : // The variables defined for the columns are then
90 : // used throughout the program to assign values
91 : // to the subtables.
92 :
93 : // METHODOLOGY EMPLOYED:
94 : // Simple assignments to public variables.
95 :
96 : // Climate Summary Report
97 :
98 234 : auto const &s = state.dataOutRptPredefined;
99 :
100 234 : s->pdrClim = newPreDefReport(state, "ClimaticDataSummary", "Clim", "Climatic Data Summary");
101 :
102 234 : s->pdstDesDay = newPreDefSubTable(state, s->pdrClim, "SizingPeriod:DesignDay");
103 :
104 234 : s->pdchDDmaxDB = newPreDefColumn(state, s->pdstDesDay, "Maximum Dry Bulb [C]");
105 234 : s->pdchDDrange = newPreDefColumn(state, s->pdstDesDay, "Daily Temperature Range [deltaC]");
106 234 : s->pdchDDhumid = newPreDefColumn(state, s->pdstDesDay, "Humidity Value");
107 234 : s->pdchDDhumTyp = newPreDefColumn(state, s->pdstDesDay, "Humidity Type");
108 234 : s->pdchDDwindSp = newPreDefColumn(state, s->pdstDesDay, "Wind Speed [m/s]");
109 234 : s->pdchDDwindDr = newPreDefColumn(state, s->pdstDesDay, "Wind Direction");
110 :
111 234 : s->pdstMonthlyPrec = newPreDefSubTable(state, s->pdrClim, "Monthly Precipitation Summary");
112 :
113 234 : s->pdchMonthlyTotalPrecInWeather = newPreDefColumn(state, s->pdstMonthlyPrec, "Monthly Total Precipitation from .epw [mm]");
114 234 : s->pdchMonthlyTotalHrRain = newPreDefColumn(state, s->pdstMonthlyPrec, "Monthly Total Hours of Rain from .epw");
115 234 : s->pdchMonthlyTotalPrecInSitePrec = newPreDefColumn(state, s->pdstMonthlyPrec, "Monthly Total Precipitation in Site:Precipitation [mm]");
116 234 : s->pdchMonthlyTotalIrrDep = newPreDefColumn(state, s->pdstMonthlyPrec, "Monthly Total Roof Irrigation Depth [mm]");
117 234 : s->pdchMonthlyTotalRainCol = newPreDefColumn(state, s->pdstMonthlyPrec, "Monthly Total Rain Collection Volume [m3]");
118 :
119 234 : s->pdstWthr = newPreDefSubTable(state, s->pdrClim, "Weather Statistics File");
120 234 : s->pdchWthrVal = newPreDefColumn(state, s->pdstWthr, "Value");
121 :
122 : // Envelope Report
123 :
124 234 : s->pdrEnvelope = newPreDefReport(state, "EnvelopeSummary", "Env", "Envelope Summary");
125 :
126 234 : s->pdstOpaque = newPreDefSubTable(state, s->pdrEnvelope, "Opaque Exterior");
127 :
128 234 : s->pdchOpCons = newPreDefColumn(state, s->pdstOpaque, "Construction");
129 234 : s->pdchOpZone = newPreDefColumn(state, s->pdstOpaque, "Zone");
130 234 : s->pdchOpSpace = newPreDefColumn(state, s->pdstOpaque, "Space");
131 234 : s->pdchOpRefl = newPreDefColumn(state, s->pdstOpaque, "Reflectance");
132 234 : s->pdchOpUfactFilm = newPreDefColumn(state, s->pdstOpaque, "U-Factor with Film [W/m2-K]");
133 234 : s->pdchOpUfactNoFilm = newPreDefColumn(state, s->pdstOpaque, "U-Factor no Film [W/m2-K]");
134 234 : s->pdchOpGrArea = newPreDefColumn(state, s->pdstOpaque, "Gross Area [m2]");
135 234 : s->pdchOpNetArea = newPreDefColumn(state, s->pdstOpaque, "Net Area [m2]");
136 234 : s->pdchOpAzimuth = newPreDefColumn(state, s->pdstOpaque, "Azimuth [deg]");
137 234 : s->pdchOpTilt = newPreDefColumn(state, s->pdstOpaque, "Tilt [deg]");
138 234 : s->pdchOpDir = newPreDefColumn(state, s->pdstOpaque, "Cardinal Direction");
139 :
140 234 : s->pdstIntOpaque = newPreDefSubTable(state, s->pdrEnvelope, "Opaque Interior");
141 :
142 234 : s->pdchIntOpCons = newPreDefColumn(state, s->pdstIntOpaque, "Construction");
143 234 : s->pdchIntOpZone = newPreDefColumn(state, s->pdstIntOpaque, "Zone");
144 234 : s->pdchIntOpSpace = newPreDefColumn(state, s->pdstIntOpaque, "Space");
145 234 : s->pdchIntOpAdjSurf = newPreDefColumn(state, s->pdstIntOpaque, "Adjacent Surface");
146 234 : s->pdchIntOpRefl = newPreDefColumn(state, s->pdstIntOpaque, "Reflectance");
147 234 : s->pdchIntOpUfactFilm = newPreDefColumn(state, s->pdstIntOpaque, "U-Factor with Film [W/m2-K]");
148 234 : s->pdchIntOpUfactNoFilm = newPreDefColumn(state, s->pdstIntOpaque, "U-Factor no Film [W/m2-K]");
149 234 : s->pdchIntOpGrArea = newPreDefColumn(state, s->pdstIntOpaque, "Gross Area [m2]");
150 234 : s->pdchIntOpNetArea = newPreDefColumn(state, s->pdstIntOpaque, "Net Area [m2]");
151 234 : s->pdchIntOpAzimuth = newPreDefColumn(state, s->pdstIntOpaque, "Azimuth [deg]");
152 234 : s->pdchIntOpTilt = newPreDefColumn(state, s->pdstIntOpaque, "Tilt [deg]");
153 234 : s->pdchIntOpDir = newPreDefColumn(state, s->pdstIntOpaque, "Cardinal Direction");
154 :
155 234 : s->pdstFen = newPreDefSubTable(state, s->pdrEnvelope, "Exterior Fenestration");
156 :
157 234 : s->pdchFenCons = newPreDefColumn(state, s->pdstFen, "Construction");
158 234 : s->pdchFenZone = newPreDefColumn(state, s->pdstFen, "Zone");
159 234 : s->pdchFenSpace = newPreDefColumn(state, s->pdstFen, "Space");
160 234 : s->pdchFenFrameDivName = newPreDefColumn(state, s->pdstFen, "Frame and Divider");
161 234 : s->pdchFenGlassAreaOf1 = newPreDefColumn(state, s->pdstFen, "Glass Area [m2]");
162 234 : s->pdchFenFrameAreaOf1 = newPreDefColumn(state, s->pdstFen, "Frame Area [m2]");
163 234 : s->pdchFenDividerAreaOf1 = newPreDefColumn(state, s->pdstFen, "Divider Area [m2]");
164 234 : s->pdchFenAreaOf1 = newPreDefColumn(state, s->pdstFen, "Area of One Opening [m2]");
165 234 : s->pdchFenArea = newPreDefColumn(state, s->pdstFen, "Area of Multiplied Openings [m2]");
166 234 : s->pdchFenUfact = newPreDefColumn(state, s->pdstFen, "Glass U-Factor [W/m2-K]");
167 234 : s->pdchFenSHGC = newPreDefColumn(state, s->pdstFen, "Glass SHGC");
168 234 : s->pdchFenVisTr = newPreDefColumn(state, s->pdstFen, "Glass Visible Transmittance");
169 234 : s->pdchFenFrameConductance = newPreDefColumn(state, s->pdstFen, "Frame Conductance [W/m2-K]");
170 234 : s->pdchFenDividerConductance = newPreDefColumn(state, s->pdstFen, "Divider Conductance [W/m2-K]");
171 234 : s->pdchFenAssemNfrcType = newPreDefColumn(state, s->pdstFen, "NFRC Product Type");
172 234 : s->pdchFenAssemUfact = newPreDefColumn(state, s->pdstFen, "Assembly U-Factor [W/m2-K]");
173 234 : s->pdchFenAssemSHGC = newPreDefColumn(state, s->pdstFen, "Assembly SHGC");
174 234 : s->pdchFenAssemVisTr = newPreDefColumn(state, s->pdstFen, "Assembly Visible Transmittance");
175 234 : s->pdchFenSwitchable = newPreDefColumn(state, s->pdstFen, "Shade Control");
176 234 : s->pdchFenParent = newPreDefColumn(state, s->pdstFen, "Parent Surface");
177 234 : s->pdchFenAzimuth = newPreDefColumn(state, s->pdstFen, "Azimuth [deg]");
178 234 : s->pdchFenTilt = newPreDefColumn(state, s->pdstFen, "Tilt [deg]");
179 234 : s->pdchFenDir = newPreDefColumn(state, s->pdstFen, "Cardinal Direction");
180 :
181 234 : s->pdstFenShd = newPreDefSubTable(state, s->pdrEnvelope, "Exterior Fenestration Shaded State");
182 :
183 234 : s->pdchFenShdFrameDiv = newPreDefColumn(state, s->pdstFenShd, "Frame and Divider");
184 234 : s->pdchFenShdUfact = newPreDefColumn(state, s->pdstFenShd, "Glass U-Factor [W/m2-K]");
185 234 : s->pdchFenShdSHGC = newPreDefColumn(state, s->pdstFenShd, "Glass SHGC");
186 234 : s->pdchFenShdVisTr = newPreDefColumn(state, s->pdstFenShd, "Glass Visible Transmittance");
187 234 : s->pdchFenShdAssemNfrcType = newPreDefColumn(state, s->pdstFenShd, "NFRC Product Type");
188 234 : s->pdchFenShdAssemUfact = newPreDefColumn(state, s->pdstFenShd, "Assembly U-Factor [W/m2-K]");
189 234 : s->pdchFenShdAssemSHGC = newPreDefColumn(state, s->pdstFenShd, "Assembly SHGC");
190 234 : s->pdchFenShdAssemVisTr = newPreDefColumn(state, s->pdstFenShd, "Assembly Visible Transmittance");
191 :
192 234 : s->pdstIntFen = newPreDefSubTable(state, s->pdrEnvelope, "Interior Fenestration");
193 :
194 234 : s->pdchIntFenCons = newPreDefColumn(state, s->pdstIntFen, "Construction");
195 234 : s->pdchIntFenZone = newPreDefColumn(state, s->pdstIntFen, "Zone");
196 234 : s->pdchIntFenSpace = newPreDefColumn(state, s->pdstIntFen, "Space");
197 234 : s->pdchIntFenAreaOf1 = newPreDefColumn(state, s->pdstIntFen, "Area of One Opening [m2]");
198 234 : s->pdchIntFenArea = newPreDefColumn(state, s->pdstIntFen, "Area of Openings [m2]");
199 234 : s->pdchIntFenUfact = newPreDefColumn(state, s->pdstIntFen, "Glass U-Factor [W/m2-K]");
200 234 : s->pdchIntFenSHGC = newPreDefColumn(state, s->pdstIntFen, "Glass SHGC");
201 234 : s->pdchIntFenVisTr = newPreDefColumn(state, s->pdstIntFen, "Glass Visible Transmittance");
202 234 : s->pdchIntFenParent = newPreDefColumn(state, s->pdstIntFen, "Parent Surface");
203 : // s->pdchIntFenGlassAreaOf1 = newPreDefColumn(state, s->pdstIntFen,'Glass Area [m2]')
204 : // s->pdchIntFenFrameAreaOf1 = newPreDefColumn(state, s->pdstIntFen,'Frame Area [m2]')
205 : // s->pdchIntFenDividerAreaOf1 = newPreDefColumn(state, s->pdstIntFen,'Divider Area [m2]')
206 : // s->pdchIntFenFrameConductance = newPreDefColumn(state, s->pdstIntFen,'Frame Conductance [W/m2-K]')
207 : // s->pdchIntFenDividerConductance = newPreDefColumn(state, s->pdstIntFen,'Divider Conductance [W/m2-K]')
208 :
209 234 : s->pdstDoor = newPreDefSubTable(state, s->pdrEnvelope, "Exterior Door");
210 234 : s->pdchDrCons = newPreDefColumn(state, s->pdstDoor, "Construction");
211 234 : s->pdchDrZone = newPreDefColumn(state, s->pdstDoor, "Zone");
212 234 : s->pdchDrSpace = newPreDefColumn(state, s->pdstDoor, "Space");
213 234 : s->pdchDrUfactFilm = newPreDefColumn(state, s->pdstDoor, "U-Factor with Film [W/m2-K]");
214 234 : s->pdchDrUfactNoFilm = newPreDefColumn(state, s->pdstDoor, "U-Factor no Film [W/m2-K]");
215 234 : s->pdchDrGrArea = newPreDefColumn(state, s->pdstDoor, "Gross Area [m2]");
216 234 : s->pdchDrParent = newPreDefColumn(state, s->pdstDoor, "Parent Surface");
217 :
218 234 : s->pdstIntDoor = newPreDefSubTable(state, s->pdrEnvelope, "Interior Door");
219 :
220 234 : s->pdchIntDrCons = newPreDefColumn(state, s->pdstIntDoor, "Construction");
221 234 : s->pdchIntDrZone = newPreDefColumn(state, s->pdstIntDoor, "Zone");
222 234 : s->pdchIntDrSpace = newPreDefColumn(state, s->pdstIntDoor, "Space");
223 234 : s->pdchIntDrUfactFilm = newPreDefColumn(state, s->pdstIntDoor, "U-Factor with Film [W/m2-K]");
224 234 : s->pdchIntDrUfactNoFilm = newPreDefColumn(state, s->pdstIntDoor, "U-Factor no Film [W/m2-K]");
225 234 : s->pdchIntDrGrArea = newPreDefColumn(state, s->pdstIntDoor, "Gross Area [m2]");
226 234 : s->pdchIntDrParent = newPreDefColumn(state, s->pdstIntDoor, "Parent Surface");
227 :
228 234 : s->pdstOpqConsLayers = newPreDefSubTable(state, s->pdrEnvelope, "Opaque Construction Layers");
229 :
230 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 1"));
231 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 2"));
232 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 3"));
233 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 4"));
234 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 5"));
235 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 6"));
236 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 7"));
237 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 8"));
238 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 9"));
239 234 : s->pdchOpqConsLayCol.push_back(newPreDefColumn(state, s->pdstOpqConsLayers, "Layer 10"));
240 :
241 : // Shading Report
242 234 : s->pdrShading = newPreDefReport(state, "ShadingSummary", "Shade", "Shading Summary");
243 :
244 234 : s->pdstSunlitFrac = newPreDefSubTable(state, s->pdrShading, "Sunlit Fraction");
245 :
246 234 : s->pdchSlfMar21_9 = newPreDefColumn(state, s->pdstSunlitFrac, "March 21 9am");
247 234 : s->pdchSlfMar21_12 = newPreDefColumn(state, s->pdstSunlitFrac, "March 21 noon");
248 234 : s->pdchSlfMar21_15 = newPreDefColumn(state, s->pdstSunlitFrac, "March 21 3pm");
249 234 : s->pdchSlfJun21_9 = newPreDefColumn(state, s->pdstSunlitFrac, "June 21 9am");
250 234 : s->pdchSlfJun21_12 = newPreDefColumn(state, s->pdstSunlitFrac, "June 21 noon");
251 234 : s->pdchSlfJun21_15 = newPreDefColumn(state, s->pdstSunlitFrac, "June 21 3pm");
252 234 : s->pdchSlfDec21_9 = newPreDefColumn(state, s->pdstSunlitFrac, "December 21 9am");
253 234 : s->pdchSlfDec21_12 = newPreDefColumn(state, s->pdstSunlitFrac, "December 21 noon");
254 234 : s->pdchSlfDec21_15 = newPreDefColumn(state, s->pdstSunlitFrac, "December 21 3pm");
255 :
256 234 : s->pdstWindowControl = newPreDefSubTable(state, s->pdrShading, "Window Control");
257 :
258 234 : s->pdchWscName = newPreDefColumn(state, s->pdstWindowControl, "Name");
259 234 : s->pdchWscShading = newPreDefColumn(state, s->pdstWindowControl, "Type");
260 234 : s->pdchWscShadCons = newPreDefColumn(state, s->pdstWindowControl, "Shaded Construction");
261 234 : s->pdchWscControl = newPreDefColumn(state, s->pdstWindowControl, "Control");
262 234 : s->pdchWscGlare = newPreDefColumn(state, s->pdstWindowControl, "Glare Control");
263 :
264 : // Lighting Report
265 234 : s->pdrLighting = newPreDefReport(state, "LightingSummary", "Light", "Lighting Summary");
266 :
267 234 : s->pdstInLite = newPreDefSubTable(state, s->pdrLighting, "Interior Lighting");
268 :
269 234 : s->pdchInLtZone = newPreDefColumn(state, s->pdstInLite, "Zone Name");
270 234 : s->pdchInLtSpace = newPreDefColumn(state, s->pdstInLite, "Space Name");
271 234 : s->pdchInLtSpaceType = newPreDefColumn(state, s->pdstInLite, "Space Type");
272 234 : s->pdchInLtDens = newPreDefColumn(state, s->pdstInLite, "Lighting Power Density [W/m2]");
273 234 : s->pdchInLtArea = newPreDefColumn(state, s->pdstInLite, "Space Area [m2]");
274 234 : s->pdchInLtPower = newPreDefColumn(state, s->pdstInLite, "Total Power [W]");
275 234 : s->pdchInLtEndUse = newPreDefColumn(state, s->pdstInLite, "End Use Subcategory");
276 234 : s->pdchInLtSchd = newPreDefColumn(state, s->pdstInLite, "Schedule Name");
277 234 : s->pdchInLtAvgHrSchd = newPreDefColumn(state, s->pdstInLite, "Scheduled Hours/Week [hr]");
278 234 : s->pdchInLtAvgHrOper = newPreDefColumn(state, s->pdstInLite, "Hours/Week > 1% [hr]");
279 234 : s->pdchInLtFullLoadHrs = newPreDefColumn(state, s->pdstInLite, "Full Load Hours/Week [hr]");
280 234 : s->pdchInLtRetAir = newPreDefColumn(state, s->pdstInLite, "Return Air Fraction");
281 234 : s->pdchInLtCond = newPreDefColumn(state, s->pdstInLite, "Conditioned (Y/N)");
282 234 : s->pdchInLtConsump = newPreDefColumn(state, s->pdstInLite, "Consumption [GJ]");
283 :
284 234 : s->pdstDaylight = newPreDefSubTable(state, s->pdrLighting, "Daylighting");
285 :
286 234 : s->pdchDyLtZone = newPreDefColumn(state, s->pdstDaylight, "Zone");
287 234 : s->pdchDyLtCtrlName = newPreDefColumn(state, s->pdstDaylight, "Control Name");
288 234 : s->pdchDyLtKind = newPreDefColumn(state, s->pdstDaylight, "Daylighting Method"); // detailed or DElight
289 234 : s->pdchDyLtCtrlType = newPreDefColumn(state, s->pdstDaylight, "Control Type"); // stepped or continuous
290 234 : s->pdchDyLtFrac = newPreDefColumn(state, s->pdstDaylight, "Fraction Controlled");
291 234 : s->pdchDyLtWInst = newPreDefColumn(state, s->pdstDaylight, "Lighting Installed in Zone [W]");
292 234 : s->pdchDyLtWCtrl = newPreDefColumn(state, s->pdstDaylight, "Lighting Controlled [W]");
293 :
294 234 : s->pdstExtLite = newPreDefSubTable(state, s->pdrLighting, "Exterior Lighting");
295 :
296 234 : s->pdchExLtPower = newPreDefColumn(state, s->pdstExtLite, "Total Watts");
297 234 : s->pdchExLtClock = newPreDefColumn(state, s->pdstExtLite, "Astronomical Clock/Schedule");
298 234 : s->pdchExLtSchd = newPreDefColumn(state, s->pdstExtLite, "Schedule Name");
299 234 : s->pdchExLtAvgHrSchd = newPreDefColumn(state, s->pdstExtLite, "Scheduled Hours/Week [hr]");
300 234 : s->pdchExLtAvgHrOper = newPreDefColumn(state, s->pdstExtLite, "Hours/Week > 1% [hr]");
301 234 : s->pdchExLtFullLoadHrs = newPreDefColumn(state, s->pdstExtLite, "Full Load Hours/Week [hr]");
302 234 : s->pdchExLtConsump = newPreDefColumn(state, s->pdstExtLite, "Consumption [GJ]");
303 :
304 : // HVAC Equipment Report
305 :
306 234 : s->pdrEquip = newPreDefReport(state, "EquipmentSummary", "Equip", "Equipment Summary");
307 :
308 234 : s->pdstMech = newPreDefSubTable(state, s->pdrEquip, "Central Plant");
309 :
310 234 : s->pdchMechType = newPreDefColumn(state, s->pdstMech, "Type");
311 234 : s->pdchMechNomCap = newPreDefColumn(state, s->pdstMech, "Reference Capacity [W]");
312 234 : s->pdchMechNomEff = newPreDefColumn(state, s->pdstMech, "Reference Efficiency [W/W]");
313 234 : s->pdchMechRatCap = newPreDefColumn(state, s->pdstMech, "Rated Capacity [W]");
314 234 : s->pdchMechRatEff = newPreDefColumn(state, s->pdstMech, "Rated Efficiency [W/W]");
315 : // Note: We don't want any of these to convert.
316 : // The Btu/W-h isn't going to convert anyways, and the W/W will convert to W/W since it has "SI" in the string as a hint
317 234 : s->pdchMechIPLVSI = newPreDefColumn(state, s->pdstMech, "IPLV in SI Units [W/W]");
318 234 : s->pdchMechIPLVIP = newPreDefColumn(state, s->pdstMech, "IPLV in IP Units [Btu/W-h]");
319 :
320 : // Ok Constant Object Name Module Example File
321 : // -- ------------------------------- -------------------------------------- ------------------------ -----------------
322 : // o CoilDX_CoolingSingleSpeed Coil:Cooling:DX:SingleSpeed DXCoil FurnaceWithDXSystem
323 : // x CoilDX_CoolingTwoSpeed Coil:Cooling:DX:TwoSpeed DXCoil 5ZoneAutoDXVAV
324 : // o CoilDX_CoolingTwoStageWHumControl Coil:Cooling:DX: DXCoil SmOffPSZ-MultiModeDX
325 : // TwoStageWithHumidityControlMode
326 : // o CoilDX_MultiSpeedCooling Coil:Cooling:DX:MultiSpeed DXCoil MultispeedHeatPump
327 : // o Coil_CoolingWater Coil:Cooling:Water HVACWaterCoilComponent 5ZoneAirCooled
328 : // o Coil_CoolingWaterDetailed Coil:Cooling:Water:DetailedGeometry HVACWaterCoilComponent 5zoneWaterSystems
329 : // o Coil_CoolingWaterToAirHP Coil:Cooling:WaterToAirHeatPump: HVACWaterToAir 5ZoneWaterLoopHeatPump
330 : // ParameterEstimation
331 : // o Coil_CoolingWaterToAirHPSimple Coil:Cooling:WaterToAirHeatPump: HVACWaterToAir HeatPumpWaterToAirEquationFit
332 : // EquationFit
333 :
334 : // o CoilDX_HeatingEmpirical Coil:Heating:DX:SingleSpeed DXCoil HeatPumpAuto
335 : // o CoilDX_MultiSpeedHeating Coil:Heating:DX:MultiSpeed DXCoil MultispeedHeatPump
336 : // o Coil_HeatingGasOrOtherFuel Coil:Heating:Fuel HVACHeatingCoils 5ZoneAutoDXVAV
337 : // o Coil_HeatingElectric Coil:Heating:Electric HVACHeatingCoils PackagedTerminalAirConditioner
338 : // o Coil_HeatingDesuperheater Coil:Heating:Desuperheater HVACHeatingCoils SuperMarket_DesuperHeatingCoil
339 : // o Coil_HeatingWater Coil:Heating:Water HVACWaterCoilComponent 5ZoneAirCooled
340 : // o Coil_HeatingWaterToAirHP Coil:Heating:WaterToAirHeatPump: HVACWaterToAir 5ZoneWaterLoopHeatPump
341 : // ParameterEstimation
342 : // o Coil_HeatingWaterToAirHPSimple Coil:Heating:WaterToAirHeatPump: HVACWaterToAir HeatPumpWaterToAirEquationFit
343 : // EquationFit
344 : // o CoilDX_HeatPumpWaterHeater Coil:WaterHeating:AirToWaterHeatPump DXCoil HeatPumpWaterHeater
345 :
346 : // NOT INCLUDED:
347 : // CoilDX_CoolingHXAssisted CoilSystem:Cooling:DX: HVACHXAssistedCooolingCoil
348 : // HeatExchangerAssisted
349 : // CoilWater_CoolingHXAssisted CoilSystem:Cooling:Water: HVACHXAssistedCooolingCoil
350 : // HeatExchangerAssisted
351 :
352 234 : s->pdstCoolCoil = newPreDefSubTable(state, s->pdrEquip, "Cooling Coils");
353 :
354 234 : s->pdchCoolCoilType = newPreDefColumn(state, s->pdstCoolCoil, "Type");
355 234 : s->pdchCoolCoilDesCap = newPreDefColumn(state, s->pdstCoolCoil, "Design Coil Load [W]");
356 234 : s->pdchCoolCoilTotCap = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Total Capacity [W]");
357 234 : s->pdchCoolCoilSensCap = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Sensible Capacity [W]");
358 234 : s->pdchCoolCoilLatCap = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Latent Capacity [W]");
359 234 : s->pdchCoolCoilSHR = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Sensible Heat Ratio");
360 234 : s->pdchCoolCoilNomEff = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Efficiency [W/W]");
361 234 : s->pdchCoolCoilUATotal = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Coil UA Value [W/C]");
362 234 : s->pdchCoolCoilArea = newPreDefColumn(state, s->pdstCoolCoil, "Nominal Coil Surface Area [m2]");
363 :
364 234 : s->pdstDXCoolCoil = newPreDefSubTable(state, s->pdrEquip, "DX Cooling Coil Standard Ratings 2017");
365 234 : s->pdchDXCoolCoilType = newPreDefColumn(state, s->pdstDXCoolCoil, "Cooling Coil Type (1)");
366 234 : s->pdchDXCoolCoilNetCapSI = newPreDefColumn(state, s->pdstDXCoolCoil, "Standard Rating Net Cooling Capacity [W][2]");
367 :
368 234 : s->pdchDXCoolCoilCOP = newPreDefColumn(state, s->pdstDXCoolCoil, "Standard Rating Net COP [W/W][2]");
369 234 : s->pdchDXCoolCoilEERIP = newPreDefColumn(state, s->pdstDXCoolCoil, "EER [Btu/W-h][2]");
370 234 : s->pdchDXCoolCoilSEERUserIP = newPreDefColumn(state, s->pdstDXCoolCoil, "SEER User [Btu/W-h][2,3]");
371 234 : s->pdchDXCoolCoilSEERStandardIP = newPreDefColumn(state, s->pdstDXCoolCoil, "SEER Standard [Btu/W-h][2,3]");
372 234 : s->pdchDXCoolCoilIEERIP = newPreDefColumn(state, s->pdstDXCoolCoil, "IEER [Btu/W-h][2]");
373 :
374 : // for DX Cooling Coil AHRI Standard 2023 Ratings | SEER2
375 234 : s->pdstDXCoolCoil_2023 = newPreDefSubTable(state, s->pdrEquip, "DX Cooling Coil Standard Ratings 2023");
376 234 : s->pdchDXCoolCoilType_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "Cooling Coil Type (1)");
377 234 : s->pdchDXCoolCoilNetCapSI_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "Standard Rating Net Cooling Capacity [W][2]");
378 :
379 234 : s->pdchDXCoolCoilCOP_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "Standard Rating Net COP2 [W/W][2,4]");
380 234 : s->pdchDXCoolCoilEERIP_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "EER2 [Btu/W-h][2,4]");
381 234 : s->pdchDXCoolCoilSEER2UserIP_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "SEER2 User [Btu/W-h][2,3]");
382 234 : s->pdchDXCoolCoilSEER2StandardIP_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "SEER2 Standard [Btu/W-h][2,3]");
383 234 : s->pdchDXCoolCoilIEERIP_2023 = newPreDefColumn(state, s->pdstDXCoolCoil_2023, "IEER [Btu/W-h][2]");
384 :
385 : // for DX Cooling Coil ASHRAE 127-12 Report
386 234 : s->pdstDXCoolCoil2 = newPreDefSubTable(state, s->pdrEquip, "DX Cooling Coil ASHRAE 127 Standard Ratings Report");
387 234 : s->pdchDXCoolCoilType2 = newPreDefColumn(state, s->pdstDXCoolCoil2, "DX Cooling Coil Type");
388 234 : s->pdchDXCoolCoilNetCapSIA = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Net Cooling Capacity Test A [W]");
389 234 : s->pdchDXCoolCoilElecPowerA = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Electric Power Test A [W]");
390 234 : s->pdchDXCoolCoilNetCapSIB = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Net Cooling Capacity Test B [W]");
391 234 : s->pdchDXCoolCoilElecPowerB = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Electric Power Test B [W]");
392 234 : s->pdchDXCoolCoilNetCapSIC = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Net Cooling Capacity Test C [W]");
393 234 : s->pdchDXCoolCoilElecPowerC = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Electric Power Test C [W]");
394 234 : s->pdchDXCoolCoilNetCapSID = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Net Cooling Capacity Test D [W]");
395 234 : s->pdchDXCoolCoilElecPowerD = newPreDefColumn(state, s->pdstDXCoolCoil2, "Rated Electric Power Test D [W]");
396 :
397 : // Water-to-Air HP report
398 234 : s->pdstWAHP = newPreDefSubTable(state, s->pdrEquip, "Water-to-Air Heat Pumps at Rated Temperatures Report");
399 234 : s->pdchWAHPType = newPreDefColumn(state, s->pdstWAHP, "Coil Type");
400 234 : s->pdchWAHPRatedCapAtRatedCdts = newPreDefColumn(state, s->pdstWAHP, "Rated Total Capacity [W]");
401 234 : s->pdchWAHPRatedSensCapAtRatedCdts = newPreDefColumn(state, s->pdstWAHP, "Rated Sensible Capacity [W]");
402 234 : s->pdchWAHPRatedPowerAtRatedCdts = newPreDefColumn(state, s->pdstWAHP, "Rated Power[W]");
403 234 : s->pdchWAHPRatedCOPAtRatedCdts = newPreDefColumn(state, s->pdstWAHP, "Rated COP [W/W]");
404 234 : s->pdchWAHPRatedAirDBT = newPreDefColumn(state, s->pdstWAHP, "Rated Air Dry-bulb Temperature [C]");
405 234 : s->pdchWAHPRatedAirWBT = newPreDefColumn(state, s->pdstWAHP, "Rated Air Wet-bulb Temperature [C]");
406 234 : s->pdchWAHPRatedWtrT = newPreDefColumn(state, s->pdstWAHP, "Rated Water Temperature [C]");
407 234 : s->pdchWAHPDD = newPreDefColumn(state, s->pdstWAHP, "Design Day used for Sizing");
408 :
409 234 : s->pdstDXHeatCoil = newPreDefSubTable(state, s->pdrEquip, "DX Heating Coils");
410 234 : s->pdchDXHeatCoilType = newPreDefColumn(state, s->pdstDXHeatCoil, "DX Heating Coil Type");
411 234 : s->pdchDXHeatCoilHighCap = newPreDefColumn(state, s->pdstDXHeatCoil, "High Temperature Heating (net) Rating Capacity [W]");
412 234 : s->pdchDXHeatCoilLowCap = newPreDefColumn(state, s->pdstDXHeatCoil, "Low Temperature Heating (net) Rating Capacity [W]");
413 234 : s->pdchDXHeatCoilHSPFIP = newPreDefColumn(state, s->pdstDXHeatCoil, "HSPF [Btu/W-h]");
414 234 : s->pdchDXHeatCoilRegionNum = newPreDefColumn(state, s->pdstDXHeatCoil, "Region Number");
415 : // Std 229 Predef outputs for DX Heating Coils
416 468 : s->pdchDXHeatCoilMinOADBTforCompOp =
417 234 : newPreDefColumn(state, s->pdstDXHeatCoil, "Minimum Outdoor Dry-Bulb Temperature for Compressor Operation [C]");
418 234 : s->pdchDXHeatCoilSuppHiT = newPreDefColumn(state, s->pdstDXHeatCoil, "Supplemental Heat High Shutoff Temperature [C]");
419 234 : s->pdchDXHeatCoilAirloopName = newPreDefColumn(state, s->pdstDXHeatCoil, "Airloop Name");
420 :
421 : // for DX Heating Coil AHRI Standard 2023 Ratings | HSPF2
422 234 : s->pdstDXHeatCoil_2023 = newPreDefSubTable(state, s->pdrEquip, "DX Heating Coils AHRI 2023");
423 234 : s->pdchDXHeatCoilType_2023 = newPreDefColumn(state, s->pdstDXHeatCoil_2023, "DX Heating Coil Type");
424 234 : s->pdchDXHeatCoilHighCap_2023 = newPreDefColumn(state, s->pdstDXHeatCoil_2023, "High Temperature Heating (net) Rating Capacity [W]");
425 234 : s->pdchDXHeatCoilLowCap_2023 = newPreDefColumn(state, s->pdstDXHeatCoil_2023, "Low Temperature Heating (net) Rating Capacity [W]");
426 234 : s->pdchDXHeatCoilHSPF2IP_2023 = newPreDefColumn(state, s->pdstDXHeatCoil_2023, "HSPF2 [Btu/W-h]");
427 234 : s->pdchDXHeatCoilRegionNum_2023 = newPreDefColumn(state, s->pdstDXHeatCoil_2023, "Region Number");
428 : // Std 229 Predef outputs for DX Heating Coils AHRI 2023
429 468 : s->pdchDXHeatCoilMinOADBTforCompOp_2023 =
430 234 : newPreDefColumn(state, s->pdstDXHeatCoil_2023, "Minimum Outdoor Dry-Bulb Temperature for Compressor Operation [C]");
431 234 : s->pdchDXHeatCoilAirloopName_2023 = newPreDefColumn(state, s->pdstDXHeatCoil_2023, "Airloop Name");
432 :
433 234 : s->pdstHeatCoil = newPreDefSubTable(state, s->pdrEquip, "Heating Coils");
434 :
435 234 : s->pdchHeatCoilType = newPreDefColumn(state, s->pdstHeatCoil, "Type");
436 234 : s->pdchHeatCoilDesCap = newPreDefColumn(state, s->pdstHeatCoil, "Design Coil Load [W]");
437 234 : s->pdchHeatCoilNomCap = newPreDefColumn(state, s->pdstHeatCoil, "Nominal Total Capacity [W]");
438 234 : s->pdchHeatCoilNomEff = newPreDefColumn(state, s->pdstHeatCoil, "Nominal Efficiency [W/W]");
439 : // Std 229 Predef outputs for Heating Coils
440 234 : s->pdchHeatCoilUsedAsSupHeat = newPreDefColumn(state, s->pdstHeatCoil, "Used as Supplementary Heat");
441 234 : s->pdchHeatCoilAirloopName = newPreDefColumn(state, s->pdstHeatCoil, "Airloop Name");
442 234 : s->pdchHeatCoilPlantloopName = newPreDefColumn(state, s->pdstHeatCoil, "Plantloop Name");
443 :
444 234 : s->pdstFan = newPreDefSubTable(state, s->pdrEquip, "Fans");
445 :
446 234 : s->pdchFanType = newPreDefColumn(state, s->pdstFan, "Type");
447 234 : s->pdchFanTotEff = newPreDefColumn(state, s->pdstFan, "Total Efficiency [W/W]");
448 234 : s->pdchFanDeltaP = newPreDefColumn(state, s->pdstFan, "Delta Pressure [pa]");
449 234 : s->pdchFanVolFlow = newPreDefColumn(state, s->pdstFan, "Max Air Flow Rate [m3/s]");
450 234 : s->pdchFanPwr = newPreDefColumn(state, s->pdstFan, "Rated Electricity Rate [W]");
451 234 : s->pdchFanPwrPerFlow = newPreDefColumn(state, s->pdstFan, "Rated Power Per Max Air Flow Rate [W-s/m3]");
452 234 : s->pdchFanMotorIn = newPreDefColumn(state, s->pdstFan, "Motor Heat In Air Fraction");
453 234 : s->pdchFanEnergyIndex = newPreDefColumn(state, s->pdstFan, "Fan Energy Index");
454 234 : s->pdchFanEndUse = newPreDefColumn(state, s->pdstFan, "End Use Subcategory");
455 234 : s->pdchFanDesDay = newPreDefColumn(state, s->pdstFan, "Design Day Name for Fan Sizing Peak");
456 234 : s->pdchFanPkTime = newPreDefColumn(state, s->pdstFan, "Date/Time for Fan Sizing Peak");
457 : // Std 229 Predef outputs for Fans
458 234 : s->pdchFanPurpose = newPreDefColumn(state, s->pdstFan, "Purpose");
459 234 : s->pdchFanAutosized = newPreDefColumn(state, s->pdstFan, "Is Autosized");
460 234 : s->pdchFanMotorEff = newPreDefColumn(state, s->pdstFan, "Motor Efficiency");
461 234 : s->pdchFanMotorHeatToZoneFrac = newPreDefColumn(state, s->pdstFan, "Motor Heat to Zone Fraction");
462 234 : s->pdchFanMotorHeatZone = newPreDefColumn(state, s->pdstFan, "Motor Loss Zone Name");
463 234 : s->pdchFanAirLoopName = newPreDefColumn(state, s->pdstFan, "Airloop Name");
464 :
465 234 : s->pdstPump = newPreDefSubTable(state, s->pdrEquip, "Pumps");
466 234 : s->pdchPumpType = newPreDefColumn(state, s->pdstPump, "Type");
467 234 : s->pdchPumpControl = newPreDefColumn(state, s->pdstPump, "Control");
468 234 : s->pdchPumpHead = newPreDefColumn(state, s->pdstPump, "Head [pa]");
469 234 : s->pdchPumpFlow = newPreDefColumn(state, s->pdstPump, "Water Flow [m3/s]");
470 234 : s->pdchPumpPower = newPreDefColumn(state, s->pdstPump, "Electricity Rate [W]");
471 234 : s->pdchPumpPwrPerFlow = newPreDefColumn(state, s->pdstPump, "Power Per Water Flow Rate [W-s/m3]");
472 234 : s->pdchMotEff = newPreDefColumn(state, s->pdstPump, "Motor Efficiency [W/W]");
473 234 : s->pdchPumpEndUse = newPreDefColumn(state, s->pdstPump, "End Use Subcategory");
474 : // Std 229 Predef outputs for Pumps
475 234 : s->pdchPumpAutosized = newPreDefColumn(state, s->pdstPump, "Is Autosized");
476 234 : s->pdchPumpPlantloopName = newPreDefColumn(state, s->pdstPump, "Plantloop Name");
477 234 : s->pdchPumpPlantloopBranchName = newPreDefColumn(state, s->pdstPump, "Plantloop Branch Name");
478 :
479 234 : s->pdstSWH = newPreDefSubTable(state, s->pdrEquip, "Service Water Heating");
480 234 : s->pdchSWHType = newPreDefColumn(state, s->pdstSWH, "Type");
481 234 : s->pdchSWHVol = newPreDefColumn(state, s->pdstSWH, "Storage Volume [m3]");
482 234 : s->pdchSWHHeatIn = newPreDefColumn(state, s->pdstSWH, "Input [W]");
483 234 : s->pdchSWHThEff = newPreDefColumn(state, s->pdstSWH, "Thermal Efficiency [W/W]");
484 234 : s->pdchSWHRecEff = newPreDefColumn(state, s->pdstSWH, "Recovery Efficiency [W/W]");
485 234 : s->pdchSWHEnFac = newPreDefColumn(state, s->pdstSWH, "Energy Factor");
486 :
487 : // Std 229 Chillers in Equipment Summary
488 234 : s->pdstChiller = newPreDefSubTable(state, s->pdrEquip, "Chillers");
489 :
490 234 : s->pdchChillerType = newPreDefColumn(state, s->pdstChiller, "Type");
491 234 : s->pdchChillerRefCap = newPreDefColumn(state, s->pdstChiller, "Reference Capacity[W]");
492 234 : s->pdchChillerRefEff = newPreDefColumn(state, s->pdstChiller, "TypeReference Efficiency [W/W]");
493 234 : s->pdchChillerRatedCap = newPreDefColumn(state, s->pdstChiller, "Rated Capacity [W]");
494 234 : s->pdchChillerRatedEff = newPreDefColumn(state, s->pdstChiller, "Rated Efficiency [W/W]");
495 234 : s->pdchChillerIPLVinSI = newPreDefColumn(state, s->pdstChiller, "IPLV in SI Units [W/W]");
496 234 : s->pdchChillerIPLVinIP = newPreDefColumn(state, s->pdstChiller, "IPLV in IP Units [Btu/W-h]");
497 234 : s->pdchChillerMinPLR = newPreDefColumn(state, s->pdstChiller, "Minimum Part Load Ratio");
498 234 : s->pdchChillerFuelType = newPreDefColumn(state, s->pdstChiller, "Fuel Type");
499 234 : s->pdchChillerRatedEntCondTemp = newPreDefColumn(state, s->pdstChiller, "Rated Entering Condenser Temperature [C]");
500 234 : s->pdchChillerRatedLevEvapTemp = newPreDefColumn(state, s->pdstChiller, "Rated Leaving Evaporator Temperature [C]");
501 234 : s->pdchChillerRefEntCondTemp = newPreDefColumn(state, s->pdstChiller, "Reference Entering Condenser Temperature [C]");
502 234 : s->pdchChillerRefLevEvapTemp = newPreDefColumn(state, s->pdstChiller, "Reference Leaving Evaporator Temperature [C]");
503 234 : s->pdchChillerDesSizeRefCHWFlowRate = newPreDefColumn(state, s->pdstChiller, "Design Size Reference Chilled Water Flow Rate [kg/s]");
504 234 : s->pdchChillerDesSizeRefCondFluidFlowRate = newPreDefColumn(state, s->pdstChiller, "Design Size Reference Condenser Fluid Flow Rate [kg/s]");
505 234 : s->pdchChillerPlantloopName = newPreDefColumn(state, s->pdstChiller, "Plantloop Name");
506 234 : s->pdchChillerPlantloopBranchName = newPreDefColumn(state, s->pdstChiller, "Plantloop Branch Name");
507 234 : s->pdchChillerCondLoopName = newPreDefColumn(state, s->pdstChiller, "Condenser Loop Name");
508 234 : s->pdchChillerCondLoopBranchName = newPreDefColumn(state, s->pdstChiller, "Condenser Loop Branch Name");
509 234 : s->pdchChillerHeatRecPlantloopName = newPreDefColumn(state, s->pdstChiller, "Heat Recovery Plantloop Name");
510 234 : s->pdchChillerHeatRecPlantloopBranchName = newPreDefColumn(state, s->pdstChiller, "Heat Recovery Plantloop Branch Name");
511 234 : s->pdchChillerRecRelCapFrac = newPreDefColumn(state, s->pdstChiller, "Recovery Relative Capacity Fraction");
512 :
513 : // Std 229 Boiler Table in Equipment Summary
514 234 : s->pdstBoiler = newPreDefSubTable(state, s->pdrEquip, "Boilers");
515 :
516 234 : s->pdchBoilerType = newPreDefColumn(state, s->pdstBoiler, "Type");
517 234 : s->pdchBoilerRefCap = newPreDefColumn(state, s->pdstBoiler, "Reference Capacity [W]");
518 234 : s->pdchBoilerRefEff = newPreDefColumn(state, s->pdstBoiler, "Reference Efficiency[W/W]");
519 234 : s->pdchBoilerRatedCap = newPreDefColumn(state, s->pdstBoiler, "Rated Capacity [W]");
520 234 : s->pdchBoilerRatedEff = newPreDefColumn(state, s->pdstBoiler, "Rated Efficiency [W/W]");
521 234 : s->pdchBoilerMinPLR = newPreDefColumn(state, s->pdstBoiler, "Minimum Part Load Ratio");
522 234 : s->pdchBoilerFuelType = newPreDefColumn(state, s->pdstBoiler, "Fuel Type");
523 234 : s->pdchBoilerParaElecLoad = newPreDefColumn(state, s->pdstBoiler, "Parasitic Electric Load [W]");
524 234 : s->pdchBoilerPlantloopName = newPreDefColumn(state, s->pdstBoiler, "Plantloop Name");
525 234 : s->pdchBoilerPlantloopBranchName = newPreDefColumn(state, s->pdstBoiler, "Plantloop Branch Name");
526 :
527 : // Std 229 cooling towers and fluid coolers Table in Equipment Summary
528 234 : s->pdstCTFC = newPreDefSubTable(state, s->pdrEquip, "Cooling Towers and Fluid Coolers");
529 :
530 234 : s->pdchCTFCType = newPreDefColumn(state, s->pdstCTFC, "Type");
531 234 : s->pdchCTFCFluidType = newPreDefColumn(state, s->pdstCTFC, "Fluid Type");
532 234 : s->pdchCTFCRange = newPreDefColumn(state, s->pdstCTFC, "Range [C]");
533 234 : s->pdchCTFCApproach = newPreDefColumn(state, s->pdstCTFC, "Approach [C]");
534 234 : s->pdchCTFCDesFanPwr = newPreDefColumn(state, s->pdstCTFC, "Design Fan Power [W]");
535 234 : s->pdchCTFCDesInletAirWBT = newPreDefColumn(state, s->pdstCTFC, "Design Inlet Air Wet-Bulb Temperature [C]");
536 234 : s->pdchCTFCDesWaterFlowRate = newPreDefColumn(state, s->pdstCTFC, "Design Water Flow Rate [m3/s]");
537 234 : s->pdchCTFCLevWaterSPTemp = newPreDefColumn(state, s->pdstCTFC, "Leaving Water Setpoint Temperature [C]");
538 234 : s->pdchCTFCCondLoopName = newPreDefColumn(state, s->pdstCTFC, "Condenser Loop Name");
539 234 : s->pdchCTFCCondLoopBranchName = newPreDefColumn(state, s->pdstCTFC, "Condenser Loop Branch Name");
540 :
541 : // Std 229 Plantloop and CondenserLoop Table in Equipment Summary
542 234 : s->pdstPLCL = newPreDefSubTable(state, s->pdrEquip, "PlantLoop or CondenserLoop");
543 :
544 234 : s->pdchPLCLType = newPreDefColumn(state, s->pdstPLCL, "Type");
545 234 : s->pdchPLCLProvHeat = newPreDefColumn(state, s->pdstPLCL, "Provides Heating");
546 234 : s->pdchPLCLProvCool = newPreDefColumn(state, s->pdstPLCL, "Provides Cooling");
547 234 : s->pdchPLCLMaxLoopFlowRate = newPreDefColumn(state, s->pdstPLCL, "Maximum Loop Flow Rate [m3/s]");
548 234 : s->pdchPLCLMinLoopFlowRate = newPreDefColumn(state, s->pdstPLCL, "Minimum Loop Flow Rate [m3/s]");
549 :
550 : // Std 229 Air Terminal Table in Equipment Summary
551 234 : s->pdstAirTerm = newPreDefSubTable(state, s->pdrEquip, "Air Terminals");
552 :
553 234 : s->pdchAirTermZoneName = newPreDefColumn(state, s->pdstAirTerm, "Zone Name");
554 234 : s->pdchAirTermMinFlow = newPreDefColumn(state, s->pdstAirTerm, "Minimum Flow [m3/s]");
555 234 : s->pdchAirTermMinOutdoorFlow = newPreDefColumn(state, s->pdstAirTerm, "Minimum Outdoor Flow [m3/s]");
556 234 : s->pdchAirTermSupCoolingSP = newPreDefColumn(state, s->pdstAirTerm, "Supply Cooling Setpoint [C]");
557 234 : s->pdchAirTermSupHeatingSP = newPreDefColumn(state, s->pdstAirTerm, "Supply Heating Setpoint [C]");
558 234 : s->pdchAirTermHeatingCap = newPreDefColumn(state, s->pdstAirTerm, "Heating Capacity [W]");
559 234 : s->pdchAirTermCoolingCap = newPreDefColumn(state, s->pdstAirTerm, "Cooling Capacity [W]");
560 :
561 234 : s->pdchAirTermTypeInp = newPreDefColumn(state, s->pdstAirTerm, "Type of Input Object");
562 234 : s->pdchAirTermHeatCoilType = newPreDefColumn(state, s->pdstAirTerm, "Heat/Reheat Coil Object Type");
563 234 : s->pdchAirTermCoolCoilType = newPreDefColumn(state, s->pdstAirTerm, "Chilled Water Coil Object Type");
564 234 : s->pdchAirTermFanType = newPreDefColumn(state, s->pdstAirTerm, "Fan Object Type");
565 234 : s->pdchAirTermFanName = newPreDefColumn(state, s->pdstAirTerm, "Fan Name");
566 234 : s->pdchAirTermPrimFlow = newPreDefColumn(state, s->pdstAirTerm, "Primary Air Flow Rate [m3/s]");
567 234 : s->pdchAirTermSecdFlow = newPreDefColumn(state, s->pdstAirTerm, "Secondary Air Flow Rate [m3/s]");
568 234 : s->pdchAirTermMinFlowSch = newPreDefColumn(state, s->pdstAirTerm, "Minimum Flow Schedule Name");
569 234 : s->pdchAirTermMaxFlowReh = newPreDefColumn(state, s->pdstAirTerm, "Maximum Flow During Reheat [m3/s]");
570 234 : s->pdchAirTermMinOAflowSch = newPreDefColumn(state, s->pdstAirTerm, "Minimum Outdoor Flow Schedule Name");
571 :
572 : // Std 229 Air Heat Recovery
573 234 : s->pdstAirHR = newPreDefSubTable(state, s->pdrEquip, "Air Heat Recovery");
574 :
575 234 : s->pdchAirHRInputObjType = newPreDefColumn(state, s->pdstAirHR, "Type");
576 234 : s->pdchAirHRPlateOrRotary = newPreDefColumn(state, s->pdstAirHR, "Plate/Rotary");
577 234 : s->pdchAirHRSenEffAt100PerHeatAirFlow = newPreDefColumn(state, s->pdstAirHR, "Sensible Effectiveness at 100% Heating Air Flow");
578 234 : s->pdchAirHRSenEffAt100PerCoolAirFlow = newPreDefColumn(state, s->pdstAirHR, "Sensible Effectiveness at 100% Cooling Air Flow");
579 234 : s->pdchAirHRLatEffAt100PerHeatAirFlow = newPreDefColumn(state, s->pdstAirHR, "Latent Effectiveness at 100% Heating Air Flow");
580 234 : s->pdchAirHRLatEffAt100PerCoolAirFlow = newPreDefColumn(state, s->pdstAirHR, "Latent Effectiveness at 100% Cooling Air Flow");
581 234 : s->pdchAirHRSupplyAirflow = newPreDefColumn(state, s->pdstAirHR, "Supply Air Flow Rate [m3/s]");
582 234 : s->pdchAirHRExhaustAirflow = newPreDefColumn(state, s->pdstAirHR, "Exhaust Air Flow Rate [m3/s]");
583 :
584 : // Sizing Report
585 :
586 234 : s->pdrSizing = newPreDefReport(state, "HVACSizingSummary", "Size", "HVAC Sizing Summary");
587 :
588 234 : s->pdstSpaceClSize = newPreDefSubTable(state, s->pdrSizing, "Space Sensible Cooling");
589 :
590 234 : s->pdchSpClCalcDesLd = newPreDefColumn(state, s->pdstSpaceClSize, "Calculated Design Load [W]");
591 234 : s->pdchSpClUserDesLd = newPreDefColumn(state, s->pdstSpaceClSize, "User Design Load [W]");
592 234 : s->pdchSpClUserDesLdPerArea = newPreDefColumn(state, s->pdstSpaceClSize, "User Design Load per Area [W/m2]");
593 234 : s->pdchSpClCalcDesAirFlow = newPreDefColumn(state, s->pdstSpaceClSize, "Calculated Design Air Flow [m3/s]");
594 234 : s->pdchSpClUserDesAirFlow = newPreDefColumn(state, s->pdstSpaceClSize, "User Design Air Flow [m3/s]");
595 234 : s->pdchSpClDesDay = newPreDefColumn(state, s->pdstSpaceClSize, "Design Day Name");
596 234 : s->pdchSpClPkTime = newPreDefColumn(state, s->pdstSpaceClSize, "Date/Time Of Peak {TIMESTAMP}");
597 234 : s->pdchSpClPkTstatTemp = newPreDefColumn(state, s->pdstSpaceClSize, "Thermostat Setpoint Temperature at Peak Load [C]");
598 234 : s->pdchSpClPkIndTemp = newPreDefColumn(state, s->pdstSpaceClSize, "Indoor Temperature at Peak Load [C]");
599 234 : s->pdchSpClPkIndHum = newPreDefColumn(state, s->pdstSpaceClSize, "Indoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
600 234 : s->pdchSpClPkOATemp = newPreDefColumn(state, s->pdstSpaceClSize, "Outdoor Temperature at Peak Load [C]");
601 234 : s->pdchSpClPkOAHum = newPreDefColumn(state, s->pdstSpaceClSize, "Outdoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
602 234 : s->pdchSpClPkOAMinFlow = newPreDefColumn(state, s->pdstSpaceClSize, "Minimum Outdoor Air Flow Rate [m3/s]");
603 234 : s->pdchSpClPkDOASHeatGain = newPreDefColumn(state, s->pdstSpaceClSize, "Heat Gain Rate from DOAS [W]");
604 468 : addFootNoteSubTable(state,
605 234 : s->pdstSpaceClSize,
606 : "The Design Load is the space sensible load only. It does not include any system effects or ventilation loads.");
607 :
608 234 : s->pdstZoneClSize = newPreDefSubTable(state, s->pdrSizing, "Zone Sensible Cooling");
609 :
610 234 : s->pdchZnClCalcDesLd = newPreDefColumn(state, s->pdstZoneClSize, "Calculated Design Load [W]");
611 234 : s->pdchZnClUserDesLd = newPreDefColumn(state, s->pdstZoneClSize, "User Design Load [W]");
612 234 : s->pdchZnClUserDesLdPerArea = newPreDefColumn(state, s->pdstZoneClSize, "User Design Load per Area [W/m2]");
613 234 : s->pdchZnClCalcDesAirFlow = newPreDefColumn(state, s->pdstZoneClSize, "Calculated Design Air Flow [m3/s]");
614 234 : s->pdchZnClUserDesAirFlow = newPreDefColumn(state, s->pdstZoneClSize, "User Design Air Flow [m3/s]");
615 234 : s->pdchZnClDesDay = newPreDefColumn(state, s->pdstZoneClSize, "Design Day Name");
616 234 : s->pdchZnClPkTime = newPreDefColumn(state, s->pdstZoneClSize, "Date/Time Of Peak {TIMESTAMP}");
617 234 : s->pdchZnClPkTstatTemp = newPreDefColumn(state, s->pdstZoneClSize, "Thermostat Setpoint Temperature at Peak Load [C]");
618 234 : s->pdchZnClPkIndTemp = newPreDefColumn(state, s->pdstZoneClSize, "Indoor Temperature at Peak Load [C]");
619 234 : s->pdchZnClPkIndHum = newPreDefColumn(state, s->pdstZoneClSize, "Indoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
620 234 : s->pdchZnClPkOATemp = newPreDefColumn(state, s->pdstZoneClSize, "Outdoor Temperature at Peak Load [C]");
621 234 : s->pdchZnClPkOAHum = newPreDefColumn(state, s->pdstZoneClSize, "Outdoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
622 234 : s->pdchZnClPkOAMinFlow = newPreDefColumn(state, s->pdstZoneClSize, "Minimum Outdoor Air Flow Rate [m3/s]");
623 234 : s->pdchZnClPkDOASHeatGain = newPreDefColumn(state, s->pdstZoneClSize, "Heat Gain Rate from DOAS [W]");
624 468 : addFootNoteSubTable(
625 234 : state, s->pdstZoneClSize, "The Design Load is the zone sensible load only. It does not include any system effects or ventilation loads.");
626 :
627 234 : s->pdstSpaceHtSize = newPreDefSubTable(state, s->pdrSizing, "Space Sensible Heating");
628 :
629 234 : s->pdchSpHtCalcDesLd = newPreDefColumn(state, s->pdstSpaceHtSize, "Calculated Design Load [W]");
630 234 : s->pdchSpHtUserDesLd = newPreDefColumn(state, s->pdstSpaceHtSize, "User Design Load [W]");
631 234 : s->pdchSpHtUserDesLdPerArea = newPreDefColumn(state, s->pdstSpaceHtSize, "User Design Load per Area [W/m2]");
632 234 : s->pdchSpHtCalcDesAirFlow = newPreDefColumn(state, s->pdstSpaceHtSize, "Calculated Design Air Flow [m3/s]");
633 234 : s->pdchSpHtUserDesAirFlow = newPreDefColumn(state, s->pdstSpaceHtSize, "User Design Air Flow [m3/s]");
634 234 : s->pdchSpHtDesDay = newPreDefColumn(state, s->pdstSpaceHtSize, "Design Day Name");
635 234 : s->pdchSpHtPkTime = newPreDefColumn(state, s->pdstSpaceHtSize, "Date/Time Of Peak {TIMESTAMP}");
636 234 : s->pdchSpHtPkTstatTemp = newPreDefColumn(state, s->pdstSpaceHtSize, "Thermostat Setpoint Temperature at Peak Load [C]");
637 234 : s->pdchSpHtPkIndTemp = newPreDefColumn(state, s->pdstSpaceHtSize, "Indoor Temperature at Peak Load [C]");
638 234 : s->pdchSpHtPkIndHum = newPreDefColumn(state, s->pdstSpaceHtSize, "Indoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
639 234 : s->pdchSpHtPkOATemp = newPreDefColumn(state, s->pdstSpaceHtSize, "Outdoor Temperature at Peak Load [C]");
640 234 : s->pdchSpHtPkOAHum = newPreDefColumn(state, s->pdstSpaceHtSize, "Outdoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
641 234 : s->pdchSpHtPkOAMinFlow = newPreDefColumn(state, s->pdstSpaceHtSize, "Minimum Outdoor Air Flow Rate [m3/s]");
642 234 : s->pdchSpHtPkDOASHeatGain = newPreDefColumn(state, s->pdstSpaceHtSize, "Heat Gain Rate from DOAS [W]");
643 468 : addFootNoteSubTable(state,
644 234 : s->pdstSpaceHtSize,
645 : "The Design Load is the space sensible load only. It does not include any system effects or ventilation loads.");
646 :
647 234 : s->pdstZoneHtSize = newPreDefSubTable(state, s->pdrSizing, "Zone Sensible Heating");
648 :
649 234 : s->pdchZnHtCalcDesLd = newPreDefColumn(state, s->pdstZoneHtSize, "Calculated Design Load [W]");
650 234 : s->pdchZnHtUserDesLd = newPreDefColumn(state, s->pdstZoneHtSize, "User Design Load [W]");
651 234 : s->pdchZnHtUserDesLdPerArea = newPreDefColumn(state, s->pdstZoneHtSize, "User Design Load per Area [W/m2]");
652 234 : s->pdchZnHtCalcDesAirFlow = newPreDefColumn(state, s->pdstZoneHtSize, "Calculated Design Air Flow [m3/s]");
653 234 : s->pdchZnHtUserDesAirFlow = newPreDefColumn(state, s->pdstZoneHtSize, "User Design Air Flow [m3/s]");
654 234 : s->pdchZnHtDesDay = newPreDefColumn(state, s->pdstZoneHtSize, "Design Day Name");
655 234 : s->pdchZnHtPkTime = newPreDefColumn(state, s->pdstZoneHtSize, "Date/Time Of Peak {TIMESTAMP}");
656 234 : s->pdchZnHtPkTstatTemp = newPreDefColumn(state, s->pdstZoneHtSize, "Thermostat Setpoint Temperature at Peak Load [C]");
657 234 : s->pdchZnHtPkIndTemp = newPreDefColumn(state, s->pdstZoneHtSize, "Indoor Temperature at Peak Load [C]");
658 234 : s->pdchZnHtPkIndHum = newPreDefColumn(state, s->pdstZoneHtSize, "Indoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
659 234 : s->pdchZnHtPkOATemp = newPreDefColumn(state, s->pdstZoneHtSize, "Outdoor Temperature at Peak Load [C]");
660 234 : s->pdchZnHtPkOAHum = newPreDefColumn(state, s->pdstZoneHtSize, "Outdoor Humidity Ratio at Peak Load [kgWater/kgDryAir]");
661 234 : s->pdchZnHtPkOAMinFlow = newPreDefColumn(state, s->pdstZoneHtSize, "Minimum Outdoor Air Flow Rate [m3/s]");
662 234 : s->pdchZnHtPkDOASHeatGain = newPreDefColumn(state, s->pdstZoneHtSize, "Heat Gain Rate from DOAS [W]");
663 468 : addFootNoteSubTable(
664 234 : state, s->pdstZoneHtSize, "The Design Load is the zone sensible load only. It does not include any system effects or ventilation loads.");
665 :
666 234 : s->pdstSystemSize = newPreDefSubTable(state, s->pdrSizing, "System Design Air Flow Rates");
667 :
668 234 : s->pdchSysSizCalcClAir = newPreDefColumn(state, s->pdstSystemSize, "Calculated cooling [m3/s]");
669 234 : s->pdchSysSizUserClAir = newPreDefColumn(state, s->pdstSystemSize, "User cooling [m3/s]");
670 234 : s->pdchSysSizCalcHtAir = newPreDefColumn(state, s->pdstSystemSize, "Calculated heating [m3/s]");
671 234 : s->pdchSysSizUserHtAir = newPreDefColumn(state, s->pdstSystemSize, "User heating [m3/s]");
672 234 : s->pdchSysSizAdjustedClAir = newPreDefColumn(state, s->pdstSystemSize, "Adjusted cooling [m3/s]");
673 234 : s->pdchSysSizAdjustedHtAir = newPreDefColumn(state, s->pdstSystemSize, "Adjusted heating [m3/s]");
674 234 : s->pdchSysSizAdjustedMainAir = newPreDefColumn(state, s->pdstSystemSize, "Adjusted main [m3/s]");
675 234 : s->pdchSysSizCalcHeatFlowRatio = newPreDefColumn(state, s->pdstSystemSize, "Calculated Heating Air Flow Ratio []");
676 234 : s->pdchSysSizUserHeatFlowRatio = newPreDefColumn(state, s->pdstSystemSize, "User Heating Air Flow Ratio []");
677 :
678 234 : s->pdstPlantSize = newPreDefSubTable(state, s->pdrSizing, "Plant Loop Coincident Design Fluid Flow Rate Adjustments");
679 : // s->pdchPlantSizPass = newPreDefColumn(state, s->pdstPlantSize, "Sizing Pass" );
680 234 : s->pdchPlantSizPrevVdot = newPreDefColumn(state, s->pdstPlantSize, "Previous Design Volume Flow Rate [m3/s]");
681 234 : s->pdchPlantSizMeasVdot = newPreDefColumn(state, s->pdstPlantSize, "Algorithm Volume Flow Rate [m3/s]");
682 234 : s->pdchPlantSizCalcVdot = newPreDefColumn(state, s->pdstPlantSize, "Coincident Design Volume Flow Rate [m3/s]");
683 234 : s->pdchPlantSizCoincYesNo = newPreDefColumn(state, s->pdstPlantSize, "Coincident Size Adjusted");
684 234 : s->pdchPlantSizDesDay = newPreDefColumn(state, s->pdstPlantSize, "Peak Sizing Period Name");
685 234 : s->pdchPlantSizPkTimeDayOfSim = newPreDefColumn(state, s->pdstPlantSize, "Peak Day into Period {TIMESTAMP}[day]");
686 234 : s->pdchPlantSizPkTimeHour = newPreDefColumn(state, s->pdstPlantSize, "Peak Hour Of Day {TIMESTAMP}[hr]");
687 234 : s->pdchPlantSizPkTimeMin = newPreDefColumn(state, s->pdstPlantSize, "Peak Step Start Minute {TIMESTAMP}[min]");
688 :
689 234 : s->pdst2CoilSummaryCoilSelection = newPreDefSubTable(state, s->pdrSizing, "Coil Sizing Summary");
690 : // coil meta data information
691 : // the first column will be the coil name, the unique user name from input. It has no header or column definition
692 234 : s->pdch2CoilType = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Type");
693 234 : s->pdch2CoilHVACType = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "HVAC Type");
694 234 : s->pdch2CoilHVACName = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "HVAC Name");
695 :
696 : // coil Final size summary, regardless of how determined (
697 234 : s->pdch2CoilFinalTotalCap = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Final Gross Total Capacity [W]");
698 234 : s->pdch2CoilFinalSensCap = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Final Gross Sensible Capacity [W]");
699 468 : s->pdch2CoilFinalAirVolFlowRate =
700 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Final Reference Air Volume Flow Rate [m3/s]");
701 468 : s->pdch2CoilFinalPlantVolFlowRate =
702 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Final Reference Plant Fluid Volume Flow Rate [m3/s]");
703 234 : s->pdch2CoilUA = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil U-value Times Area Value [W/K]");
704 :
705 : // results from regular zone and system sizing calcs, "At Ideal Loads Peak"
706 234 : s->pdch2CoilDDnameSensIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Design Day Name at Sensible Ideal Loads Peak");
707 234 : s->pdch2CoilDateTimeSensIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Date/Time at Sensible Ideal Loads Peak");
708 234 : s->pdch2CoilDDnameAirFlowIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Design Day Name at Air Flow Ideal Loads Peak");
709 234 : s->pdch2CoilDateTimeAirFlowIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Date/Time at Air Flow Ideal Loads Peak");
710 :
711 234 : s->pdch2CoilTotalCapIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Total Capacity at Ideal Loads Peak [W]");
712 234 : s->pdch2CoilSensCapIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Sensible Capacity at Ideal Loads Peak [W]");
713 468 : s->pdch2CoilAirVolumeFlowIdealPeak =
714 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Air Volume Flow Rate at Ideal Loads Peak [m3/s]");
715 468 : s->pdch2CoilEntDryBulbIdealPeak =
716 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Entering Air Drybulb at Ideal Loads Peak [C]");
717 468 : s->pdch2CoilEntWetBulbIdealPeak =
718 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Entering Air Wetbulb at Ideal Loads Peak [C]");
719 468 : s->pdch2CoilEntHumRatIdealPeak =
720 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Entering Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
721 468 : s->pdch2CoilLvgDryBulbIdealPeak =
722 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Leaving Air Drybulb at Ideal Loads Peak [C]");
723 468 : s->pdch2CoilLvgWetBulbIdealPeak =
724 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Leaving Air Wetbulb at Ideal Loads Peak [C]");
725 468 : s->pdch2CoilLvgHumRatIdealPeak =
726 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Leaving Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
727 234 : s->pdch2OADryBulbIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Outdoor Air Drybulb at Ideal Loads Peak [C]");
728 468 : s->pdch2OAHumRatIdealPeak =
729 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Outdoor Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
730 234 : s->pdch2OAWetBulbatIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Outdoor Air Wetbulb at Ideal Loads Peak [C]");
731 468 : s->pdch2OAFlowPrcntIdealPeak =
732 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Outdoor Air Flow Percentage at Ideal Loads Peak [%]");
733 234 : s->pdch2ZoneAirDryBulbIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Zone Air Drybulb at Ideal Loads Peak [C]");
734 468 : s->pdch2ZoneAirHumRatIdealPeak =
735 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Zone Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
736 468 : s->pdch2ZoneAirRelHumIdealPeak =
737 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Zone Air Relative Humidity at Ideal Loads Peak [%]");
738 468 : s->pdch2ZoneSensibleLoadIdealPeak =
739 234 : newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Zone Sensible Heat Gain at Ideal Loads Peak [W]");
740 234 : s->pdch2ZoneLatentLoadIdealPeak = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Zone Latent Heat Gain at Ideal Loads Peak [W]");
741 : // results for coil at Rated Conditions
742 234 : s->pdch2CoilRatedTotalCap = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Total Capacity at Rating Conditions [W]");
743 234 : s->pdch2CoilRatedSensCap = newPreDefColumn(state, s->pdst2CoilSummaryCoilSelection, "Coil Sensible Capacity at Rating Conditions [W]");
744 :
745 234 : s->pdrCoilSizingDetailsTable = newPreDefReport(state, "CoilSizingDetails", "Coil", "Coil Sizing Details");
746 234 : s->pdstCoilSummaryCoilSelection = newPreDefSubTable(state, s->pdrCoilSizingDetailsTable, "Coils");
747 : // coil meta data information
748 : // the first column will be the coil name, the unique user name from input. It has no header or column definition
749 234 : s->pdchCoilType = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Type");
750 234 : s->pdchCoilLocation = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Location");
751 234 : s->pdchCoilHVACType = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "HVAC Type");
752 234 : s->pdchCoilHVACName = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "HVAC Name");
753 234 : s->pdchCoilZoneName = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Zone Name(s)");
754 :
755 234 : s->pdchSysSizingMethCoinc = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "System Sizing Method Concurrence");
756 234 : s->pdchSysSizingMethCap = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "System Sizing Method Capacity");
757 234 : s->pdchSysSizingMethAir = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "System Sizing Method Air Flow");
758 :
759 234 : s->pdchCoilIsCapAutosized = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Autosized Coil Capacity?");
760 234 : s->pdchCoilIsAirFlowAutosized = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Autosized Coil Airflow?");
761 234 : s->pdchCoilIsWaterFlowAutosized = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Autosized Coil Water Flow?");
762 234 : s->pdchCoilIsOATreated = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "OA Pretreated prior to coil inlet?");
763 :
764 : // coil Final size summary, regardless of how determined (
765 : // get rid of these, this will be the same as At Rating Conditions.
766 234 : s->pdchCoilFinalTotalCap = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Final Gross Total Capacity [W]");
767 234 : s->pdchCoilFinalSensCap = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Final Gross Sensible Capacity [W]");
768 234 : s->pdchCoilFinalAirVolFlowRate = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Final Reference Air Volume Flow Rate [m3/s]");
769 468 : s->pdchCoilFinalPlantVolFlowRate =
770 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Final Reference Plant Fluid Volume Flow Rate [m3/s]");
771 :
772 : // Misc Design output
773 234 : s->pdchCoilUA = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil U-value Times Area Value [W/K]");
774 234 : s->pdchReheatCoilMultiplier = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Terminal Unit Reheat Coil Multiplier");
775 468 : s->pdchFlowCapRatioLowCapIncreaseRatio =
776 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "DX Coil Capacity Increase Ratio from Too Low Flow/Capacity Ratio");
777 468 : s->pdchFlowCapRatioHiCapDecreaseRatio =
778 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "DX Coil Capacity Decrease Ratio from Too High Flow/Capacity Ratio");
779 :
780 468 : s->pdchMoistAirSpecificHeat =
781 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Moist Air Heat Capacity [J/kg-K]"); // standard? for ideal sizing calcs?
782 468 : s->pdchDryAirSpecificHeat =
783 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Dry Air Heat Capacity [J/kg-K]"); // standard? for ideal sizing calcs?
784 234 : s->pdchStandRhoAir = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Standard Air Density Adjusted for Elevation [kg/m3]");
785 :
786 : // Fan info for coil
787 234 : s->pdchFanAssociatedWithCoilName = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Supply Fan Name for Coil");
788 234 : s->pdchFanAssociatedWithCoilType = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Supply Fan Type for Coil");
789 234 : s->pdchFanAssociatedVdotSize = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Supply Fan Maximum Air Volume Flow Rate [m3/s]");
790 234 : s->pdchFanAssociatedMdotSize = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Supply Fan Maximum Air Mass Flow Rate [kg/s]");
791 :
792 : // Plant info for coil
793 234 : s->pdchCoilPlantLoopName = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Name for Coil");
794 468 : s->pdchPlantFluidSpecificHeat =
795 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Fluid Specific Heat Capacity [J/kg-K]"); // standard/inits ?
796 468 : s->pdchPlantFluidDensity =
797 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Fluid Density [kg/m3]"); // standard/inits ? for ideal sizing calcs?
798 234 : s->pdchPlantMassFlowMaximum = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Maximum Fluid Mass Flow Rate [kg/s]");
799 234 : s->pdchPlantRetTempDesign = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Design Fluid Return Temperature [C]");
800 234 : s->pdchPlantSupTempDesign = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Design Fluid Supply Temperature [C]");
801 234 : s->pdchPlantDeltaTempDesign = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Design Fluid Temperature Difference [deltaC]");
802 234 : s->pdchPlantCapacity = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Plant Design Capacity [W]");
803 468 : s->pdchCoilCapPrcntPlantCapacity =
804 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Capacity Percentage of Plant Design Capacity [%]");
805 468 : s->pdchCoilFlowPrcntPlantFlow =
806 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Fluid Flow Rate Percentage of Plant Design Flow Rate [%]");
807 :
808 : // results from regular zone and system sizing calcs, "At Ideal Loads Peak"
809 234 : s->pdchCoilDDnameSensIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Design Day Name at Sensible Ideal Loads Peak");
810 234 : s->pdchCoilDateTimeSensIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Date/Time at Sensible Ideal Loads Peak");
811 234 : s->pdchCoilDDnameTotIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Design Day Name at Total Ideal Loads Peak");
812 234 : s->pdchCoilDateTimeTotIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Date/Time at Total Ideal Loads Peak");
813 234 : s->pdchCoilDDnameAirFlowIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Design Day Name at Air Flow Ideal Loads Peak");
814 234 : s->pdchCoilDateTimeAirFlowIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Date/Time at Air Flow Ideal Loads Peak");
815 234 : s->pdchCoilPeakLoadTypeToSizeOn = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Peak Load Type to Size On");
816 :
817 234 : s->pdchCoilTotalCapIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Total Capacity at Ideal Loads Peak [W]");
818 234 : s->pdchCoilSensCapIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Sensible Capacity at Ideal Loads Peak [W]");
819 468 : s->pdchCoilOffRatingCapacityModifierIdealPeak =
820 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Off-Rating Capacity Modifier at Ideal Loads Peak [ ]");
821 468 : s->pdchCoilAirMassFlowIdealPeak =
822 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Air Mass Flow Rate at Ideal Loads Peak [kg/s]");
823 468 : s->pdchCoilAirVolumeFlowIdealPeak =
824 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Air Volume Flow Rate at Ideal Loads Peak [m3/s]");
825 234 : s->pdchCoilEntDryBulbIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Drybulb at Ideal Loads Peak [C]");
826 234 : s->pdchCoilEntWetBulbIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Wetbulb at Ideal Loads Peak [C]");
827 468 : s->pdchCoilEntHumRatIdealPeak =
828 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
829 468 : s->pdchCoilEntEnthalpyIdealPeak =
830 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Enthalpy at Ideal Loads Peak [J/kg]");
831 234 : s->pdchCoilLvgDryBulbIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Drybulb at Ideal Loads Peak [C]");
832 234 : s->pdchCoilLvgWetBulbIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Wetbulb at Ideal Loads Peak [C]");
833 468 : s->pdchCoilLvgHumRatIdealPeak =
834 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
835 468 : s->pdchCoilLvgEnthalpyIdealPeak =
836 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Enthalpy at Ideal Loads Peak [J/kg]");
837 468 : s->pdchCoilWaterMassFlowIdealPeak =
838 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Plant Fluid Mass Flow Rate at Ideal Loads Peak [kg/s]");
839 468 : s->pdchCoilEntWaterTempIdealPeak =
840 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Plant Fluid Temperature at Ideal Loads Peak [C]");
841 468 : s->pdchCoilLvgWaterTempIdealPeak =
842 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Plant Fluid Temperature at Ideal Loads Peak [C]");
843 468 : s->pdchCoilWaterDeltaTempIdealPeak =
844 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Plant Fluid Temperature Difference at Ideal Loads Peak [deltaC]");
845 234 : s->pdchFanHeatGainIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Supply Fan Air Heat Gain at Ideal Loads Peak [W]");
846 468 : s->pdchCoilNetTotalCapacityIdealPeak =
847 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil and Fan Net Total Capacity at Ideal Loads Peak [W]");
848 234 : s->pdchOADryBulbIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Outdoor Air Drybulb at Ideal Loads Peak [C]");
849 468 : s->pdchOAHumRatIdealPeak =
850 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Outdoor Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
851 234 : s->pdchOAWetBulbatIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Outdoor Air Wetbulb at Ideal Loads Peak [C]");
852 468 : s->pdchOAVolFlowIdealPeak =
853 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Outdoor Air Volume Flow Rate at Ideal Loads Peak [m3/s]");
854 234 : s->pdchOAFlowPrcntIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Outdoor Air Flow Percentage at Ideal Loads Peak [%]");
855 468 : s->pdchAirSysRADryBulbIdealPeak =
856 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "System Return Air Drybulb at Ideal Loads Peak [C]");
857 468 : s->pdchAirSysRAHumRatIdealPeak =
858 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "System Return Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
859 234 : s->pdchZoneAirDryBulbIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Zone Air Drybulb at Ideal Loads Peak [C]");
860 468 : s->pdchZoneAirHumRatIdealPeak =
861 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Zone Air Humidity Ratio at Ideal Loads Peak [kgWater/kgDryAir]");
862 234 : s->pdchZoneAirRelHumIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Zone Air Relative Humidity at Ideal Loads Peak [%]");
863 234 : s->pdchZoneSensibleLoadIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Zone Sensible Heat Gain at Ideal Loads Peak [W]");
864 234 : s->pdchZoneLatentLoadIdealPeak = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Zone Latent Heat Gain at Ideal Loads Peak [W]");
865 : // results for coil at Rated Conditions
866 234 : s->pdchCoilRatedTotalCap = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Total Capacity at Rating Conditions [W]");
867 234 : s->pdchCoilRatedSensCap = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Sensible Capacity at Rating Conditions [W]");
868 :
869 234 : s->pdchCoilRatedAirMass = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Air Mass Flow Rate at Rating Conditions [kg/s]");
870 234 : s->pdchCoilRatedEntDryBulb = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Drybulb at Rating Conditions [C]");
871 234 : s->pdchCoilRatedEntWetBulb = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Wetbulb at Rating Conditions [C]");
872 468 : s->pdchCoilRatedEntHumRat =
873 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Humidity Ratio at Rating Conditions [kgWater/kgDryAir]");
874 468 : s->pdchCoilRatedEntEnthalpy =
875 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Entering Air Enthalpy at Rating Conditions [J/kg]");
876 234 : s->pdchCoilRatedLvgDryBulb = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Drybulb at Rating Conditions [C]");
877 234 : s->pdchCoilRatedLvgWetBulb = newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Wetbulb at Rating Conditions [C]");
878 468 : s->pdchCoilRatedLvgHumRat =
879 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Humidity Ratio at Rating Conditions [kgWater/kgDryAir]");
880 468 : s->pdchCoilRatedLvgEnthalpy =
881 234 : newPreDefColumn(state, s->pdstCoilSummaryCoilSelection, "Coil Leaving Air Enthalpy at Rating Conditions [J/kg]");
882 :
883 : // Std 229 New Table "Coil Connections"
884 234 : s->pdstCoilConnections = newPreDefSubTable(state, s->pdrCoilSizingDetailsTable, "Coil Connections");
885 : // coil connections information
886 234 : s->pdchCoilName_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Coil Name");
887 234 : s->pdchCoilType_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Coil Type");
888 234 : s->pdchCoilLoc_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Coil Location");
889 234 : s->pdchCoilHVACType_CCs = newPreDefColumn(state, s->pdstCoilConnections, "HVAC Type");
890 234 : s->pdchCoilHVACName_CCs = newPreDefColumn(state, s->pdstCoilConnections, "HVAC Name");
891 234 : s->pdchCoilZoneNames_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Zone Name(s)");
892 234 : s->pdchCoilSupFanName_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Supply Fan Name for HVAC");
893 234 : s->pdchCoilSupFanType_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Supply Fan Type for HVAC");
894 234 : s->pdchCoilAirloopName_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Airloop Name");
895 234 : s->pdchCoilPlantName_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Plant Name for Coil");
896 234 : s->pdchCoilPlantloopName_CCs = newPreDefColumn(state, s->pdstCoilConnections, "Plant Loop Name");
897 :
898 : // System Summary Report
899 :
900 234 : s->pdrSystem = newPreDefReport(state, "SystemSummary", "Sys", "System Summary");
901 :
902 234 : s->pdstEconomizer = newPreDefSubTable(state, s->pdrSystem, "Economizer");
903 :
904 234 : s->pdchEcoKind = newPreDefColumn(state, s->pdstEconomizer, "High Limit Shutoff Control");
905 234 : s->pdchEcoMinOA = newPreDefColumn(state, s->pdstEconomizer, "Minimum Outdoor Air [m3/s]");
906 234 : s->pdchEcoMaxOA = newPreDefColumn(state, s->pdstEconomizer, "Maximum Outdoor Air [m3/s]");
907 234 : s->pdchEcoRetTemp = newPreDefColumn(state, s->pdstEconomizer, "Return Air Temp Limit");
908 234 : s->pdchEcoRetEnth = newPreDefColumn(state, s->pdstEconomizer, "Return Air Enthalpy Limit");
909 234 : s->pdchEcoOATempLim = newPreDefColumn(state, s->pdstEconomizer, "Outdoor Air Temperature Limit [C]");
910 234 : s->pdchEcoOAEnthLim = newPreDefColumn(state, s->pdstEconomizer, "Outdoor Air Enthalpy Limit [C]");
911 :
912 234 : s->pdstDemCntlVent = newPreDefSubTable(state, s->pdrSystem, "Demand Controlled Ventilation using Controller:MechanicalVentilation");
913 234 : s->pdchDCVventMechName = newPreDefColumn(state, s->pdstDemCntlVent, "Controller:MechanicalVentilation Name");
914 234 : s->pdchDCVperPerson = newPreDefColumn(state, s->pdstDemCntlVent, "Outdoor Air Per Person [m3/s-person]");
915 234 : s->pdchDCVperArea = newPreDefColumn(state, s->pdstDemCntlVent, "Outdoor Air Per Area [m3/s-m2]");
916 234 : s->pdchDCVperZone = newPreDefColumn(state, s->pdstDemCntlVent, "Outdoor Air Per Zone [m3/s]");
917 234 : s->pdchDCVperACH = newPreDefColumn(state, s->pdstDemCntlVent, "Outdoor Air ACH [ach]");
918 234 : s->pdchDCVMethod = newPreDefColumn(state, s->pdstDemCntlVent, "Outdoor Air Method");
919 234 : s->pdchDCVOASchName = newPreDefColumn(state, s->pdstDemCntlVent, "Outdoor Air Schedule Name");
920 : // added for new DCV
921 234 : s->pdchDCVZoneADEffCooling = newPreDefColumn(state, s->pdstDemCntlVent, "Air Distribution Effectiveness in Cooling Mode");
922 234 : s->pdchDCVZoneADEffHeating = newPreDefColumn(state, s->pdstDemCntlVent, "Air Distribution Effectiveness in Heating Mode");
923 234 : s->pdchDCVZoneADEffSchName = newPreDefColumn(state, s->pdstDemCntlVent, "Air Distribution Effectiveness Schedule Name");
924 234 : s->pdchDCVType = newPreDefColumn(state, s->pdstDemCntlVent, "Type");
925 :
926 234 : s->pdstSimpleComfort = newPreDefSubTable(state, s->pdrSystem, "Time Not Comfortable Based on Simple ASHRAE 55-2004");
927 234 : s->pdchSCwinterClothes = newPreDefColumn(state, s->pdstSimpleComfort, "Winter Clothes [hr]");
928 234 : s->pdchSCsummerClothes = newPreDefColumn(state, s->pdstSimpleComfort, "Summer Clothes [hr]");
929 234 : s->pdchSCeitherClothes = newPreDefColumn(state, s->pdstSimpleComfort, "Summer or Winter Clothes [hr]");
930 :
931 234 : s->pdstUnmetLoads = newPreDefSubTable(state, s->pdrSystem, "Time Setpoint Not Met");
932 234 : s->pdchULnotMetHeat = newPreDefColumn(state, s->pdstUnmetLoads, "During Heating [hr]");
933 234 : s->pdchULnotMetCool = newPreDefColumn(state, s->pdstUnmetLoads, "During Cooling [hr]");
934 234 : s->pdchULnotMetHeatOcc = newPreDefColumn(state, s->pdstUnmetLoads, "During Occupied Heating [hr]");
935 234 : s->pdchULnotMetCoolOcc = newPreDefColumn(state, s->pdstUnmetLoads, "During Occupied Cooling [hr]");
936 :
937 234 : s->pdstStatSchd = newPreDefSubTable(state, s->pdrSystem, "Thermostat Schedules");
938 234 : s->pdchStatName = newPreDefColumn(state, s->pdstStatSchd, "Thermostat Name 1");
939 234 : s->pdchStatCtrlTypeSchd = newPreDefColumn(state, s->pdstStatSchd, "Control Type Schedule");
940 234 : s->pdchStatSchdType1 = newPreDefColumn(state, s->pdstStatSchd, "Control Type");
941 234 : s->pdchStatSchdTypeName1 = newPreDefColumn(state, s->pdstStatSchd, "Control Type Name");
942 234 : s->pdchStatSchdHeatName = newPreDefColumn(state, s->pdstStatSchd, "Heating Schedule");
943 234 : s->pdchStatSchdCoolName = newPreDefColumn(state, s->pdstStatSchd, "Cooling Schedule");
944 :
945 : // HVAC Topology Report
946 234 : s->pdrTopology = newPreDefReport(state, "HVACTopology", "Top", "HVAC Topology");
947 :
948 234 : s->pdstTopAirLoop = newPreDefSubTable(state, s->pdrTopology, "Air Loop Supply Side Component Arrangement");
949 234 : s->pdchTopAirLoopName = newPreDefColumn(state, s->pdstTopAirLoop, "Airloop Name");
950 234 : s->pdchTopAirSplitName = newPreDefColumn(state, s->pdstTopAirLoop, "Splitter Name");
951 234 : s->pdchTopAirBranchName = newPreDefColumn(state, s->pdstTopAirLoop, "Supply Branch Name");
952 234 : s->pdchTopAirSupplyBranchType = newPreDefColumn(state, s->pdstTopAirLoop, "Supply Branch Type");
953 234 : s->pdchTopAirCompType = newPreDefColumn(state, s->pdstTopAirLoop, "Component Type");
954 234 : s->pdchTopAirCompName = newPreDefColumn(state, s->pdstTopAirLoop, "Component Name");
955 234 : s->pdchTopAirSubCompType = newPreDefColumn(state, s->pdstTopAirLoop, "Sub-Component Type");
956 234 : s->pdchTopAirSubCompName = newPreDefColumn(state, s->pdstTopAirLoop, "Sub-Component Name");
957 234 : s->pdchTopAirSubSubCompType = newPreDefColumn(state, s->pdstTopAirLoop, "Sub-Sub-Component Type");
958 234 : s->pdchTopAirSubSubCompName = newPreDefColumn(state, s->pdstTopAirLoop, "Sub-Sub-Component Name");
959 234 : s->pdchTopAirMixName = newPreDefColumn(state, s->pdstTopAirLoop, "Mixer Name");
960 :
961 234 : s->pdstTopAirDemand = newPreDefSubTable(state, s->pdrTopology, "Air Loop Demand Side Component Arrangement");
962 234 : s->pdchTopAirDemandName = newPreDefColumn(state, s->pdstTopAirDemand, "Airloop Name");
963 234 : s->pdchTopAirSupplyBranchName = newPreDefColumn(state, s->pdstTopAirDemand, "Supply Branch Name");
964 234 : s->pdchTopAirSupplyDuctType = newPreDefColumn(state, s->pdstTopAirDemand, "Supply Branch Type");
965 234 : s->pdchTopAirSupplyPCompType = newPreDefColumn(state, s->pdstTopAirDemand, "Supply Path Component Type");
966 234 : s->pdchTopAirSupplyPCompName = newPreDefColumn(state, s->pdstTopAirDemand, "Supply Path Component Name");
967 234 : s->pdchTopAirTermUnitType = newPreDefColumn(state, s->pdstTopAirDemand, "Terminal Unit Type");
968 234 : s->pdchTopAirTermUnitName = newPreDefColumn(state, s->pdstTopAirDemand, "Terminal Unit Name");
969 234 : s->pdchTopAirZoneName = newPreDefColumn(state, s->pdstTopAirDemand, "Zone Name");
970 234 : s->pdchTopAirReturnPCompType = newPreDefColumn(state, s->pdstTopAirDemand, "Return Path Component Type");
971 234 : s->pdchTopAirReturnPCompName = newPreDefColumn(state, s->pdstTopAirDemand, "Return Path Component Name");
972 :
973 234 : s->pdstTopZnEqp = newPreDefSubTable(state, s->pdrTopology, "Zone Equipment Component Arrangement");
974 234 : s->pdchTopZnEqpName = newPreDefColumn(state, s->pdstTopZnEqp, "Zone Name");
975 234 : s->pdchTopZnEqpCompType = newPreDefColumn(state, s->pdstTopZnEqp, "Component Type");
976 234 : s->pdchTopZnEqpCompName = newPreDefColumn(state, s->pdstTopZnEqp, "Component Name");
977 234 : s->pdchTopZnEqpSubCompType = newPreDefColumn(state, s->pdstTopZnEqp, "Sub-Component Type");
978 234 : s->pdchTopZnEqpSubCompName = newPreDefColumn(state, s->pdstTopZnEqp, "Sub-Component Name");
979 234 : s->pdchTopZnEqpSubSubCompType = newPreDefColumn(state, s->pdstTopZnEqp, "Sub-Sub-Component Type");
980 234 : s->pdchTopZnEqpSubSubCompName = newPreDefColumn(state, s->pdstTopZnEqp, "Sub-Sub-Component Name");
981 :
982 234 : s->pdstTopPlantLoop2 = newPreDefSubTable(state, s->pdrTopology, "Plant Loop Component Arrangement");
983 234 : s->pdchTopPlantLoopType2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Loop Type");
984 234 : s->pdchTopPlantLoopName2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Loop Name");
985 234 : s->pdchTopPlantSide2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Side");
986 234 : s->pdchTopPlantSplitName2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Splitter Name");
987 234 : s->pdchTopPlantBranchName2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Branch Name");
988 234 : s->pdchTopPlantCompType2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Component Type");
989 234 : s->pdchTopPlantCompName2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Component Name");
990 234 : s->pdchTopPlantMixName2 = newPreDefColumn(state, s->pdstTopPlantLoop2, "Mixer Name");
991 :
992 : // Outdoor Air Report
993 234 : s->pdrOutsideAir = newPreDefReport(state, "OutdoorAirSummary", "OA", "Outdoor Air Summary");
994 :
995 234 : s->pdstOAavgOcc = newPreDefSubTable(state, s->pdrOutsideAir, "Average Outdoor Air During Occupied Hours");
996 :
997 234 : s->pdchOaoAvgNumOcc1 = newPreDefColumn(state, s->pdstOAavgOcc, "Average Number of Occupants");
998 234 : s->pdchOaoNomNumOcc1 = newPreDefColumn(state, s->pdstOAavgOcc, "Nominal Number of Occupants");
999 234 : s->pdchOaoZoneVol1 = newPreDefColumn(state, s->pdstOAavgOcc, "Zone Volume [m3]");
1000 234 : s->pdchOaoAvgMechVent = newPreDefColumn(state, s->pdstOAavgOcc, "Mechanical Ventilation [ach]");
1001 234 : s->pdchOaoAvgInfil = newPreDefColumn(state, s->pdstOAavgOcc, "Infiltration [ach]");
1002 234 : s->pdchOaoAvgAFNInfil = newPreDefColumn(state, s->pdstOAavgOcc, "AFN Infiltration [ach]");
1003 234 : s->pdchOaoAvgSimpVent = newPreDefColumn(state, s->pdstOAavgOcc, "Simple Ventilation [ach]");
1004 : // s->pdchOaoAvgTotVent = newPreDefColumn(state, s->pdstOAavgOcc,'Total Ventilation [ach]')
1005 :
1006 234 : addFootNoteSubTable(state, s->pdstOAavgOcc, "Values shown for a single zone without multipliers");
1007 :
1008 234 : s->pdstOAminOcc = newPreDefSubTable(state, s->pdrOutsideAir, "Minimum Outdoor Air During Occupied Hours");
1009 :
1010 234 : s->pdchOaoAvgNumOcc2 = newPreDefColumn(state, s->pdstOAminOcc, "Average Number of Occupants");
1011 234 : s->pdchOaoNomNumOcc2 = newPreDefColumn(state, s->pdstOAminOcc, "Nominal Number of Occupants");
1012 234 : s->pdchOaoZoneVol2 = newPreDefColumn(state, s->pdstOAminOcc, "Zone Volume [m3]");
1013 234 : s->pdchOaoMinMechVent = newPreDefColumn(state, s->pdstOAminOcc, "Mechanical Ventilation [ach]");
1014 234 : s->pdchOaoMinInfil = newPreDefColumn(state, s->pdstOAminOcc, "Infiltration [ach]");
1015 234 : s->pdchOaoMinAFNInfil = newPreDefColumn(state, s->pdstOAminOcc, "AFN Infiltration [ach]");
1016 234 : s->pdchOaoMinSimpVent = newPreDefColumn(state, s->pdstOAminOcc, "Simple Ventilation [ach]");
1017 : // s->pdchOaoMinTotVent = newPreDefColumn(state, s->pdstOAminOcc,'Total Ventilation [ach]')
1018 234 : addFootNoteSubTable(state, s->pdstOAminOcc, "Values shown for a single zone without multipliers");
1019 :
1020 : // Outdoor Air Details Report
1021 234 : s->pdrOutsideAirDetails = newPreDefReport(state, "OutdoorAirDetails", "OAD", "Outdoor Air Details");
1022 :
1023 234 : s->pdstOAmechVentParByZone = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Mechanical Ventilation Parameters by Zone");
1024 234 : s->pdchOaMvAirLpNm = newPreDefColumn(state, s->pdstOAmechVentParByZone, "AirLoop Name");
1025 234 : s->pdchOaMvAvgNumOcc = newPreDefColumn(state, s->pdstOAmechVentParByZone, "Average Number of Occupants");
1026 234 : s->pdchOaMvNomNumOcc = newPreDefColumn(state, s->pdstOAmechVentParByZone, "Nominal Number of Occupants");
1027 234 : s->pdchOaMvZoneVol = newPreDefColumn(state, s->pdstOAmechVentParByZone, "Zone Volume [m3]");
1028 234 : s->pdchOaMvZoneArea = newPreDefColumn(state, s->pdstOAmechVentParByZone, "Zone Area [m2]");
1029 234 : s->pdchOaMvDesZnOa = newPreDefColumn(state, s->pdstOAmechVentParByZone, "Design Zone Outdoor Airflow - Voz [m3/s]");
1030 234 : s->pdchOaMvMinDynTrgVent = newPreDefColumn(state, s->pdstOAmechVentParByZone, "Minimum Dynamic Target Ventilation - Voz-dyn-min [m3/s]");
1031 468 : addFootNoteSubTable(
1032 234 : state, s->pdstOAmechVentParByZone, "Values shown for a single zone without multipliers. Total Facility includes multipliers.");
1033 :
1034 234 : s->pdstOAtotAirByZone = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Total Outdoor Air by Zone");
1035 234 : s->pdchOaTaBzMechVent = newPreDefColumn(state, s->pdstOAtotAirByZone, "Mechanical Ventilation [m3]");
1036 234 : s->pdchOaTaBzNatVent = newPreDefColumn(state, s->pdstOAtotAirByZone, "Natural Ventilation [m3]");
1037 234 : s->pdchOaTaBzTotVent = newPreDefColumn(state, s->pdstOAtotAirByZone, "Total Ventilation [m3]");
1038 234 : s->pdchOaTaBzInfil = newPreDefColumn(state, s->pdstOAtotAirByZone, "Infiltration [m3]");
1039 234 : s->pdchOaTaBzTotVentInfil = newPreDefColumn(state, s->pdstOAtotAirByZone, "Total Ventilation and Infiltration [m3]");
1040 234 : s->pdchOaTaBzDynTrgVent = newPreDefColumn(state, s->pdstOAtotAirByZone, "Dynamic Target Ventilation - Voz-dyn [m3]");
1041 234 : s->pdchOaTaBzTmBelow = newPreDefColumn(state, s->pdstOAtotAirByZone, "Time Below Voz-dyn [hr]");
1042 234 : s->pdchOaTaBzTmAt = newPreDefColumn(state, s->pdstOAtotAirByZone, "Time At Voz-dyn [hr]");
1043 234 : s->pdchOaTaBzTmAbove = newPreDefColumn(state, s->pdstOAtotAirByZone, "Time Above Voz-dyn [hr]");
1044 234 : s->pdchOaTaBzTmAboveUnocc = newPreDefColumn(state, s->pdstOAtotAirByZone, "Time Above Zero When Unoccupied [hr]");
1045 234 : addFootNoteSubTable(state, s->pdstOAtotAirByZone, "Values shown for a single zone without multipliers. Total Facility includes multipliers.");
1046 :
1047 234 : s->pdstOAavgOccByZone = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Average Outdoor Air During Occupancy by Zone - Flow Rates");
1048 234 : s->pdchOaOccBzMechVent = newPreDefColumn(state, s->pdstOAavgOccByZone, "Mechanical Ventilation [m3/s]");
1049 234 : s->pdchOaOccBzNatVent = newPreDefColumn(state, s->pdstOAavgOccByZone, "Natural Ventilation [m3/s]");
1050 234 : s->pdchOaOccBzTotVent = newPreDefColumn(state, s->pdstOAavgOccByZone, "Total Ventilation [m3/s]");
1051 234 : s->pdchOaOccBzInfil = newPreDefColumn(state, s->pdstOAavgOccByZone, "Infiltration [m3/s]");
1052 234 : s->pdchOaOccBzTotVentInfil = newPreDefColumn(state, s->pdstOAavgOccByZone, "Total Ventilation and Infiltration [m3/s]");
1053 234 : s->pdchOaOccBzDynTrgVent = newPreDefColumn(state, s->pdstOAavgOccByZone, "Dynamic Target Ventilation - Voz-dyn [m3/s]");
1054 234 : s->pdchOaOccBzTmBelow = newPreDefColumn(state, s->pdstOAavgOccByZone, "Time Below Voz-dyn [hr]");
1055 234 : s->pdchOaOccBzTmAt = newPreDefColumn(state, s->pdstOAavgOccByZone, "Time At Voz-dyn [hr]");
1056 234 : s->pdchOaOccBzTmAbove = newPreDefColumn(state, s->pdstOAavgOccByZone, "Time Above Voz-dyn [hr]");
1057 234 : addFootNoteSubTable(state, s->pdstOAavgOccByZone, "Values shown for a single zone without multipliers. Total Facility includes multipliers.");
1058 :
1059 234 : s->pdstOAtotAirByLoop = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Total Outdoor Air by AirLoop");
1060 234 : s->pdchOaTaAlMechVent = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Mechanical Ventilation [m3]");
1061 234 : s->pdchOaTaAlNatVent = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Natural Ventilation [m3]");
1062 234 : s->pdchOaTaAlTotVent = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Total Ventilation [m3]");
1063 234 : s->pdchOaTaAlSumDynTrgVent = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Sum Zone Dynamic Target Ventilation - Voz-sum-dyn [m3]");
1064 234 : s->pdchOaTaAlTmBelow = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Time Below Voz-sum-dyn [hr]");
1065 234 : s->pdchOaTaAlTmAt = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Time At Voz-sum-dyn [hr]");
1066 234 : s->pdchOaTaAlTmAbove = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Time Above Voz-sum-dyn [hr]");
1067 234 : s->pdchOaTaAlTmAboveUnocc = newPreDefColumn(state, s->pdstOAtotAirByLoop, "Time Above Zero When Unoccupied [hr]");
1068 234 : addFootNoteSubTable(state, s->pdstOAtotAirByLoop, "Values shown include multipliers.");
1069 :
1070 234 : s->pdstOAavgOccByLoop = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Average Outdoor Air During Occupancy by AirLoop");
1071 234 : s->pdchOaOccAlMechVent = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Mechanical Ventilation [m3/s]");
1072 234 : s->pdchOaOccAlNatVent = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Natural Ventilation [m3/s]");
1073 234 : s->pdchOaOccAlTotVent = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Total Ventilation [m3/s]");
1074 234 : s->pdchOaOccAlSumDynTrgVent = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Sum Zone Dynamic Target Ventilation - Voz-sum-dyn [m3/s]");
1075 234 : s->pdchOaOccAlTmBelow = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Time Below Voz-sum-dyn [hr]");
1076 234 : s->pdchOaOccAlTmAt = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Time At Voz-sum-dyn [hr]");
1077 234 : s->pdchOaOccAlTmAbove = newPreDefColumn(state, s->pdstOAavgOccByLoop, "Time Above Voz-sum-dyn [hr]");
1078 234 : addFootNoteSubTable(state, s->pdstOAavgOccByLoop, "Values shown include multipliers.");
1079 :
1080 234 : s->pdstOAtimeFactorsDurOcc = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Outdoor Air Controller Limiting Factors by AirLoop");
1081 234 : s->pdchOaTmFctNoLimit = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "No Limiting Factor [hr]"); // todo
1082 234 : s->pdchOaTmFctLimit = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Limits and Scheduled Limits [hr]"); // todo
1083 234 : s->pdchOaTmFctEcono = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Economizer [hr]"); // todo
1084 234 : s->pdchOaTmFctExhaust = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Exhaust Flow [hr]"); // todo
1085 234 : s->pdchOaTmFctMixedLimit = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Mixed Air Flow [hr]"); // todo
1086 234 : s->pdchOaTmFctHiHumid = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "High Humidity [hr]"); // todo
1087 234 : s->pdchOaTmFctDCV = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Demand Controlled Ventilation [hr]"); // todo
1088 234 : s->pdchOaTmFctNiteVent = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Night Ventilation [hr]"); // todo
1089 234 : s->pdchOaTmFctDemand = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Demand Limiting [hr]"); // todo
1090 234 : s->pdchOaTmFctEMS = newPreDefColumn(state, s->pdstOAtimeFactorsDurOcc, "Energy Management System [hr]"); // todo
1091 :
1092 234 : s->pdstOAavgFactorsDurOcc = newPreDefSubTable(state, s->pdrOutsideAirDetails, "Average Outdoor Air for Limiting Factors During Occupancy");
1093 234 : s->pdchOaAvFctNoLimit = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "No Limiting Factor [m3/s]"); // todo
1094 234 : s->pdchOaAvFctLimit = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Limits and Scheduled Limits [m3/s]"); // todo
1095 234 : s->pdchOaAvFctEcono = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Economizer [m3/s]"); // todo
1096 234 : s->pdchOaAvFctExhaust = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Exhaust Flow [m3/s]"); // todo
1097 234 : s->pdchOaAvFctMixedLimit = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Mixed Air Flow [m3/s]"); // todo
1098 234 : s->pdchOaAvFctHiHumid = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "High Humidity [m3/s]"); // todo
1099 234 : s->pdchOaAvFctDCV = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Demand Controlled Ventilation [m3/s]"); // todo
1100 234 : s->pdchOaAvFctNiteVent = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Night Ventilation [m3/s]"); // todo
1101 234 : s->pdchOaAvFctDemand = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Demand Limiting [m3/s]"); // todo
1102 234 : s->pdchOaAvFctEMS = newPreDefColumn(state, s->pdstOAavgFactorsDurOcc, "Energy Management System [m3/s]"); // todo
1103 234 : addFootNoteSubTable(state, s->pdstOAavgFactorsDurOcc, "Values shown include multipliers.");
1104 :
1105 : // Object Count Report
1106 234 : s->pdrObjCnt = newPreDefReport(state, "ObjectCountSummary", "Count", "Object Count Summary");
1107 :
1108 234 : s->pdstSurfCnt = newPreDefSubTable(state, s->pdrObjCnt, "Surfaces by Class");
1109 234 : s->pdchSurfCntTot = newPreDefColumn(state, s->pdstSurfCnt, "Total");
1110 234 : s->pdchSurfCntExt = newPreDefColumn(state, s->pdstSurfCnt, "Outdoors");
1111 :
1112 234 : s->pdstHVACcnt = newPreDefSubTable(state, s->pdrObjCnt, "HVAC");
1113 234 : s->pdchHVACcntVal = newPreDefColumn(state, s->pdstHVACcnt, "Count");
1114 :
1115 234 : s->pdstFieldCnt = newPreDefSubTable(state, s->pdrObjCnt, "Input Fields");
1116 234 : s->pdchFieldCntVal = newPreDefColumn(state, s->pdstFieldCnt, "Count");
1117 :
1118 : // Energy Meters report
1119 234 : s->pdrEnergyMeters = newPreDefReport(state, "EnergyMeters", "Meters", "Energy Meters");
1120 :
1121 : // s->pdstEMvalues = newPreDefSubTable(state, s->pdrEnergyMeters,'Annual and Peak Values')
1122 : // s->pdchEMannual = newPreDefColumn(state, s->pdstEMvalues,'Annual Value [GJ]')
1123 : // s->pdchEMminvalue = newPreDefColumn(state, s->pdstEMvalues,'Minimum Value [J]')
1124 : // s->pdchEMminvaluetime = newPreDefColumn(state, s->pdstEMvalues,'Timestamp of Minimum')
1125 : // s->pdchEMmaxvalue = newPreDefColumn(state, s->pdstEMvalues,'Maximum Value [J]')
1126 : // s->pdchEMmaxvaluetime = newPreDefColumn(state, s->pdstEMvalues,'Timestamp of Maximum')
1127 : // Electricity Sub Table
1128 234 : s->pdstEMelecvalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Electricity");
1129 468 : addFootNoteSubTable(
1130 234 : state, s->pdstEMelecvalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1131 234 : s->pdchEMelecannual = newPreDefColumn(state, s->pdstEMelecvalues, "Electricity Annual Value [GJ]");
1132 234 : s->pdchEMelecminvalue = newPreDefColumn(state, s->pdstEMelecvalues, "Electricity Minimum Value [W]");
1133 234 : s->pdchEMelecminvaluetime = newPreDefColumn(state, s->pdstEMelecvalues, "Timestamp of Minimum {TIMESTAMP}");
1134 234 : s->pdchEMelecmaxvalue = newPreDefColumn(state, s->pdstEMelecvalues, "Electricity Maximum Value [W]");
1135 234 : s->pdchEMelecmaxvaluetime = newPreDefColumn(state, s->pdstEMelecvalues, "Timestamp of Maximum {TIMESTAMP}");
1136 :
1137 : // Gas Sub Table
1138 234 : s->pdstEMgasvalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Natural Gas");
1139 468 : addFootNoteSubTable(
1140 234 : state, s->pdstEMgasvalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1141 234 : s->pdchEMgasannual = newPreDefColumn(state, s->pdstEMgasvalues, "Natural Gas Annual Value [GJ]");
1142 234 : s->pdchEMgasminvalue = newPreDefColumn(state, s->pdstEMgasvalues, "Natural Gas Minimum Value [W]");
1143 234 : s->pdchEMgasminvaluetime = newPreDefColumn(state, s->pdstEMgasvalues, "Timestamp of Minimum {TIMESTAMP}");
1144 234 : s->pdchEMgasmaxvalue = newPreDefColumn(state, s->pdstEMgasvalues, "Natural Gas Maximum Value [W]");
1145 234 : s->pdchEMgasmaxvaluetime = newPreDefColumn(state, s->pdstEMgasvalues, "Timestamp of Maximum {TIMESTAMP}");
1146 :
1147 : // Cool SubTable
1148 234 : s->pdstEMcoolvalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Cooling");
1149 468 : addFootNoteSubTable(
1150 234 : state, s->pdstEMcoolvalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1151 234 : s->pdchEMcoolannual = newPreDefColumn(state, s->pdstEMcoolvalues, "Cooling Annual Value [GJ]");
1152 234 : s->pdchEMcoolminvalue = newPreDefColumn(state, s->pdstEMcoolvalues, "Cooling Minimum Value [W]");
1153 234 : s->pdchEMcoolminvaluetime = newPreDefColumn(state, s->pdstEMcoolvalues, "Timestamp of Minimum {TIMESTAMP}");
1154 234 : s->pdchEMcoolmaxvalue = newPreDefColumn(state, s->pdstEMcoolvalues, "Cooling Maximum Value [W]");
1155 234 : s->pdchEMcoolmaxvaluetime = newPreDefColumn(state, s->pdstEMcoolvalues, "Timestamp of Maximum {TIMESTAMP}");
1156 :
1157 : // Water SubTable
1158 234 : s->pdstEMwatervalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Water");
1159 468 : addFootNoteSubTable(
1160 234 : state, s->pdstEMwatervalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1161 234 : s->pdchEMwaterannual = newPreDefColumn(state, s->pdstEMwatervalues, "Annual Value [m3]");
1162 234 : s->pdchEMwaterminvalue = newPreDefColumn(state, s->pdstEMwatervalues, "Minimum Value [m3/s]");
1163 234 : s->pdchEMwaterminvaluetime = newPreDefColumn(state, s->pdstEMwatervalues, "Timestamp of Minimum {TIMESTAMP}");
1164 234 : s->pdchEMwatermaxvalue = newPreDefColumn(state, s->pdstEMwatervalues, "Maximum Value [m3/s]");
1165 234 : s->pdchEMwatermaxvaluetime = newPreDefColumn(state, s->pdstEMwatervalues, "Timestamp of Maximum {TIMESTAMP}");
1166 :
1167 : // Other KG SubTable
1168 234 : s->pdstEMotherKGvalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Other by Weight/Mass");
1169 468 : addFootNoteSubTable(
1170 234 : state, s->pdstEMotherKGvalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1171 234 : s->pdchEMotherKGannual = newPreDefColumn(state, s->pdstEMotherKGvalues, "Annual Value [kg]");
1172 234 : s->pdchEMotherKGminvalue = newPreDefColumn(state, s->pdstEMotherKGvalues, "Minimum Value [kg/s]");
1173 234 : s->pdchEMotherKGminvaluetime = newPreDefColumn(state, s->pdstEMotherKGvalues, "Timestamp of Minimum {TIMESTAMP}");
1174 234 : s->pdchEMotherKGmaxvalue = newPreDefColumn(state, s->pdstEMotherKGvalues, "Maximum Value [kg/s]");
1175 234 : s->pdchEMotherKGmaxvaluetime = newPreDefColumn(state, s->pdstEMotherKGvalues, "Timestamp of Maximum {TIMESTAMP}");
1176 :
1177 : // Other M3 SubTable
1178 234 : s->pdstEMotherM3values = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Other Volumetric");
1179 468 : addFootNoteSubTable(
1180 234 : state, s->pdstEMotherM3values, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1181 234 : s->pdchEMotherM3annual = newPreDefColumn(state, s->pdstEMotherM3values, "Annual Value [m3]");
1182 234 : s->pdchEMotherM3minvalue = newPreDefColumn(state, s->pdstEMotherM3values, "Minimum Value [m3/s]");
1183 234 : s->pdchEMotherM3minvaluetime = newPreDefColumn(state, s->pdstEMotherM3values, "Timestamp of Minimum {TIMESTAMP}");
1184 234 : s->pdchEMotherM3maxvalue = newPreDefColumn(state, s->pdstEMotherM3values, "Maximum Value [m3/s]");
1185 234 : s->pdchEMotherM3maxvaluetime = newPreDefColumn(state, s->pdstEMotherM3values, "Timestamp of Maximum {TIMESTAMP}");
1186 :
1187 : // Other M3 SubTable
1188 234 : s->pdstEMotherLvalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Other Liquid/Gas");
1189 468 : addFootNoteSubTable(
1190 234 : state, s->pdstEMotherLvalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1191 234 : s->pdchEMotherLannual = newPreDefColumn(state, s->pdstEMotherLvalues, "Annual Value [L]");
1192 234 : s->pdchEMotherLminvalue = newPreDefColumn(state, s->pdstEMotherLvalues, "Minimum Value [L]");
1193 234 : s->pdchEMotherLminvaluetime = newPreDefColumn(state, s->pdstEMotherLvalues, "Timestamp of Minimum {TIMESTAMP}");
1194 234 : s->pdchEMotherLmaxvalue = newPreDefColumn(state, s->pdstEMotherLvalues, "Maximum Value [L]");
1195 234 : s->pdchEMotherLmaxvaluetime = newPreDefColumn(state, s->pdstEMotherLvalues, "Timestamp of Maximum {TIMESTAMP}");
1196 :
1197 : // Other J SubTable
1198 234 : s->pdstEMotherJvalues = newPreDefSubTable(state, s->pdrEnergyMeters, "Annual and Peak Values - Other");
1199 468 : addFootNoteSubTable(
1200 234 : state, s->pdstEMotherJvalues, "Values shown are for all completed run periods - including any simulations run during sizing periods");
1201 234 : s->pdchEMotherJannual = newPreDefColumn(state, s->pdstEMotherJvalues, "Annual Value [GJ]");
1202 234 : s->pdchEMotherJminvalue = newPreDefColumn(state, s->pdstEMotherJvalues, "Minimum Value [W]");
1203 234 : s->pdchEMotherJminvaluetime = newPreDefColumn(state, s->pdstEMotherJvalues, "Timestamp of Minimum {TIMESTAMP}");
1204 234 : s->pdchEMotherJmaxvalue = newPreDefColumn(state, s->pdstEMotherJvalues, "Maximum Value [W]");
1205 234 : s->pdchEMotherJmaxvaluetime = newPreDefColumn(state, s->pdstEMotherJvalues, "Timestamp of Maximum {TIMESTAMP}");
1206 :
1207 : // Sensible Heat Gain Component Report
1208 234 : s->pdrSensibleGain = newPreDefReport(state, "SensibleHeatGainSummary", "SHGS", "Sensible Heat Gain Summary");
1209 :
1210 234 : s->pdstSHGSannual = newPreDefSubTable(state, s->pdrSensibleGain, "Annual Building Sensible Heat Gain Components");
1211 :
1212 234 : s->pdchSHGSAnZoneEqHt = newPreDefColumn(state, s->pdstSHGSannual, "HVAC Zone Eq & Other Sensible Air Heating [GJ]");
1213 234 : s->pdchSHGSAnZoneEqCl = newPreDefColumn(state, s->pdstSHGSannual, "HVAC Zone Eq & Other Sensible Air Cooling [GJ]");
1214 234 : s->pdchSHGSAnHvacATUHt = newPreDefColumn(state, s->pdstSHGSannual, "HVAC Terminal Unit Sensible Air Heating [GJ]");
1215 234 : s->pdchSHGSAnHvacATUCl = newPreDefColumn(state, s->pdstSHGSannual, "HVAC Terminal Unit Sensible Air Cooling [GJ]");
1216 234 : s->pdchSHGSAnSurfHt = newPreDefColumn(state, s->pdstSHGSannual, "HVAC Input Heated Surface Heating [GJ]");
1217 234 : s->pdchSHGSAnSurfCl = newPreDefColumn(state, s->pdstSHGSannual, "HVAC Input Cooled Surface Cooling [GJ]");
1218 234 : s->pdchSHGSAnPeoplAdd = newPreDefColumn(state, s->pdstSHGSannual, "People Sensible Heat Addition [GJ]");
1219 234 : s->pdchSHGSAnLiteAdd = newPreDefColumn(state, s->pdstSHGSannual, "Lights Sensible Heat Addition [GJ]");
1220 234 : s->pdchSHGSAnEquipAdd = newPreDefColumn(state, s->pdstSHGSannual, "Equipment Sensible Heat Addition [GJ]");
1221 234 : s->pdchSHGSAnWindAdd = newPreDefColumn(state, s->pdstSHGSannual, "Window Heat Addition [GJ]");
1222 234 : s->pdchSHGSAnIzaAdd = newPreDefColumn(state, s->pdstSHGSannual, "Interzone Air Transfer Heat Addition [GJ]");
1223 234 : s->pdchSHGSAnInfilAdd = newPreDefColumn(state, s->pdstSHGSannual, "Infiltration Heat Addition [GJ]");
1224 234 : s->pdchSHGSAnOtherAdd = newPreDefColumn(state, s->pdstSHGSannual, "Opaque Surface Conduction and Other Heat Addition [GJ]");
1225 234 : s->pdchSHGSAnEquipRem = newPreDefColumn(state, s->pdstSHGSannual, "Equipment Sensible Heat Removal [GJ]");
1226 234 : s->pdchSHGSAnWindRem = newPreDefColumn(state, s->pdstSHGSannual, "Window Heat Removal [GJ]");
1227 234 : s->pdchSHGSAnIzaRem = newPreDefColumn(state, s->pdstSHGSannual, "Interzone Air Transfer Heat Removal [GJ]");
1228 234 : s->pdchSHGSAnInfilRem = newPreDefColumn(state, s->pdstSHGSannual, "Infiltration Heat Removal [GJ]");
1229 234 : s->pdchSHGSAnOtherRem = newPreDefColumn(state, s->pdstSHGSannual, "Opaque Surface Conduction and Other Heat Removal [GJ]");
1230 :
1231 234 : s->pdstSHGSpkCl = newPreDefSubTable(state, s->pdrSensibleGain, "Peak Cooling Sensible Heat Gain Components");
1232 :
1233 234 : s->pdchSHGSClTimePeak = newPreDefColumn(state, s->pdstSHGSpkCl, "Time of Peak {TIMESTAMP}");
1234 234 : s->pdchSHGSClHvacHt = newPreDefColumn(state, s->pdstSHGSpkCl, "HVAC Zone Eq & Other Sensible Air Heating [W]");
1235 234 : s->pdchSHGSClHvacCl = newPreDefColumn(state, s->pdstSHGSpkCl, "HVAC Zone Eq & Other Sensible Air Cooling [W]");
1236 234 : s->pdchSHGSClHvacATUHt = newPreDefColumn(state, s->pdstSHGSpkCl, "HVAC Terminal Unit Sensible Air Heating [W]");
1237 234 : s->pdchSHGSClHvacATUCl = newPreDefColumn(state, s->pdstSHGSpkCl, "HVAC Terminal Unit Sensible Air Cooling [W]");
1238 234 : s->pdchSHGSClSurfHt = newPreDefColumn(state, s->pdstSHGSpkCl, "HVAC Input Heated Surface Heating [W]");
1239 234 : s->pdchSHGSClSurfCl = newPreDefColumn(state, s->pdstSHGSpkCl, "HVAC Input Cooled Surface Cooling [W]");
1240 234 : s->pdchSHGSClPeoplAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "People Sensible Heat Addition [W]");
1241 234 : s->pdchSHGSClLiteAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "Lights Sensible Heat Addition [W]");
1242 234 : s->pdchSHGSClEquipAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "Equipment Sensible Heat Addition [W]");
1243 234 : s->pdchSHGSClWindAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "Window Heat Addition [W]");
1244 234 : s->pdchSHGSClIzaAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "Interzone Air Transfer Heat Addition [W]");
1245 234 : s->pdchSHGSClInfilAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "Infiltration Heat Addition [W]");
1246 234 : s->pdchSHGSClOtherAdd = newPreDefColumn(state, s->pdstSHGSpkCl, "Opaque Surface Conduction and Other Heat Addition [W]");
1247 234 : s->pdchSHGSClEquipRem = newPreDefColumn(state, s->pdstSHGSpkCl, "Equipment Sensible Heat Removal [W]");
1248 234 : s->pdchSHGSClWindRem = newPreDefColumn(state, s->pdstSHGSpkCl, "Window Heat Removal [W]");
1249 234 : s->pdchSHGSClIzaRem = newPreDefColumn(state, s->pdstSHGSpkCl, "Interzone Air Transfer Heat Removal [W]");
1250 234 : s->pdchSHGSClInfilRem = newPreDefColumn(state, s->pdstSHGSpkCl, "Infiltration Heat Removal [W]");
1251 234 : s->pdchSHGSClOtherRem = newPreDefColumn(state, s->pdstSHGSpkCl, "Opaque Surface Conduction and Other Heat Removal [W]");
1252 :
1253 234 : s->pdstSHGSpkHt = newPreDefSubTable(state, s->pdrSensibleGain, "Peak Heating Sensible Heat Gain Components");
1254 :
1255 234 : s->pdchSHGSHtTimePeak = newPreDefColumn(state, s->pdstSHGSpkHt, "Time of Peak {TIMESTAMP}");
1256 234 : s->pdchSHGSHtHvacHt = newPreDefColumn(state, s->pdstSHGSpkHt, "HVAC Zone Eq & Other Sensible Air Heating [W]");
1257 234 : s->pdchSHGSHtHvacCl = newPreDefColumn(state, s->pdstSHGSpkHt, "HVAC Zone Eq & Other Sensible Air Cooling [W]");
1258 234 : s->pdchSHGSHtHvacATUHt = newPreDefColumn(state, s->pdstSHGSpkHt, "HVAC Terminal Unit Sensible Air Heating [W]");
1259 234 : s->pdchSHGSHtHvacATUCl = newPreDefColumn(state, s->pdstSHGSpkHt, "HVAC Terminal Unit Sensible Air Cooling [W]");
1260 234 : s->pdchSHGSHtSurfHt = newPreDefColumn(state, s->pdstSHGSpkHt, "HVAC Input Heated Surface Heating [W]");
1261 234 : s->pdchSHGSHtSurfCl = newPreDefColumn(state, s->pdstSHGSpkHt, "HVAC Input Cooled Surface Cooling [W]");
1262 234 : s->pdchSHGSHtPeoplAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "People Sensible Heat Addition [W]");
1263 234 : s->pdchSHGSHtLiteAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "Lights Sensible Heat Addition [W]");
1264 234 : s->pdchSHGSHtEquipAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "Equipment Sensible Heat Addition [W]");
1265 234 : s->pdchSHGSHtWindAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "Window Heat Addition [W]");
1266 234 : s->pdchSHGSHtIzaAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "Interzone Air Transfer Heat Addition [W]");
1267 234 : s->pdchSHGSHtInfilAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "Infiltration Heat Addition [W]");
1268 234 : s->pdchSHGSHtOtherAdd = newPreDefColumn(state, s->pdstSHGSpkHt, "Opaque Surface Conduction and Other Heat Addition [W]");
1269 234 : s->pdchSHGSHtEquipRem = newPreDefColumn(state, s->pdstSHGSpkHt, "Equipment Sensible Heat Removal [W]");
1270 234 : s->pdchSHGSHtWindRem = newPreDefColumn(state, s->pdstSHGSpkHt, "Window Heat Removal [W]");
1271 234 : s->pdchSHGSHtIzaRem = newPreDefColumn(state, s->pdstSHGSpkHt, "Interzone Air Transfer Heat Removal [W]");
1272 234 : s->pdchSHGSHtInfilRem = newPreDefColumn(state, s->pdstSHGSpkHt, "Infiltration Heat Removal [W]");
1273 234 : s->pdchSHGSHtOtherRem = newPreDefColumn(state, s->pdstSHGSpkHt, "Opaque Surface Conduction and Other Heat Removal [W]");
1274 :
1275 : // Standard62Report
1276 234 : if (state.dataGlobal->DoZoneSizing || state.dataGlobal->DoSystemSizing) {
1277 49 : s->pdrStd62 = newPreDefReport(state, "Standard62.1Summary", "Std62", "Standard 62.1 Summary");
1278 :
1279 49 : s->pdstS62sysVentReqCool = newPreDefSubTable(state, s->pdrStd62, "System Ventilation Requirements for Cooling");
1280 :
1281 49 : s->pdchS62svrClSumVpz = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Sum of Zone Primary Air Flow - Vpz-sum [m3/s]");
1282 49 : s->pdchS62svrClPs = newPreDefColumn(state, s->pdstS62sysVentReqCool, "System Population - Ps");
1283 49 : s->pdchS62svrClSumPz = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Sum of Zone Population - Pz-sum");
1284 49 : s->pdchS62svrClD = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Occupant Diversity - D");
1285 49 : s->pdchS62svrClDorg = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Origin of D");
1286 49 : s->pdchS62svrClVou = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Uncorrected Outdoor Air Intake Airflow - Vou [m3/s]");
1287 49 : s->pdchS62svrClVps = newPreDefColumn(state, s->pdstS62sysVentReqCool, "System Primary Airflow - Vps [m3/s]");
1288 49 : s->pdchS62svrClXs = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Average Outdoor Air Fraction - Xs");
1289 49 : s->pdchS62svrClEv = newPreDefColumn(state, s->pdstS62sysVentReqCool, "System Ventilation Efficiency - Ev");
1290 49 : s->pdchS62svrClEvMthd = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Calculation Method for Ev");
1291 49 : s->pdchS62svrClVot = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Outdoor Air Intake Flow - Vot [m3/s]");
1292 49 : s->pdchS62svrClPercOA = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Percent Outdoor Air - %OA");
1293 49 : s->pdchS62svrClEnvironmentOfPs = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Environment Name of Peak System Population - Ps");
1294 49 : s->pdchS62svrClTimeOfPs = newPreDefColumn(state, s->pdstS62sysVentReqCool, "Date and Time of Last Peak System Population - Ps");
1295 :
1296 49 : s->pdstS62sysVentReqHeat = newPreDefSubTable(state, s->pdrStd62, "System Ventilation Requirements for Heating");
1297 :
1298 49 : s->pdchS62svrHtSumVpz = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Sum of Zone Primary Air Flow - Vpz-sum [m3/s]");
1299 49 : s->pdchS62svrHtPs = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "System Population - Ps");
1300 49 : s->pdchS62svrHtSumPz = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Sum of Zone Population - Pz-sum");
1301 49 : s->pdchS62svrHtD = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Occupant Diversity - D");
1302 49 : s->pdchS62svrHtDorg = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Origin of D");
1303 49 : s->pdchS62svrHtVou = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Uncorrected Outdoor Air Intake Airflow - Vou [m3/s]");
1304 49 : s->pdchS62svrHtVps = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "System Primary Airflow - Vps [m3/s]");
1305 49 : s->pdchS62svrHtXs = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Average Outdoor Air Fraction - Xs");
1306 49 : s->pdchS62svrHtEv = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "System Ventilation Efficiency - Ev");
1307 49 : s->pdchS62svrHtEvMthd = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Calculation Method for Ev");
1308 49 : s->pdchS62svrHtVot = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Outdoor Air Intake Flow Vot [m3/s]");
1309 49 : s->pdchS62svrHtPercOA = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Percent Outdoor Air - %OA");
1310 49 : s->pdchS62svrHtEnvironmentOfPs = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Environment Name of Peak System Population - Ps");
1311 49 : s->pdchS62svrHtTimeOfPs = newPreDefColumn(state, s->pdstS62sysVentReqHeat, "Date and Time of Last Peak System Population - Ps");
1312 :
1313 49 : s->pdstS62znVentPar = newPreDefSubTable(state, s->pdrStd62, "Zone Ventilation Parameters");
1314 :
1315 49 : s->pdchS62zvpAlN = newPreDefColumn(state, s->pdstS62znVentPar, "AirLoop Name");
1316 49 : s->pdchS62zvpRp = newPreDefColumn(state, s->pdstS62znVentPar, "People Outdoor Air Rate - Rp [m3/s-person]");
1317 49 : s->pdchS62zvpPz = newPreDefColumn(state, s->pdstS62znVentPar, "Zone Population - Pz");
1318 49 : s->pdchS62zvpRa = newPreDefColumn(state, s->pdstS62znVentPar, "Area Outdoor Air Rate - Ra [m3/s-m2]");
1319 49 : s->pdchS62zvpAz = newPreDefColumn(state, s->pdstS62znVentPar, "Zone Floor Area - Az [m2]");
1320 49 : s->pdchS62zvpVbz = newPreDefColumn(state, s->pdstS62znVentPar, "Breathing Zone Outdoor Airflow - Vbz [m3/s]");
1321 49 : s->pdchS62zvpClEz = newPreDefColumn(state, s->pdstS62znVentPar, "Cooling Zone Air Distribution Effectiveness - Ez-clg");
1322 49 : s->pdchS62zvpClVoz = newPreDefColumn(state, s->pdstS62znVentPar, "Cooling Zone Outdoor Airflow - Voz-clg [m3/s]");
1323 49 : s->pdchS62zvpHtEz = newPreDefColumn(state, s->pdstS62znVentPar, "Heating Zone Air Distribution Effectiveness - Ez-htg");
1324 49 : s->pdchS62zvpHtVoz = newPreDefColumn(state, s->pdstS62znVentPar, "Heating Zone Outdoor Airflow - Voz-htg [m3/s]");
1325 :
1326 49 : s->pdstS62sysVentPar = newPreDefSubTable(state, s->pdrStd62, "System Ventilation Parameters");
1327 :
1328 49 : s->pdchS62svpRp = newPreDefColumn(state, s->pdstS62sysVentPar, "People Outdoor Air Rate - Rp [m3/s-person]");
1329 49 : s->pdchS62svpPz = newPreDefColumn(state, s->pdstS62sysVentPar, "Sum of Zone Population - Pz-sum");
1330 49 : s->pdchS62svpRa = newPreDefColumn(state, s->pdstS62sysVentPar, "Area Outdoor Air Rate - Ra [m3/s-m2]");
1331 49 : s->pdchS62svpAz = newPreDefColumn(state, s->pdstS62sysVentPar, "Sum of Zone Floor Area - Az-sum [m2]");
1332 49 : s->pdchS62svpVbz = newPreDefColumn(state, s->pdstS62sysVentPar, "Breathing Zone Outdoor Airflow - Vbz [m3/s]");
1333 49 : s->pdchS62svpClVoz = newPreDefColumn(state, s->pdstS62sysVentPar, "Cooling Zone Outdoor Airflow - Voz-clg [m3/s]");
1334 49 : s->pdchS62svpHtVoz = newPreDefColumn(state, s->pdstS62sysVentPar, "Heating Zone Outdoor Airflow - Voz-htg [m3/s]");
1335 :
1336 49 : s->pdstS62znCoolDes = newPreDefSubTable(state, s->pdrStd62, "Zone Ventilation Calculations for Cooling Design");
1337 :
1338 49 : s->pdchS62zcdAlN = newPreDefColumn(state, s->pdstS62znCoolDes, "AirLoop Name");
1339 49 : s->pdchS62zcdBox = newPreDefColumn(state, s->pdstS62znCoolDes, "Box Type");
1340 49 : s->pdchS62zcdVpz = newPreDefColumn(state, s->pdstS62znCoolDes, "Zone Primary Airflow - Vpz [m3/s]");
1341 : // s->pdchS62zcdVps = newPreDefColumn(state, s->pdstS62znCoolDes,'System Primary Airflow - Vps [m3/s]')
1342 : // s->pdchS62zcdVsec = newPreDefColumn(state, s->pdstS62znCoolDes,'Secondary Fan Airflow - Vsec [m3/s]')
1343 49 : s->pdchS62zcdVdz = newPreDefColumn(state, s->pdstS62znCoolDes, "Zone Discharge Airflow - Vdz [m3/s]");
1344 49 : s->pdchS62zcdVpzmin = newPreDefColumn(state, s->pdstS62znCoolDes, "Minimum Zone Primary Airflow - Vpz-min [m3/s]");
1345 98 : s->pdchS62zcdVpzminSPSize =
1346 49 : newPreDefColumn(state, s->pdstS62znCoolDes, "Is Vpz-min calculated using the Standard 62.1 Simplified Procedure?");
1347 49 : s->pdchS62zcdVozclg = newPreDefColumn(state, s->pdstS62znCoolDes, "Zone Outdoor Airflow Cooling - Voz-clg [m3/s]");
1348 49 : s->pdchS62zcdZpz = newPreDefColumn(state, s->pdstS62znCoolDes, "Primary Outdoor Air Fraction - Zpz");
1349 49 : s->pdchS62zcdEp = newPreDefColumn(state, s->pdstS62znCoolDes, "Primary Air Fraction - Ep");
1350 49 : s->pdchS62zcdEr = newPreDefColumn(state, s->pdstS62znCoolDes, "Secondary Recirculation Fraction- Er");
1351 49 : s->pdchS62zcdFa = newPreDefColumn(state, s->pdstS62znCoolDes, "Supply Air Fraction- Fa");
1352 49 : s->pdchS62zcdFb = newPreDefColumn(state, s->pdstS62znCoolDes, "Mixed Air Fraction - Fb");
1353 49 : s->pdchS62zcdFc = newPreDefColumn(state, s->pdstS62znCoolDes, "Outdoor Air Fraction - Fc");
1354 49 : s->pdchS62zcdEvz = newPreDefColumn(state, s->pdstS62znCoolDes, "Zone Ventilation Efficiency - Evz");
1355 :
1356 49 : s->pdstS62sysCoolDes = newPreDefSubTable(state, s->pdrStd62, "System Ventilation Calculations for Cooling Design");
1357 :
1358 49 : s->pdchS62scdVpz = newPreDefColumn(state, s->pdstS62sysCoolDes, "Sum of Zone Primary Airflow - Vpz-sum [m3/s]");
1359 49 : s->pdchS62scdVps = newPreDefColumn(state, s->pdstS62sysCoolDes, "System Primary Airflow - Vps [m3/s]");
1360 : // s->pdchS62scdVsec = newPreDefColumn(state, s->pdstS62sysCoolDes,'Secondary Fan Airflow - Vsec [m3/s]')
1361 49 : s->pdchS62scdVdz = newPreDefColumn(state, s->pdstS62sysCoolDes, "Sum of Zone Discharge Airflow - Vdz-sum [m3/s]");
1362 49 : s->pdchS62scdVpzmin = newPreDefColumn(state, s->pdstS62sysCoolDes, "Sum of Min Zone Primary Airflow - Vpz-min [m3/s]");
1363 49 : s->pdchS62scdVozclg = newPreDefColumn(state, s->pdstS62sysCoolDes, "Zone Outdoor Airflow Cooling - Voz-clg [m3/s]");
1364 49 : s->pdchS62scdEvz = newPreDefColumn(state, s->pdstS62sysCoolDes, "Zone Ventilation Efficiency - Evz-min");
1365 :
1366 49 : s->pdstS62znHeatDes = newPreDefSubTable(state, s->pdrStd62, "Zone Ventilation Calculations for Heating Design");
1367 :
1368 49 : s->pdchS62zhdAlN = newPreDefColumn(state, s->pdstS62znHeatDes, "AirLoop Name");
1369 49 : s->pdchS62zhdBox = newPreDefColumn(state, s->pdstS62znHeatDes, "Box Type");
1370 49 : s->pdchS62zhdVpz = newPreDefColumn(state, s->pdstS62znHeatDes, "Zone Primary Airflow - Vpz [m3/s]");
1371 : // s->pdchS62zhdVps = newPreDefColumn(state, s->pdstS62znHeatDes,'System Primary Airflow - Vps [m3/s]')
1372 : // s->pdchS62zhdVsec = newPreDefColumn(state, s->pdstS62znHeatDes,'Secondary Fan Airflow - Vsec [m3/s]')
1373 49 : s->pdchS62zhdVdz = newPreDefColumn(state, s->pdstS62znHeatDes, "Zone Discharge Airflow - Vdz [m3/s]");
1374 49 : s->pdchS62zhdVpzmin = newPreDefColumn(state, s->pdstS62znHeatDes, "Minimum Zone Primary Airflow - Vpz-min [m3/s]");
1375 98 : s->pdchS62zhdVpzminSPSize =
1376 49 : newPreDefColumn(state, s->pdstS62znHeatDes, "Is Vpz-min calculated using the Standard 62.1 Simplified Procedure?");
1377 49 : s->pdchS62zhdVozhtg = newPreDefColumn(state, s->pdstS62znHeatDes, "Zone Outdoor Airflow Heating - Voz-htg [m3/s]");
1378 49 : s->pdchS62zhdZpz = newPreDefColumn(state, s->pdstS62znHeatDes, "Primary Outdoor Air Fraction - Zpz");
1379 49 : s->pdchS62zhdEp = newPreDefColumn(state, s->pdstS62znHeatDes, "Primary Air Fraction - Ep");
1380 49 : s->pdchS62zhdEr = newPreDefColumn(state, s->pdstS62znHeatDes, "Secondary Recirculation Fraction- Er");
1381 49 : s->pdchS62zhdFa = newPreDefColumn(state, s->pdstS62znHeatDes, "Supply Air Fraction- Fa");
1382 49 : s->pdchS62zhdFb = newPreDefColumn(state, s->pdstS62znHeatDes, "Mixed Air Fraction - Fb");
1383 49 : s->pdchS62zhdFc = newPreDefColumn(state, s->pdstS62znHeatDes, "Outdoor Air Fraction - Fc");
1384 49 : s->pdchS62zhdEvz = newPreDefColumn(state, s->pdstS62znHeatDes, "Zone Ventilation Efficiency - Evz");
1385 :
1386 49 : s->pdstS62sysHeatDes = newPreDefSubTable(state, s->pdrStd62, "System Ventilation Calculations for Heating Design");
1387 :
1388 49 : s->pdchS62shdVpz = newPreDefColumn(state, s->pdstS62sysHeatDes, "Sum of Zone Primary Airflow - Vpz-sum [m3/s]");
1389 49 : s->pdchS62shdVps = newPreDefColumn(state, s->pdstS62sysHeatDes, "System Primary Airflow - Vps [m3/s]");
1390 : // s->pdchS62shdVsec = newPreDefColumn(state, s->pdstS62sysHeatDes,'Secondary Fan Airflow - Vsec [m3/s]')
1391 49 : s->pdchS62shdVdz = newPreDefColumn(state, s->pdstS62sysHeatDes, "Sum of Zone Discharge Airflow - Vdz-sum [m3/s]");
1392 49 : s->pdchS62shdVpzmin = newPreDefColumn(state, s->pdstS62sysHeatDes, "Sum of Min Zone Primary Airflow - Vpz-min [m3/s]");
1393 49 : s->pdchS62shdVozhtg = newPreDefColumn(state, s->pdstS62sysHeatDes, "Zone Outdoor Airflow Heating - Voz-htg [m3/s]");
1394 49 : s->pdchS62shdEvz = newPreDefColumn(state, s->pdstS62sysHeatDes, "Zone Ventilation Efficiency - Evz-min");
1395 : }
1396 :
1397 234 : s->pdrLeed = newPreDefReport(state, "LEEDsummary", "LEED", "LEED Summary");
1398 :
1399 234 : s->pdstLeedGenInfo = newPreDefSubTable(state, s->pdrLeed, "Sec1.1A-General Information");
1400 : // single column with rows of:
1401 : // Principal Heating Source
1402 : // Weather File
1403 : // Climate Zone
1404 : // Heating Degree Days
1405 : // Cooling Degree Days
1406 : // HDD and CDD data source
1407 : // Total gross floor area
1408 234 : s->pdchLeedGenData = newPreDefColumn(state, s->pdstLeedGenInfo, "Data");
1409 :
1410 234 : s->pdstLeedSpaceUsageType = newPreDefSubTable(state, s->pdrLeed, "EAp2-1. Space Usage Type");
1411 234 : s->pdchLeedSutSpArea = newPreDefColumn(state, s->pdstLeedSpaceUsageType, "Space Area [m2]");
1412 234 : s->pdchLeedSutOcArea = newPreDefColumn(state, s->pdstLeedSpaceUsageType, "Regularly Occupied Area [m2]");
1413 234 : s->pdchLeedSutUnArea = newPreDefColumn(state, s->pdstLeedSpaceUsageType, "Unconditioned Area [m2]");
1414 234 : s->pdchLeedSutHrsWeek = newPreDefColumn(state, s->pdstLeedSpaceUsageType, "Typical Hours/Week in Operation [hr/wk]");
1415 :
1416 234 : s->pdstLeedAdvsMsg = newPreDefSubTable(state, s->pdrLeed, "EAp2-2. Advisory Messages");
1417 : // single column with rows of:
1418 : // Number of hours heating loads not met
1419 : // Number of hours cooling loads not met
1420 : // Total
1421 : // Difference
1422 : // Number of warning messages
1423 : // Number of error messages
1424 : // Number of defaults overridden
1425 234 : s->pdchLeedAmData = newPreDefColumn(state, s->pdstLeedAdvsMsg, "Data");
1426 :
1427 234 : s->pdstLeedEneTypSum = newPreDefSubTable(state, s->pdrLeed, "EAp2-3. Energy Type Summary");
1428 : // multiple columns with rows of
1429 : // Electricity
1430 : // Natural Gas
1431 : // <additional fuels>
1432 234 : s->pdchLeedEtsRtNm = newPreDefColumn(state, s->pdstLeedEneTypSum, "Utility Rate");
1433 234 : s->pdchLeedEtsVirt = newPreDefColumn(state, s->pdstLeedEneTypSum, "Virtual Rate [$/unit energy]");
1434 234 : s->pdchLeedEtsEneUnt = newPreDefColumn(state, s->pdstLeedEneTypSum, "Units of Energy");
1435 234 : s->pdchLeedEtsDemUnt = newPreDefColumn(state, s->pdstLeedEneTypSum, "Units of Demand");
1436 :
1437 234 : s->pdstLeedPerf = newPreDefSubTable(state, s->pdrLeed, "EAp2-4/5. Performance Rating Method Compliance");
1438 : // Multiple colums with rows of:
1439 : // Interior Lighting
1440 : // Exterior Lighting
1441 : // Space Heating
1442 : // Space Cooling
1443 : // Pumps
1444 : // Heat Rejection
1445 : // Fans-Interior
1446 : // Fans-Parking Garage
1447 : // Service Water Heating
1448 : // Receptacle Equipment
1449 : // Interior Lighting (process)
1450 : // Refrigeration Equipment
1451 : // Cooking
1452 : // Industrial Process
1453 : // Elevators and Escalators
1454 : // Total
1455 234 : s->pdchLeedPerfElEneUse = newPreDefColumn(state, s->pdstLeedPerf, "Electricity Energy Use [GJ]");
1456 234 : s->pdchLeedPerfElDem = newPreDefColumn(state, s->pdstLeedPerf, "Electricity Demand [W]");
1457 234 : s->pdchLeedPerfGasEneUse = newPreDefColumn(state, s->pdstLeedPerf, "Natural Gas Energy Use [GJ]");
1458 234 : s->pdchLeedPerfGasDem = newPreDefColumn(state, s->pdstLeedPerf, "Natural Gas Demand [W]");
1459 234 : s->pdchLeedPerfGasolineEneUse = newPreDefColumn(state, s->pdstLeedPerf, "Gasoline Use [GJ]");
1460 234 : s->pdchLeedPerfGasolineDem = newPreDefColumn(state, s->pdstLeedPerf, "Gasoline Demand [W]");
1461 234 : s->pdchLeedPerfDieselEneUse = newPreDefColumn(state, s->pdstLeedPerf, "Diesel Use [GJ]");
1462 234 : s->pdchLeedPerfDieselDem = newPreDefColumn(state, s->pdstLeedPerf, "Diesel Demand [W]");
1463 234 : s->pdchLeedPerfCoalEneUse = newPreDefColumn(state, s->pdstLeedPerf, "Coal Use [GJ]");
1464 234 : s->pdchLeedPerfCoalDem = newPreDefColumn(state, s->pdstLeedPerf, "Coal Demand [W]");
1465 234 : s->pdchLeedPerfFuelOil1EneUse = newPreDefColumn(state, s->pdstLeedPerf, "Fuel Oil No 1 Use [GJ]");
1466 234 : s->pdchLeedPerfFuelOil1Dem = newPreDefColumn(state, s->pdstLeedPerf, "Fuel Oil No 1 Demand [W]");
1467 234 : s->pdchLeedPerfFuelOil2EneUse = newPreDefColumn(state, s->pdstLeedPerf, "Fuel Oil No 2 Use [GJ]");
1468 234 : s->pdchLeedPerfFuelOil2Dem = newPreDefColumn(state, s->pdstLeedPerf, "Fuel Oil No 2 Demand [W]");
1469 234 : s->pdchLeedPerfPropaneEneUse = newPreDefColumn(state, s->pdstLeedPerf, "Propane Use [GJ]");
1470 234 : s->pdchLeedPerfPropaneDem = newPreDefColumn(state, s->pdstLeedPerf, "Propane Demand [W]");
1471 234 : s->pdchLeedPerfOtherFuel1EneUse = newPreDefColumn(state, s->pdstLeedPerf, "Other Fuel 1 Use [GJ]");
1472 234 : s->pdchLeedPerfOtherFuel1Dem = newPreDefColumn(state, s->pdstLeedPerf, "Other Fuel 1 Demand [W]");
1473 234 : s->pdchLeedPerfOtherFuel2EneUse = newPreDefColumn(state, s->pdstLeedPerf, "Other Fuel 2 Use [GJ]");
1474 234 : s->pdchLeedPerfOtherFuel2Dem = newPreDefColumn(state, s->pdstLeedPerf, "Other Fuel 2 Demand [W]");
1475 234 : s->pdchLeedPerfDisClEneUse = newPreDefColumn(state, s->pdstLeedPerf, "District Cooling Use [GJ]");
1476 234 : s->pdchLeedPerfDisClDem = newPreDefColumn(state, s->pdstLeedPerf, "District Cooling Demand [W]");
1477 234 : s->pdchLeedPerfDisHtWtrEneUse = newPreDefColumn(state, s->pdstLeedPerf, "District Heating Water Use [GJ]");
1478 234 : s->pdchLeedPerfDisHtWtrDem = newPreDefColumn(state, s->pdstLeedPerf, "District Heating Water Demand [W]");
1479 234 : s->pdchLeedPerfDisHtStEneUse = newPreDefColumn(state, s->pdstLeedPerf, "District Heating Steam Use [GJ]");
1480 234 : s->pdchLeedPerfDisHtStDem = newPreDefColumn(state, s->pdstLeedPerf, "District Heating Steam Demand [W]");
1481 :
1482 234 : s->pdstLeedEneUseSum = newPreDefSubTable(state, s->pdrLeed, "EAp2-6. Energy Use Summary");
1483 : // Multiple columns with rows of:
1484 : // Electricity
1485 : // Natural Gas
1486 : // <additional fuels>
1487 : // Total
1488 234 : s->pdchLeedEusProc = newPreDefColumn(state, s->pdstLeedEneUseSum, "Process Subtotal [GJ]");
1489 234 : s->pdchLeedEusTotal = newPreDefColumn(state, s->pdstLeedEneUseSum, "Total Energy Use [GJ]");
1490 :
1491 234 : s->pdstLeedEneCostSum = newPreDefSubTable(state, s->pdrLeed, "EAp2-7. Energy Cost Summary");
1492 : // Multiple columns with rows of:
1493 : // Electricity
1494 : // Natural Gas
1495 : // <additional fuels>
1496 : // Total
1497 234 : s->pdchLeedEcsProc = newPreDefColumn(state, s->pdstLeedEneCostSum, "Process Subtotal [$]");
1498 234 : s->pdchLeedEcsTotal = newPreDefColumn(state, s->pdstLeedEneCostSum, "Total Energy Cost [$]");
1499 :
1500 234 : s->pdstLeedRenewSum = newPreDefSubTable(state, s->pdrLeed, "L-1. Renewable Energy Source Summary");
1501 : // Multiple columns with rows of each renewable source
1502 234 : s->pdchLeedRenRatCap = newPreDefColumn(state, s->pdstLeedRenewSum, "Rated Capacity [kW]");
1503 234 : s->pdchLeedRenAnGen = newPreDefColumn(state, s->pdstLeedRenewSum, "Annual Energy Generated [GJ]");
1504 :
1505 234 : s->pdstLeedEneUseIntEl = newPreDefSubTable(state, s->pdrLeed, "EAp2-17a. Energy Use Intensity - Electricity");
1506 : // Single column with rows of:
1507 : // Interior lighting
1508 : // Space heating
1509 : // Space cooling
1510 : // Fans-interior
1511 : // Service water heating
1512 : // Receptacle equipment
1513 : // Miscellaneous
1514 : // Subtotal
1515 234 : s->pdchLeedEuiElec = newPreDefColumn(state, s->pdstLeedEneUseIntEl, "Electricty [MJ/m2]");
1516 :
1517 234 : s->pdstLeedEneUseIntNatG = newPreDefSubTable(state, s->pdrLeed, "EAp2-17b. Energy Use Intensity - Natural Gas");
1518 : // Single column with rows of:
1519 : // Space heating
1520 : // Service water heating
1521 : // Miscellaneous
1522 : // Subtotal
1523 234 : s->pdchLeedEuiNatG = newPreDefColumn(state, s->pdstLeedEneUseIntNatG, "Natural Gas [MJ/m2]");
1524 :
1525 234 : s->pdstLeedEneUseIntOthr = newPreDefSubTable(state, s->pdrLeed, "EAp2-17c. Energy Use Intensity - Additional");
1526 : // Single column with rows of:
1527 : // Miscellaneous
1528 : // Subtotal
1529 234 : s->pdchLeedEuiOthr = newPreDefColumn(state, s->pdstLeedEneUseIntOthr, "Additional [MJ/m2]");
1530 :
1531 234 : s->pdstLeedEneUsePerc = newPreDefSubTable(state, s->pdrLeed, "EAp2-18. End Use Percentage");
1532 : // single column with rows of:
1533 : // Interior Lighting
1534 : // Space heating
1535 : // Space cooling
1536 : // Fans-Interior
1537 : // Service Water Heating
1538 : // Receptacle Equipment
1539 : // Miscellaneous
1540 234 : s->pdchLeedEupPerc = newPreDefColumn(state, s->pdstLeedEneUsePerc, "Percent [%]");
1541 :
1542 234 : s->pdstLeedEqFlLdHrs = newPreDefSubTable(state, s->pdrLeed, "Schedules-Equivalent Full Load Hours (Schedule Type=Fraction)");
1543 234 : s->pdchLeedEflhEflh = newPreDefColumn(state, s->pdstLeedEqFlLdHrs, "Equivalent Full Load Hours of Operation Per Year [hr]");
1544 234 : s->pdchLeedEflhNonZerHrs = newPreDefColumn(state, s->pdstLeedEqFlLdHrs, "Hours > 1% [hr]");
1545 :
1546 234 : s->pdstLeedSchedSetPts = newPreDefSubTable(state, s->pdrLeed, "Schedules-SetPoints (Schedule Type=Temperature)");
1547 234 : s->pdChLeedSchStPtFirstObjUsed = newPreDefColumn(state, s->pdstLeedSchedSetPts, "First Object Used");
1548 234 : s->pdChLeedSchStPtMonthUsed = newPreDefColumn(state, s->pdstLeedSchedSetPts, "Month Assumed");
1549 234 : s->pdchLeedSchStPt11amWednesday = newPreDefColumn(state, s->pdstLeedSchedSetPts, "11am First Wednesday [C]");
1550 234 : s->pdchLeedSchStPt11amWedCnt = newPreDefColumn(state, s->pdstLeedSchedSetPts, "Days with Same 11am Value");
1551 234 : s->pdchLeedSchStPt11pmWednesday = newPreDefColumn(state, s->pdstLeedSchedSetPts, "11pm First Wednesday [C]");
1552 234 : s->pdchLeedSchStPt11pmWedCnt = newPreDefColumn(state, s->pdstLeedSchedSetPts, "Days with Same 11pm Value");
1553 :
1554 234 : s->pdrCO2Resilience = newPreDefReport(state, "CO2ResilienceSummary", "CO2R", "Annual CO2 Resilience Summary");
1555 :
1556 234 : s->pdstCO2Hours = newPreDefSubTable(state, s->pdrCO2Resilience, "CO2 Level Hours");
1557 234 : s->pdchCO2HourSafe = newPreDefColumn(state, s->pdstCO2Hours, "Safe (<= 1000 ppm) [hr]");
1558 234 : s->pdchCO2HourCaution = newPreDefColumn(state, s->pdstCO2Hours, "Caution (> 1000, <= 5000 ppm) [hr]");
1559 234 : s->pdchCO2HourHazard = newPreDefColumn(state, s->pdstCO2Hours, "Hazard (> 5000 ppm) [hr]");
1560 :
1561 234 : s->pdstCO2OccuHours = newPreDefSubTable(state, s->pdrCO2Resilience, "CO2 Level OccupantHours");
1562 234 : s->pdchCO2OccuHourSafe = newPreDefColumn(state, s->pdstCO2OccuHours, "Safe (<= 1000 ppm) [hr]");
1563 234 : s->pdchCO2OccuHourCaution = newPreDefColumn(state, s->pdstCO2OccuHours, "Caution (> 1000, <= 5000 ppm) [hr]");
1564 234 : s->pdchCO2OccuHourHazard = newPreDefColumn(state, s->pdstCO2OccuHours, "Hazard (> 5000 ppm) [hr]");
1565 :
1566 234 : s->pdstCO2OccupiedHours = newPreDefSubTable(state, s->pdrCO2Resilience, "CO2 Level OccupiedHours");
1567 234 : s->pdchCO2OccupiedHourSafe = newPreDefColumn(state, s->pdstCO2OccupiedHours, "Safe (<= 1000 ppm) [hr]");
1568 234 : s->pdchCO2OccupiedHourCaution = newPreDefColumn(state, s->pdstCO2OccupiedHours, "Caution (> 1000, <= 5000 ppm) [hr]");
1569 234 : s->pdchCO2OccupiedHourHazard = newPreDefColumn(state, s->pdstCO2OccupiedHours, "Hazard (> 5000 ppm) [hr]");
1570 :
1571 234 : s->pdrVisualResilience = newPreDefReport(state, "VisualResilienceSummary", "VisualR", "Annual Visual Resilience Summary");
1572 :
1573 234 : s->pdstIllumHours = newPreDefSubTable(state, s->pdrVisualResilience, "Illuminance Level Hours");
1574 234 : s->pdchIllumHourDark = newPreDefColumn(state, s->pdstIllumHours, "A Bit Dark (<= 100 lux) [hr]");
1575 234 : s->pdchIllumHourDim = newPreDefColumn(state, s->pdstIllumHours, "Dim (> 100, <= 300 lux) [hr]");
1576 234 : s->pdchIllumHourAdequate = newPreDefColumn(state, s->pdstIllumHours, "Adequate (> 300, <= 500 lux) [hr]");
1577 234 : s->pdchIllumHourBright = newPreDefColumn(state, s->pdstIllumHours, "Bright (>500 lux) [hr]");
1578 :
1579 234 : s->pdstIllumOccuHours = newPreDefSubTable(state, s->pdrVisualResilience, "Illuminance Level OccupantHours");
1580 234 : s->pdchIllumOccuHourDark = newPreDefColumn(state, s->pdstIllumOccuHours, "A Bit Dark (<= 100 lux) [hr]");
1581 234 : s->pdchIllumOccuHourDim = newPreDefColumn(state, s->pdstIllumOccuHours, "Dim (> 100, <= 300 lux) [hr]");
1582 234 : s->pdchIllumOccuHourAdequate = newPreDefColumn(state, s->pdstIllumOccuHours, "Adequate (> 300, <= 500 lux) [hr]");
1583 234 : s->pdchIllumOccuHourBright = newPreDefColumn(state, s->pdstIllumOccuHours, "Bright (>500 lux) [hr]");
1584 :
1585 234 : s->pdstIllumOccupiedHours = newPreDefSubTable(state, s->pdrVisualResilience, "Illuminance Level OccupiedHours");
1586 234 : s->pdchIllumOccupiedHourDark = newPreDefColumn(state, s->pdstIllumOccupiedHours, "A Bit Dark (<= 100 lux) [hr]");
1587 234 : s->pdchIllumOccupiedHourDim = newPreDefColumn(state, s->pdstIllumOccupiedHours, "Dim (> 100, <= 300 lux) [hr]");
1588 234 : s->pdchIllumOccupiedHourAdequate = newPreDefColumn(state, s->pdstIllumOccupiedHours, "Adequate (> 300, <= 500 lux) [hr]");
1589 234 : s->pdchIllumOccupiedHourBright = newPreDefColumn(state, s->pdstIllumOccupiedHours, "Bright (>500 lux) [hr]");
1590 234 : }
1591 :
1592 61118 : void PreDefTableEntry(EnergyPlusData &state,
1593 : int const columnIndex,
1594 : std::string_view objName,
1595 : Real64 const tableEntryReal,
1596 : ObjexxFCL::Optional_int_const numSigDigits)
1597 : {
1598 : // SUBROUTINE INFORMATION:
1599 : // AUTHOR Jason Glazer
1600 : // DATE WRITTEN August 2006
1601 : // MODIFIED
1602 : // RE-ENGINEERED na
1603 :
1604 : // PURPOSE OF THIS SUBROUTINE:
1605 : // Creates an entry for predefined tables when the entry
1606 : // is a real variable
1607 :
1608 : // METHODOLOGY EMPLOYED:
1609 : // Simple assignments to public variables.
1610 :
1611 : // REFERENCES:
1612 : // na
1613 :
1614 : // USE STATEMENTS:
1615 :
1616 : // Locals
1617 : // SUBROUTINE ARGUMENT DEFINITIONS:
1618 :
1619 : // SUBROUTINE PARAMETER DEFINITIONS:
1620 :
1621 : // INTERFACE BLOCK SPECIFICATIONS:
1622 : // na
1623 :
1624 : // DERIVED TYPE DEFINITIONS:
1625 : // na
1626 :
1627 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1628 61118 : incrementTableEntry(state);
1629 61118 : int sigDigitCount = 2;
1630 : // check for number of significant digits
1631 61118 : if (present(numSigDigits)) {
1632 14722 : if ((numSigDigits <= 9) && (numSigDigits >= 0)) {
1633 14722 : sigDigitCount = numSigDigits;
1634 : }
1635 : }
1636 :
1637 61118 : if (std::abs(tableEntryReal) < 1e8) { // change from 1e10 for more robust entry writing
1638 : // something changed in FMT 7.x and "{:#12.{}F}" now outputs 13. So changing it to 11.{}F to maintain existing functionality. Likely
1639 : // related to https://github.com/fmtlib/fmt/issues/1893
1640 60380 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).charEntry =
1641 120760 : format("{:#11.{}F}", tableEntryReal, sigDigitCount);
1642 : } else {
1643 : // Formatting in scientific notation, zero sigDigits makes zero sense.
1644 : // **for something greater than 1E+08**, one sigDigits is very unhelpful (you're having an accuracy of 0.5E+07 at best)
1645 738 : if (sigDigitCount < 2) {
1646 2 : sigDigitCount = 2;
1647 : }
1648 738 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).charEntry =
1649 1476 : format("{:12.{}Z}", tableEntryReal, sigDigitCount);
1650 : }
1651 :
1652 61118 : if (state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).charEntry.size() > 12) {
1653 6 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).charEntry = " Too Big";
1654 : }
1655 :
1656 61118 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).objectName = objName;
1657 61118 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).indexColumn = columnIndex;
1658 61118 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).origRealEntry = tableEntryReal;
1659 61118 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).significantDigits = sigDigitCount;
1660 61118 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).origEntryIsReal = true;
1661 61118 : }
1662 :
1663 23312 : void PreDefTableEntry(EnergyPlusData &state, int const columnIndex, std::string_view objName, std::string_view tableEntryChar)
1664 : {
1665 : // SUBROUTINE INFORMATION:
1666 : // AUTHOR Jason Glazer
1667 : // DATE WRITTEN August 2006
1668 : // MODIFIED
1669 : // RE-ENGINEERED na
1670 :
1671 : // PURPOSE OF THIS SUBROUTINE:
1672 : // Creates an entry for predefined tables when the entry
1673 : // is a character variable
1674 :
1675 : // METHODOLOGY EMPLOYED:
1676 : // Simple assignments to public variables.
1677 :
1678 : // REFERENCES:
1679 : // na
1680 :
1681 : // USE STATEMENTS:
1682 :
1683 : // Locals
1684 : // SUBROUTINE ARGUMENT DEFINITIONS:
1685 :
1686 : // SUBROUTINE PARAMETER DEFINITIONS:
1687 : // na
1688 :
1689 : // INTERFACE BLOCK SPECIFICATIONS:
1690 : // na
1691 :
1692 : // DERIVED TYPE DEFINITIONS:
1693 : // na
1694 :
1695 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1696 :
1697 23312 : incrementTableEntry(state);
1698 23312 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).charEntry = tableEntryChar;
1699 23312 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).objectName = objName;
1700 23312 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).indexColumn = columnIndex;
1701 23312 : }
1702 :
1703 5162 : void PreDefTableEntry(EnergyPlusData &state, int const columnIndex, std::string_view objName, int const tableEntryInt)
1704 : {
1705 : // SUBROUTINE INFORMATION:
1706 : // AUTHOR Jason Glazer
1707 : // DATE WRITTEN August 2006
1708 : // MODIFIED
1709 : // RE-ENGINEERED na
1710 :
1711 : // PURPOSE OF THIS SUBROUTINE:
1712 : // Creates an entry for predefined tables when the entry
1713 : // is a integer variable
1714 :
1715 : // METHODOLOGY EMPLOYED:
1716 : // Simple assignments to public variables.
1717 :
1718 : // REFERENCES:
1719 : // na
1720 :
1721 : // USE STATEMENTS:
1722 :
1723 : // Locals
1724 : // SUBROUTINE ARGUMENT DEFINITIONS:
1725 :
1726 : // SUBROUTINE PARAMETER DEFINITIONS:
1727 :
1728 : // INTERFACE BLOCK SPECIFICATIONS:
1729 : // na
1730 :
1731 : // DERIVED TYPE DEFINITIONS:
1732 : // na
1733 :
1734 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1735 :
1736 5162 : incrementTableEntry(state);
1737 : // convert the integer to a string
1738 5162 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).charEntry = format("{:12}", tableEntryInt);
1739 5162 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).objectName = objName;
1740 5162 : state.dataOutRptPredefined->tableEntry(state.dataOutRptPredefined->numTableEntry).indexColumn = columnIndex;
1741 5162 : }
1742 :
1743 639 : std::string RetrievePreDefTableEntry(EnergyPlusData &state, int const columnIndex, std::string_view objName)
1744 : {
1745 57192 : for (int iTableEntry = 1; iTableEntry <= state.dataOutRptPredefined->numTableEntry; ++iTableEntry) {
1746 58365 : if (state.dataOutRptPredefined->tableEntry(iTableEntry).indexColumn == columnIndex &&
1747 1180 : state.dataOutRptPredefined->tableEntry(iTableEntry).objectName == objName) {
1748 632 : return trimmed(ljustified(state.dataOutRptPredefined->tableEntry(iTableEntry).charEntry));
1749 : }
1750 : }
1751 14 : return "NOT FOUND";
1752 : }
1753 :
1754 89592 : void incrementTableEntry(EnergyPlusData &state)
1755 : {
1756 : // SUBROUTINE INFORMATION:
1757 : // AUTHOR Jason Glazer
1758 : // DATE WRITTEN August 2006
1759 : // MODIFIED
1760 : // RE-ENGINEERED na
1761 :
1762 : // PURPOSE OF THIS SUBROUTINE:
1763 : // Manages the resizing of the TableEntry Array
1764 :
1765 : // METHODOLOGY EMPLOYED:
1766 : // Simple assignments to public variables.
1767 :
1768 : // REFERENCES:
1769 : // na
1770 :
1771 : // USE STATEMENTS:
1772 :
1773 : // SUBROUTINE ARGUMENT DEFINITIONS:
1774 : // na
1775 :
1776 : // SUBROUTINE PARAMETER DEFINITIONS:
1777 : // na
1778 :
1779 : // INTERFACE BLOCK SPECIFICATIONS:
1780 : // na
1781 :
1782 : // DERIVED TYPE DEFINITIONS:
1783 : // na
1784 :
1785 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1786 89592 : if (!allocated(state.dataOutRptPredefined->tableEntry)) {
1787 475 : state.dataOutRptPredefined->tableEntry.allocate(sizeIncrement);
1788 475 : state.dataOutRptPredefined->sizeTableEntry = sizeIncrement;
1789 475 : state.dataOutRptPredefined->numTableEntry = 1;
1790 : } else {
1791 89117 : ++state.dataOutRptPredefined->numTableEntry;
1792 : // if larger than current size grow the array
1793 89117 : if (state.dataOutRptPredefined->numTableEntry > state.dataOutRptPredefined->sizeTableEntry) {
1794 704 : state.dataOutRptPredefined->tableEntry.redimension(
1795 352 : state.dataOutRptPredefined->sizeTableEntry *=
1796 : 2); // Tuned Changed += sizeIncrement to *= 2 for reduced heap allocations (at some space cost)
1797 : }
1798 : }
1799 89592 : }
1800 :
1801 3488 : void AddCompSizeTableEntry(
1802 : EnergyPlusData &state, std::string_view FieldType, std::string_view FieldName, std::string_view FieldDescription, Real64 const FieldValue)
1803 : {
1804 : // SUBROUTINE INFORMATION:
1805 : // AUTHOR Jason Glazer
1806 : // DATE WRITTEN July 2007
1807 : // MODIFIED
1808 : // RE-ENGINEERED na
1809 :
1810 : // PURPOSE OF THIS SUBROUTINE:
1811 : // Creates an entry for component size tables.
1812 :
1813 : // METHODOLOGY EMPLOYED:
1814 : // Simple assignments to public variables.
1815 :
1816 : // REFERENCES:
1817 : // na
1818 :
1819 : // USE STATEMENTS:
1820 :
1821 : // Locals
1822 : // SUBROUTINE ARGUMENT DEFINITIONS:
1823 :
1824 : // SUBROUTINE PARAMETER DEFINITIONS:
1825 : // na
1826 :
1827 : // INTERFACE BLOCK SPECIFICATIONS:
1828 : // na
1829 :
1830 : // DERIVED TYPE DEFINITIONS:
1831 : // na
1832 :
1833 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1834 :
1835 3488 : if (!allocated(state.dataOutRptPredefined->CompSizeTableEntry)) {
1836 344 : state.dataOutRptPredefined->CompSizeTableEntry.allocate(sizeIncrement);
1837 344 : state.dataOutRptPredefined->sizeCompSizeTableEntry = sizeIncrement;
1838 344 : state.dataOutRptPredefined->numCompSizeTableEntry = 1;
1839 : } else {
1840 3144 : ++state.dataOutRptPredefined->numCompSizeTableEntry;
1841 : // if larger than current size grow the array
1842 3144 : if (state.dataOutRptPredefined->numCompSizeTableEntry > state.dataOutRptPredefined->sizeCompSizeTableEntry) {
1843 2 : state.dataOutRptPredefined->CompSizeTableEntry.redimension(
1844 1 : state.dataOutRptPredefined->sizeCompSizeTableEntry *=
1845 : 2); // Tuned Changed += sizeIncrement to *= 2 for reduced heap allocations (at some space cost)
1846 : }
1847 : }
1848 3488 : state.dataOutRptPredefined->CompSizeTableEntry(state.dataOutRptPredefined->numCompSizeTableEntry).typeField = FieldType;
1849 3488 : state.dataOutRptPredefined->CompSizeTableEntry(state.dataOutRptPredefined->numCompSizeTableEntry).nameField = FieldName;
1850 3488 : state.dataOutRptPredefined->CompSizeTableEntry(state.dataOutRptPredefined->numCompSizeTableEntry).description = FieldDescription;
1851 3488 : state.dataOutRptPredefined->CompSizeTableEntry(state.dataOutRptPredefined->numCompSizeTableEntry).valField = FieldValue;
1852 3488 : }
1853 :
1854 0 : void AddShadowRelateTableEntry(EnergyPlusData &state, int const castingField, int const receivingField, int const receivingKind)
1855 : {
1856 : // SUBROUTINE INFORMATION:
1857 : // AUTHOR Jason Glazer
1858 : // DATE WRITTEN July 2007
1859 : // MODIFIED
1860 : // RE-ENGINEERED na
1861 :
1862 : // PURPOSE OF THIS SUBROUTINE:
1863 : // Creates an entry for any shadow hierarchy tables that consist
1864 : // of items and one or more subitems for each item.
1865 :
1866 : // METHODOLOGY EMPLOYED:
1867 : // Simple assignments to public variables.
1868 :
1869 : // REFERENCES:
1870 : // na
1871 :
1872 : // USE STATEMENTS:
1873 :
1874 : // Locals
1875 : // SUBROUTINE ARGUMENT DEFINITIONS:
1876 : // CHARACTER(len=*),INTENT(IN) :: castingField
1877 : // CHARACTER(len=*),INTENT(IN) :: receivingField
1878 :
1879 : // SUBROUTINE PARAMETER DEFINITIONS:
1880 : // na
1881 :
1882 : // INTERFACE BLOCK SPECIFICATIONS:
1883 : // na
1884 :
1885 : // DERIVED TYPE DEFINITIONS:
1886 : // na
1887 :
1888 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1889 :
1890 0 : if (!allocated(state.dataOutRptPredefined->ShadowRelate)) {
1891 0 : state.dataOutRptPredefined->ShadowRelate.allocate(sizeIncrement);
1892 0 : state.dataOutRptPredefined->sizeShadowRelate = sizeIncrement;
1893 0 : state.dataOutRptPredefined->numShadowRelate = 1;
1894 : } else {
1895 0 : ++state.dataOutRptPredefined->numShadowRelate;
1896 : // if larger than current size grow the array
1897 0 : if (state.dataOutRptPredefined->numShadowRelate > state.dataOutRptPredefined->sizeShadowRelate) {
1898 0 : state.dataOutRptPredefined->ShadowRelate.redimension(
1899 0 : state.dataOutRptPredefined->sizeShadowRelate *=
1900 : 2); // Tuned Changed += sizeIncrement to *= 2 for reduced heap allocations (at some space cost)
1901 : }
1902 : }
1903 0 : state.dataOutRptPredefined->ShadowRelate(state.dataOutRptPredefined->numShadowRelate).castSurf = castingField;
1904 0 : state.dataOutRptPredefined->ShadowRelate(state.dataOutRptPredefined->numShadowRelate).recSurf = receivingField;
1905 0 : state.dataOutRptPredefined->ShadowRelate(state.dataOutRptPredefined->numShadowRelate).recKind = receivingKind;
1906 0 : }
1907 :
1908 4027 : int newPreDefReport(EnergyPlusData &state, std::string_view inReportName, std::string_view inReportAbrev, std::string_view inReportNamewithSpaces)
1909 : {
1910 : // SUBROUTINE INFORMATION:
1911 : // AUTHOR Jason Glazer
1912 : // DATE WRITTEN August 2006
1913 : // MODIFIED
1914 : // RE-ENGINEERED na
1915 :
1916 : // PURPOSE OF THIS SUBROUTINE:
1917 : // Creates a new index for the next predefined report
1918 :
1919 : // METHODOLOGY EMPLOYED:
1920 : // na
1921 :
1922 : // REFERENCES:
1923 : // na
1924 :
1925 : // USE STATEMENTS:
1926 :
1927 : // Return value
1928 : int newPreDefReport;
1929 :
1930 : // Locals
1931 : // SUBROUTINE ARGUMENT DEFINITIONS:
1932 : // na
1933 :
1934 : // SUBROUTINE PARAMETER DEFINITIONS:
1935 :
1936 : // INTERFACE BLOCK SPECIFICATIONS:
1937 : // na
1938 :
1939 : // DERIVED TYPE DEFINITIONS:
1940 : // na
1941 :
1942 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1943 4027 : if (!allocated(state.dataOutRptPredefined->reportName)) {
1944 232 : state.dataOutRptPredefined->reportName.allocate(sizeIncrement);
1945 232 : state.dataOutRptPredefined->sizeReportName = sizeIncrement;
1946 232 : state.dataOutRptPredefined->numReportName = 1;
1947 : } else {
1948 3795 : ++state.dataOutRptPredefined->numReportName;
1949 : // if larger than current size grow the array
1950 3795 : if (state.dataOutRptPredefined->numReportName > state.dataOutRptPredefined->sizeReportName) {
1951 0 : state.dataOutRptPredefined->reportName.redimension(
1952 0 : state.dataOutRptPredefined->sizeReportName *=
1953 : 2); // Tuned Changed += sizeIncrement to *= 2 for reduced heap allocations (at some space cost)
1954 : }
1955 : }
1956 : // initialize new record
1957 4027 : state.dataOutRptPredefined->reportName(state.dataOutRptPredefined->numReportName).name = inReportName;
1958 4027 : state.dataOutRptPredefined->reportName(state.dataOutRptPredefined->numReportName).abrev = inReportAbrev;
1959 4027 : state.dataOutRptPredefined->reportName(state.dataOutRptPredefined->numReportName).namewithspaces = inReportNamewithSpaces;
1960 4027 : state.dataOutRptPredefined->reportName(state.dataOutRptPredefined->numReportName).show = false;
1961 4027 : newPreDefReport = state.dataOutRptPredefined->numReportName;
1962 4027 : return newPreDefReport;
1963 : }
1964 :
1965 22626 : int newPreDefSubTable(EnergyPlusData &state, int const reportIndex, std::string_view subTableName)
1966 : {
1967 : // SUBROUTINE INFORMATION:
1968 : // AUTHOR Jason Glazer
1969 : // DATE WRITTEN August 2006
1970 : // MODIFIED
1971 : // RE-ENGINEERED na
1972 :
1973 : // PURPOSE OF THIS SUBROUTINE:
1974 : // Assigns the index for predefined sub-tables
1975 :
1976 : // METHODOLOGY EMPLOYED:
1977 : // Simple assignments to public variables.
1978 :
1979 : // REFERENCES:
1980 : // na
1981 :
1982 : // USE STATEMENTS:
1983 :
1984 : // Return value
1985 :
1986 : // Locals
1987 : // SUBROUTINE ARGUMENT DEFINITIONS:
1988 :
1989 : // SUBROUTINE PARAMETER DEFINITIONS:
1990 : // na
1991 :
1992 : // INTERFACE BLOCK SPECIFICATIONS:
1993 : // na
1994 :
1995 : // DERIVED TYPE DEFINITIONS:
1996 : // na
1997 :
1998 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
1999 22626 : if (!allocated(state.dataOutRptPredefined->subTable)) {
2000 232 : state.dataOutRptPredefined->subTable.allocate(sizeIncrement);
2001 232 : state.dataOutRptPredefined->sizeSubTable = sizeIncrement;
2002 232 : state.dataOutRptPredefined->numSubTable = 1;
2003 : } else {
2004 22394 : ++state.dataOutRptPredefined->numSubTable;
2005 : // if larger than current size then grow the array
2006 22394 : if (state.dataOutRptPredefined->numSubTable > state.dataOutRptPredefined->sizeSubTable) {
2007 102 : state.dataOutRptPredefined->subTable.redimension(
2008 51 : state.dataOutRptPredefined->sizeSubTable *=
2009 : 2); // Tuned Changed += sizeIncrement to *= 2 for reduced heap allocations (at some space cost)
2010 : }
2011 : }
2012 : // initialize new record)
2013 22626 : state.dataOutRptPredefined->subTable(state.dataOutRptPredefined->numSubTable).name = subTableName;
2014 22626 : state.dataOutRptPredefined->subTable(state.dataOutRptPredefined->numSubTable).indexReportName = reportIndex;
2015 22626 : return state.dataOutRptPredefined->numSubTable;
2016 : }
2017 :
2018 5169 : void addFootNoteSubTable(EnergyPlusData &state, int const subTableIndex, std::string_view footnoteText)
2019 : {
2020 : // SUBROUTINE INFORMATION:
2021 : // AUTHOR Jason Glazer
2022 : // DATE WRITTEN August 2008
2023 : // MODIFIED
2024 : // RE-ENGINEERED na
2025 :
2026 : // PURPOSE OF THIS SUBROUTINE:
2027 : // Adds a footnote to a subtable
2028 :
2029 : // METHODOLOGY EMPLOYED:
2030 : // Simple assignments to public variables.
2031 :
2032 : // REFERENCES:
2033 : // na
2034 :
2035 : // USE STATEMENTS:
2036 :
2037 : // Locals
2038 : // SUBROUTINE ARGUMENT DEFINITIONS:
2039 :
2040 : // SUBROUTINE PARAMETER DEFINITIONS:
2041 : // na
2042 :
2043 : // INTERFACE BLOCK SPECIFICATIONS:
2044 : // na
2045 :
2046 : // DERIVED TYPE DEFINITIONS:
2047 : // na
2048 :
2049 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
2050 5169 : if ((subTableIndex >= 0) && (subTableIndex <= state.dataOutRptPredefined->numSubTable)) {
2051 5161 : state.dataOutRptPredefined->subTable(subTableIndex).footnote = footnoteText;
2052 : }
2053 5169 : }
2054 :
2055 199853 : int newPreDefColumn(EnergyPlusData &state, int const subTableIndex, std::string_view columnHeading)
2056 : {
2057 : // SUBROUTINE INFORMATION:
2058 : // AUTHOR Jason Glazer
2059 : // DATE WRITTEN August 2006
2060 : // MODIFIED
2061 : // RE-ENGINEERED na
2062 :
2063 : // PURPOSE OF THIS SUBROUTINE:
2064 : // Assigns the index variables for all predefined reports
2065 :
2066 : // METHODOLOGY EMPLOYED:
2067 : // Simple assignments to public variables.
2068 :
2069 : // REFERENCES:
2070 : // na
2071 :
2072 : // USE STATEMENTS:
2073 :
2074 : // Return value
2075 : int newPreDefColumn;
2076 :
2077 : // Locals
2078 : // SUBROUTINE ARGUMENT DEFINITIONS:
2079 :
2080 : // SUBROUTINE PARAMETER DEFINITIONS:
2081 : // na
2082 :
2083 : // INTERFACE BLOCK SPECIFICATIONS:
2084 : // na
2085 :
2086 : // DERIVED TYPE DEFINITIONS:
2087 : // na
2088 :
2089 : // SUBROUTINE LOCAL VARIABLE DECLARATIONS:
2090 199853 : if (!allocated(state.dataOutRptPredefined->columnTag)) {
2091 232 : state.dataOutRptPredefined->columnTag.allocate(sizeIncrement);
2092 232 : state.dataOutRptPredefined->sizeColumnTag = sizeIncrement;
2093 232 : state.dataOutRptPredefined->numColumnTag = 1;
2094 : } else {
2095 199621 : ++state.dataOutRptPredefined->numColumnTag;
2096 : // if larger than current size grow the array
2097 199621 : if (state.dataOutRptPredefined->numColumnTag > state.dataOutRptPredefined->sizeColumnTag) {
2098 1860 : state.dataOutRptPredefined->columnTag.redimension(
2099 930 : state.dataOutRptPredefined->sizeColumnTag *=
2100 : 2); // Tuned Changed += sizeIncrement to *= 2 for reduced heap allocations (at some space cost)
2101 : }
2102 : }
2103 : // initialize new record)
2104 199853 : state.dataOutRptPredefined->columnTag(state.dataOutRptPredefined->numColumnTag).heading = columnHeading;
2105 199853 : state.dataOutRptPredefined->columnTag(state.dataOutRptPredefined->numColumnTag).indexSubTable = subTableIndex;
2106 199853 : newPreDefColumn = state.dataOutRptPredefined->numColumnTag;
2107 199853 : return newPreDefColumn;
2108 : }
2109 :
2110 : } // namespace OutputReportPredefined
2111 :
2112 : } // namespace EnergyPlus
|