dragonfly-schema 1.1301.2 → 1.1301.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/index.cjs +7670 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +735 -0
  4. package/dist/index.d.ts +735 -0
  5. package/dist/index.js +7609 -0
  6. package/dist/index.js.map +1 -0
  7. package/package.json +14 -10
  8. package/dist/src/helpers/class-validator.d.ts +0 -5
  9. package/dist/src/helpers/class-validator.d.ts.map +0 -1
  10. package/dist/src/helpers/class-validator.js +0 -78
  11. package/dist/src/index.d.ts +0 -3
  12. package/dist/src/index.d.ts.map +0 -1
  13. package/dist/src/index.js +0 -18
  14. package/dist/src/models/Building.d.ts +0 -24
  15. package/dist/src/models/Building.d.ts.map +0 -1
  16. package/dist/src/models/Building.js +0 -125
  17. package/dist/src/models/BuildingEnergyPropertiesAbridged.d.ts +0 -18
  18. package/dist/src/models/BuildingEnergyPropertiesAbridged.d.ts.map +0 -1
  19. package/dist/src/models/BuildingEnergyPropertiesAbridged.js +0 -106
  20. package/dist/src/models/BuildingPropertiesAbridged.d.ts +0 -17
  21. package/dist/src/models/BuildingPropertiesAbridged.d.ts.map +0 -1
  22. package/dist/src/models/BuildingPropertiesAbridged.js +0 -94
  23. package/dist/src/models/BuildingRadiancePropertiesAbridged.d.ts +0 -14
  24. package/dist/src/models/BuildingRadiancePropertiesAbridged.d.ts.map +0 -1
  25. package/dist/src/models/BuildingRadiancePropertiesAbridged.js +0 -78
  26. package/dist/src/models/ContextShade.d.ts +0 -21
  27. package/dist/src/models/ContextShade.d.ts.map +0 -1
  28. package/dist/src/models/ContextShade.js +0 -114
  29. package/dist/src/models/ContextShadeEnergyPropertiesAbridged.d.ts +0 -16
  30. package/dist/src/models/ContextShadeEnergyPropertiesAbridged.d.ts.map +0 -1
  31. package/dist/src/models/ContextShadeEnergyPropertiesAbridged.js +0 -93
  32. package/dist/src/models/ContextShadePropertiesAbridged.d.ts +0 -17
  33. package/dist/src/models/ContextShadePropertiesAbridged.d.ts.map +0 -1
  34. package/dist/src/models/ContextShadePropertiesAbridged.js +0 -94
  35. package/dist/src/models/ContextShadeRadiancePropertiesAbridged.d.ts +0 -14
  36. package/dist/src/models/ContextShadeRadiancePropertiesAbridged.d.ts.map +0 -1
  37. package/dist/src/models/ContextShadeRadiancePropertiesAbridged.js +0 -78
  38. package/dist/src/models/DetailedSkylights.d.ts +0 -16
  39. package/dist/src/models/DetailedSkylights.d.ts.map +0 -1
  40. package/dist/src/models/DetailedSkylights.js +0 -92
  41. package/dist/src/models/DetailedWindows.d.ts +0 -16
  42. package/dist/src/models/DetailedWindows.d.ts.map +0 -1
  43. package/dist/src/models/DetailedWindows.js +0 -92
  44. package/dist/src/models/ExteriorApertureGridParameter.d.ts +0 -17
  45. package/dist/src/models/ExteriorApertureGridParameter.d.ts.map +0 -1
  46. package/dist/src/models/ExteriorApertureGridParameter.js +0 -93
  47. package/dist/src/models/ExteriorApertureType.d.ts +0 -7
  48. package/dist/src/models/ExteriorApertureType.d.ts.map +0 -1
  49. package/dist/src/models/ExteriorApertureType.js +0 -11
  50. package/dist/src/models/ExteriorFaceGridParameter.d.ts +0 -19
  51. package/dist/src/models/ExteriorFaceGridParameter.d.ts.map +0 -1
  52. package/dist/src/models/ExteriorFaceGridParameter.js +0 -105
  53. package/dist/src/models/ExteriorFaceType.d.ts +0 -8
  54. package/dist/src/models/ExteriorFaceType.d.ts.map +0 -1
  55. package/dist/src/models/ExteriorFaceType.js +0 -12
  56. package/dist/src/models/ExtrudedBorder.d.ts +0 -14
  57. package/dist/src/models/ExtrudedBorder.d.ts.map +0 -1
  58. package/dist/src/models/ExtrudedBorder.js +0 -78
  59. package/dist/src/models/GriddedSkylightArea.d.ts +0 -17
  60. package/dist/src/models/GriddedSkylightArea.d.ts.map +0 -1
  61. package/dist/src/models/GriddedSkylightArea.js +0 -90
  62. package/dist/src/models/GriddedSkylightRatio.d.ts +0 -17
  63. package/dist/src/models/GriddedSkylightRatio.d.ts.map +0 -1
  64. package/dist/src/models/GriddedSkylightRatio.js +0 -90
  65. package/dist/src/models/LouversByCount.d.ts +0 -14
  66. package/dist/src/models/LouversByCount.d.ts.map +0 -1
  67. package/dist/src/models/LouversByCount.js +0 -78
  68. package/dist/src/models/LouversByDistance.d.ts +0 -14
  69. package/dist/src/models/LouversByDistance.d.ts.map +0 -1
  70. package/dist/src/models/LouversByDistance.js +0 -78
  71. package/dist/src/models/Model.d.ts +0 -30
  72. package/dist/src/models/Model.d.ts.map +0 -1
  73. package/dist/src/models/Model.js +0 -164
  74. package/dist/src/models/ModelEnergyProperties.d.ts +0 -79
  75. package/dist/src/models/ModelEnergyProperties.d.ts.map +0 -1
  76. package/dist/src/models/ModelEnergyProperties.js +0 -769
  77. package/dist/src/models/ModelProperties.d.ts +0 -17
  78. package/dist/src/models/ModelProperties.d.ts.map +0 -1
  79. package/dist/src/models/ModelProperties.js +0 -94
  80. package/dist/src/models/ModelRadianceProperties.d.ts +0 -30
  81. package/dist/src/models/ModelRadianceProperties.d.ts.map +0 -1
  82. package/dist/src/models/ModelRadianceProperties.js +0 -306
  83. package/dist/src/models/Overhang.d.ts +0 -16
  84. package/dist/src/models/Overhang.d.ts.map +0 -1
  85. package/dist/src/models/Overhang.js +0 -92
  86. package/dist/src/models/RectangularWindows.d.ts +0 -20
  87. package/dist/src/models/RectangularWindows.d.ts.map +0 -1
  88. package/dist/src/models/RectangularWindows.js +0 -116
  89. package/dist/src/models/RepeatingWindowRatio.d.ts +0 -22
  90. package/dist/src/models/RepeatingWindowRatio.d.ts.map +0 -1
  91. package/dist/src/models/RepeatingWindowRatio.js +0 -125
  92. package/dist/src/models/RoofSpecification.d.ts +0 -15
  93. package/dist/src/models/RoofSpecification.d.ts.map +0 -1
  94. package/dist/src/models/RoofSpecification.js +0 -82
  95. package/dist/src/models/Room2D.d.ts +0 -63
  96. package/dist/src/models/Room2D.d.ts.map +0 -1
  97. package/dist/src/models/Room2D.js +0 -328
  98. package/dist/src/models/Room2DEnergyPropertiesAbridged.d.ts +0 -29
  99. package/dist/src/models/Room2DEnergyPropertiesAbridged.d.ts.map +0 -1
  100. package/dist/src/models/Room2DEnergyPropertiesAbridged.js +0 -162
  101. package/dist/src/models/Room2DPropertiesAbridged.d.ts +0 -17
  102. package/dist/src/models/Room2DPropertiesAbridged.d.ts.map +0 -1
  103. package/dist/src/models/Room2DPropertiesAbridged.js +0 -94
  104. package/dist/src/models/Room2DRadiancePropertiesAbridged.d.ts +0 -20
  105. package/dist/src/models/Room2DRadiancePropertiesAbridged.d.ts.map +0 -1
  106. package/dist/src/models/Room2DRadiancePropertiesAbridged.js +0 -105
  107. package/dist/src/models/RoomGridParameter.d.ts +0 -16
  108. package/dist/src/models/RoomGridParameter.d.ts.map +0 -1
  109. package/dist/src/models/RoomGridParameter.js +0 -91
  110. package/dist/src/models/RoomRadialGridParameter.d.ts +0 -19
  111. package/dist/src/models/RoomRadialGridParameter.d.ts.map +0 -1
  112. package/dist/src/models/RoomRadialGridParameter.js +0 -103
  113. package/dist/src/models/SimpleWindowArea.d.ts +0 -16
  114. package/dist/src/models/SimpleWindowArea.d.ts.map +0 -1
  115. package/dist/src/models/SimpleWindowArea.js +0 -90
  116. package/dist/src/models/SimpleWindowRatio.d.ts +0 -16
  117. package/dist/src/models/SimpleWindowRatio.d.ts.map +0 -1
  118. package/dist/src/models/SimpleWindowRatio.js +0 -90
  119. package/dist/src/models/SingleWindow.d.ts +0 -18
  120. package/dist/src/models/SingleWindow.d.ts.map +0 -1
  121. package/dist/src/models/SingleWindow.js +0 -101
  122. package/dist/src/models/Story.d.ts +0 -31
  123. package/dist/src/models/Story.d.ts.map +0 -1
  124. package/dist/src/models/Story.js +0 -160
  125. package/dist/src/models/StoryEnergyPropertiesAbridged.d.ts +0 -14
  126. package/dist/src/models/StoryEnergyPropertiesAbridged.d.ts.map +0 -1
  127. package/dist/src/models/StoryEnergyPropertiesAbridged.js +0 -80
  128. package/dist/src/models/StoryPropertiesAbridged.d.ts +0 -17
  129. package/dist/src/models/StoryPropertiesAbridged.d.ts.map +0 -1
  130. package/dist/src/models/StoryPropertiesAbridged.js +0 -94
  131. package/dist/src/models/StoryRadiancePropertiesAbridged.d.ts +0 -14
  132. package/dist/src/models/StoryRadiancePropertiesAbridged.d.ts.map +0 -1
  133. package/dist/src/models/StoryRadiancePropertiesAbridged.js +0 -78
  134. package/dist/src/models/StoryType.d.ts +0 -7
  135. package/dist/src/models/StoryType.d.ts.map +0 -1
  136. package/dist/src/models/StoryType.js +0 -11
  137. package/dist/src/models/_GridParameterBase.d.ts +0 -16
  138. package/dist/src/models/_GridParameterBase.d.ts.map +0 -1
  139. package/dist/src/models/_GridParameterBase.js +0 -90
  140. package/dist/src/models/_LouversBase.d.ts +0 -22
  141. package/dist/src/models/_LouversBase.d.ts.map +0 -1
  142. package/dist/src/models/_LouversBase.js +0 -130
  143. package/dist/src/models/_OpenAPIGenBaseModel.d.ts +0 -9
  144. package/dist/src/models/_OpenAPIGenBaseModel.d.ts.map +0 -1
  145. package/dist/src/models/_OpenAPIGenBaseModel.js +0 -53
  146. package/dist/src/models/_WindowParameterBase.d.ts +0 -14
  147. package/dist/src/models/_WindowParameterBase.d.ts.map +0 -1
  148. package/dist/src/models/_WindowParameterBase.js +0 -77
  149. package/dist/src/models/index.d.ts +0 -46
  150. package/dist/src/models/index.d.ts.map +0 -1
  151. package/dist/src/models/index.js +0 -62
  152. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,769 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ModelEnergyProperties = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const _OpenAPIGenBaseModel_1 = require("./_OpenAPIGenBaseModel");
