honeybee-openstudio 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +5 -5
  2. data/.coveralls.yml +1 -1
  3. data/.gitignore +32 -32
  4. data/.releaserc.json +7 -7
  5. data/.travis.yml +42 -41
  6. data/Gemfile +18 -18
  7. data/LICENSE.md +23 -23
  8. data/README.md +95 -95
  9. data/Rakefile +20 -20
  10. data/doc_templates/LICENSE.md +23 -23
  11. data/doc_templates/copyright_erb.txt +31 -31
  12. data/doc_templates/copyright_js.txt +4 -4
  13. data/doc_templates/copyright_ruby.txt +29 -29
  14. data/honeybee-openstudio.gemspec +35 -35
  15. data/lib/files/Honeybee.rb +112 -112
  16. data/lib/files/honeybee_workflow.osw +47 -47
  17. data/lib/files/urbanopt_Gemfile +32 -32
  18. data/lib/from_honeybee.rb +86 -86
  19. data/lib/from_honeybee/_openapi/model.json +8126 -8126
  20. data/lib/from_honeybee/_openapi/simulation-parameter.json +842 -842
  21. data/lib/from_honeybee/construction/air.rb +64 -64
  22. data/lib/from_honeybee/construction/opaque.rb +76 -76
  23. data/lib/from_honeybee/construction/shade.rb +107 -107
  24. data/lib/from_honeybee/construction/window.rb +80 -80
  25. data/lib/from_honeybee/construction_set.rb +278 -278
  26. data/lib/from_honeybee/extension.rb +109 -109
  27. data/lib/from_honeybee/geometry/aperture.rb +167 -167
  28. data/lib/from_honeybee/geometry/door.rb +160 -160
  29. data/lib/from_honeybee/geometry/face.rb +163 -163
  30. data/lib/from_honeybee/geometry/room.rb +392 -392
  31. data/lib/from_honeybee/geometry/shade.rb +89 -89
  32. data/lib/from_honeybee/hvac/ideal_air.rb +150 -150
  33. data/lib/from_honeybee/load/electric_equipment.rb +95 -95
  34. data/lib/from_honeybee/load/gas_equipment.rb +97 -97
  35. data/lib/from_honeybee/load/infiltration.rb +94 -94
  36. data/lib/from_honeybee/load/lighting.rb +98 -98
  37. data/lib/from_honeybee/load/people.rb +99 -99
  38. data/lib/from_honeybee/load/setpoint_humidistat.rb +74 -74
  39. data/lib/from_honeybee/load/setpoint_thermostat.rb +71 -71
  40. data/lib/from_honeybee/load/ventilation.rb +95 -95
  41. data/lib/from_honeybee/material/opaque.rb +94 -94
  42. data/lib/from_honeybee/material/opaque_no_mass.rb +94 -94
  43. data/lib/from_honeybee/material/window_blind.rb +238 -238
  44. data/lib/from_honeybee/material/window_gas.rb +76 -76
  45. data/lib/from_honeybee/material/window_gas_custom.rb +118 -118
  46. data/lib/from_honeybee/material/window_gas_mixture.rb +79 -79
  47. data/lib/from_honeybee/material/window_glazing.rb +166 -166
  48. data/lib/from_honeybee/material/window_shade.rb +160 -160
  49. data/lib/from_honeybee/material/window_simpleglazsys.rb +73 -73
  50. data/lib/from_honeybee/model.rb +434 -434
  51. data/lib/from_honeybee/model_object.rb +110 -110
  52. data/lib/from_honeybee/program_type.rb +124 -124
  53. data/lib/from_honeybee/schedule/fixed_interval.rb +115 -115
  54. data/lib/from_honeybee/schedule/ruleset.rb +164 -164
  55. data/lib/from_honeybee/schedule/type_limit.rb +88 -88
  56. data/lib/from_honeybee/simulation/designday.rb +105 -105
  57. data/lib/from_honeybee/simulation/extension.rb +46 -46
  58. data/lib/from_honeybee/simulation/parameter.rb +277 -277
  59. data/lib/from_honeybee/version.rb +34 -34
  60. data/lib/measures/from_honeybee_model/LICENSE.md +26 -26
  61. data/lib/measures/from_honeybee_model/README.md +32 -32
  62. data/lib/measures/from_honeybee_model/measure.rb +91 -91
  63. data/lib/measures/from_honeybee_model/measure.xml +103 -103
  64. data/lib/measures/from_honeybee_model/tests/from_honeybee_model_test.rb +126 -126
  65. data/lib/measures/from_honeybee_simulation_parameter/LICENSE.md +26 -26
  66. data/lib/measures/from_honeybee_simulation_parameter/README.md +32 -32
  67. data/lib/measures/from_honeybee_simulation_parameter/measure.rb +95 -95
  68. data/lib/measures/from_honeybee_simulation_parameter/measure.xml +91 -91
  69. data/lib/measures/from_honeybee_simulation_parameter/tests/from_honeybee_simulation_parameter_test.rb +109 -109
  70. metadata +2 -2
