openstudio-calibration 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE.md +1 -1
  5. data/Rakefile +1 -1
  6. data/doc_templates/LICENSE.md +1 -1
  7. data/doc_templates/copyright_erb.txt +1 -1
  8. data/doc_templates/copyright_js.txt +1 -1
  9. data/doc_templates/copyright_ruby.txt +1 -1
  10. data/lib/measures/AddMonthlyJSONUtilityData/LICENSE.md +1 -1
  11. data/lib/measures/AddMonthlyJSONUtilityData/measure.rb +1 -1
  12. data/lib/measures/AddMonthlyJSONUtilityData/measure.xml +12 -11
  13. data/lib/measures/AddMonthlyUtilityData/LICENSE.md +1 -1
  14. data/lib/measures/AddMonthlyUtilityData/measure.rb +1 -1
  15. data/lib/measures/AddMonthlyUtilityData/measure.xml +13 -12
  16. data/lib/measures/CalibrationReports/LICENSE.md +1 -1
  17. data/lib/measures/CalibrationReports/README.md +2 -2
  18. data/lib/measures/CalibrationReports/measure.rb +1 -1
  19. data/lib/measures/CalibrationReports/measure.xml +12 -11
  20. data/lib/measures/CalibrationReportsEnhanced/LICENSE.md +1 -1
  21. data/lib/measures/CalibrationReportsEnhanced/measure.rb +2 -2
  22. data/lib/measures/CalibrationReportsEnhanced/measure.xml +18 -17
  23. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/LICENSE.md +1 -1
  24. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb +1 -1
  25. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml +14 -13
  26. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/LICENSE.md +1 -1
  27. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb +1 -1
  28. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml +14 -13
  29. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/LICENSE.md +1 -1
  30. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb +1 -1
  31. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml +14 -13
  32. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/LICENSE.md +1 -1
  33. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb +1 -1
  34. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml +14 -13
  35. data/lib/measures/CoilCoolingWaterMultiplier/LICENSE.md +1 -1
  36. data/lib/measures/CoilCoolingWaterMultiplier/measure.rb +1 -1
  37. data/lib/measures/CoilCoolingWaterMultiplier/measure.xml +14 -13
  38. data/lib/measures/CoilCoolingWaterPercentChange/LICENSE.md +1 -1
  39. data/lib/measures/CoilCoolingWaterPercentChange/measure.rb +1 -1
  40. data/lib/measures/CoilCoolingWaterPercentChange/measure.xml +14 -13
  41. data/lib/measures/CoilHeatingElectricMultiplier/LICENSE.md +1 -1
  42. data/lib/measures/CoilHeatingElectricMultiplier/measure.rb +1 -1
  43. data/lib/measures/CoilHeatingElectricMultiplier/measure.xml +14 -13
  44. data/lib/measures/CoilHeatingElectricPercentChange/LICENSE.md +1 -1
  45. data/lib/measures/CoilHeatingElectricPercentChange/measure.rb +1 -1
  46. data/lib/measures/CoilHeatingElectricPercentChange/measure.xml +14 -13
  47. data/lib/measures/CoilHeatingGasMultiplier/LICENSE.md +1 -1
  48. data/lib/measures/CoilHeatingGasMultiplier/measure.rb +1 -1
  49. data/lib/measures/CoilHeatingGasMultiplier/measure.xml +14 -13
  50. data/lib/measures/CoilHeatingGasPercentChange/LICENSE.md +1 -1
  51. data/lib/measures/CoilHeatingGasPercentChange/measure.rb +1 -1
  52. data/lib/measures/CoilHeatingGasPercentChange/measure.xml +14 -13
  53. data/lib/measures/CoilHeatingWaterMultiplier/LICENSE.md +1 -1
  54. data/lib/measures/CoilHeatingWaterMultiplier/measure.rb +1 -1
  55. data/lib/measures/CoilHeatingWaterMultiplier/measure.xml +14 -13
  56. data/lib/measures/CoilHeatingWaterPercentChange/LICENSE.md +1 -1
  57. data/lib/measures/CoilHeatingWaterPercentChange/measure.rb +1 -1
  58. data/lib/measures/CoilHeatingWaterPercentChange/measure.xml +14 -13
  59. data/lib/measures/ConstructionLayerZeroMaterialProperties/LICENSE.md +1 -1
  60. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb +1 -1
  61. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml +12 -11
  62. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/LICENSE.md +1 -1
  63. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.rb +1 -1
  64. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.xml +12 -11
  65. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/LICENSE.md +1 -1
  66. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb +3 -3
  67. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml +24 -11
  68. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/LICENSE.md +1 -1
  69. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb +3 -3
  70. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml +24 -11
  71. data/lib/measures/FansMultiplier/LICENSE.md +1 -1
  72. data/lib/measures/FansMultiplier/measure.rb +1 -1
  73. data/lib/measures/FansMultiplier/measure.xml +14 -13
  74. data/lib/measures/FansPercentChange/LICENSE.md +1 -1
  75. data/lib/measures/FansPercentChange/measure.rb +1 -1
  76. data/lib/measures/FansPercentChange/measure.xml +14 -13
  77. data/lib/measures/GeneralCalibrationMeasureMultiplier/LICENSE.md +1 -1
  78. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb +1 -1
  79. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml +16 -15
  80. data/lib/measures/GeneralCalibrationMeasurePercentChange/LICENSE.md +1 -1
  81. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb +1 -1
  82. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml +16 -15
  83. data/lib/measures/HardSizeHvac/LICENSE.md +1 -1
  84. data/lib/measures/HardSizeHvac/measure.rb +1 -1
  85. data/lib/measures/HardSizeHvac/measure.xml +13 -12
  86. data/lib/measures/RValueOfInsulationForConstructionMultiplier/LICENSE.md +1 -1
  87. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb +1 -1
  88. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml +12 -11
  89. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/LICENSE.md +1 -1
  90. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb +1 -1
  91. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml +12 -11
  92. data/lib/measures/RoofThermalPropertiesMultiplier/LICENSE.md +1 -1
  93. data/lib/measures/RoofThermalPropertiesMultiplier/measure.rb +3 -3
  94. data/lib/measures/RoofThermalPropertiesMultiplier/measure.xml +24 -11
  95. data/lib/measures/RoofThermalPropertiesPercentChange/LICENSE.md +1 -1
  96. data/lib/measures/RoofThermalPropertiesPercentChange/measure.rb +3 -3
  97. data/lib/measures/RoofThermalPropertiesPercentChange/measure.xml +24 -11
  98. data/lib/measures/TimeseriesObjectiveFunction/LICENSE.md +1 -1
  99. data/lib/measures/TimeseriesObjectiveFunction/measure.rb +1 -1
  100. data/lib/measures/TimeseriesObjectiveFunction/measure.xml +12 -12
  101. data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +4 -1
  102. data/lib/measures/TimeseriesPlot/LICENSE.md +1 -1
  103. data/lib/measures/TimeseriesPlot/measure.rb +1 -1
  104. data/lib/measures/TimeseriesPlot/measure.xml +17 -17
  105. data/lib/measures/TimeseriesPlot/resources/report.html.erb +4 -1
  106. data/lib/measures/WaterHeaterMixedMultiplier/LICENSE.md +1 -1
  107. data/lib/measures/WaterHeaterMixedMultiplier/measure.rb +1 -1
  108. data/lib/measures/WaterHeaterMixedMultiplier/measure.xml +14 -13
  109. data/lib/measures/WaterHeaterMixedPercentChange/LICENSE.md +1 -1
  110. data/lib/measures/WaterHeaterMixedPercentChange/measure.rb +1 -1
  111. data/lib/measures/WaterHeaterMixedPercentChange/measure.xml +14 -13
  112. data/lib/measures/{zone_report → inspect_and_edit_parametric_schedules}/LICENSE.md +1 -1
  113. data/lib/measures/inspect_and_edit_parametric_schedules/README.md +41 -0
  114. data/lib/measures/inspect_and_edit_parametric_schedules/README.md.erb +53 -0
  115. data/lib/measures/inspect_and_edit_parametric_schedules/docs/.gitkeep +0 -0
  116. data/lib/measures/inspect_and_edit_parametric_schedules/docs/apply_measures_now.png +0 -0
  117. data/lib/measures/inspect_and_edit_parametric_schedules/measure.rb +224 -0
  118. data/lib/measures/inspect_and_edit_parametric_schedules/measure.xml +131 -0
  119. data/lib/measures/shift_hours_of_operation/LICENSE.md +27 -0
  120. data/lib/measures/shift_hours_of_operation/README.md +134 -0
  121. data/lib/measures/{zone_report → shift_hours_of_operation}/README.md.erb +5 -0
  122. data/lib/measures/shift_hours_of_operation/docs/.gitkeep +0 -0
  123. data/lib/measures/shift_hours_of_operation/measure.rb +513 -0
  124. data/lib/measures/shift_hours_of_operation/measure.xml +261 -0
  125. data/lib/openstudio-calibration.rb +1 -1
  126. data/lib/openstudio/calibration.rb +1 -1
  127. data/lib/openstudio/calibration/extension.rb +1 -1
  128. data/lib/openstudio/calibration/version.rb +2 -2
  129. data/openstudio-calibration.gemspec +3 -3
  130. metadata +21 -14
  131. data/lib/measures/zone_report/README.md +0 -26
  132. data/lib/measures/zone_report/measure.rb +0 -706
  133. data/lib/measures/zone_report/measure.xml +0 -69
  134. data/lib/measures/zone_report/resources/report.html.in +0 -342