16
- const honeybee_schema_1 = require("honeybee-schema");
17
- const honeybee_schema_2 = require("honeybee-schema");
18
- const honeybee_schema_3 = require("honeybee-schema");
19
- const honeybee_schema_4 = require("honeybee-schema");
20
- const honeybee_schema_5 = require("honeybee-schema");
21
- const honeybee_schema_6 = require("honeybee-schema");
22
- const honeybee_schema_7 = require("honeybee-schema");
23
- const honeybee_schema_8 = require("honeybee-schema");
24
- const honeybee_schema_9 = require("honeybee-schema");
25
- const honeybee_schema_10 = require("honeybee-schema");
26
- const honeybee_schema_11 = require("honeybee-schema");
27
- const honeybee_schema_12 = require("honeybee-schema");
28
- const honeybee_schema_13 = require("honeybee-schema");
29
- const honeybee_schema_14 = require("honeybee-schema");
30
- const honeybee_schema_15 = require("honeybee-schema");
31
- const honeybee_schema_16 = require("honeybee-schema");
32
- const honeybee_schema_17 = require("honeybee-schema");
33
- const honeybee_schema_18 = require("honeybee-schema");
34
- const honeybee_schema_19 = require("honeybee-schema");
35
- const honeybee_schema_20 = require("honeybee-schema");
36
- const honeybee_schema_21 = require("honeybee-schema");
37
- const honeybee_schema_22 = require("honeybee-schema");
38
- const honeybee_schema_23 = require("honeybee-schema");
39
- const honeybee_schema_24 = require("honeybee-schema");
40
- const honeybee_schema_25 = require("honeybee-schema");
41
- const honeybee_schema_26 = require("honeybee-schema");
42
- const honeybee_schema_27 = require("honeybee-schema");
43
- const honeybee_schema_28 = require("honeybee-schema");
44
- const honeybee_schema_29 = require("honeybee-schema");
45
- const honeybee_schema_30 = require("honeybee-schema");
46
- const honeybee_schema_31 = require("honeybee-schema");
47
- const honeybee_schema_32 = require("honeybee-schema");
48
- const honeybee_schema_33 = require("honeybee-schema");
49
- const honeybee_schema_34 = require("honeybee-schema");
50
- const honeybee_schema_35 = require("honeybee-schema");
51
- const honeybee_schema_36 = require("honeybee-schema");
52
- const honeybee_schema_37 = require("honeybee-schema");
53
- const honeybee_schema_38 = require("honeybee-schema");
54
- const honeybee_schema_39 = require("honeybee-schema");
55
- const honeybee_schema_40 = require("honeybee-schema");
56
- const honeybee_schema_41 = require("honeybee-schema");
57
- const honeybee_schema_42 = require("honeybee-schema");
58
- const honeybee_schema_43 = require("honeybee-schema");
59
- const honeybee_schema_44 = require("honeybee-schema");
60
- const honeybee_schema_45 = require("honeybee-schema");
61
- const honeybee_schema_46 = require("honeybee-schema");
62
- const honeybee_schema_47 = require("honeybee-schema");
63
- const honeybee_schema_48 = require("honeybee-schema");
64
- const honeybee_schema_49 = require("honeybee-schema");
65
- /** Base class for all objects that are not extensible with additional keys.\n\nThis effectively includes all objects except for the Properties classes\nthat are assigned to geometry objects. */
66
- class ModelEnergyProperties extends _OpenAPIGenBaseModel_1._OpenAPIGenBaseModel {
67
- /** Type */
68
- type;
69
- /** Global Energy construction set. */
70
- global_construction_set;
71
- /** List of all ConstructionSets in the Model. */
72
- construction_sets;
73
- /** A list of all unique constructions in the model. This includes constructions across all the Model construction_sets. */
74
- constructions;
75
- /** A list of all unique materials in the model. This includes materials needed to make the Model constructions. */
76
- materials;
77
- /** List of all HVAC systems in the Model. */
78
- hvacs;
79
- /** List of all Service Hot Water (SHW) systems in the Model. */
80
- shws;
81
- /** List of all ProgramTypes in the Model. */
82
- program_types;
83
- /** A list of all unique schedules in the model. This includes schedules across all HVAC systems, ProgramTypes and ContextShades. */
84
- schedules;
85
- /** A list of all unique ScheduleTypeLimits in the model. This all ScheduleTypeLimits needed to make the Model schedules. */
86
- schedule_type_limits;
87
- constructor() {
88
- super();
89
- this.type = "ModelEnergyProperties";
90
- this.global_construction_set = honeybee_schema_23.GlobalConstructionSet.fromJS({
91
- "type": "GlobalConstructionSet",
92
- "materials": [
93
- {
94
- "identifier": "Generic Roof Membrane",
95
- "display_name": null,
96
- "user_data": null,
97
- "type": "EnergyMaterial",
98
- "roughness": "MediumRough",
99
- "thickness": 0.01,
100
- "conductivity": 0.16,
101
- "density": 1120.0,
102
- "specific_heat": 1460.0,
103
- "thermal_absorptance": 0.9,
104
- "solar_absorptance": 0.65,
105
- "visible_absorptance": 0.65
106
- },
107
- {
108
- "identifier": "Generic Acoustic Tile",
109
- "display_name": null,
110
- "user_data": null,
111
- "type": "EnergyMaterial",
112
- "roughness": "MediumSmooth",
113
- "thickness": 0.02,
114
- "conductivity": 0.06,
115
- "density": 368.0,
116
- "specific_heat": 590.0,
117
- "thermal_absorptance": 0.9,
118
- "solar_absorptance": 0.2,
119
- "visible_absorptance": 0.2
120
- },
121
- {
122
- "identifier": "Generic 25mm Wood",
123
- "display_name": null,
124
- "user_data": null,
125
- "type": "EnergyMaterial",
126
- "roughness": "MediumSmooth",
127
- "thickness": 0.0254,
128
- "conductivity": 0.15,
129
- "density": 608.0,
130
- "specific_heat": 1630.0,
131
- "thermal_absorptance": 0.9,
132
- "solar_absorptance": 0.5,
133
- "visible_absorptance": 0.5
134
- },
135
- {
136
- "identifier": "Generic HW Concrete",
137
- "display_name": null,
138
- "user_data": null,
139
- "type": "EnergyMaterial",
140
- "roughness": "MediumRough",
141
- "thickness": 0.2,
142
- "conductivity": 1.95,
143
- "density": 2240.0,
144
- "specific_heat": 900.0,
145
- "thermal_absorptance": 0.9,
146
- "solar_absorptance": 0.8,
147
- "visible_absorptance": 0.8
148
- },
149
- {
150
- "identifier": "Generic Window Air Gap",
151
- "display_name": null,
152
- "user_data": null,
153
- "type": "EnergyWindowMaterialGas",
154
- "thickness": 0.0127,
155
- "gas_type": "Air"
156
- },
157
- {
158
- "identifier": "Generic Gypsum Board",
159
- "display_name": null,
160
- "user_data": null,
161
- "type": "EnergyMaterial",
162
- "roughness": "MediumSmooth",
163
- "thickness": 0.0127,
164
- "conductivity": 0.16,
165
- "density": 800.0,
166
- "specific_heat": 1090.0,
167
- "thermal_absorptance": 0.9,
168
- "solar_absorptance": 0.5,
169
- "visible_absorptance": 0.5
170
- },
171
- {
172
- "identifier": "Generic Wall Air Gap",
173
- "display_name": null,
174
- "user_data": null,
175
- "type": "EnergyMaterial",
176
- "roughness": "Smooth",
177
- "thickness": 0.1,
178
- "conductivity": 0.667,
179
- "density": 1.28,
180
- "specific_heat": 1000.0,
181
- "thermal_absorptance": 0.9,
182
- "solar_absorptance": 0.7,
183
- "visible_absorptance": 0.7
184
- },
185
- {
186
- "identifier": "Generic Ceiling Air Gap",
187
- "display_name": null,
188
- "user_data": null,
189
- "type": "EnergyMaterial",
190
- "roughness": "Smooth",
191
- "thickness": 0.1,
192
- "conductivity": 0.556,
193
- "density": 1.28,
194
- "specific_heat": 1000.0,
195
- "thermal_absorptance": 0.9,
196
- "solar_absorptance": 0.7,
197
- "visible_absorptance": 0.7
198
- },
199
- {
200
- "identifier": "Generic Brick",
201
- "display_name": null,
202
- "user_data": null,
203
- "type": "EnergyMaterial",
204
- "roughness": "MediumRough",
205
- "thickness": 0.1,
206
- "conductivity": 0.9,
207
- "density": 1920.0,
208
- "specific_heat": 790.0,
209
- "thermal_absorptance": 0.9,
210
- "solar_absorptance": 0.65,
211
- "visible_absorptance": 0.65
212
- },
213
- {
214
- "identifier": "Generic 50mm Insulation",
215
- "display_name": null,
216
- "user_data": null,
217
- "type": "EnergyMaterial",
218
- "roughness": "MediumRough",
219
- "thickness": 0.05,
220
- "conductivity": 0.03,
221
- "density": 43.0,
222
- "specific_heat": 1210.0,
223
- "thermal_absorptance": 0.9,
224
- "solar_absorptance": 0.7,
225
- "visible_absorptance": 0.7
226
- },
227
- {
228
- "identifier": "Generic Low-e Glass",
229
- "display_name": null,
230
- "user_data": null,
231
- "type": "EnergyWindowMaterialGlazing",
232
- "thickness": 0.006,
233
- "solar_transmittance": 0.45,
234
- "solar_reflectance": 0.36,
235
- "solar_reflectance_back": 0.36,
236
- "visible_transmittance": 0.71,
237
- "visible_reflectance": 0.21,
238
- "visible_reflectance_back": 0.21,
239
- "infrared_transmittance": 0.0,
240
- "emissivity": 0.84,
241
- "emissivity_back": 0.047,
242
- "conductivity": 1.0,
243
- "dirt_correction": 1.0,
244
- "solar_diffusing": false
245
- },
246
- {
247
- "identifier": "Generic Painted Metal",
248
- "display_name": null,
249
- "user_data": null,
250
- "type": "EnergyMaterial",
251
- "roughness": "Smooth",
252
- "thickness": 0.0015,
253
- "conductivity": 45.0,
254
- "density": 7690.0,
255
- "specific_heat": 410.0,
256
- "thermal_absorptance": 0.9,
257
- "solar_absorptance": 0.5,
258
- "visible_absorptance": 0.5
259
- },
260
- {
261
- "identifier": "Generic LW Concrete",
262
- "display_name": null,
263
- "user_data": null,
264
- "type": "EnergyMaterial",
265
- "roughness": "MediumRough",
266
- "thickness": 0.1,
267
- "conductivity": 0.53,
268
- "density": 1280.0,
269
- "specific_heat": 840.0,
270
- "thermal_absorptance": 0.9,
271
- "solar_absorptance": 0.8,
272
- "visible_absorptance": 0.8
273
- },
274
- {
275
- "identifier": "Generic 25mm Insulation",
276
- "display_name": null,
277
- "user_data": null,
278
- "type": "EnergyMaterial",
279
- "roughness": "MediumRough",
280
- "thickness": 0.025,
281
- "conductivity": 0.03,
282
- "density": 43.0,
283
- "specific_heat": 1210.0,
284
- "thermal_absorptance": 0.9,
285
- "solar_absorptance": 0.7,
286
- "visible_absorptance": 0.7
287
- },
288
- {
289
- "identifier": "Generic Clear Glass",
290
- "display_name": null,
291
- "user_data": null,
292
- "type": "EnergyWindowMaterialGlazing",
293
- "thickness": 0.006,
294
- "solar_transmittance": 0.77,
295
- "solar_reflectance": 0.07,
296
- "solar_reflectance_back": 0.07,
297
- "visible_transmittance": 0.88,
298
- "visible_reflectance": 0.08,
299
- "visible_reflectance_back": 0.08,
300
- "infrared_transmittance": 0.0,
301
- "emissivity": 0.84,
302
- "emissivity_back": 0.84,
303
- "conductivity": 1.0,
304
- "dirt_correction": 1.0,
305
- "solar_diffusing": false
306
- }
307
- ],
308
- "constructions": [
309
- {
310
- "identifier": "Generic Interior Door",
311
- "display_name": null,
312
- "user_data": null,
313
- "type": "OpaqueConstructionAbridged",
314
- "materials": [
315
- "Generic 25mm Wood"
316
- ]
317
- },
318
- {
319
- "identifier": "Generic Single Pane",
320
- "display_name": null,
321
- "user_data": null,
322
- "type": "WindowConstructionAbridged",
323
- "materials": [
324
- "Generic Clear Glass"
325
- ],
326
- "frame": null
327
- },
328
- {
329
- "identifier": "Generic Shade",
330
- "display_name": null,
331
- "user_data": null,
332
- "type": "ShadeConstruction",
333
- "solar_reflectance": 0.35,
334
- "visible_reflectance": 0.35,
335
- "is_specular": false
336
- },
337
- {
338
- "identifier": "Generic Context",
339
- "display_name": null,
340
- "user_data": null,
341
- "type": "ShadeConstruction",
342
- "solar_reflectance": 0.2,
343
- "visible_reflectance": 0.2,
344
- "is_specular": false
345
- },
346
- {
347
- "identifier": "Generic Interior Ceiling",
348
- "display_name": null,
349
- "user_data": null,
350
- "type": "OpaqueConstructionAbridged",
351
- "materials": [
352
- "Generic LW Concrete",
353
- "Generic Ceiling Air Gap",
354
- "Generic Acoustic Tile"
355
- ]
356
- },
357
- {
358
- "identifier": "Generic Interior Wall",
359
- "display_name": null,
360
- "user_data": null,
361
- "type": "OpaqueConstructionAbridged",
362
- "materials": [
363
- "Generic Gypsum Board",
364
- "Generic Wall Air Gap",
365
- "Generic Gypsum Board"
366
- ]
367
- },
368
- {
369
- "identifier": "Generic Exposed Floor",
370
- "display_name": null,
371
- "user_data": null,
372
- "type": "OpaqueConstructionAbridged",
373
- "materials": [
374
- "Generic Painted Metal",
375
- "Generic Ceiling Air Gap",
376
- "Generic 50mm Insulation",
377
- "Generic LW Concrete"
378
- ]
379
- },
380
- {
381
- "identifier": "Generic Interior Floor",
382
- "display_name": null,
383
- "user_data": null,
384
- "type": "OpaqueConstructionAbridged",
385
- "materials": [
386
- "Generic Acoustic Tile",
387
- "Generic Ceiling Air Gap",
388
- "Generic LW Concrete"
389
- ]
390
- },
391
- {
392
- "identifier": "Generic Ground Slab",
393
- "display_name": null,
394
- "user_data": null,
395
- "type": "OpaqueConstructionAbridged",
396
- "materials": [
397
- "Generic 50mm Insulation",
398
- "Generic HW Concrete"
399
- ]
400
- },
401
- {
402
- "identifier": "Generic Roof",
403
- "display_name": null,
404
- "user_data": null,
405
- "type": "OpaqueConstructionAbridged",
406
- "materials": [
407
- "Generic Roof Membrane",
408
- "Generic 50mm Insulation",
409
- "Generic LW Concrete",
410
- "Generic Ceiling Air Gap",
411
- "Generic Acoustic Tile"
412
- ]
413
- },
414
- {
415
- "identifier": "Generic Exterior Wall",
416
- "display_name": null,
417
- "user_data": null,
418
- "type": "OpaqueConstructionAbridged",
419
- "materials": [
420
- "Generic Brick",
421
- "Generic LW Concrete",
422
- "Generic 50mm Insulation",
423
- "Generic Wall Air Gap",
424
- "Generic Gypsum Board"
425
- ]
426
- },
427
- {
428
- "identifier": "Generic Underground Wall",
429
- "display_name": null,
430
- "user_data": null,
431
- "type": "OpaqueConstructionAbridged",
432
- "materials": [
433
- "Generic 50mm Insulation",
434
- "Generic HW Concrete",
435
- "Generic Wall Air Gap",
436
- "Generic Gypsum Board"
437
- ]
438
- },
439
- {
440
- "identifier": "Generic Air Boundary",
441
- "display_name": null,
442
- "user_data": null,
443
- "type": "AirBoundaryConstructionAbridged",
444
- "air_mixing_per_area": 0.1,
445
- "air_mixing_schedule": "Always On"
446
- },
447
- {
448
- "identifier": "Generic Underground Roof",
449
- "display_name": null,
450
- "user_data": null,
451
- "type": "OpaqueConstructionAbridged",
452
- "materials": [
453
- "Generic 50mm Insulation",
454
- "Generic HW Concrete",
455
- "Generic Ceiling Air Gap",
456
- "Generic Acoustic Tile"
457
- ]
458
- },
459
- {
460
- "identifier": "Generic Double Pane",
461
- "display_name": null,
462
- "user_data": null,
463
- "type": "WindowConstructionAbridged",
464
- "materials": [
465
- "Generic Low-e Glass",
466
- "Generic Window Air Gap",
467
- "Generic Clear Glass"
468
- ],
469
- "frame": null
470
- },
471
- {
472
- "identifier": "Generic Exterior Door",
473
- "display_name": null,
474
- "user_data": null,
475
- "type": "OpaqueConstructionAbridged",
476
- "materials": [
477
- "Generic Painted Metal",
478
- "Generic 25mm Insulation",
479
- "Generic Painted Metal"
480
- ]
481
- }
482
- ],
483
- "wall_set": {
484
- "interior_construction": "Generic Interior Wall",
485
- "exterior_construction": "Generic Exterior Wall",
486
- "ground_construction": "Generic Underground Wall",
487
- "type": "WallConstructionSetAbridged"
488
- },
489
- "floor_set": {
490
- "interior_construction": "Generic Interior Floor",
491
- "exterior_construction": "Generic Exposed Floor",
492
- "ground_construction": "Generic Ground Slab",
493
- "type": "FloorConstructionSetAbridged"
494
- },
495
- "roof_ceiling_set": {
496
- "interior_construction": "Generic Interior Ceiling",
497
- "exterior_construction": "Generic Roof",
498
- "ground_construction": "Generic Underground Roof",
499
- "type": "RoofCeilingConstructionSetAbridged"
500
- },
501
- "aperture_set": {
502
- "type": "ApertureConstructionSetAbridged",
503
- "interior_construction": "Generic Single Pane",
504
- "window_construction": "Generic Double Pane",
505
- "skylight_construction": "Generic Double Pane",
506
- "operable_construction": "Generic Double Pane"
507
- },
508
- "door_set": {
509
- "type": "DoorConstructionSetAbridged",
510
- "interior_construction": "Generic Interior Door",
511
- "exterior_construction": "Generic Exterior Door",
512
- "overhead_construction": "Generic Exterior Door",
513
- "exterior_glass_construction": "Generic Double Pane",
514
- "interior_glass_construction": "Generic Single Pane"
515
- },
516
- "shade_construction": "Generic Shade",
517
- "context_construction": "Generic Context",
518
- "air_boundary_construction": "Generic Air Boundary"
519
- });
520
- }
521
- init(_data) {
522
- super.init(_data);
523
- if (_data) {
524
- const obj = (0, class_transformer_1.plainToClass)(ModelEnergyProperties, _data, { enableImplicitConversion: true });
525
- this.type = obj.type;
526
- this.global_construction_set = obj.global_construction_set;
527
- this.construction_sets = obj.construction_sets;
528
- this.constructions = obj.constructions;
529
- this.materials = obj.materials;
530
- this.hvacs = obj.hvacs;
531
- this.shws = obj.shws;
532
- this.program_types = obj.program_types;
533
- this.schedules = obj.schedules;
534
- this.schedule_type_limits = obj.schedule_type_limits;
535
- }
536
- }
537
- static fromJS(data) {
538
- data = typeof data === 'object' ? data : {};
539
- if (Array.isArray(data)) {
540
- const obj = {};
541
- for (var property in data) {
542
- obj[property] = data[property];
543
- }
544
- data = obj;
545
- }
546
- let result = new ModelEnergyProperties();
547
- result.init(data);
548
- return result;
549
- }
550
- toJSON(data) {
551
- data = typeof data === 'object' ? data : {};
552
- data["type"] = this.type;
553
- data["global_construction_set"] = this.global_construction_set;
554
- data["construction_sets"] = this.construction_sets;
555
- data["constructions"] = this.constructions;
556
- data["materials"] = this.materials;
557
- data["hvacs"] = this.hvacs;
558
- data["shws"] = this.shws;
559
- data["program_types"] = this.program_types;
560
- data["schedules"] = this.schedules;
561
- data["schedule_type_limits"] = this.schedule_type_limits;
562
- data = super.toJSON(data);
563
- return (0, class_transformer_1.instanceToPlain)(data);
564
- }
565
- async validate() {
566
- const errors = await (0, class_validator_1.validate)(this);
567
- if (errors.length > 0) {
568
- const errorMessages = errors.map((error) => Object.values(error.constraints || [error]).join(', ')).join('; ');
569
- throw new Error(`Validation failed: ${errorMessages}`);
570
- }
571
- return true;
572
- }
573
- }
574
- exports.ModelEnergyProperties = ModelEnergyProperties;
575
- __decorate([
576
- (0, class_validator_1.IsString)(),
577
- (0, class_validator_1.IsOptional)(),
578
- (0, class_validator_1.Matches)(/^ModelEnergyProperties$/)
579
- /** Type */
580
- ,
581
- __metadata("design:type", String)
582
- ], ModelEnergyProperties.prototype, "type", void 0);
583
- __decorate([
584
- (0, class_validator_1.IsInstance)(honeybee_schema_23.GlobalConstructionSet),
585
- (0, class_transformer_1.Type)(() => honeybee_schema_23.GlobalConstructionSet),
586
- (0, class_validator_1.ValidateNested)(),
587
- (0, class_validator_1.IsOptional)()
588
- /** Global Energy construction set. */
589
- ,
590
- __metadata("design:type", honeybee_schema_23.GlobalConstructionSet)
591
- ], ModelEnergyProperties.prototype, "global_construction_set", void 0);
592
- __decorate([
593
- (0, class_validator_1.IsArray)(),
594
- (0, class_validator_1.IsOptional)(),
595
- (0, class_transformer_1.Transform)(({ value }) => value.map((item) => {
596
- if (item?.type === 'ConstructionSetAbridged')
597
- return honeybee_schema_5.ConstructionSetAbridged.fromJS(item);
598
- else if (item?.type === 'ConstructionSet')
599
- return honeybee_schema_4.ConstructionSet.fromJS(item);
600
- else
601
- return item;
602
- }))
603
- /** List of all ConstructionSets in the Model. */
604
- ,
605
- __metadata("design:type", Array)
606
- ], ModelEnergyProperties.prototype, "construction_sets", void 0);
607
- __decorate([
608
- (0, class_validator_1.IsArray)(),
609
- (0, class_validator_1.IsOptional)(),
610
- (0, class_transformer_1.Transform)(({ value }) => value.map((item) => {
611
- if (item?.type === 'OpaqueConstructionAbridged')
612
- return honeybee_schema_26.OpaqueConstructionAbridged.fromJS(item);
613
- else if (item?.type === 'WindowConstructionAbridged')
614
- return honeybee_schema_47.WindowConstructionAbridged.fromJS(item);
615
- else if (item?.type === 'ShadeConstruction')
616
- return honeybee_schema_40.ShadeConstruction.fromJS(item);
617
- else if (item?.type === 'AirBoundaryConstructionAbridged')
618
- return honeybee_schema_2.AirBoundaryConstructionAbridged.fromJS(item);
619
- else if (item?.type === 'OpaqueConstruction')
620
- return honeybee_schema_25.OpaqueConstruction.fromJS(item);
621
- else if (item?.type === 'WindowConstruction')
622
- return honeybee_schema_46.WindowConstruction.fromJS(item);
623
- else if (item?.type === 'AirBoundaryConstruction')
624
- return honeybee_schema_1.AirBoundaryConstruction.fromJS(item);
625
- else
626
- return item;
627
- }))
628
- /** A list of all unique constructions in the model. This includes constructions across all the Model construction_sets. */
629
- ,
630
- __metadata("design:type", Array)
631
- ], ModelEnergyProperties.prototype, "constructions", void 0);
632
- __decorate([
633
- (0, class_validator_1.IsArray)(),
634
- (0, class_validator_1.IsOptional)(),
635
- (0, class_transformer_1.Transform)(({ value }) => value.map((item) => {
636
- if (item?.type === 'EnergyMaterial')
637
- return honeybee_schema_7.EnergyMaterial.fromJS(item);
638
- else if (item?.type === 'EnergyMaterialNoMass')
639
- return honeybee_schema_8.EnergyMaterialNoMass.fromJS(item);
640
- else if (item?.type === 'EnergyMaterialVegetation')
641
- return honeybee_schema_9.EnergyMaterialVegetation.fromJS(item);
642
- else if (item?.type === 'EnergyWindowMaterialGlazing')
643
- return honeybee_schema_15.EnergyWindowMaterialGlazing.fromJS(item);
644
- else if (item?.type === 'EnergyWindowMaterialSimpleGlazSys')
645
- return honeybee_schema_17.EnergyWindowMaterialSimpleGlazSys.fromJS(item);
646
- else if (item?.type === 'EnergyWindowMaterialGas')
647
- return honeybee_schema_12.EnergyWindowMaterialGas.fromJS(item);
648
- else if (item?.type === 'EnergyWindowMaterialGasMixture')
649
- return honeybee_schema_14.EnergyWindowMaterialGasMixture.fromJS(item);
650
- else if (item?.type === 'EnergyWindowMaterialGasCustom')
651
- return honeybee_schema_13.EnergyWindowMaterialGasCustom.fromJS(item);
652
- else if (item?.type === 'EnergyWindowFrame')
653
- return honeybee_schema_10.EnergyWindowFrame.fromJS(item);
654
- else if (item?.type === 'EnergyWindowMaterialBlind')
655
- return honeybee_schema_11.EnergyWindowMaterialBlind.fromJS(item);
656
- else if (item?.type === 'EnergyWindowMaterialShade')
657
- return honeybee_schema_16.EnergyWindowMaterialShade.fromJS(item);
658
- else
659
- return item;
660
- }))
661
- /** A list of all unique materials in the model. This includes materials needed to make the Model constructions. */
662
- ,
663
- __metadata("design:type", Array)
664
- ], ModelEnergyProperties.prototype, "materials", void 0);
665
- __decorate([
666
- (0, class_validator_1.IsArray)(),
667
- (0, class_validator_1.IsOptional)(),
668
- (0, class_transformer_1.Transform)(({ value }) => value.map((item) => {
669
- if (item?.type === 'IdealAirSystemAbridged')
670
- return honeybee_schema_24.IdealAirSystemAbridged.fromJS(item);
671
- else if (item?.type === 'VAV')
672
- return honeybee_schema_42.VAV.fromJS(item);
673
- else if (item?.type === 'PVAV')
674
- return honeybee_schema_31.PVAV.fromJS(item);
675
- else if (item?.type === 'PSZ')
676
- return honeybee_schema_29.PSZ.fromJS(item);
677
- else if (item?.type === 'PTAC')
678
- return honeybee_schema_30.PTAC.fromJS(item);
679
- else if (item?.type === 'ForcedAirFurnace')
680
- return honeybee_schema_21.ForcedAirFurnace.fromJS(item);
681
- else if (item?.type === 'FCUwithDOASAbridged')
682
- return honeybee_schema_20.FCUwithDOASAbridged.fromJS(item);
683
- else if (item?.type === 'WSHPwithDOASAbridged')
684
- return honeybee_schema_49.WSHPwithDOASAbridged.fromJS(item);
685
- else if (item?.type === 'VRFwithDOASAbridged')
686
- return honeybee_schema_44.VRFwithDOASAbridged.fromJS(item);
687
- else if (item?.type === 'RadiantwithDOASAbridged')
688
- return honeybee_schema_33.RadiantwithDOASAbridged.fromJS(item);
689
- else if (item?.type === 'FCU')
690
- return honeybee_schema_19.FCU.fromJS(item);
691
- else if (item?.type === 'WSHP')
692
- return honeybee_schema_48.WSHP.fromJS(item);
693
- else if (item?.type === 'VRF')
694
- return honeybee_schema_43.VRF.fromJS(item);
695
- else if (item?.type === 'Baseboard')
696
- return honeybee_schema_3.Baseboard.fromJS(item);
697
- else if (item?.type === 'EvaporativeCooler')
698
- return honeybee_schema_18.EvaporativeCooler.fromJS(item);
699
- else if (item?.type === 'Residential')
700
- return honeybee_schema_34.Residential.fromJS(item);
701
- else if (item?.type === 'WindowAC')
702
- return honeybee_schema_45.WindowAC.fromJS(item);
703
- else if (item?.type === 'GasUnitHeater')
704
- return honeybee_schema_22.GasUnitHeater.fromJS(item);
705
- else if (item?.type === 'Radiant')
706
- return honeybee_schema_32.Radiant.fromJS(item);
707
- else if (item?.type === 'DetailedHVAC')
708
- return honeybee_schema_6.DetailedHVAC.fromJS(item);
709
- else
710
- return item;
711
- }))
712
- /** List of all HVAC systems in the Model. */
713
- ,
714
- __metadata("design:type", Array)
715
- ], ModelEnergyProperties.prototype, "hvacs", void 0);
716
- __decorate([
717
- (0, class_validator_1.IsArray)(),
718
- (0, class_validator_1.IsInstance)(honeybee_schema_41.SHWSystem, { each: true }),
719
- (0, class_transformer_1.Type)(() => honeybee_schema_41.SHWSystem),
720
- (0, class_validator_1.ValidateNested)({ each: true }),
721
- (0, class_validator_1.IsOptional)()
722
- /** List of all Service Hot Water (SHW) systems in the Model. */
723
- ,
724
- __metadata("design:type", Array)
725
- ], ModelEnergyProperties.prototype, "shws", void 0);
726
- __decorate([
727
- (0, class_validator_1.IsArray)(),
728
- (0, class_validator_1.IsOptional)(),
729
- (0, class_transformer_1.Transform)(({ value }) => value.map((item) => {
730
- if (item?.type === 'ProgramTypeAbridged')
731
- return honeybee_schema_28.ProgramTypeAbridged.fromJS(item);
732
- else if (item?.type === 'ProgramType')
733
- return honeybee_schema_27.ProgramType.fromJS(item);
734
- else
735
- return item;
736
- }))
737
- /** List of all ProgramTypes in the Model. */
738
- ,
739
- __metadata("design:type", Array)
740
- ], ModelEnergyProperties.prototype, "program_types", void 0);
741
- __decorate([
742
- (0, class_validator_1.IsArray)(),
743
- (0, class_validator_1.IsOptional)(),
744
- (0, class_transformer_1.Transform)(({ value }) => value.map((item) => {
745
- if (item?.type === 'ScheduleRulesetAbridged')
746
- return honeybee_schema_38.ScheduleRulesetAbridged.fromJS(item);
747
- else if (item?.type === 'ScheduleFixedIntervalAbridged')
748
- return honeybee_schema_36.ScheduleFixedIntervalAbridged.fromJS(item);
749
- else if (item?.type === 'ScheduleRuleset')
750
- return honeybee_schema_37.ScheduleRuleset.fromJS(item);
751
- else if (item?.type === 'ScheduleFixedInterval')
752
- return honeybee_schema_35.ScheduleFixedInterval.fromJS(item);
753
- else
754
- return item;
755
- }))
756
- /** A list of all unique schedules in the model. This includes schedules across all HVAC systems, ProgramTypes and ContextShades. */
757
- ,
758
- __metadata("design:type", Array)
759
- ], ModelEnergyProperties.prototype, "schedules", void 0);
760
- __decorate([
761
- (0, class_validator_1.IsArray)(),
762
- (0, class_validator_1.IsInstance)(honeybee_schema_39.ScheduleTypeLimit, { each: true }),
763
- (0, class_transformer_1.Type)(() => honeybee_schema_39.ScheduleTypeLimit),
764
- (0, class_validator_1.ValidateNested)({ each: true }),
765
- (0, class_validator_1.IsOptional)()
766
- /** A list of all unique ScheduleTypeLimits in the model. This all ScheduleTypeLimits needed to make the Model schedules. */
767
- ,
768
- __metadata("design:type", Array)
769
- ], ModelEnergyProperties.prototype, "schedule_type_limits", void 0);