@@ -1,843 +1,843 @@
1
- {
2
- "openapi": "3.0.2",
3
- "servers": [],
4
- "info": {
5
- "description": "This is the documentation for Honeybee energy simulation parameter schema.",
6
- "version": "1.27.1",
7
- "title": "Honeybee Energy Simulation Parameter Schema",
8
- "contact": {
9
- "name": "Ladybug Tools",
10
- "email": "info@ladybug.tools",
11
- "url": "https://github.com/ladybug-tools/honeybee-schema"
12
- },
13
- "x-logo": {
14
- "url": "https://www.ladybug.tools/assets/img/honeybee-large.png",
15
- "altText": "Honeybee logo"
16
- },
17
- "license": {
18
- "name": "BSD",
19
- "url": "https://github.com/ladybug-tools-in2/honeybee-schema/blob/master/LICENSE"
20
- }
21
- },
22
- "externalDocs": {
23
- "description": "OpenAPI Specification with Inheritance",
24
- "url": "./simulation-parameter_inheritance.json"
25
- },
26
- "tags": [
27
- {
28
- "name": "ashraeclearsky_model",
29
- "x-displayName": "ASHRAEClearSky",
30
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ASHRAEClearSky\" />\n"
31
- },
32
- {
33
- "name": "ashraetau_model",
34
- "x-displayName": "ASHRAETau",
35
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ASHRAETau\" />\n"
36
- },
37
- {
38
- "name": "daylightsavingtime_model",
39
- "x-displayName": "DaylightSavingTime",
40
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/DaylightSavingTime\" />\n"
41
- },
42
- {
43
- "name": "designday_model",
44
- "x-displayName": "DesignDay",
45
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/DesignDay\" />\n"
46
- },
47
- {
48
- "name": "drybulbcondition_model",
49
- "x-displayName": "DryBulbCondition",
50
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/DryBulbCondition\" />\n"
51
- },
52
- {
53
- "name": "humiditycondition_model",
54
- "x-displayName": "HumidityCondition",
55
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/HumidityCondition\" />\n"
56
- },
57
- {
58
- "name": "runperiod_model",
59
- "x-displayName": "RunPeriod",
60
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/RunPeriod\" />\n"
61
- },
62
- {
63
- "name": "shadowcalculation_model",
64
- "x-displayName": "ShadowCalculation",
65
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ShadowCalculation\" />\n"
66
- },
67
- {
68
- "name": "simulationcontrol_model",
69
- "x-displayName": "SimulationControl",
70
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SimulationControl\" />\n"
71
- },
72
- {
73
- "name": "simulationoutput_model",
74
- "x-displayName": "SimulationOutput",
75
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SimulationOutput\" />\n"
76
- },
77
- {
78
- "name": "simulationparameter_model",
79
- "x-displayName": "SimulationParameter",
80
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SimulationParameter\" />\n"
81
- },
82
- {
83
- "name": "sizingparameter_model",
84
- "x-displayName": "SizingParameter",
85
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SizingParameter\" />\n"
86
- },
87
- {
88
- "name": "windcondition_model",
89
- "x-displayName": "WindCondition",
90
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/WindCondition\" />\n"
91
- }
92
- ],
93
- "x-tagGroups": [
94
- {
95
- "name": "Models",
96
- "tags": [
97
- "ashraeclearsky_model",
98
- "ashraetau_model",
99
- "daylightsavingtime_model",
100
- "designday_model",
101
- "drybulbcondition_model",
102
- "humiditycondition_model",
103
- "runperiod_model",
104
- "shadowcalculation_model",
105
- "simulationcontrol_model",
106
- "simulationoutput_model",
107
- "simulationparameter_model",
108
- "sizingparameter_model",
109
- "windcondition_model"
110
- ]
111
- }
112
- ],
113
- "paths": {},
114
- "components": {
115
- "schemas": {
116
- "SimulationOutput": {
117
- "title": "SimulationOutput",
118
- "description": "Lists the outputs to report from the simulation and their format.",
119
- "type": "object",
120
- "properties": {
121
- "type": {
122
- "title": "Type",
123
- "default": "SimulationOutput",
124
- "pattern": "^SimulationOutput$",
125
- "type": "string",
126
- "readOnly": true
127
- },
128
- "reporting_frequency": {
129
- "title": "Reporting Frequency",
130
- "default": "Hourly",
131
- "enum": [
132
- "Timestep",
133
- "Hourly",
134
- "Daily",
135
- "Monthly",
136
- "Annual"
137
- ],
138
- "type": "string"
139
- },
140
- "include_sqlite": {
141
- "title": "Include Sqlite",
142
- "description": "Boolean to note whether a SQLite report should be requested from the simulation.",
143
- "default": true,
144
- "type": "boolean"
145
- },
146
- "include_html": {
147
- "title": "Include Html",
148
- "description": "Boolean to note whether an HTML report should be requested from the simulation.",
149
- "default": false,
150
- "type": "boolean"
151
- },
152
- "outputs": {
153
- "title": "Outputs",
154
- "description": "A list of EnergyPlus output names as strings, which are requested from the simulation.",
155
- "type": "array",
156
- "items": {
157
- "type": "string"
158
- }
159
- },
160
- "summary_reports": {
161
- "title": "Summary Reports",
162
- "description": "A list of EnergyPlus summary report names as strings.",
163
- "type": "array",
164
- "items": {
165
- "type": "string"
166
- }
167
- }
168
- },
169
- "additionalProperties": false
170
- },
171
- "DaylightSavingTime": {
172
- "title": "DaylightSavingTime",
173
- "description": "Used to describe the daylight savings time for the simulation.",
174
- "type": "object",
175
- "properties": {
176
- "type": {
177
- "title": "Type",
178
- "default": "DaylightSavingTime",
179
- "pattern": "^DaylightSavingTime$",
180
- "type": "string",
181
- "readOnly": true
182
- },
183
- "start_date": {
184
- "title": "Start Date",
185
- "description": "A list of two integers for [month, day], representing the date for the start of daylight savings time. Default: 12 Mar (daylight savings in the US in 2017).",
186
- "default": [
187
- 3,
188
- 12
189
- ],
190
- "type": "array",
191
- "items": {
192
- "type": "integer",
193
- "format": "int32"
194
- },
195
- "minItems": 2,
196
- "maxItems": 3
197
- },
198
- "end_date": {
199
- "title": "End Date",
200
- "description": "A list of two integers for [month, day], representing the date for the end of daylight savings time. Default: 5 Nov (daylight savings in the US in 2017).",
201
- "default": [
202
- 11,
203
- 5
204
- ],
205
- "type": "array",
206
- "items": {
207
- "type": "integer",
208
- "format": "int32"
209
- },
210
- "minItems": 2,
211
- "maxItems": 3
212
- }
213
- },
214
- "additionalProperties": false
215
- },
216
- "RunPeriod": {
217
- "title": "RunPeriod",
218
- "description": "Used to describe the time period over which to run the simulation.",
219
- "type": "object",
220
- "properties": {
221
- "type": {
222
- "title": "Type",
223
- "default": "RunPeriod",
224
- "pattern": "^RunPeriod$",
225
- "type": "string",
226
- "readOnly": true
227
- },
228
- "start_date": {
229
- "title": "Start Date",
230
- "description": "A list of two integers for [month, day], representing the date for the start of the run period. Must be before the end date.",
231
- "default": [
232
- 1,
233
- 1
234
- ],
235
- "type": "array",
236
- "items": {
237
- "type": "integer",
238
- "format": "int32"
239
- },
240
- "minItems": 2,
241
- "maxItems": 2
242
- },
243
- "end_date": {
244
- "title": "End Date",
245
- "description": "A list of two integers for [month, day], representing the date for the end of the run period. Must be after the start date.",
246
- "default": [
247
- 12,
248
- 31
249
- ],
250
- "type": "array",
251
- "items": {
252
- "type": "integer",
253
- "format": "int32"
254
- },
255
- "minItems": 2,
256
- "maxItems": 2
257
- },
258
- "start_day_of_week": {
259
- "title": "Start Day Of Week",
260
- "description": "Text for the day of the week on which the simulation starts.",
261
- "default": "Sunday",
262
- "enum": [
263
- "Sunday",
264
- "Monday",
265
- "Tuesday",
266
- "Wednesday",
267
- "Thursday",
268
- "Friday",
269
- "Saturday"
270
- ],
271
- "type": "string"
272
- },
273
- "holidays": {
274
- "title": "Holidays",
275
- "description": "A list of lists where each sub-list consists of two integers for [month, day], representing a date which is a holiday within the simulation. If None, no holidays are applied.",
276
- "minItems": 2,
277
- "maxItems": 2,
278
- "type": "array",
279
- "items": {
280
- "type": "array",
281
- "items": {
282
- "type": "integer",
283
- "format": "int32"
284
- },
285
- "minItems": 2,
286
- "maxItems": 2
287
- }
288
- },
289
- "daylight_saving_time": {
290
- "title": "Daylight Saving Time",
291
- "description": "A DaylightSavingTime to dictate the start and end dates of daylight saving time. If None, no daylight saving time is applied to the simulation.",
292
- "allOf": [
293
- {
294
- "$ref": "#/components/schemas/DaylightSavingTime"
295
- }
296
- ]
297
- },
298
- "leap_year": {
299
- "title": "Leap Year",
300
- "description": "Boolean noting whether the simulation will be run for a leap year.",
301
- "default": false,
302
- "type": "boolean"
303
- }
304
- },
305
- "additionalProperties": false
306
- },
307
- "SimulationControl": {
308
- "title": "SimulationControl",
309
- "description": "Used to specify which types of calculations to run.",
310
- "type": "object",
311
- "properties": {
312
- "type": {
313
- "title": "Type",
314
- "default": "SimulationControl",
315
- "pattern": "^SimulationControl$",
316
- "type": "string",
317
- "readOnly": true
318
- },
319
- "do_zone_sizing": {
320
- "title": "Do Zone Sizing",
321
- "description": "Boolean for whether the zone sizing calculation should be run.",
322
- "default": true,
323
- "type": "boolean"
324
- },
325
- "do_system_sizing": {
326
- "title": "Do System Sizing",
327
- "description": "Boolean for whether the system sizing calculation should be run.",
328
- "default": true,
329
- "type": "boolean"
330
- },
331
- "do_plant_sizing": {
332
- "title": "Do Plant Sizing",
333
- "description": "Boolean for whether the plant sizing calculation should be run.",
334
- "default": true,
335
- "type": "boolean"
336
- },
337
- "run_for_run_periods": {
338
- "title": "Run For Run Periods",
339
- "description": "Boolean for whether the simulation should be run for the sizing periods.",
340
- "default": true,
341
- "type": "boolean"
342
- },
343
- "run_for_sizing_periods": {
344
- "title": "Run For Sizing Periods",
345
- "description": "Boolean for whether the simulation should be run for the run periods.",
346
- "default": false,
347
- "type": "boolean"
348
- }
349
- },
350
- "additionalProperties": false
351
- },
352
- "ShadowCalculation": {
353
- "title": "ShadowCalculation",
354
- "description": "Used to describe settings for EnergyPlus shadow calculation.",
355
- "type": "object",
356
- "properties": {
357
- "type": {
358
- "title": "Type",
359
- "default": "ShadowCalculation",
360
- "pattern": "^ShadowCalculation$",
361
- "type": "string",
362
- "readOnly": true
363
- },
364
- "solar_distribution": {
365
- "title": "Solar Distribution",
366
- "default": "FullExteriorWithReflections",
367
- "enum": [
368
- "MinimalShadowing",
369
- "FullExterior",
370
- "FullInteriorAndExterior",
371
- "FullExteriorWithReflections",
372
- "FullInteriorAndExteriorWithReflections"
373
- ],
374
- "type": "string"
375
- },
376
- "calculation_frequency": {
377
- "title": "Calculation Frequency",
378
- "description": "Integer for the number of days in each period for which a unique shadow calculation will be performed. This field is only used if the AverageOverDaysInFrequency calculation_method is used.",
379
- "default": 30,
380
- "minimum": 1,
381
- "type": "integer",
382
- "format": "int32"
383
- },
384
- "calculation_method": {
385
- "title": "Calculation Method",
386
- "default": "AverageOverDaysInFrequency",
387
- "enum": [
388
- "AverageOverDaysInFrequency",
389
- "TimestepFrequency"
390
- ],
391
- "type": "string"
392
- },
393
- "maximum_figures": {
394
- "title": "Maximum Figures",
395
- "description": "Number of allowable figures in shadow overlap calculations.",
396
- "default": 15000,
397
- "minimum": 200,
398
- "type": "integer",
399
- "format": "int32"
400
- }
401
- },
402
- "additionalProperties": false
403
- },
404
- "DryBulbCondition": {
405
- "title": "DryBulbCondition",
406
- "description": "Used to specify dry bulb conditions on a design day.",
407
- "type": "object",
408
- "properties": {
409
- "dry_bulb_max": {
410
- "title": "Dry Bulb Max",
411
- "description": "The maximum dry bulb temperature on the design day [C].",
412
- "minimum": -90,
413
- "maximum": 70,
414
- "type": "number",
415
- "format": "double"
416
- },
417
- "dry_bulb_range": {
418
- "title": "Dry Bulb Range",
419
- "description": "The difference between min and max temperatures on thedesign day [C].",
420
- "minimum": 0,
421
- "type": "number",
422
- "format": "double"
423
- },
424
- "type": {
425
- "title": "Type",
426
- "default": "DryBulbCondition",
427
- "pattern": "^DryBulbCondition$",
428
- "type": "string",
429
- "readOnly": true
430
- }
431
- },
432
- "required": [
433
- "dry_bulb_max",
434
- "dry_bulb_range"
435
- ],
436
- "additionalProperties": false
437
- },
438
- "HumidityCondition": {
439
- "title": "HumidityCondition",
440
- "description": "Used to specify humidity conditions on a design day.",
441
- "type": "object",
442
- "properties": {
443
- "humidity_type": {
444
- "title": "Humidity Type",
445
- "enum": [
446
- "Wetbulb",
447
- "Dewpoint",
448
- "HumidityRatio",
449
- "Enthalpy"
450
- ],
451
- "type": "string"
452
- },
453
- "humidity_value": {
454
- "title": "Humidity Value",
455
- "description": "The value correcponding to the humidity_type.",
456
- "type": "number",
457
- "format": "double"
458
- },
459
- "type": {
460
- "title": "Type",
461
- "default": "HumidityCondition",
462
- "pattern": "^HumidityCondition$",
463
- "type": "string",
464
- "readOnly": true
465
- },
466
- "barometric_pressure": {
467
- "title": "Barometric Pressure",
468
- "description": "Barometric air pressure on the design day [Pa].",
469
- "default": 101325,
470
- "minimum": 31000,
471
- "maximum": 120000,
472
- "type": "number",
473
- "format": "double"
474
- },
475
- "rain": {
476
- "title": "Rain",
477
- "description": "Boolean to indicate rain on the design day.",
478
- "default": false,
479
- "type": "boolean"
480
- },
481
- "snow_on_ground": {
482
- "title": "Snow On Ground",
483
- "description": "Boolean to indicate snow on the ground during the design day.",
484
- "default": false,
485
- "type": "boolean"
486
- }
487
- },
488
- "required": [
489
- "humidity_type",
490
- "humidity_value"
491
- ],
492
- "additionalProperties": false
493
- },
494
- "WindCondition": {
495
- "title": "WindCondition",
496
- "description": "Used to specify wind conditions on a design day.",
497
- "type": "object",
498
- "properties": {
499
- "wind_speed": {
500
- "title": "Wind Speed",
501
- "description": "Wind speed on the design day [m/s].",
502
- "minimum": 0,
503
- "maximum": 40,
504
- "type": "number",
505
- "format": "double"
506
- },
507
- "type": {
508
- "title": "Type",
509
- "default": "WindCondition",
510
- "pattern": "^WindCondition$",
511
- "type": "string",
512
- "readOnly": true
513
- },
514
- "wind_direction": {
515
- "title": "Wind Direction",
516
- "description": "Wind direction on the design day [degrees].",
517
- "default": 0,
518
- "minimum": 0,
519
- "maximum": 360,
520
- "type": "number",
521
- "format": "double"
522
- }
523
- },
524
- "required": [
525
- "wind_speed"
526
- ],
527
- "additionalProperties": false
528
- },
529
- "ASHRAEClearSky": {
530
- "title": "ASHRAEClearSky",
531
- "description": "Used to specify sky conditions on a design day.",
532
- "type": "object",
533
- "properties": {
534
- "date": {
535
- "title": "Date",
536
- "description": "A list of two integers for [month, day], representing the date for the day of the year on which the design day occurs.A third integer may be added to denote whether the date should be re-serialized for a leap year (it should be a 1 in this case).",
537
- "type": "array",
538
- "items": {
539
- "type": "integer",
540
- "format": "int32"
541
- },
542
- "minItems": 2,
543
- "maxItems": 3
544
- },
545
- "clearness": {
546
- "title": "Clearness",
547
- "description": "Value between 0 and 1.2 that will get multiplied by the irradinace to correct for factors like elevation above sea level.",
548
- "minimum": 0,
549
- "maximum": 1.2,
550
- "type": "number",
551
- "format": "double"
552
- },
553
- "daylight_savings": {
554
- "title": "Daylight Savings",
555
- "description": "Boolean to indicate whether daylight savings time is active on the design day.",
556
- "default": false,
557
- "type": "boolean"
558
- },
559
- "type": {
560
- "title": "Type",
561
- "default": "ASHRAEClearSky",
562
- "pattern": "^ASHRAEClearSky$",
563
- "type": "string",
564
- "readOnly": true
565
- }
566
- },
567
- "required": [
568
- "date",
569
- "clearness"
570
- ],
571
- "additionalProperties": false
572
- },
573
- "ASHRAETau": {
574
- "title": "ASHRAETau",
575
- "description": "Used to specify sky conditions on a design day.",
576
- "type": "object",
577
- "properties": {
578
- "date": {
579
- "title": "Date",
580
- "description": "A list of two integers for [month, day], representing the date for the day of the year on which the design day occurs.A third integer may be added to denote whether the date should be re-serialized for a leap year (it should be a 1 in this case).",
581
- "type": "array",
582
- "items": {
583
- "type": "integer",
584
- "format": "int32"
585
- },
586
- "minItems": 2,
587
- "maxItems": 3
588
- },
589
- "tau_b": {
590
- "title": "Tau B",
591
- "description": "Value for the beam optical depth. Typically found in .stat files.",
592
- "minimum": 0,
593
- "maximum": 1.2,
594
- "type": "number",
595
- "format": "double"
596
- },
597
- "tau_d": {
598
- "title": "Tau D",
599
- "description": "Value for the diffuse optical depth. Typically found in .stat files.",
600
- "minimum": 0,
601
- "maximum": 3,
602
- "type": "number",
603
- "format": "double"
604
- },
605
- "daylight_savings": {
606
- "title": "Daylight Savings",
607
- "description": "Boolean to indicate whether daylight savings time is active on the design day.",
608
- "default": false,
609
- "type": "boolean"
610
- },
611
- "type": {
612
- "title": "Type",
613
- "default": "ASHRAETau",
614
- "pattern": "^ASHRAETau$",
615
- "type": "string",
616
- "readOnly": true
617
- }
618
- },
619
- "required": [
620
- "date",
621
- "tau_b",
622
- "tau_d"
623
- ],
624
- "additionalProperties": false
625
- },
626
- "DesignDay": {
627
- "title": "DesignDay",
628
- "description": "An object representing design day conditions.",
629
- "type": "object",
630
- "properties": {
631
- "name": {
632
- "title": "Name",
633
- "description": "Text string for a unique design day name. This name remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). It is also used to reference the object within SimulationParameters. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
634
- "maxLength": 100,
635
- "minLength": 1,
636
- "type": "string"
637
- },
638
- "day_type": {
639
- "title": "Day Type",
640
- "enum": [
641
- "SummerDesignDay",
642
- "WinterDesignDay",
643
- "Sunday",
644
- "Monday",
645
- "Tuesday",
646
- "Wednesday",
647
- "Thursday",
648
- "Friday",
649
- "Holiday",
650
- "CustomDay1",
651
- "CustomDay2"
652
- ],
653
- "type": "string"
654
- },
655
- "dry_bulb_condition": {
656
- "title": "Dry Bulb Condition",
657
- "description": "A DryBulbCondition describing temperature conditions on the design day.",
658
- "allOf": [
659
- {
660
- "$ref": "#/components/schemas/DryBulbCondition"
661
- }
662
- ]
663
- },
664
- "humidity_condition": {
665
- "title": "Humidity Condition",
666
- "description": "A HumidityCondition describing humidity and precipitation conditions on the design day.",
667
- "allOf": [
668
- {
669
- "$ref": "#/components/schemas/HumidityCondition"
670
- }
671
- ]
672
- },
673
- "wind_condition": {
674
- "title": "Wind Condition",
675
- "description": "A WindCondition describing wind conditions on the design day.",
676
- "allOf": [
677
- {
678
- "$ref": "#/components/schemas/WindCondition"
679
- }
680
- ]
681
- },
682
- "sky_condition": {
683
- "title": "Sky Condition",
684
- "anyOf": [
685
- {
686
- "$ref": "#/components/schemas/ASHRAEClearSky"
687
- },
688
- {
689
- "$ref": "#/components/schemas/ASHRAETau"
690
- }
691
- ]
692
- },
693
- "type": {
694
- "title": "Type",
695
- "default": "DesignDay",
696
- "pattern": "^DesignDay$",
697
- "type": "string",
698
- "readOnly": true
699
- }
700
- },
701
- "required": [
702
- "name",
703
- "day_type",
704
- "dry_bulb_condition",
705
- "humidity_condition",
706
- "wind_condition",
707
- "sky_condition"
708
- ],
709
- "additionalProperties": false
710
- },
711
- "SizingParameter": {
712
- "title": "SizingParameter",
713
- "description": "Used to specify heating and cooling sizing criteria and safety factors.",
714
- "type": "object",
715
- "properties": {
716
- "type": {
717
- "title": "Type",
718
- "default": "SizingParameter",
719
- "pattern": "^SizingParameter$",
720
- "type": "string",
721
- "readOnly": true
722
- },
723
- "design_days": {
724
- "title": "Design Days",
725
- "description": "A list of DesignDays that represent the criteria for which the HVAC systems will be sized.",
726
- "type": "array",
727
- "items": {
728
- "$ref": "#/components/schemas/DesignDay"
729
- }
730
- },
731
- "heating_factor": {
732
- "title": "Heating Factor",
733
- "description": "A number that will be multiplied by the peak heating load for each zone in order to size the heating system.",
734
- "default": 1.25,
735
- "exclusiveMinimum": 0,
736
- "type": "number",
737
- "format": "double"
738
- },
739
- "cooling_factor": {
740
- "title": "Cooling Factor",
741
- "description": "A number that will be multiplied by the peak cooling load for each zone in order to size the heating system.",
742
- "default": 1.15,
743
- "exclusiveMinimum": 0,
744
- "type": "number",
745
- "format": "double"
746
- }
747
- },
748
- "additionalProperties": false
749
- },
750
- "SimulationParameter": {
751
- "title": "SimulationParameter",
752
- "description": "The complete set of EnergyPlus Simulation Settings.",
753
- "type": "object",
754
- "properties": {
755
- "type": {
756
- "title": "Type",
757
- "default": "SimulationParameter",
758
- "pattern": "^SimulationParameter$",
759
- "type": "string",
760
- "readOnly": true
761
- },
762
- "output": {
763
- "title": "Output",
764
- "description": "A SimulationOutput that lists the desired outputs from the simulation and the format in which to report them.",
765
- "allOf": [
766
- {
767
- "$ref": "#/components/schemas/SimulationOutput"
768
- }
769
- ]
770
- },
771
- "run_period": {
772
- "title": "Run Period",
773
- "description": "A RunPeriod to describe the time period over which to run the simulation.",
774
- "allOf": [
775
- {
776
- "$ref": "#/components/schemas/RunPeriod"
777
- }
778
- ]
779
- },
780
- "timestep": {
781
- "title": "Timestep",
782
- "description": "An integer for the number of timesteps per hour at which the energy calculation will be run.",
783
- "default": 6,
784
- "minimum": 1,
785
- "maximum": 60,
786
- "type": "integer",
787
- "format": "int32"
788
- },
789
- "simulation_control": {
790
- "title": "Simulation Control",
791
- "description": "A SimulationControl object that describes which types of calculations to run.",
792
- "allOf": [
793
- {
794
- "$ref": "#/components/schemas/SimulationControl"
795
- }
796
- ]
797
- },
798
- "shadow_calculation": {
799
- "title": "Shadow Calculation",
800
- "description": "A ShadowCalculation object describing settings for the EnergyPlus Shadow Calculation.",
801
- "allOf": [
802
- {
803
- "$ref": "#/components/schemas/ShadowCalculation"
804
- }
805
- ]
806
- },
807
- "sizing_parameter": {
808
- "title": "Sizing Parameter",
809
- "description": "A SizingParameter object with criteria for sizing the heating and cooling system.",
810
- "allOf": [
811
- {
812
- "$ref": "#/components/schemas/SizingParameter"
813
- }
814
- ]
815
- },
816
- "north_angle": {
817
- "title": "North Angle",
818
- "description": "A number between -360 and 360 for the north direction in degrees.This is the counterclockwise difference between the North and the positive Y-axis. 90 is West and 270 is East. Note that this is different than the convention used in EnergyPlus, which uses clockwise difference instead of counterclockwise difference.",
819
- "default": 0,
820
- "exclusiveMaximum": 360,
821
- "minimum": -360,
822
- "type": "number",
823
- "format": "double"
824
- },
825
- "terrain_type": {
826
- "title": "Terrain Type",
827
- "description": "Text for the terrain in which the model sits. This is used to determine the wind profile over the height of the rooms.",
828
- "default": "City",
829
- "enum": [
830
- "Ocean",
831
- "Country",
832
- "Suburbs",
833
- "Urban",
834
- "City"
835
- ],
836
- "type": "string"
837
- }
838
- },
839
- "additionalProperties": false
840
- }
841
- }
842
- }
1
+ {
2
+ "openapi": "3.0.2",
3
+ "servers": [],
4
+ "info": {
5
+ "description": "This is the documentation for Honeybee energy simulation parameter schema.",
6
+ "version": "1.27.1",
7
+ "title": "Honeybee Energy Simulation Parameter Schema",
8
+ "contact": {
9
+ "name": "Ladybug Tools",
10
+ "email": "info@ladybug.tools",
11
+ "url": "https://github.com/ladybug-tools/honeybee-schema"
12
+ },
13
+ "x-logo": {
14
+ "url": "https://www.ladybug.tools/assets/img/honeybee-large.png",
15
+ "altText": "Honeybee logo"
16
+ },
17
+ "license": {
18
+ "name": "BSD",
19
+ "url": "https://github.com/ladybug-tools-in2/honeybee-schema/blob/master/LICENSE"
20
+ }
21
+ },
22
+ "externalDocs": {
23
+ "description": "OpenAPI Specification with Inheritance",
24
+ "url": "./simulation-parameter_inheritance.json"
25
+ },
26
+ "tags": [
27
+ {
28
+ "name": "ashraeclearsky_model",
29
+ "x-displayName": "ASHRAEClearSky",
30
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ASHRAEClearSky\" />\n"
31
+ },
32
+ {
33
+ "name": "ashraetau_model",
34
+ "x-displayName": "ASHRAETau",
35
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ASHRAETau\" />\n"
36
+ },
37
+ {
38
+ "name": "daylightsavingtime_model",
39
+ "x-displayName": "DaylightSavingTime",
40
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/DaylightSavingTime\" />\n"
41
+ },
42
+ {
43
+ "name": "designday_model",
44
+ "x-displayName": "DesignDay",
45
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/DesignDay\" />\n"
46
+ },
47
+ {
48
+ "name": "drybulbcondition_model",
49
+ "x-displayName": "DryBulbCondition",
50
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/DryBulbCondition\" />\n"
51
+ },
52
+ {
53
+ "name": "humiditycondition_model",
54
+ "x-displayName": "HumidityCondition",
55
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/HumidityCondition\" />\n"
56
+ },
57
+ {
58
+ "name": "runperiod_model",
59
+ "x-displayName": "RunPeriod",
60
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/RunPeriod\" />\n"
61
+ },
62
+ {
63
+ "name": "shadowcalculation_model",
64
+ "x-displayName": "ShadowCalculation",
65
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ShadowCalculation\" />\n"
66
+ },
67
+ {
68
+ "name": "simulationcontrol_model",
69
+ "x-displayName": "SimulationControl",
70
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SimulationControl\" />\n"
71
+ },
72
+ {
73
+ "name": "simulationoutput_model",
74
+ "x-displayName": "SimulationOutput",
75
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SimulationOutput\" />\n"
76
+ },
77
+ {
78
+ "name": "simulationparameter_model",
79
+ "x-displayName": "SimulationParameter",
80
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SimulationParameter\" />\n"
81
+ },
82
+ {
83
+ "name": "sizingparameter_model",
84
+ "x-displayName": "SizingParameter",
85
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/SizingParameter\" />\n"
86
+ },
87
+ {
88
+ "name": "windcondition_model",
89
+ "x-displayName": "WindCondition",
90
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/WindCondition\" />\n"
91
+ }
92
+ ],
93
+ "x-tagGroups": [
94
+ {
95
+ "name": "Models",
96
+ "tags": [
97
+ "ashraeclearsky_model",
98
+ "ashraetau_model",
99
+ "daylightsavingtime_model",
100
+ "designday_model",
101
+ "drybulbcondition_model",
102
+ "humiditycondition_model",
103
+ "runperiod_model",
104
+ "shadowcalculation_model",
105
+ "simulationcontrol_model",
106
+ "simulationoutput_model",
107
+ "simulationparameter_model",
108
+ "sizingparameter_model",
109
+ "windcondition_model"
110
+ ]
111
+ }
112
+ ],
113
+ "paths": {},
114
+ "components": {
115
+ "schemas": {
116
+ "SimulationOutput": {
117
+ "title": "SimulationOutput",
118
+ "description": "Lists the outputs to report from the simulation and their format.",
119
+ "type": "object",
120
+ "properties": {
121
+ "type": {
122
+ "title": "Type",
123
+ "default": "SimulationOutput",
124
+ "pattern": "^SimulationOutput$",
125
+ "type": "string",
126
+ "readOnly": true
127
+ },
128
+ "reporting_frequency": {
129
+ "title": "Reporting Frequency",
130
+ "default": "Hourly",
131
+ "enum": [
132
+ "Timestep",
133
+ "Hourly",
134
+ "Daily",
135
+ "Monthly",
136
+ "Annual"
137
+ ],
138
+ "type": "string"
139
+ },
140
+ "include_sqlite": {
141
+ "title": "Include Sqlite",
142
+ "description": "Boolean to note whether a SQLite report should be requested from the simulation.",
143
+ "default": true,
144
+ "type": "boolean"
145
+ },
146
+ "include_html": {
147
+ "title": "Include Html",
148
+ "description": "Boolean to note whether an HTML report should be requested from the simulation.",
149
+ "default": false,
150
+ "type": "boolean"
151
+ },
152
+ "outputs": {
153
+ "title": "Outputs",
154
+ "description": "A list of EnergyPlus output names as strings, which are requested from the simulation.",
155
+ "type": "array",
156
+ "items": {
157
+ "type": "string"
158
+ }
159
+ },
160
+ "summary_reports": {
161
+ "title": "Summary Reports",
162
+ "description": "A list of EnergyPlus summary report names as strings.",
163
+ "type": "array",
164
+ "items": {
165
+ "type": "string"
166
+ }
167
+ }
168
+ },
169
+ "additionalProperties": false
170
+ },
171
+ "DaylightSavingTime": {
172
+ "title": "DaylightSavingTime",
173
+ "description": "Used to describe the daylight savings time for the simulation.",
174
+ "type": "object",
175
+ "properties": {
176
+ "type": {
177
+ "title": "Type",
178
+ "default": "DaylightSavingTime",
179
+ "pattern": "^DaylightSavingTime$",
180
+ "type": "string",
181
+ "readOnly": true
182
+ },
183
+ "start_date": {
184
+ "title": "Start Date",
185
+ "description": "A list of two integers for [month, day], representing the date for the start of daylight savings time. Default: 12 Mar (daylight savings in the US in 2017).",
186
+ "default": [
187
+ 3,
188
+ 12
189
+ ],
190
+ "type": "array",
191
+ "items": {
192
+ "type": "integer",
193
+ "format": "int32"
194
+ },
195
+ "minItems": 2,
196
+ "maxItems": 3
197
+ },
198
+ "end_date": {
199
+ "title": "End Date",
200
+ "description": "A list of two integers for [month, day], representing the date for the end of daylight savings time. Default: 5 Nov (daylight savings in the US in 2017).",
201
+ "default": [
202
+ 11,
203
+ 5
204
+ ],
205
+ "type": "array",
206
+ "items": {
207
+ "type": "integer",
208
+ "format": "int32"
209
+ },
210
+ "minItems": 2,
211
+ "maxItems": 3
212
+ }
213
+ },
214
+ "additionalProperties": false
215
+ },
216
+ "RunPeriod": {
217
+ "title": "RunPeriod",
218
+ "description": "Used to describe the time period over which to run the simulation.",
219
+ "type": "object",
220
+ "properties": {
221
+ "type": {
222
+ "title": "Type",
223
+ "default": "RunPeriod",
224
+ "pattern": "^RunPeriod$",
225
+ "type": "string",
226
+ "readOnly": true
227
+ },
228
+ "start_date": {
229
+ "title": "Start Date",
230
+ "description": "A list of two integers for [month, day], representing the date for the start of the run period. Must be before the end date.",
231
+ "default": [
232
+ 1,
233
+ 1
234
+ ],
235
+ "type": "array",
236
+ "items": {
237
+ "type": "integer",
238
+ "format": "int32"
239
+ },
240
+ "minItems": 2,
241
+ "maxItems": 2
242
+ },
243
+ "end_date": {
244
+ "title": "End Date",
245
+ "description": "A list of two integers for [month, day], representing the date for the end of the run period. Must be after the start date.",
246
+ "default": [
247
+ 12,
248
+ 31
249
+ ],
250
+ "type": "array",
251
+ "items": {
252
+ "type": "integer",
253
+ "format": "int32"
254
+ },
255
+ "minItems": 2,
256
+ "maxItems": 2
257
+ },
258
+ "start_day_of_week": {
259
+ "title": "Start Day Of Week",
260
+ "description": "Text for the day of the week on which the simulation starts.",
261
+ "default": "Sunday",
262
+ "enum": [
263
+ "Sunday",
264
+ "Monday",
265
+ "Tuesday",
266
+ "Wednesday",
267
+ "Thursday",
268
+ "Friday",
269
+ "Saturday"
270
+ ],
271
+ "type": "string"
272
+ },
273
+ "holidays": {
274
+ "title": "Holidays",
275
+ "description": "A list of lists where each sub-list consists of two integers for [month, day], representing a date which is a holiday within the simulation. If None, no holidays are applied.",
276
+ "minItems": 2,
277
+ "maxItems": 2,
278
+ "type": "array",
279
+ "items": {
280
+ "type": "array",
281
+ "items": {
282
+ "type": "integer",
283
+ "format": "int32"
284
+ },
285
+ "minItems": 2,
286
+ "maxItems": 2
287
+ }
288
+ },
289
+ "daylight_saving_time": {
290
+ "title": "Daylight Saving Time",
291
+ "description": "A DaylightSavingTime to dictate the start and end dates of daylight saving time. If None, no daylight saving time is applied to the simulation.",
292
+ "allOf": [
293
+ {
294
+ "$ref": "#/components/schemas/DaylightSavingTime"
295
+ }
296
+ ]
297
+ },
298
+ "leap_year": {
299
+ "title": "Leap Year",
300
+ "description": "Boolean noting whether the simulation will be run for a leap year.",
301
+ "default": false,
302
+ "type": "boolean"
303
+ }
304
+ },
305
+ "additionalProperties": false
306
+ },
307
+ "SimulationControl": {
308
+ "title": "SimulationControl",
309
+ "description": "Used to specify which types of calculations to run.",
310
+ "type": "object",
311
+ "properties": {
312
+ "type": {
313
+ "title": "Type",
314
+ "default": "SimulationControl",
315
+ "pattern": "^SimulationControl$",
316
+ "type": "string",
317
+ "readOnly": true
318
+ },
319
+ "do_zone_sizing": {
320
+ "title": "Do Zone Sizing",
321
+ "description": "Boolean for whether the zone sizing calculation should be run.",
322
+ "default": true,
323
+ "type": "boolean"
324
+ },
325
+ "do_system_sizing": {
326
+ "title": "Do System Sizing",
327
+ "description": "Boolean for whether the system sizing calculation should be run.",
328
+ "default": true,
329
+ "type": "boolean"
330
+ },
331
+ "do_plant_sizing": {
332
+ "title": "Do Plant Sizing",
333
+ "description": "Boolean for whether the plant sizing calculation should be run.",
334
+ "default": true,
335
+ "type": "boolean"
336
+ },
337
+ "run_for_run_periods": {
338
+ "title": "Run For Run Periods",
339
+ "description": "Boolean for whether the simulation should be run for the sizing periods.",
340
+ "default": true,
341
+ "type": "boolean"
342
+ },
343
+ "run_for_sizing_periods": {
344
+ "title": "Run For Sizing Periods",
345
+ "description": "Boolean for whether the simulation should be run for the run periods.",
346
+ "default": false,
347
+ "type": "boolean"
348
+ }
349
+ },
350
+ "additionalProperties": false
351
+ },
352
+ "ShadowCalculation": {
353
+ "title": "ShadowCalculation",
354
+ "description": "Used to describe settings for EnergyPlus shadow calculation.",
355
+ "type": "object",
356
+ "properties": {
357
+ "type": {
358
+ "title": "Type",
359
+ "default": "ShadowCalculation",
360
+ "pattern": "^ShadowCalculation$",
361
+ "type": "string",
362
+ "readOnly": true
363
+ },
364
+ "solar_distribution": {
365
+ "title": "Solar Distribution",
366
+ "default": "FullExteriorWithReflections",
367
+ "enum": [
368
+ "MinimalShadowing",
369
+ "FullExterior",
370
+ "FullInteriorAndExterior",
371
+ "FullExteriorWithReflections",
372
+ "FullInteriorAndExteriorWithReflections"
373
+ ],
374
+ "type": "string"
375
+ },
376
+ "calculation_frequency": {
377
+ "title": "Calculation Frequency",
378
+ "description": "Integer for the number of days in each period for which a unique shadow calculation will be performed. This field is only used if the AverageOverDaysInFrequency calculation_method is used.",
379
+ "default": 30,
380
+ "minimum": 1,
381
+ "type": "integer",
382
+ "format": "int32"
383
+ },
384
+ "calculation_method": {
385
+ "title": "Calculation Method",
386
+ "default": "AverageOverDaysInFrequency",
387
+ "enum": [
388
+ "AverageOverDaysInFrequency",
389
+ "TimestepFrequency"
390
+ ],
391
+ "type": "string"
392
+ },
393
+ "maximum_figures": {
394
+ "title": "Maximum Figures",
395
+ "description": "Number of allowable figures in shadow overlap calculations.",
396
+ "default": 15000,
397
+ "minimum": 200,
398
+ "type": "integer",
399
+ "format": "int32"
400
+ }
401
+ },
402
+ "additionalProperties": false
403
+ },
404
+ "DryBulbCondition": {
405
+ "title": "DryBulbCondition",
406
+ "description": "Used to specify dry bulb conditions on a design day.",
407
+ "type": "object",
408
+ "properties": {
409
+ "dry_bulb_max": {
410
+ "title": "Dry Bulb Max",
411
+ "description": "The maximum dry bulb temperature on the design day [C].",
412
+ "minimum": -90,
413
+ "maximum": 70,
414
+ "type": "number",
415
+ "format": "double"
416
+ },
417
+ "dry_bulb_range": {
418
+ "title": "Dry Bulb Range",
419
+ "description": "The difference between min and max temperatures on thedesign day [C].",
420
+ "minimum": 0,
421
+ "type": "number",
422
+ "format": "double"
423
+ },
424
+ "type": {
425
+ "title": "Type",
426
+ "default": "DryBulbCondition",
427
+ "pattern": "^DryBulbCondition$",
428
+ "type": "string",
429
+ "readOnly": true
430
+ }
431
+ },
432
+ "required": [
433
+ "dry_bulb_max",
434
+ "dry_bulb_range"
435
+ ],
436
+ "additionalProperties": false
437
+ },
438
+ "HumidityCondition": {
439
+ "title": "HumidityCondition",
440
+ "description": "Used to specify humidity conditions on a design day.",
441
+ "type": "object",
442
+ "properties": {
443
+ "humidity_type": {
444
+ "title": "Humidity Type",
445
+ "enum": [
446
+ "Wetbulb",
447
+ "Dewpoint",
448
+ "HumidityRatio",
449
+ "Enthalpy"
450
+ ],
451
+ "type": "string"
452
+ },
453
+ "humidity_value": {
454
+ "title": "Humidity Value",
455
+ "description": "The value correcponding to the humidity_type.",
456
+ "type": "number",
457
+ "format": "double"
458
+ },
459
+ "type": {
460
+ "title": "Type",
461
+ "default": "HumidityCondition",
462
+ "pattern": "^HumidityCondition$",
463
+ "type": "string",
464
+ "readOnly": true
465
+ },
466
+ "barometric_pressure": {
467
+ "title": "Barometric Pressure",
468
+ "description": "Barometric air pressure on the design day [Pa].",
469
+ "default": 101325,
470
+ "minimum": 31000,
471
+ "maximum": 120000,
472
+ "type": "number",
473
+ "format": "double"
474
+ },
475
+ "rain": {
476
+ "title": "Rain",
477
+ "description": "Boolean to indicate rain on the design day.",
478
+ "default": false,
479
+ "type": "boolean"
480
+ },
481
+ "snow_on_ground": {
482
+ "title": "Snow On Ground",
483
+ "description": "Boolean to indicate snow on the ground during the design day.",
484
+ "default": false,
485
+ "type": "boolean"
486
+ }
487
+ },
488
+ "required": [
489
+ "humidity_type",
490
+ "humidity_value"
491
+ ],
492
+ "additionalProperties": false
493
+ },
494
+ "WindCondition": {
495
+ "title": "WindCondition",
496
+ "description": "Used to specify wind conditions on a design day.",
497
+ "type": "object",
498
+ "properties": {
499
+ "wind_speed": {
500
+ "title": "Wind Speed",
501
+ "description": "Wind speed on the design day [m/s].",
502
+ "minimum": 0,
503
+ "maximum": 40,
504
+ "type": "number",
505
+ "format": "double"
506
+ },
507
+ "type": {
508
+ "title": "Type",
509
+ "default": "WindCondition",
510
+ "pattern": "^WindCondition$",
511
+ "type": "string",
512
+ "readOnly": true
513
+ },
514
+ "wind_direction": {
515
+ "title": "Wind Direction",
516
+ "description": "Wind direction on the design day [degrees].",
517
+ "default": 0,
518
+ "minimum": 0,
519
+ "maximum": 360,
520
+ "type": "number",
521
+ "format": "double"
522
+ }
523
+ },
524
+ "required": [
525
+ "wind_speed"
526
+ ],
527
+ "additionalProperties": false
528
+ },
529
+ "ASHRAEClearSky": {
530
+ "title": "ASHRAEClearSky",
531
+ "description": "Used to specify sky conditions on a design day.",
532
+ "type": "object",
533
+ "properties": {
534
+ "date": {
535
+ "title": "Date",
536
+ "description": "A list of two integers for [month, day], representing the date for the day of the year on which the design day occurs.A third integer may be added to denote whether the date should be re-serialized for a leap year (it should be a 1 in this case).",
537
+ "type": "array",
538
+ "items": {
539
+ "type": "integer",
540
+ "format": "int32"
541
+ },
542
+ "minItems": 2,
543
+ "maxItems": 3
544
+ },
545
+ "clearness": {
546
+ "title": "Clearness",
547
+ "description": "Value between 0 and 1.2 that will get multiplied by the irradinace to correct for factors like elevation above sea level.",
548
+ "minimum": 0,
549
+ "maximum": 1.2,
550
+ "type": "number",
551
+ "format": "double"
552
+ },
553
+ "daylight_savings": {
554
+ "title": "Daylight Savings",
555
+ "description": "Boolean to indicate whether daylight savings time is active on the design day.",
556
+ "default": false,
557
+ "type": "boolean"
558
+ },
559
+ "type": {
560
+ "title": "Type",
561
+ "default": "ASHRAEClearSky",
562
+ "pattern": "^ASHRAEClearSky$",
563
+ "type": "string",
564
+ "readOnly": true
565
+ }
566
+ },
567
+ "required": [
568
+ "date",
569
+ "clearness"
570
+ ],
571
+ "additionalProperties": false
572
+ },
573
+ "ASHRAETau": {
574
+ "title": "ASHRAETau",
575
+ "description": "Used to specify sky conditions on a design day.",
576
+ "type": "object",
577
+ "properties": {
578
+ "date": {
579
+ "title": "Date",
580
+ "description": "A list of two integers for [month, day], representing the date for the day of the year on which the design day occurs.A third integer may be added to denote whether the date should be re-serialized for a leap year (it should be a 1 in this case).",
581
+ "type": "array",
582
+ "items": {
583
+ "type": "integer",
584
+ "format": "int32"
585
+ },
586
+ "minItems": 2,
587
+ "maxItems": 3
588
+ },
589
+ "tau_b": {
590
+ "title": "Tau B",
591
+ "description": "Value for the beam optical depth. Typically found in .stat files.",
592
+ "minimum": 0,
593
+ "maximum": 1.2,
594
+ "type": "number",
595
+ "format": "double"
596
+ },
597
+ "tau_d": {
598
+ "title": "Tau D",
599
+ "description": "Value for the diffuse optical depth. Typically found in .stat files.",
600
+ "minimum": 0,
601
+ "maximum": 3,
602
+ "type": "number",
603
+ "format": "double"
604
+ },
605
+ "daylight_savings": {
606
+ "title": "Daylight Savings",
607
+ "description": "Boolean to indicate whether daylight savings time is active on the design day.",
608
+ "default": false,
609
+ "type": "boolean"
610
+ },
611
+ "type": {
612
+ "title": "Type",
613
+ "default": "ASHRAETau",
614
+ "pattern": "^ASHRAETau$",
615
+ "type": "string",
616
+ "readOnly": true
617
+ }
618
+ },
619
+ "required": [
620
+ "date",
621
+ "tau_b",
622
+ "tau_d"
623
+ ],
624
+ "additionalProperties": false
625
+ },
626
+ "DesignDay": {
627
+ "title": "DesignDay",
628
+ "description": "An object representing design day conditions.",
629
+ "type": "object",
630
+ "properties": {
631
+ "name": {
632
+ "title": "Name",
633
+ "description": "Text string for a unique design day name. This name remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). It is also used to reference the object within SimulationParameters. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
634
+ "maxLength": 100,
635
+ "minLength": 1,
636
+ "type": "string"
637
+ },
638
+ "day_type": {
639
+ "title": "Day Type",
640
+ "enum": [
641
+ "SummerDesignDay",
642
+ "WinterDesignDay",
643
+ "Sunday",
644
+ "Monday",
645
+ "Tuesday",
646
+ "Wednesday",
647
+ "Thursday",
648
+ "Friday",
649
+ "Holiday",
650
+ "CustomDay1",
651
+ "CustomDay2"
652
+ ],
653
+ "type": "string"
654
+ },
655
+ "dry_bulb_condition": {
656
+ "title": "Dry Bulb Condition",
657
+ "description": "A DryBulbCondition describing temperature conditions on the design day.",
658
+ "allOf": [
659
+ {
660
+ "$ref": "#/components/schemas/DryBulbCondition"
661
+ }
662
+ ]
663
+ },
664
+ "humidity_condition": {
665
+ "title": "Humidity Condition",
666
+ "description": "A HumidityCondition describing humidity and precipitation conditions on the design day.",
667
+ "allOf": [
668
+ {
669
+ "$ref": "#/components/schemas/HumidityCondition"
670
+ }
671
+ ]
672
+ },
673
+ "wind_condition": {
674
+ "title": "Wind Condition",
675
+ "description": "A WindCondition describing wind conditions on the design day.",
676
+ "allOf": [
677
+ {
678
+ "$ref": "#/components/schemas/WindCondition"
679
+ }
680
+ ]
681
+ },
682
+ "sky_condition": {
683
+ "title": "Sky Condition",
684
+ "anyOf": [
685
+ {
686
+ "$ref": "#/components/schemas/ASHRAEClearSky"
687
+ },
688
+ {
689
+ "$ref": "#/components/schemas/ASHRAETau"
690
+ }
691
+ ]
692
+ },
693
+ "type": {
694
+ "title": "Type",
695
+ "default": "DesignDay",
696
+ "pattern": "^DesignDay$",
697
+ "type": "string",
698
+ "readOnly": true
699
+ }
700
+ },
701
+ "required": [
702
+ "name",
703
+ "day_type",
704
+ "dry_bulb_condition",
705
+ "humidity_condition",
706
+ "wind_condition",
707
+ "sky_condition"
708
+ ],
709
+ "additionalProperties": false
710
+ },
711
+ "SizingParameter": {
712
+ "title": "SizingParameter",
713
+ "description": "Used to specify heating and cooling sizing criteria and safety factors.",
714
+ "type": "object",
715
+ "properties": {
716
+ "type": {
717
+ "title": "Type",
718
+ "default": "SizingParameter",
719
+ "pattern": "^SizingParameter$",
720
+ "type": "string",
721
+ "readOnly": true
722
+ },
723
+ "design_days": {
724
+ "title": "Design Days",
725
+ "description": "A list of DesignDays that represent the criteria for which the HVAC systems will be sized.",
726
+ "type": "array",
727
+ "items": {
728
+ "$ref": "#/components/schemas/DesignDay"
729
+ }
730
+ },
731
+ "heating_factor": {
732
+ "title": "Heating Factor",
733
+ "description": "A number that will be multiplied by the peak heating load for each zone in order to size the heating system.",
734
+ "default": 1.25,
735
+ "exclusiveMinimum": 0,
736
+ "type": "number",
737
+ "format": "double"
738
+ },
739
+ "cooling_factor": {
740
+ "title": "Cooling Factor",
741
+ "description": "A number that will be multiplied by the peak cooling load for each zone in order to size the heating system.",
742
+ "default": 1.15,
743
+ "exclusiveMinimum": 0,
744
+ "type": "number",
745
+ "format": "double"
746
+ }
747
+ },
748
+ "additionalProperties": false
749
+ },
750
+ "SimulationParameter": {
751
+ "title": "SimulationParameter",
752
+ "description": "The complete set of EnergyPlus Simulation Settings.",
753
+ "type": "object",
754
+ "properties": {
755
+ "type": {
756
+ "title": "Type",
757
+ "default": "SimulationParameter",
758
+ "pattern": "^SimulationParameter$",
759
+ "type": "string",
760
+ "readOnly": true
761
+ },
762
+ "output": {
763
+ "title": "Output",
764
+ "description": "A SimulationOutput that lists the desired outputs from the simulation and the format in which to report them.",
765
+ "allOf": [
766
+ {
767
+ "$ref": "#/components/schemas/SimulationOutput"
768
+ }
769
+ ]
770
+ },
771
+ "run_period": {
772
+ "title": "Run Period",
773
+ "description": "A RunPeriod to describe the time period over which to run the simulation.",
774
+ "allOf": [
775
+ {
776
+ "$ref": "#/components/schemas/RunPeriod"
777
+ }
778
+ ]
779
+ },
780
+ "timestep": {
781
+ "title": "Timestep",
782
+ "description": "An integer for the number of timesteps per hour at which the energy calculation will be run.",
783
+ "default": 6,
784
+ "minimum": 1,
785
+ "maximum": 60,
786
+ "type": "integer",
787
+ "format": "int32"
788
+ },
789
+ "simulation_control": {
790
+ "title": "Simulation Control",
791
+ "description": "A SimulationControl object that describes which types of calculations to run.",
792
+ "allOf": [
793
+ {
794
+ "$ref": "#/components/schemas/SimulationControl"
795
+ }
796
+ ]
797
+ },
798
+ "shadow_calculation": {
799
+ "title": "Shadow Calculation",
800
+ "description": "A ShadowCalculation object describing settings for the EnergyPlus Shadow Calculation.",
801
+ "allOf": [
802
+ {
803
+ "$ref": "#/components/schemas/ShadowCalculation"
804
+ }
805
+ ]
806
+ },
807
+ "sizing_parameter": {
808
+ "title": "Sizing Parameter",
809
+ "description": "A SizingParameter object with criteria for sizing the heating and cooling system.",
810
+ "allOf": [
811
+ {
812
+ "$ref": "#/components/schemas/SizingParameter"
813
+ }
814
+ ]
815
+ },
816
+ "north_angle": {
817
+ "title": "North Angle",
818
+ "description": "A number between -360 and 360 for the north direction in degrees.This is the counterclockwise difference between the North and the positive Y-axis. 90 is West and 270 is East. Note that this is different than the convention used in EnergyPlus, which uses clockwise difference instead of counterclockwise difference.",
819
+ "default": 0,
820
+ "exclusiveMaximum": 360,
821
+ "minimum": -360,
822
+ "type": "number",
823
+ "format": "double"
824
+ },
825
+ "terrain_type": {
826
+ "title": "Terrain Type",
827
+ "description": "Text for the terrain in which the model sits. This is used to determine the wind profile over the height of the rooms.",
828
+ "default": "City",
829
+ "enum": [
830
+ "Ocean",
831
+ "Country",
832
+ "Suburbs",
833
+ "Urban",
834
+ "City"
835
+ ],
836
+ "type": "string"
837
+ }
838
+ },
839
+ "additionalProperties": false
840
+ }
841
+ }
842
+ }
843
843
  }