@@ -1,69 +0,0 @@
1
- <?xml version="1.0"?>
2
- <measure>
3
- <schema_version>3.0</schema_version>
4
- <name>zone_report</name>
5
- <uid>f3531642-27ce-4624-95ab-0bfcd5b9f5fe</uid>
6
- <version_id>ccf30dd2-047d-4eb0-b928-9c64ff9357e8</version_id>
7
- <version_modified>20200512T035029Z</version_modified>
8
- <xml_checksum>2C8A3EEF</xml_checksum>
9
- <class_name>ZoneReport</class_name>
10
- <display_name>Zone Report</display_name>
11
- <description> This measure provides Thermal Zone level HVAC information. Output includes thermal zone equipment descriptions and details, zone sizing information for heating and cooling, and a disaggregation of the contributions of envelope and internal gains to the HVAC loads.</description>
12
- <modeler_description> This measure will not report uncontrolled air terminals, or zone level radiant HVAC equipment.</modeler_description>
13
- <arguments />
14
- <outputs />
15
- <provenances />
16
- <tags>
17
- <tag>Reporting.QAQC</tag>
18
- </tags>
19
- <attributes>
20
- <attribute>
21
- <name>Measure Type</name>
22
- <value>ReportingMeasure</value>
23
- <datatype>string</datatype>
24
- </attribute>
25
- <attribute>
26
- <name>Uses SketchUp API</name>
27
- <value>false</value>
28
- <datatype>boolean</datatype>
29
- </attribute>
30
- </attributes>
31
- <files>
32
- <file>
33
- <filename>report.html.in</filename>
34
- <filetype>in</filetype>
35
- <usage_type>resource</usage_type>
36
- <checksum>9863EEC5</checksum>
37
- </file>
38
- <file>
39
- <filename>LICENSE.md</filename>
40
- <filetype>md</filetype>
41
- <usage_type>license</usage_type>
42
- <checksum>E0468DD6</checksum>
43
- </file>
44
- <file>
45
- <filename>README.md.erb</filename>
46
- <filetype>erb</filetype>
47
- <usage_type>readmeerb</usage_type>
48
- <checksum>703C9964</checksum>
49
- </file>
50
- <file>
51
- <version>
52
- <software_program>OpenStudio</software_program>
53
- <identifier>1.5.0</identifier>
54
- <min_compatible>1.8.0</min_compatible>
55
- </version>
56
- <filename>measure.rb</filename>
57
- <filetype>rb</filetype>
58
- <usage_type>script</usage_type>
59
- <checksum>09800C27</checksum>
60
- </file>
61
- <file>
62
- <filename>README.md</filename>
63
- <filetype>md</filetype>
64
- <usage_type>readme</usage_type>
65
- <checksum>0B68E96D</checksum>
66
- </file>
67
- </files>
68
- </measure>
69
- <error>wrong number of arguments (given 1, expected 0)</error>
@@ -1,342 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <title>Zone Report</title>
6
- <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
7
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
8
- <script type="text/javascript" src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
9
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.3.9/d3.min.js"></script>
10
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/dygraph/1.0.1/dygraph-combined.js"></script>
11
- <style>
12
- body {
13
- position: relative;
14
- height: 100%;
15
- }
16
-
17
- #tocItems > .nav > li > a {
18
- padding-top: 4px;
19
- padding-bottom: 4px;
20
- }
21
-
22
- #tocItems {
23
- overflow-y: scroll;
24
- max-height: 100%;
25
- }
26
-
27
- td.equipmentCategory{
28
- font-weight:bold;
29
- }
30
-
31
- td.valWide{
32
- text-align:center;
33
- }
34
-
35
- .dygraph-legend {
36
- float: left;
37
- top: -270px;
38
- background-color: transparent !important;
39
- left: 810px !important;
40
- position: relative;
41
- }
42
- </style>
43
- <script type="text/javascript">
44
- // Create a timeseries graph of the data for each zone
45
- $(document).ready(function () {
46
-
47
- function stackedColumnPlotter(e) {
48
- // We need to handle all the series simultaneously.
49
- if (e.seriesIndex !== 0) return;
50
-
51
- var g = e.dygraph;
52
- var ctx = e.drawingContext;
53
- var sets = e.allSeriesPoints;
54
-
55
- ctx.fillStyle="#000000";
56
- ctx.fillRect( 0, e.dygraph.toDomYCoord(0), 940, 2 );
57
-
58
- // Find the minimum separation between x-values.
59
- // This determines the bar width.
60
- var min_sep = Infinity;
61
- for (var j = 0; j < sets.length; j++) {
62
- var points = sets[j];
63
- for (var i = 1; i < points.length; i++) {
64
- var sep = points[i].canvasx - points[i - 1].canvasx;
65
- if (sep < min_sep) min_sep = sep;
66
- }
67
- }
68
- var bar_width = Math.floor(2.0 / 2.6 * min_sep);
69
-
70
- var fillColors = [];
71
- var strokeColors = g.getColors();
72
- for (var i = 0; i < strokeColors.length; i++) {
73
- var color = new RGBColorParser(strokeColors[i]);
74
- color.r = Math.floor((255 + color.r) / 2);
75
- color.g = Math.floor((255 + color.g) / 2);
76
- color.b = Math.floor((255 + color.b) / 2);
77
- fillColors.push(color.toRGB());
78
- }
79
-
80
- var ranges = []
81
-
82
- for (var j = 0; j < sets.length; j++) {
83
- ctx.fillStyle = fillColors[j];
84
- ctx.strokeStyle = strokeColors[j];
85
- // Category 0 is used for min/max graph autoscaling; don't plot category 0
86
- // The last category is used for spacing; don't plot the last category
87
- for (var i = 1; i<sets[j].length-1; i++) {
88
- var p = sets[j][i];
89
- var center_x = p.canvasx;
90
- var x_left = center_x - (bar_width / 2);
91
- var x_right = center_x + (bar_width / 2);
92
-
93
- if (p.yval != 0) {
94
-
95
- var from = 0
96
- var to = 0
97
- var r = ranges[p.xval] || [0.0, 0.0]
98
-
99
- if (p.yval >= 0) {
100
- to = r[0]
101
- r[0] = from = to + p.yval
102
- }
103
- else {
104
- from = r[1]
105
- r[1] = to = from + p.yval
106
- }
107
-
108
- ranges[p.xval] = r
109
-
110
- var y_top = e.dygraph.toDomYCoord(from)
111
- var y_bottom = e.dygraph.toDomYCoord(to)
112
- var bar_height = y_bottom-y_top
113
-
114
- ctx.fillRect(x_left, y_top,
115
- bar_width, bar_height);
116
-
117
- ctx.strokeRect(x_left, y_top,
118
- bar_width, bar_height);
119
-
120
- //ctx.fillStyle = fillColors[j];
121
- //fillstring = fillColors[j].substring(4);
122
-
123
- ctx.fillStyle="rgba( 0, 0, 0, 0.70)";
124
- ctx.font = '16px sans-serif';
125
- ctx.fillText(p.name + " " + p.yval, x_left + 10, y_top + ( bar_height / 2 ));
126
-
127
- ctx.fillStyle = fillColors[j];
128
- }
129
- }
130
- }
131
- };
132
-
133
- $.each(graph_data, function (index, graphData) {
134
- var graph = graph_data[index];
135
-
136
- $('#graphs_' + index).append('<div><div id="data_div_' + index + '"></div><div id="labels_div_' + index + '" class="dygraph-legend" style="margin-right: 56px"></div></div>');
137
-
138
- g = new Dygraph(document.getElementById('data_div_' + index), graph.data, {
139
- title: graph.title,
140
- xlabel: graph.xaxislabel,
141
- ylabel: graph.yaxislabel,
142
- labels: graph.labels,
143
- colors: graph.colors,
144
- labelsDiv: document.getElementById('labels_div_' + index),
145
- labelsSeparateLines: true,
146
- labelsShowZeroValues: false,
147
- showLabelsOnHighlight: false,
148
- legend: "never",
149
- height: 520,
150
- axes: {
151
- x: {
152
- axisLabelFormatter: function(d, gran) {
153
- switch(d){
154
- case 1: return "Net Heating"; break;
155
- case 2: return "Heating"; break;
156
- case 3: return "Cooling"; break;
157
- case 4: return "Net Cooling"; break;
158
- default: return "";
159
- }
160
- }
161
- }
162
- },
163
- plotter: stackedColumnPlotter,
164
- highlightCircleSize:0,
165
- highlightCallback: highlightCol
166
- });
167
-
168
- var annotations = []
169
- for (var i=1; i<graph.data.length-1; ++i) { // First and last points are not shown on graph
170
- points = graph.data[i]
171
- for (var e=1; e<points.length; ++e) {
172
- if (points[e] != 0) {
173
- var labeltext = graph.labels[e] + ": " + points[e]
174
- a = {series:graph.labels[e] , x:points[0], shortText:labeltext, text:labeltext, cssClass:'stackedbarlabel', width:100}
175
- annotations.push(a)
176
- }
177
- }
178
- }
179
- //g.setAnnotations(annotations)
180
-
181
- $('#series_div_' + index ).append( "<button type='button' id='data_export_" + index + "' onclick='exportData(" + index + ")' class='btn btn-default btn-xs'>Export</button>" );
182
- });
183
- });
184
-
185
- function highlightCol( event, x, points, row, seriesName ){
186
- for (var e = 0 ; e < points.length; ++e ) {
187
- if ( points[e] != 0 ) {
188
- //alert( points[e].name + "-" + points[e].yval );
189
- }
190
- }
191
-
192
-
193
- }
194
-
195
- function exportData( index ){
196
-
197
- var graph = graph_data[index];
198
- var csvContent = "data:text/csv;charset=utf-8,";
199
- csvContent = graph.data.join("\n");
200
-
201
- var encodedUri = encodeURI(csvContent);
202
- window.open(encodedUri);
203
- }
204
- </script>
205
- <script type="text/javascript">
206
- var graph_data = <%= @graph_data %>;
207
- </script>
208
-
209
- </head>
210
- <body data-spy="scroll" data-target="#tocItems">
211
-
212
- <div id="content" class="container-fluid">
213
-
214
- <div id="toc" class="col-md-3" role="complementary">
215
- <div id="tocItems" class="hidden-print well affix" role="complementary" style="margin-top: 40px;">
216
- <ul class="nav nav-pills nav-stacked" role="navigation">
217
- <% counter = 0 %>
218
- <% zone_collection.each do |z| %>
219
-
220
- <li>
221
- <a href="#zone_<%= counter %>"><%= z[:name] %></a>
222
- </li>
223
- <% counter = counter + 1 %>
224
- <% end %>
225
- </ul>
226
- </div>
227
- </div>
228
-
229
- <div class="col-md-9" style="padding-top:25px;" role="main">
230
-
231
- <h1>Zone Equipment Report</h1>
232
-
233
- <% counter = 0 %>
234
- <% zone_collection.each do |z| %>
235
- <h3 id="zone_<%= counter %>"><%= z[:name] %></h3>
236
-
237
- <h4>Zone Equipment Summary</h4>
238
-
239
- <table class="table table-striped table-bordered table-condensed zoneGrid">
240
- <% report_sort_order = {"Heating" => 0, "Backup Heating" => 1, "Cooling" => 2, "Fans" => 3} %>
241
- <% z[:equipment].sort_by{|k,v| report_sort_order[k]}.each do |reporting_type, equipments| %>
242
- <% type_properties = equipments[0].keys %>
243
- <% type_properties.each_with_index do |key, i| %>
244
- <tr>
245
- <td class="equipmentCategory"><%= i == 0 ? reporting_type : "&nbsp;" %></td>
246
- <td class="propertyName"><%= key %></td>
247
- <% (0...max_zone_equipments).each do |equip_index| %>
248
- <% if equip_index < equipments.length
249
- value = equipments[equip_index][key]
250
- if value.kind_of?(Array) %>
251
- <td class="valWide"><%= "#{value[0]} #{value[1]}" %></td>
252
- <% else %>
253
- <td class="valWide"><%= value %></td>
254
- <% end %>
255
- <% else %>
256
- <td>&nbsp;</td>
257
- <% end %>
258
- <% end %>
259
- </tr>
260
- <% end %>
261
- <% end %>
262
- </table>
263
-
264
- <h4>Zone Sizing and Load Summary</h4>
265
-
266
- <table class="table table-striped table-bordered table-condensed zoneGrid">
267
- <tr>
268
- <td>Zone Name</td><td><%=z[:name]%></td><td>Zone Size (ft2)</td><td><%=z[:area]%></td>
269
- </tr>
270
- <tr>
271
- <td>Unmet Load Hours (Htg)</td><td><%=z[:vals][:vp]%></td><td>Unmet Load Hours (Clg)</td><td><%=z[:vals][:vq]%></td>
272
- </tr>
273
- </table>
274
-
275
- <table class="table table-striped table-bordered table-condensed">
276
- <tr>
277
- <td>Zone Load Summary</td><td>Zone Conditioned</td><td>Peak kBtu/hr/ft2</td><td>Time of Peak</td><td> kBtu/ft2 per Run Period</td>
278
- </tr>
279
- <tr><td>Heating Loads</td><td><%=z[:vals][:vf]%></td><td><%=z[:vals][:vae]%></td><td><%=z[:vals][:vaf]%></td><td><%=z[:vals][:vad]%></td></tr>
280
- <tr><td>Cooling Loads</td><td><%=z[:vals][:vf]%></td><td><%=z[:vals][:vah]%></td><td><%=z[:vals][:vai]%></td><td><%=z[:vals][:vag]%></td></tr>
281
- </table>
282
-
283
- <table class="table table-striped table-bordered table-condensed">
284
- <tr>
285
- <td>Zone HVAC Sizing Summary</td><td>User Design Load (kBtu/hr)</td><td>Date/Time of Peak</td><td>User Design Airflow (ft3/min)</td>
286
- </tr>
287
- <tr><td>Heating Loads</td><td><%=z[:vals][:vg]%></td><td><%=z[:vals][:vo]%></td><td><%=z[:vals][:vh]%></td></tr>
288
- <tr><td>Cooling Loads</td><td><%=z[:vals][:vi]%></td><td><%=z[:vals][:vn]%></td><td><%=z[:vals][:vj]%></td></tr>
289
- </table>
290
-
291
- <table class="table table-striped table-bordered table-condensed">
292
- <tr>
293
- <td colspan="2">Int Lighting, Equip & People - Density</td><td>Avg Vent (ACH)</td><td>Avg Infil (ACH)</td>
294
- </tr>
295
- <tr><td>Lights - Density (W/ft2)</td><td><%=z[:vals][:va]%></td><td><%=z[:vals][:vk]%></td><td><%=z[:vals][:vl]%></td></tr>
296
- <tr><td>People - Density (ft2/Person)</td><td><%=z[:vals][:vm]%></td><td></td><td></td></tr>
297
- <tr><td>Plug and Process Density (W/ft2)</td><td><%=z[:vals][:vd]%></td><td>Zone Lights - EFLH</td><td><%=z[:vals][:vb]%></td></tr>
298
- </table>
299
-
300
- <table class="table table-striped table-bordered table-condensed">
301
- <tr>
302
- <td></td><td>Peak Heating Load (Btu/hr/ft2)</td><td>Peak Cooling Load (Btu/hr/ft2)</td>
303
- </tr>
304
- <tr><td>Date/Time of Peak</td><td><%=z[:vals][:vbh]%></td><td><%=z[:vals][:vcg]%></td></tr>
305
- <tr><td>People</td><td><%=z[:vals][:vaj]%></td><td><%=z[:vals][:vbi]%></td></tr>
306
- <tr><td>Interior Lights</td><td><%=z[:vals][:vak]%></td><td><%=z[:vals][:vbj]%></td></tr>
307
- <tr><td>Interior Equipment</td><td><%=z[:vals][:val]%></td><td><%=z[:vals][:vbk]%></td></tr>
308
- <tr><td>Refrigeration</td><td><%=z[:vals][:vam]%></td><td><%=z[:vals][:vbl]%></td></tr>
309
- <tr><td>Other</td><td><%=z[:vals][:sumOtherHeating]%></td><td><%=z[:vals][:sumOtherCooling]%></td></tr>
310
- <tr><td>Infiltration</td><td><%=z[:vals][:vaq]%></td><td><%=z[:vals][:vbp]%></td></tr>
311
- <tr><td>Zone Ventilation</td><td><%=z[:vals][:var]%></td><td><%=z[:vals][:vbq]%></td></tr>
312
- <tr><td>Interzone Mixing</td><td><%=z[:vals][:vas]%></td><td><%=z[:vals][:vbr]%></td></tr>
313
- <tr><td>Walls / Doors</td><td><%=z[:vals][:sumWallDoorHeating]%></td><td><%=z[:vals][:sumWallDoorCooling]%></td></tr>
314
- <tr><td>Roof/Ceiling</td><td><%=z[:vals][:sumRoofCeilingHeating]%></td><td><%=z[:vals][:sumRoofCeilingCooling]%></td></tr>
315
- <tr><td>Floor</td><td><%=z[:vals][:sumFloorHeating]%></td><td><%=z[:vals][:sumFloorCooling]%></td></tr>
316
- <tr><td>Windows</td><td><%=z[:vals][:sumWindowsHeating]%></td><td><%=z[:vals][:sumWindowsCooling]%></td></tr>
317
- <tr><td>Total</td><td><%=z[:vals][:sumHeatingTotal]%></td><td><%=z[:vals][:sumCoolingTotal]%></td></tr>
318
- </table>
319
-
320
- <table class="table table-striped table-bordered table-condensed">
321
- <tr>
322
- <td colspan="2">Int Lighting and Equip - Metered Usage (Run Period)</td><td colspan="2">Int Lighting, Equip , Htg and Clg Loads - Peak </td><td>Time of Peak</td>
323
- </tr>
324
- <tr><td>Int Lighting (kWh)</td><td><%=z[:vals][:vc]%></td><td>Int Lighting (kW)</td><td><%=z[:vals][:vv]%></td><td><%=z[:vals][:vw]%></td></tr>
325
- <tr><td>Int Equip - Elec (kWh)</td><td><%=z[:vals][:vs]%></td><td>Int Equip - Elec (kW)</td><td><%=z[:vals][:vy]%></td><td><%=z[:vals][:vz]%></td></tr>
326
- <tr><td>Int Equip - Steam (kBtu)</td><td><%=z[:vals][:vaa]%></td><td>Int Equip - Steam (kBtu/Hr)</td><td><%=z[:vals][:vab]%></td><td><%=z[:vals][:vac]%></td></tr>
327
- <tr><td>Int Equip - Gas (Therms)</td><td><%=z[:vals][:vr]%></td><td>Int Equip - Gas (KBtu/Hr)</td><td><%=z[:vals][:vt]%></td><td><%=z[:vals][:vu]%></td></tr>
328
- </table>
329
-
330
- <h4>Peak Load Contributions</h4>
331
-
332
- <div id="graphs_<%= counter %>" class="zoneChart zoneGrid" style="background-color: white"></div>
333
-
334
- <% counter = counter + 1 %>
335
- <% end %>
336
-
337
- </div>
338
-
339
- </div>
340
-
341
- </body>
342
- </html>