@vulcan-energy/mcp-helper 0.2.5 → 0.3.0

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.
@@ -0,0 +1,4728 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft/2019-09/schema#",
3
+ "type": "object",
4
+ "unevaluatedProperties": false,
5
+ "properties": {
6
+ "metadata": {
7
+ "type": "object",
8
+ "properties": {
9
+ "hem_core_version": {
10
+ "type": "string",
11
+ "description": "The core version the input is written for. If there is a mismatch a warning will be printed"
12
+ }
13
+ },
14
+ "description": "Metadata for the input file"
15
+ },
16
+ "PartGcompliance": {
17
+ "type": "boolean"
18
+ },
19
+ "PartO_active_cooling_required": {
20
+ "type": "boolean"
21
+ },
22
+ "BuildingLength": {
23
+ "type": "number",
24
+ "minimum": 0,
25
+ "description": "The maximum horizontal distance (in metres) across the building footprint"
26
+ },
27
+ "BuildingWidth": {
28
+ "type": "number",
29
+ "minimum": 0,
30
+ "description": "The maximum horizontal distance (in metres) perpendicular to the building length"
31
+ },
32
+ "GroundFloorArea": {
33
+ "type": "number",
34
+ "minimum": 0
35
+ },
36
+ "NumberOfBedrooms": {
37
+ "type": "integer",
38
+ "minimum": 0
39
+ },
40
+ "NumberOfWetRooms": {
41
+ "type": "integer",
42
+ "minimum": 1,
43
+ "description": "A wet room is any room used for domestic activities (such as cooking, clothes washing and bathing) that produce significant amounts of airborne moisture, e.g. a kitchen, utility room or bathroom. For the purposes of Part F of the Building Regulations, sanitary accommodation is also regarded as a wet room."
44
+ },
45
+ "NumberOfHotTappedRooms": {
46
+ "type": "integer",
47
+ "minimum": 1,
48
+ "description": "A tapped room is any room with a hot water tapping point (e.g sink, bath or shower) with hot water from the central system, not including instantaneous hot water that's fed from the cold water pipework, for example a room with just an electric shower and/or electric water heater over the sink."
49
+ },
50
+ "NumberOfUtilityRooms": {
51
+ "type": "integer",
52
+ "minimum": 0,
53
+ "description": "A utility room is any that contains a sink or other feature or equipment that may reasonably be expected to produce significant quantities of water vapour"
54
+ },
55
+ "NumberOfBathrooms": {
56
+ "type": "integer",
57
+ "minimum": 0,
58
+ "description": "A bathroom is any room that contains a bath or shower"
59
+ },
60
+ "NumberOfSanitaryAccommodations": {
61
+ "type": "integer",
62
+ "minimum": 0,
63
+ "description": "Any space containing one or more flush toilets or urinals but not a bath or shower. Multiple cubicles counts as one space as long as there is free circulation of air throughout"
64
+ },
65
+ "NumberOfHabitableRooms": {
66
+ "type": "integer",
67
+ "minimum": 1,
68
+ "description": "A habitable room is any that is not used solely as a kitchen, bathroom, utility, cellar or sanitary accommodation"
69
+ },
70
+ "HeatingControlType": {
71
+ "enum": [
72
+ "SeparateTempControl",
73
+ "SeparateTimeAndTempControl"
74
+ ]
75
+ },
76
+ "KitchenExtractorHoodExternal": {
77
+ "type": "boolean",
78
+ "description": "Does the kitchen have a cooker extractor hood which extracts to the outside of the building?"
79
+ },
80
+ "ExternalConditions": {
81
+ "type": "object",
82
+ "unevaluatedProperties": false,
83
+ "required": [
84
+ "shading_segments"
85
+ ],
86
+ "properties": {
87
+ "shading_segments": {
88
+ "type": "array",
89
+ "minItems": 8,
90
+ "maxItems": 36,
91
+ "items": {
92
+ "type": "object",
93
+ "unevaluatedProperties": false,
94
+ "required": [
95
+ "start360",
96
+ "end360"
97
+ ],
98
+ "properties": {
99
+ "start360": {
100
+ "type": "integer",
101
+ "minimum": 0,
102
+ "maximum": 360
103
+ },
104
+ "end360": {
105
+ "type": "integer",
106
+ "minimum": 0,
107
+ "maximum": 360
108
+ },
109
+ "shading": {
110
+ "type": "array",
111
+ "items": {
112
+ "type": "object",
113
+ "unevaluatedProperties": false,
114
+ "required": [
115
+ "type",
116
+ "height",
117
+ "distance"
118
+ ],
119
+ "properties": {
120
+ "type": {
121
+ "enum": [
122
+ "obstacle",
123
+ "overhang"
124
+ ]
125
+ },
126
+ "height": {
127
+ "type": "number",
128
+ "exclusiveMinimum": 0,
129
+ "maximum": 400
130
+ },
131
+ "distance": {
132
+ "type": "number",
133
+ "exclusiveMinimum": 0,
134
+ "maximum": 72000
135
+ }
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }
143
+ },
144
+ "Appliances": {
145
+ "type": "object",
146
+ "unevaluatedProperties": false,
147
+ "patternProperties": {
148
+ "Clothes_washing|Clothes_drying|Dishwasher|Fridge|Fridge-Freezer|Freezer|Hobs|Otherdevices|Oven": {
149
+ "enum": [
150
+ "Not Installed",
151
+ "Default"
152
+ ]
153
+ }
154
+ },
155
+ "not": {
156
+ "allOf": [
157
+ {
158
+ "properties": {
159
+ "Fridge": {
160
+ "const": "Not Installed"
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "properties": {
166
+ "Fridge-Freezer": {
167
+ "const": "Not Installed"
168
+ }
169
+ }
170
+ }
171
+ ]
172
+ }
173
+ },
174
+ "ColdWaterSource": {
175
+ "type": "object",
176
+ "unevaluatedProperties": false,
177
+ "properties": {
178
+ "header tank": {
179
+ "type": "object"
180
+ },
181
+ "mains water": {
182
+ "type": "object"
183
+ }
184
+ },
185
+ "oneOf": [
186
+ {
187
+ "required": [
188
+ "header tank"
189
+ ]
190
+ },
191
+ {
192
+ "required": [
193
+ "mains water"
194
+ ]
195
+ }
196
+ ]
197
+ },
198
+ "PreHeatedWaterSource": {
199
+ "type": "object",
200
+ "unevaluatedProperties": false,
201
+ "properties": {
202
+ "preheated tank": {
203
+ "$ref": "#/$defs/StorageTank",
204
+ "properties": {
205
+ "ColdWaterSource": {
206
+ "type": "string",
207
+ "reference_to": [
208
+ "$.cold_water_source",
209
+ "$.wwhrs"
210
+ ]
211
+ }
212
+ },
213
+ "required": [
214
+ "ColdWaterSource"
215
+ ],
216
+ "not": {
217
+ "properties": {
218
+ "ColdWaterSource": {
219
+ "const": "preheated tank"
220
+ }
221
+ }
222
+ }
223
+ }
224
+ },
225
+ "required": [
226
+ "preheated tank"
227
+ ]
228
+ },
229
+ "EnergySupply": {
230
+ "type": "object",
231
+ "properties": {
232
+ "mains elec": {
233
+ "type": "object",
234
+ "unevaluatedProperties": false,
235
+ "$ref": "#/$defs/ElectricityFuelProperties",
236
+ "properties": {
237
+ "fuel": {
238
+ "const": "electricity"
239
+ }
240
+ },
241
+ "required": [
242
+ "fuel"
243
+ ]
244
+ }
245
+ },
246
+ "required": [
247
+ "mains elec"
248
+ ],
249
+ "additionalProperties": {
250
+ "type": "object",
251
+ "required": [
252
+ "fuel"
253
+ ],
254
+ "unevaluatedProperties": false,
255
+ "properties": {
256
+ "fuel": {
257
+ "enum": [
258
+ "mains_gas",
259
+ "electricity",
260
+ "LPG_bulk",
261
+ "LPG_bottled",
262
+ "LPG_condition_11F"
263
+ ]
264
+ }
265
+ },
266
+ "allOf": [
267
+ {
268
+ "if": {
269
+ "properties": {
270
+ "fuel": {
271
+ "const": "electricity"
272
+ }
273
+ }
274
+ },
275
+ "then": {
276
+ "$ref": "#/$defs/ElectricityFuelProperties"
277
+ }
278
+ },
279
+ {
280
+ "if": {
281
+ "properties": {
282
+ "fuel": {
283
+ "enum": [
284
+ "LPG_bulk",
285
+ "LPG_bottled",
286
+ "LPG_condition_11F"
287
+ ]
288
+ }
289
+ }
290
+ },
291
+ "then": {
292
+ "required": [
293
+ "is_export_capable"
294
+ ],
295
+ "properties": {
296
+ "is_export_capable": {
297
+ "type": "boolean"
298
+ }
299
+ }
300
+ }
301
+ }
302
+ ]
303
+ }
304
+ },
305
+ "OnSiteGeneration": {
306
+ "type": "object",
307
+ "additionalProperties": {
308
+ "unevaluatedProperties": false,
309
+ "type": "object",
310
+ "required": [
311
+ "type",
312
+ "peak_power",
313
+ "ventilation_strategy",
314
+ "pitch",
315
+ "orientation360",
316
+ "base_height",
317
+ "height",
318
+ "width",
319
+ "EnergySupply",
320
+ "shading",
321
+ "inverter_peak_power_dc",
322
+ "inverter_peak_power_ac",
323
+ "inverter_is_inside",
324
+ "inverter_type"
325
+ ],
326
+ "properties": {
327
+ "type": {
328
+ "enum": [
329
+ "PhotovoltaicSystem"
330
+ ]
331
+ },
332
+ "peak_power": {
333
+ "type": "number",
334
+ "minimum": 0.001,
335
+ "maximum": 100
336
+ },
337
+ "ventilation_strategy": {
338
+ "enum": [
339
+ "unventilated",
340
+ "moderately_ventilated",
341
+ "strongly_or_forced_ventilated",
342
+ "rear_surface_free"
343
+ ]
344
+ },
345
+ "pitch": {
346
+ "type": "number",
347
+ "minimum": 0,
348
+ "maximum": 90
349
+ },
350
+ "orientation360": {
351
+ "type": "integer",
352
+ "minimum": 0,
353
+ "maximum": 360
354
+ },
355
+ "base_height": {
356
+ "type": "number",
357
+ "minimum": 0,
358
+ "maximum": 500
359
+ },
360
+ "height": {
361
+ "type": "number",
362
+ "exclusiveMinimum": 0,
363
+ "maximum": 100
364
+ },
365
+ "width": {
366
+ "type": "number",
367
+ "exclusiveMinimum": 0,
368
+ "maximum": 100
369
+ },
370
+ "EnergySupply": {
371
+ "type": "string"
372
+ },
373
+ "shading": {
374
+ "$ref": "#/$defs/WindowShading"
375
+ },
376
+ "inverter_peak_power_dc": {
377
+ "type": "number",
378
+ "exclusiveMinimum": 0
379
+ },
380
+ "inverter_peak_power_ac": {
381
+ "type": "number",
382
+ "exclusiveMinimum": 0
383
+ },
384
+ "inverter_is_inside": {
385
+ "type": "boolean"
386
+ },
387
+ "inverter_type": {
388
+ "enum": [
389
+ "string_inverter",
390
+ "optimised_inverter"
391
+ ]
392
+ }
393
+ }
394
+ }
395
+ },
396
+ "HotWaterSource": {
397
+ "type": "object",
398
+ "unevaluatedProperties": false,
399
+ "properties": {
400
+ "hw cylinder": {
401
+ "type": "object",
402
+ "unevaluatedProperties": false,
403
+ "required": [
404
+ "type"
405
+ ],
406
+ "properties": {
407
+ "type": {
408
+ "enum": [
409
+ "StorageTank",
410
+ "SmartHotWaterTank",
411
+ "CombiBoiler",
412
+ "PointOfUse",
413
+ "HIU",
414
+ "HeatBattery"
415
+ ]
416
+ }
417
+ },
418
+ "allOf": [
419
+ {
420
+ "if": {
421
+ "properties": {
422
+ "type": {
423
+ "const": "HIU"
424
+ }
425
+ }
426
+ },
427
+ "then": {
428
+ "properties": {
429
+ "ColdWaterSource": {
430
+ "enum": [
431
+ "header tank",
432
+ "mains water"
433
+ ]
434
+ },
435
+ "HeatSourceWet": {
436
+ "type": "string"
437
+ }
438
+ },
439
+ "required": [
440
+ "ColdWaterSource",
441
+ "HeatSourceWet"
442
+ ]
443
+ }
444
+ },
445
+ {
446
+ "if": {
447
+ "properties": {
448
+ "type": {
449
+ "const": "SmartHotWaterTank"
450
+ }
451
+ }
452
+ },
453
+ "then": {
454
+ "$ref": "#/$defs/SmartHotWaterTank"
455
+ }
456
+ },
457
+ {
458
+ "if": {
459
+ "properties": {
460
+ "type": {
461
+ "const": "StorageTank"
462
+ }
463
+ }
464
+ },
465
+ "then": {
466
+ "$ref": "#/$defs/StorageTank"
467
+ }
468
+ },
469
+ {
470
+ "if": {
471
+ "properties": {
472
+ "type": {
473
+ "const": "PointOfUse"
474
+ }
475
+ }
476
+ },
477
+ "then": {
478
+ "required": [
479
+ "ColdWaterSource",
480
+ "efficiency",
481
+ "EnergySupply"
482
+ ],
483
+ "properties": {
484
+ "ColdWaterSource": {
485
+ "enum": [
486
+ "header tank",
487
+ "mains water"
488
+ ]
489
+ },
490
+ "efficiency": {
491
+ "type": "number",
492
+ "minimum": 0.1,
493
+ "maximum": 1
494
+ },
495
+ "EnergySupply": {
496
+ "type": "string"
497
+ }
498
+ }
499
+ }
500
+ },
501
+ {
502
+ "if": {
503
+ "properties": {
504
+ "type": {
505
+ "const": "CombiBoiler"
506
+ }
507
+ }
508
+ },
509
+ "then": {
510
+ "required": [
511
+ "ColdWaterSource",
512
+ "HeatSourceWet",
513
+ "separate_DHW_tests",
514
+ "rejected_energy_1"
515
+ ],
516
+ "properties": {
517
+ "ColdWaterSource": {
518
+ "enum": [
519
+ "header tank",
520
+ "mains water"
521
+ ]
522
+ },
523
+ "HeatSourceWet": {
524
+ "description": "References a key (e.g., 'boiler', 'hp', 'HeatNetwork', 'hb1') in $.HeatSourceWet",
525
+ "reference_to": "$.heat_source_wet",
526
+ "title": "Heatsourcewet",
527
+ "type": "string"
528
+ },
529
+ "rejected_energy_1": {
530
+ "anyOf": [
531
+ {
532
+ "minimum": 0,
533
+ "type": "number"
534
+ },
535
+ {
536
+ "type": "null"
537
+ }
538
+ ],
539
+ "default": null,
540
+ "description": "Rejected energy factor 1 for combi boiler efficiency calculations (unit: kWh)",
541
+ "title": "Rejected Energy 1"
542
+ },
543
+ "rejected_factor_3": {
544
+ "anyOf": [
545
+ {
546
+ "minimum": 0,
547
+ "type": "number"
548
+ },
549
+ {
550
+ "type": "null"
551
+ }
552
+ ],
553
+ "default": null,
554
+ "description": "Rejected energy factor 3 for combi boiler efficiency calculations (dimensionless)",
555
+ "title": "Rejected Factor 3"
556
+ },
557
+ "separate_DHW_tests": {
558
+ "enum": [
559
+ "M&L",
560
+ "M&S",
561
+ "M_only",
562
+ "No_additional_tests"
563
+ ],
564
+ "description": "Type of separate domestic hot water test performed on the combi boiler (M&L, M&S, M_only, or No_additional_tests)"
565
+ },
566
+ "storage_loss_factor_1": {
567
+ "anyOf": [
568
+ {
569
+ "minimum": 0,
570
+ "type": "number"
571
+ },
572
+ {
573
+ "type": "null"
574
+ }
575
+ ],
576
+ "default": null,
577
+ "description": "Storage loss factor 1 for combi boiler efficiency calculations (unit: kWh/day)",
578
+ "title": "Storage Loss Factor 1"
579
+ },
580
+ "storage_loss_factor_2": {
581
+ "anyOf": [
582
+ {
583
+ "minimum": 0,
584
+ "type": "number"
585
+ },
586
+ {
587
+ "type": "null"
588
+ }
589
+ ],
590
+ "default": null,
591
+ "description": "Storage loss factor 2 for combi boiler efficiency calculations (dimensionless)",
592
+ "title": "Storage Loss Factor 2"
593
+ }
594
+ },
595
+ "if": {
596
+ "anyOf": [
597
+ {
598
+ "properties": {
599
+ "separate_DHW_tests": {
600
+ "const": "M&L"
601
+ }
602
+ }
603
+ },
604
+ {
605
+ "properties": {
606
+ "separate_DHW_tests": {
607
+ "const": "M&S"
608
+ }
609
+ }
610
+ }
611
+ ]
612
+ },
613
+ "then": {
614
+ "required": [
615
+ "storage_loss_factor_2",
616
+ "rejected_factor_3"
617
+ ]
618
+ },
619
+ "else": {
620
+ "required": [
621
+ "storage_loss_factor_1"
622
+ ]
623
+ }
624
+ }
625
+ },
626
+ {
627
+ "if": {
628
+ "properties": {
629
+ "type": {
630
+ "const": "HeatBattery"
631
+ }
632
+ }
633
+ },
634
+ "then": {
635
+ "required": [
636
+ "ColdWaterSource",
637
+ "HeatSourceWet"
638
+ ],
639
+ "properties": {
640
+ "ColdWaterSource": {
641
+ "enum": [
642
+ "header tank",
643
+ "mains water"
644
+ ]
645
+ },
646
+ "HeatSourceWet": {
647
+ "type": "string"
648
+ }
649
+ }
650
+ }
651
+ }
652
+ ]
653
+ }
654
+ }
655
+ },
656
+ "HeatSourceWet": {
657
+ "type": "object",
658
+ "additionalProperties": {
659
+ "type": "object",
660
+ "unevaluatedProperties": false,
661
+ "required": [
662
+ "type",
663
+ "EnergySupply",
664
+ "is_heat_network"
665
+ ],
666
+ "properties": {
667
+ "type": {
668
+ "enum": [
669
+ "HeatPump",
670
+ "Boiler",
671
+ "HIU",
672
+ "HeatBattery"
673
+ ]
674
+ },
675
+ "is_heat_network": {
676
+ "type": "boolean",
677
+ "description": "Is this HeatSourceWet a heat network? Put false if it is a HeatPump that is supplied by a HeatNetwork. In that case you will instead describe the heat network source under EnergySupply_heat_network not the EnergySupply of the pump"
678
+ }
679
+ },
680
+ "if": {
681
+ "properties": {
682
+ "is_heat_network": {
683
+ "const": true
684
+ }
685
+ }
686
+ },
687
+ "then": {
688
+ "properties": {
689
+ "heat_network_type": {
690
+ "enum": [
691
+ "sleeved DHN",
692
+ "unsleeved DHN",
693
+ "communal"
694
+ ],
695
+ "description": "What type of heat network is present?"
696
+ },
697
+ "EnergySupply": {
698
+ "oneOf": [
699
+ {
700
+ "type": "string"
701
+ },
702
+ {
703
+ "type": "object",
704
+ "unevaluatedProperties": false,
705
+ "required": [
706
+ "name",
707
+ "factor",
708
+ "is_export_capable"
709
+ ],
710
+ "properties": {
711
+ "name": {
712
+ "type": "string"
713
+ },
714
+ "is_export_capable": {
715
+ "type": "boolean"
716
+ },
717
+ "factor": {
718
+ "type": "object",
719
+ "unevaluatedProperties": false,
720
+ "required": [
721
+ "Emissions Factor kgCO2e/kWh",
722
+ "Emissions Factor kgCO2e/kWh including out-of-scope emissions",
723
+ "Primary Energy Factor kWh/kWh delivered"
724
+ ],
725
+ "properties": {
726
+ "Emissions Factor kgCO2e/kWh": {
727
+ "type": "number"
728
+ },
729
+ "Emissions Factor kgCO2e/kWh including out-of-scope emissions": {
730
+ "type": "number"
731
+ },
732
+ "Primary Energy Factor kWh/kWh delivered": {
733
+ "type": "number"
734
+ }
735
+ }
736
+ }
737
+ }
738
+ }
739
+ ]
740
+ }
741
+ },
742
+ "required": [
743
+ "heat_network_type"
744
+ ]
745
+ },
746
+ "else": {
747
+ "properties": {
748
+ "EnergySupply": {
749
+ "type": "string"
750
+ }
751
+ }
752
+ },
753
+ "allOf": [
754
+ {
755
+ "if": {
756
+ "properties": {
757
+ "type": {
758
+ "const": "HeatPump"
759
+ }
760
+ }
761
+ },
762
+ "then": {
763
+ "required": [
764
+ "source_type",
765
+ "sink_type",
766
+ "backup_ctrl_type",
767
+ "modulating_control",
768
+ "temp_lower_operating_limit",
769
+ "min_temp_diff_flow_return_for_hp_to_operate",
770
+ "var_flow_temp_ctrl_during_test",
771
+ "power_source_circ_pump",
772
+ "power_standby",
773
+ "power_crankcase_heater",
774
+ "power_off",
775
+ "test_data_EN14825",
776
+ "time_constant_onoff_operation"
777
+ ],
778
+ "properties": {
779
+ "source_type": {
780
+ "enum": [
781
+ "Ground",
782
+ "OutsideAir",
783
+ "ExhaustAirMEV",
784
+ "ExhaustAirMVHR",
785
+ "ExhaustAirMixed",
786
+ "WaterGround",
787
+ "WaterSurface",
788
+ "HeatNetwork"
789
+ ]
790
+ },
791
+ "sink_type": {
792
+ "enum": [
793
+ "Air",
794
+ "Water",
795
+ "Glycol25"
796
+ ]
797
+ },
798
+ "backup_ctrl_type": {
799
+ "enum": [
800
+ "None",
801
+ "TopUp",
802
+ "Substitute"
803
+ ]
804
+ },
805
+ "modulating_control": {
806
+ "type": "boolean"
807
+ },
808
+ "min_modulation_rate_20": {
809
+ "type": "number",
810
+ "minimum": 0,
811
+ "maximum": 1
812
+ },
813
+ "min_modulation_rate_35": {
814
+ "type": "number",
815
+ "minimum": 0,
816
+ "maximum": 1
817
+ },
818
+ "min_modulation_rate_55": {
819
+ "type": "number",
820
+ "minimum": 0,
821
+ "maximum": 1
822
+ },
823
+ "temp_return_feed_max": {
824
+ "type": "number",
825
+ "minimum": 4,
826
+ "maximum": 80
827
+ },
828
+ "temp_lower_operating_limit": {
829
+ "type": "number",
830
+ "minimum": -30,
831
+ "maximum": 0
832
+ },
833
+ "min_temp_diff_flow_return_for_hp_to_operate": {
834
+ "type": "number",
835
+ "minimum": 0,
836
+ "maximum": 50
837
+ },
838
+ "var_flow_temp_ctrl_during_test": {
839
+ "type": "boolean"
840
+ },
841
+ "power_heating_circ_pump": {
842
+ "type": "number",
843
+ "minimum": 0,
844
+ "maximum": 1
845
+ },
846
+ "power_source_circ_pump": {
847
+ "type": "number",
848
+ "minimum": 0,
849
+ "maximum": 1
850
+ },
851
+ "power_standby": {
852
+ "type": "number",
853
+ "minimum": 0
854
+ },
855
+ "power_crankcase_heater": {
856
+ "type": "number",
857
+ "minimum": 0
858
+ },
859
+ "power_off": {
860
+ "type": "number",
861
+ "minimum": 0
862
+ },
863
+ "BufferTank": {
864
+ "type": "object",
865
+ "unevaluatedProperties": false,
866
+ "properties": {
867
+ "daily_losses": {
868
+ "type": "number",
869
+ "exclusiveMinimum": 0
870
+ },
871
+ "pump_fixed_flow_rate": {
872
+ "type": "number",
873
+ "exclusiveMinimum": 0
874
+ },
875
+ "pump_power_at_flow_rate": {
876
+ "type": "number",
877
+ "exclusiveMinimum": 0
878
+ },
879
+ "volume": {
880
+ "type": "number",
881
+ "exclusiveMinimum": 0
882
+ }
883
+ },
884
+ "required": [
885
+ "daily_losses",
886
+ "pump_fixed_flow_rate",
887
+ "pump_power_at_flow_rate",
888
+ "volume"
889
+ ]
890
+ },
891
+ "power_heating_warm_air_fan": {
892
+ "type": "number",
893
+ "minimum": 0
894
+ },
895
+ "time_constant_onoff_operation": {
896
+ "type": "number",
897
+ "exclusiveMinimum": 0
898
+ }
899
+ },
900
+ "allOf": [
901
+ {
902
+ "if": {
903
+ "not": {
904
+ "properties": {
905
+ "backup_ctrl_type": {
906
+ "const": "None"
907
+ }
908
+ }
909
+ }
910
+ },
911
+ "then": {
912
+ "oneOf": [
913
+ {
914
+ "required": [
915
+ "boiler"
916
+ ]
917
+ },
918
+ {
919
+ "required": [
920
+ "power_max_backup"
921
+ ]
922
+ }
923
+ ],
924
+ "properties": {
925
+ "boiler": {
926
+ "unevaluatedProperties": false,
927
+ "description": "Boiler used as backup for heat pump systems",
928
+ "properties": {
929
+ "EnergySupply": {
930
+ "description": "References a key (e.g., 'mains elec', 'mains gas') in $.EnergySupply",
931
+ "reference_to": "$.energy_supply",
932
+ "title": "Energysupply",
933
+ "type": "string"
934
+ },
935
+ "EnergySupply_aux": {
936
+ "description": "References a key in $.EnergySupply for auxiliary electrical power",
937
+ "reference_to": "$.energy_supply",
938
+ "title": "Energysupply Aux",
939
+ "type": "string"
940
+ },
941
+ "boiler_location": {
942
+ "description": "Location of the boiler (internal or external to the building)",
943
+ "enum": [
944
+ "internal",
945
+ "external"
946
+ ],
947
+ "title": "HeatSourceLocation",
948
+ "type": "string"
949
+ },
950
+ "efficiency_full_load": {
951
+ "description": "Boiler net efficiency at full load (dimensionless, 0-1)",
952
+ "maximum": 1,
953
+ "exclusiveMinimum": 0,
954
+ "title": "Efficiency Full Load",
955
+ "type": "number"
956
+ },
957
+ "efficiency_part_load": {
958
+ "description": "Boiler net efficiency at part load (dimensionless, 0-1.12). Net efficiencies may exceed 1 in test data.",
959
+ "exclusiveMinimum": 0,
960
+ "maximum": 1.12,
961
+ "title": "Efficiency Part Load",
962
+ "type": "number"
963
+ },
964
+ "electricity_circ_pump": {
965
+ "description": "Electrical power consumption of circulation pump (unit: kW)",
966
+ "minimum": 0,
967
+ "title": "Electricity Circ Pump",
968
+ "type": "number"
969
+ },
970
+ "electricity_full_load": {
971
+ "description": "Electrical power consumption at full load (unit: kW)",
972
+ "minimum": 0,
973
+ "title": "Electricity Full Load",
974
+ "type": "number"
975
+ },
976
+ "electricity_part_load": {
977
+ "description": "Electrical power consumption at part load (unit: kW)",
978
+ "minimum": 0,
979
+ "title": "Electricity Part Load",
980
+ "type": "number"
981
+ },
982
+ "electricity_standby": {
983
+ "description": "Electrical power consumption in standby mode (unit: kW)",
984
+ "minimum": 0,
985
+ "title": "Electricity Standby",
986
+ "type": "number"
987
+ },
988
+ "modulation_load": {
989
+ "description": "Modulation load ratio (dimensionless, 0-1)",
990
+ "maximum": 1,
991
+ "minimum": 0,
992
+ "title": "Modulation Load",
993
+ "type": "number"
994
+ },
995
+ "rated_power": {
996
+ "description": "Rated power output of the boiler (unit: kW)",
997
+ "exclusiveMinimum": 0,
998
+ "title": "Rated Power",
999
+ "type": "number"
1000
+ },
1001
+ "cost_schedule_hybrid": {
1002
+ "anyOf": [
1003
+ {
1004
+ "$ref": "#/$defs/BoilerCostScheduleHybrid"
1005
+ },
1006
+ {
1007
+ "type": "null"
1008
+ }
1009
+ ],
1010
+ "default": null
1011
+ }
1012
+ },
1013
+ "required": [
1014
+ "EnergySupply",
1015
+ "EnergySupply_aux",
1016
+ "boiler_location",
1017
+ "efficiency_full_load",
1018
+ "efficiency_part_load",
1019
+ "electricity_circ_pump",
1020
+ "electricity_full_load",
1021
+ "electricity_part_load",
1022
+ "electricity_standby",
1023
+ "modulation_load",
1024
+ "rated_power"
1025
+ ],
1026
+ "title": "HeatPumpBoiler",
1027
+ "type": "object"
1028
+ },
1029
+ "power_max_backup": {
1030
+ "type": "number",
1031
+ "exclusiveMinimum": 0
1032
+ }
1033
+ }
1034
+ }
1035
+ },
1036
+ {
1037
+ "if": {
1038
+ "properties": {
1039
+ "source_type": {
1040
+ "const": "HeatNetwork"
1041
+ }
1042
+ }
1043
+ },
1044
+ "then": {
1045
+ "required": [
1046
+ "temp_distribution_heat_network",
1047
+ "EnergySupply_heat_network"
1048
+ ],
1049
+ "properties": {
1050
+ "temp_distribution_heat_network": {
1051
+ "type": "number",
1052
+ "exclusiveMinimum": 0
1053
+ },
1054
+ "EnergySupply_heat_network": {
1055
+ "oneOf": [
1056
+ {
1057
+ "type": "string"
1058
+ },
1059
+ {
1060
+ "type": "object",
1061
+ "unevaluatedProperties": false,
1062
+ "required": [
1063
+ "name",
1064
+ "factor",
1065
+ "is_export_capable"
1066
+ ],
1067
+ "properties": {
1068
+ "name": {
1069
+ "type": "string"
1070
+ },
1071
+ "is_export_capable": {
1072
+ "type": "boolean"
1073
+ },
1074
+ "factor": {
1075
+ "type": "object",
1076
+ "unevaluatedProperties": false,
1077
+ "required": [
1078
+ "Emissions Factor kgCO2e/kWh",
1079
+ "Emissions Factor kgCO2e/kWh including out-of-scope emissions",
1080
+ "Primary Energy Factor kWh/kWh delivered"
1081
+ ],
1082
+ "properties": {
1083
+ "Emissions Factor kgCO2e/kWh": {
1084
+ "type": "number"
1085
+ },
1086
+ "Emissions Factor kgCO2e/kWh including out-of-scope emissions": {
1087
+ "type": "number"
1088
+ },
1089
+ "Primary Energy Factor kWh/kWh delivered": {
1090
+ "type": "number"
1091
+ }
1092
+ }
1093
+ }
1094
+ }
1095
+ }
1096
+ ]
1097
+ }
1098
+ }
1099
+ }
1100
+ },
1101
+ {
1102
+ "if": {
1103
+ "properties": {
1104
+ "source_type": {
1105
+ "const": "ExhaustAirMixed"
1106
+ }
1107
+ }
1108
+ },
1109
+ "then": {
1110
+ "required": [
1111
+ "eahp_mixed_max_temp",
1112
+ "eahp_mixed_min_temp"
1113
+ ],
1114
+ "properties": {
1115
+ "eahp_mixed_max_temp": {
1116
+ "type": "number",
1117
+ "minimum": -273.15
1118
+ },
1119
+ "eahp_mixed_min_temp": {
1120
+ "type": "number",
1121
+ "minimum": -273.15
1122
+ },
1123
+ "test_data_EN14825": {
1124
+ "type": "array",
1125
+ "items": {
1126
+ "type": "object",
1127
+ "unevaluatedProperties": false,
1128
+ "required": [
1129
+ "test_letter",
1130
+ "capacity",
1131
+ "cop",
1132
+ "design_flow_temp",
1133
+ "temp_outlet",
1134
+ "temp_source",
1135
+ "temp_test",
1136
+ "air_flow_rate",
1137
+ "eahp_mixed_ext_air_ratio"
1138
+ ],
1139
+ "properties": {
1140
+ "test_letter": {
1141
+ "enum": [
1142
+ "A",
1143
+ "B",
1144
+ "C",
1145
+ "D",
1146
+ "F"
1147
+ ]
1148
+ },
1149
+ "capacity": {
1150
+ "type": "number",
1151
+ "exclusiveMinimum": 0
1152
+ },
1153
+ "cop": {
1154
+ "type": "number",
1155
+ "exclusiveMinimum": 0
1156
+ },
1157
+ "design_flow_temp": {
1158
+ "type": "number",
1159
+ "exclusiveMinimum": 0
1160
+ },
1161
+ "temp_outlet": {
1162
+ "type": "number",
1163
+ "exclusiveMinimum": 0
1164
+ },
1165
+ "temp_source": {
1166
+ "type": "number",
1167
+ "minimum": -273.15
1168
+ },
1169
+ "temp_test": {
1170
+ "type": "number",
1171
+ "minimum": -273.15
1172
+ },
1173
+ "air_flow_rate": {
1174
+ "type": "number",
1175
+ "exclusiveMinimum": 0
1176
+ },
1177
+ "eahp_mixed_ext_air_ratio": {
1178
+ "type": "number",
1179
+ "minimum": 0,
1180
+ "maximum": 1
1181
+ }
1182
+ }
1183
+ }
1184
+ }
1185
+ }
1186
+ },
1187
+ "else": {
1188
+ "properties": {
1189
+ "test_data_EN14825": {
1190
+ "type": "array",
1191
+ "items": {
1192
+ "type": "object",
1193
+ "unevaluatedProperties": false,
1194
+ "required": [
1195
+ "test_letter",
1196
+ "capacity",
1197
+ "cop",
1198
+ "design_flow_temp",
1199
+ "temp_outlet",
1200
+ "temp_source",
1201
+ "temp_test"
1202
+ ],
1203
+ "properties": {
1204
+ "test_letter": {
1205
+ "enum": [
1206
+ "A",
1207
+ "B",
1208
+ "C",
1209
+ "D",
1210
+ "F"
1211
+ ]
1212
+ },
1213
+ "capacity": {
1214
+ "type": "number",
1215
+ "exclusiveMinimum": 0
1216
+ },
1217
+ "cop": {
1218
+ "type": "number",
1219
+ "exclusiveMinimum": 0
1220
+ },
1221
+ "air_flow_rate": {
1222
+ "type": "number",
1223
+ "exclusiveMinimum": 0
1224
+ },
1225
+ "design_flow_temp": {
1226
+ "type": "number",
1227
+ "exclusiveMinimum": 0
1228
+ },
1229
+ "temp_outlet": {
1230
+ "type": "number",
1231
+ "exclusiveMinimum": 0
1232
+ },
1233
+ "temp_source": {
1234
+ "type": "number",
1235
+ "minimum": -273.15
1236
+ },
1237
+ "temp_test": {
1238
+ "type": "number",
1239
+ "minimum": -273.15
1240
+ }
1241
+ }
1242
+ }
1243
+ }
1244
+ }
1245
+ }
1246
+ }
1247
+ ]
1248
+ }
1249
+ },
1250
+ {
1251
+ "if": {
1252
+ "properties": {
1253
+ "type": {
1254
+ "const": "Boiler"
1255
+ }
1256
+ }
1257
+ },
1258
+ "then": {
1259
+ "required": [
1260
+ "EnergySupply_aux",
1261
+ "rated_power",
1262
+ "efficiency_full_load",
1263
+ "efficiency_part_load",
1264
+ "boiler_location",
1265
+ "modulation_load",
1266
+ "electricity_circ_pump",
1267
+ "electricity_part_load",
1268
+ "electricity_full_load",
1269
+ "electricity_standby"
1270
+ ],
1271
+ "properties": {
1272
+ "EnergySupply_aux": {
1273
+ "type": "string"
1274
+ },
1275
+ "rated_power": {
1276
+ "type": "number",
1277
+ "exclusiveMinimum": 0
1278
+ },
1279
+ "efficiency_full_load": {
1280
+ "type": "number",
1281
+ "minimum": 0.1,
1282
+ "maximum": 1
1283
+ },
1284
+ "efficiency_part_load": {
1285
+ "type": "number",
1286
+ "minimum": 0.1,
1287
+ "maximum": 1.12
1288
+ },
1289
+ "boiler_location": {
1290
+ "enum": [
1291
+ "internal",
1292
+ "external"
1293
+ ]
1294
+ },
1295
+ "modulation_load": {
1296
+ "type": "number",
1297
+ "minimum": 0.1,
1298
+ "maximum": 1
1299
+ },
1300
+ "electricity_circ_pump": {
1301
+ "type": "number",
1302
+ "minimum": 0.001,
1303
+ "maximum": 1
1304
+ },
1305
+ "electricity_part_load": {
1306
+ "type": "number",
1307
+ "minimum": 0,
1308
+ "maximum": 1
1309
+ },
1310
+ "electricity_full_load": {
1311
+ "type": "number",
1312
+ "minimum": 0,
1313
+ "maximum": 1
1314
+ },
1315
+ "electricity_standby": {
1316
+ "type": "number",
1317
+ "minimum": 0,
1318
+ "maximum": 0.1
1319
+ }
1320
+ }
1321
+ }
1322
+ },
1323
+ {
1324
+ "if": {
1325
+ "properties": {
1326
+ "type": {
1327
+ "const": "HeatBattery"
1328
+ }
1329
+ }
1330
+ },
1331
+ "then": {
1332
+ "required": [
1333
+ "battery_type"
1334
+ ],
1335
+ "properties": {
1336
+ "battery_type": {
1337
+ "type": "string",
1338
+ "enum": [
1339
+ "dry_core",
1340
+ "pcm"
1341
+ ]
1342
+ }
1343
+ },
1344
+ "allOf": [
1345
+ {
1346
+ "if": {
1347
+ "properties": {
1348
+ "battery_type": {
1349
+ "const": "pcm"
1350
+ }
1351
+ }
1352
+ },
1353
+ "then": {
1354
+ "required": [
1355
+ "electricity_circ_pump",
1356
+ "electricity_standby",
1357
+ "rated_charge_power",
1358
+ "max_rated_losses",
1359
+ "number_of_units",
1360
+ "simultaneous_charging_and_discharging",
1361
+ "heat_storage_kJ_per_K_above_Phase_transition",
1362
+ "heat_storage_kJ_per_K_below_Phase_transition",
1363
+ "heat_storage_kJ_per_K_during_Phase_transition",
1364
+ "phase_transition_temperature_upper",
1365
+ "phase_transition_temperature_lower",
1366
+ "max_temperature",
1367
+ "velocity_in_HEX_tube_at_1_l_per_min_m_per_s",
1368
+ "inlet_diameter_mm",
1369
+ "A",
1370
+ "B",
1371
+ "flow_rate_l_per_min"
1372
+ ],
1373
+ "properties": {
1374
+ "electricity_circ_pump": {
1375
+ "type": "number",
1376
+ "minimum": 0.001,
1377
+ "maximum": 1
1378
+ },
1379
+ "electricity_standby": {
1380
+ "type": "number",
1381
+ "exclusiveMinimum": 0,
1382
+ "maximum": 0.1
1383
+ },
1384
+ "rated_charge_power": {
1385
+ "type": "number",
1386
+ "exclusiveMinimum": 0
1387
+ },
1388
+ "max_rated_losses": {
1389
+ "type": "number",
1390
+ "exclusiveMinimum": 0
1391
+ },
1392
+ "number_of_units": {
1393
+ "type": "integer",
1394
+ "minimum": 1
1395
+ },
1396
+ "simultaneous_charging_and_discharging": {
1397
+ "type": "boolean"
1398
+ },
1399
+ "heat_storage_kJ_per_K_above_Phase_transition": {
1400
+ "type": "number",
1401
+ "exclusiveMinimum": 0
1402
+ },
1403
+ "heat_storage_kJ_per_K_below_Phase_transition": {
1404
+ "type": "number",
1405
+ "exclusiveMinimum": 0
1406
+ },
1407
+ "heat_storage_kJ_per_K_during_Phase_transition": {
1408
+ "type": "number",
1409
+ "exclusiveMinimum": 0
1410
+ },
1411
+ "phase_transition_temperature_upper": {
1412
+ "type": "number",
1413
+ "minimum": -273.15
1414
+ },
1415
+ "phase_transition_temperature_lower": {
1416
+ "type": "number",
1417
+ "minimum": -273.15
1418
+ },
1419
+ "velocity_in_HEX_tube_at_1_l_per_min_m_per_s": {
1420
+ "type": "number",
1421
+ "exclusiveMinimum": 0
1422
+ },
1423
+ "A": {
1424
+ "type": "number"
1425
+ },
1426
+ "B": {
1427
+ "type": "number"
1428
+ },
1429
+ "inlet_diameter_mm": {
1430
+ "type": "number"
1431
+ },
1432
+ "max_temperature": {
1433
+ "type": "number",
1434
+ "minimum": -273.15
1435
+ },
1436
+ "flow_rate_l_per_min": {
1437
+ "type": "number",
1438
+ "exclusiveMinimum": 0
1439
+ }
1440
+ }
1441
+ }
1442
+ },
1443
+ {
1444
+ "if": {
1445
+ "properties": {
1446
+ "battery_type": {
1447
+ "const": "dry_core"
1448
+ }
1449
+ }
1450
+ },
1451
+ "then": {
1452
+ "required": [
1453
+ "EnergySupply",
1454
+ "electricity_circ_pump",
1455
+ "electricity_standby",
1456
+ "pwr_in",
1457
+ "rated_power_instant",
1458
+ "heat_storage_capacity",
1459
+ "number_of_units",
1460
+ "dry_core_min_output",
1461
+ "dry_core_max_output",
1462
+ "fan_pwr",
1463
+ "state_of_charge_init"
1464
+ ],
1465
+ "properties": {
1466
+ "electricity_circ_pump": {
1467
+ "type": "number"
1468
+ },
1469
+ "electricity_standby": {
1470
+ "type": "number"
1471
+ },
1472
+ "pwr_in": {
1473
+ "type": "number",
1474
+ "description": "Charging power (kW)"
1475
+ },
1476
+ "rated_power_instant": {
1477
+ "type": "number",
1478
+ "description": "Rated instantaneous power output (kW)"
1479
+ },
1480
+ "heat_storage_capacity": {
1481
+ "type": "number",
1482
+ "description": "Heat storage capacity (kWh)"
1483
+ },
1484
+ "EnergySupply": {
1485
+ "type": "string"
1486
+ },
1487
+ "number_of_units": {
1488
+ "type": "integer",
1489
+ "minimum": 1
1490
+ },
1491
+ "dry_core_min_output": {
1492
+ "type": "array",
1493
+ "items": {
1494
+ "items": {
1495
+ "type": "number"
1496
+ },
1497
+ "maxItems": 2,
1498
+ "minItems": 2,
1499
+ "type": "array"
1500
+ },
1501
+ "description": "Lookup table for minimum output based on charge level"
1502
+ },
1503
+ "dry_core_max_output": {
1504
+ "type": "array",
1505
+ "items": {
1506
+ "items": {
1507
+ "type": "number"
1508
+ },
1509
+ "maxItems": 2,
1510
+ "minItems": 2,
1511
+ "type": "array"
1512
+ },
1513
+ "description": "Lookup table for maximum output based on charge level"
1514
+ },
1515
+ "fan_pwr": {
1516
+ "type": "number",
1517
+ "description": "Fan power (W)"
1518
+ },
1519
+ "state_of_charge_init": {
1520
+ "description": "State of charge at initialisation of dry core heat storage (ratio)",
1521
+ "maximum": 1.0,
1522
+ "minimum": 0.0,
1523
+ "title": "State Of Charge Init",
1524
+ "type": "number"
1525
+ }
1526
+ }
1527
+ }
1528
+ }
1529
+ ]
1530
+ }
1531
+ },
1532
+ {
1533
+ "if": {
1534
+ "properties": {
1535
+ "type": {
1536
+ "const": "HIU"
1537
+ }
1538
+ }
1539
+ },
1540
+ "then": {
1541
+ "required": [
1542
+ "HIU_daily_loss",
1543
+ "power_max",
1544
+ "building_level_distribution_losses"
1545
+ ],
1546
+ "properties": {
1547
+ "HIU_daily_loss": {
1548
+ "type": "number",
1549
+ "exclusiveMinimum": 0
1550
+ },
1551
+ "power_max": {
1552
+ "type": "number",
1553
+ "exclusiveMinimum": 0
1554
+ },
1555
+ "building_level_distribution_losses": {
1556
+ "type": "number",
1557
+ "minimum": 0
1558
+ }
1559
+ }
1560
+ }
1561
+ }
1562
+ ]
1563
+ }
1564
+ },
1565
+ "HotWaterDemand": {
1566
+ "type": "object",
1567
+ "unevaluatedProperties": false,
1568
+ "required": [
1569
+ "Other"
1570
+ ],
1571
+ "properties": {
1572
+ "Shower": {
1573
+ "type": "object",
1574
+ "additionalProperties": {
1575
+ "type": "object",
1576
+ "unevaluatedProperties": false,
1577
+ "required": [
1578
+ "type",
1579
+ "ColdWaterSource"
1580
+ ],
1581
+ "properties": {
1582
+ "type": {
1583
+ "enum": [
1584
+ "MixerShower",
1585
+ "InstantElecShower"
1586
+ ]
1587
+ },
1588
+ "ColdWaterSource": {
1589
+ "enum": [
1590
+ "header tank",
1591
+ "mains water"
1592
+ ]
1593
+ }
1594
+ },
1595
+ "if": {
1596
+ "properties": {
1597
+ "type": {
1598
+ "const": "MixerShower"
1599
+ }
1600
+ }
1601
+ },
1602
+ "then": {
1603
+ "required": [
1604
+ "flowrate",
1605
+ "allow_low_flowrate"
1606
+ ],
1607
+ "properties": {
1608
+ "flowrate": {
1609
+ "type": "number",
1610
+ "maximum": 15
1611
+ },
1612
+ "allow_low_flowrate": {
1613
+ "type": "boolean"
1614
+ },
1615
+ "HotWaterSource": {
1616
+ "type": "string"
1617
+ },
1618
+ "WWHRS": {
1619
+ "type": "string"
1620
+ },
1621
+ "WWHRS_configuration": {
1622
+ "enum": [
1623
+ "A",
1624
+ "B",
1625
+ "C"
1626
+ ]
1627
+ }
1628
+ },
1629
+ "allOf": [
1630
+ {
1631
+ "if": {
1632
+ "properties": {
1633
+ "allow_low_flowrate": {
1634
+ "const": true
1635
+ }
1636
+ }
1637
+ },
1638
+ "then": {
1639
+ "properties": {
1640
+ "flowrate": {
1641
+ "exclusiveMinimum": 0
1642
+ }
1643
+ }
1644
+ }
1645
+ },
1646
+ {
1647
+ "if": {
1648
+ "properties": {
1649
+ "allow_low_flowrate": {
1650
+ "const": false
1651
+ }
1652
+ }
1653
+ },
1654
+ "then": {
1655
+ "properties": {
1656
+ "flowrate": {
1657
+ "minimum": 8
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ ]
1663
+ },
1664
+ "else": {
1665
+ "required": [
1666
+ "rated_power",
1667
+ "EnergySupply"
1668
+ ],
1669
+ "properties": {
1670
+ "rated_power": {
1671
+ "type": "number",
1672
+ "exclusiveMinimum": 0,
1673
+ "maximum": 30
1674
+ },
1675
+ "EnergySupply": {
1676
+ "type": "string"
1677
+ }
1678
+ }
1679
+ }
1680
+ }
1681
+ },
1682
+ "Bath": {
1683
+ "type": "object",
1684
+ "additionalProperties": {
1685
+ "type": "object",
1686
+ "unevaluatedProperties": false,
1687
+ "required": [
1688
+ "size",
1689
+ "ColdWaterSource"
1690
+ ],
1691
+ "properties": {
1692
+ "size": {
1693
+ "type": "number",
1694
+ "exclusiveMinimum": 0
1695
+ },
1696
+ "ColdWaterSource": {
1697
+ "enum": [
1698
+ "header tank",
1699
+ "mains water"
1700
+ ]
1701
+ },
1702
+ "HotWaterSource": {
1703
+ "type": "string"
1704
+ }
1705
+ }
1706
+ }
1707
+ },
1708
+ "Other": {
1709
+ "type": "object",
1710
+ "additionalProperties": {
1711
+ "type": "object",
1712
+ "unevaluatedProperties": false,
1713
+ "required": [
1714
+ "flowrate",
1715
+ "ColdWaterSource"
1716
+ ],
1717
+ "properties": {
1718
+ "flowrate": {
1719
+ "type": "number",
1720
+ "minimum": 0.1,
1721
+ "maximum": 15
1722
+ },
1723
+ "ColdWaterSource": {
1724
+ "enum": [
1725
+ "header tank",
1726
+ "mains water"
1727
+ ]
1728
+ },
1729
+ "HotWaterSource": {
1730
+ "type": "string"
1731
+ }
1732
+ }
1733
+ },
1734
+ "minProperties": 1
1735
+ }
1736
+ }
1737
+ },
1738
+ "Events": {
1739
+ "type": "object"
1740
+ },
1741
+ "WWHRS": {
1742
+ "type": "object",
1743
+ "additionalProperties": {
1744
+ "type": "object",
1745
+ "unevaluatedProperties": false,
1746
+ "required": [
1747
+ "type",
1748
+ "ColdWaterSource",
1749
+ "flow_rates"
1750
+ ],
1751
+ "properties": {
1752
+ "type": {
1753
+ "type": "string",
1754
+ "const": "WWHRS_Instantaneous"
1755
+ },
1756
+ "ColdWaterSource": {
1757
+ "enum": [
1758
+ "header tank",
1759
+ "mains water"
1760
+ ]
1761
+ },
1762
+ "flow_rates": {
1763
+ "type": "array",
1764
+ "items": {
1765
+ "type": "number",
1766
+ "minimum": 0.1,
1767
+ "maximum": 500
1768
+ }
1769
+ },
1770
+ "system_a_efficiencies": {
1771
+ "type": "array",
1772
+ "items": {
1773
+ "exclusiveMinimum": 0,
1774
+ "maximum": 100,
1775
+ "type": "number"
1776
+ },
1777
+ "description": "Measured efficiencies for System A at the test flow rates"
1778
+ },
1779
+ "system_a_utilisation_factor": {
1780
+ "type": "number",
1781
+ "maximum": 1,
1782
+ "exclusiveMinimum": 0,
1783
+ "description": "Utilisation factor for System A"
1784
+ },
1785
+ "system_b_efficiencies": {
1786
+ "type": "array",
1787
+ "items": {
1788
+ "exclusiveMinimum": 0,
1789
+ "maximum": 100,
1790
+ "type": "number"
1791
+ },
1792
+ "description": "Measured efficiencies for System B (optional, uses system_b_efficiency_factor if not provided)"
1793
+ },
1794
+ "system_b_efficiency_factor": {
1795
+ "type": "number",
1796
+ "maximum": 1,
1797
+ "exclusiveMinimum": 0,
1798
+ "description": "Reduction factor for System B efficiency (default 0.81)"
1799
+ },
1800
+ "system_b_utilisation_factor": {
1801
+ "type": "number",
1802
+ "maximum": 1,
1803
+ "exclusiveMinimum": 0,
1804
+ "description": "Utilisation factor for System B (optional, defaults to system_a_utilisation_factor)"
1805
+ },
1806
+ "system_c_efficiencies": {
1807
+ "type": "array",
1808
+ "items": {
1809
+ "exclusiveMinimum": 0,
1810
+ "maximum": 100,
1811
+ "type": "number"
1812
+ },
1813
+ "description": "Measured efficiencies for System C (optional, uses system_c_efficiency_factor if not provided)"
1814
+ },
1815
+ "system_c_efficiency_factor": {
1816
+ "type": "number",
1817
+ "maximum": 1,
1818
+ "exclusiveMinimum": 0,
1819
+ "description": "Reduction factor for System C efficiency (default 0.87)"
1820
+ },
1821
+ "system_c_utilisation_factor": {
1822
+ "type": "number",
1823
+ "maximum": 1,
1824
+ "exclusiveMinimum": 0,
1825
+ "description": "Utilisation factor for System C (optional, defaults to system_a_utilisation_factor)"
1826
+ }
1827
+ },
1828
+ "anyOf": [
1829
+ {
1830
+ "required": [
1831
+ "system_a_efficiencies"
1832
+ ]
1833
+ },
1834
+ {
1835
+ "required": [
1836
+ "system_b_efficiencies"
1837
+ ]
1838
+ },
1839
+ {
1840
+ "required": [
1841
+ "system_c_efficiencies"
1842
+ ]
1843
+ }
1844
+ ]
1845
+ }
1846
+ },
1847
+ "SpaceHeatSystem": {
1848
+ "type": "object",
1849
+ "additionalProperties": {
1850
+ "type": "object",
1851
+ "unevaluatedProperties": false,
1852
+ "required": [
1853
+ "type"
1854
+ ],
1855
+ "properties": {
1856
+ "type": {
1857
+ "enum": [
1858
+ "ElecStorageHeater",
1859
+ "InstantElecHeater",
1860
+ "WetDistribution",
1861
+ "WarmAir"
1862
+ ]
1863
+ }
1864
+ },
1865
+ "allOf": [
1866
+ {
1867
+ "if": {
1868
+ "properties": {
1869
+ "type": {
1870
+ "const": "ElecStorageHeater"
1871
+ }
1872
+ }
1873
+ },
1874
+ "then": {
1875
+ "required": [
1876
+ "pwr_in",
1877
+ "rated_power_instant",
1878
+ "storage_capacity",
1879
+ "air_flow_type",
1880
+ "frac_convective",
1881
+ "n_units",
1882
+ "EnergySupply",
1883
+ "Zone",
1884
+ "dry_core_min_output",
1885
+ "dry_core_max_output"
1886
+ ],
1887
+ "properties": {
1888
+ "pwr_in": {
1889
+ "type": "number",
1890
+ "minimum": 0.1,
1891
+ "maximum": 70
1892
+ },
1893
+ "rated_power_instant": {
1894
+ "type": "number",
1895
+ "minimum": 0.1,
1896
+ "maximum": 70
1897
+ },
1898
+ "storage_capacity": {
1899
+ "type": "number",
1900
+ "minimum": 0
1901
+ },
1902
+ "air_flow_type": {
1903
+ "enum": [
1904
+ "fan-assisted",
1905
+ "damper-only"
1906
+ ]
1907
+ },
1908
+ "frac_convective": {
1909
+ "type": "number",
1910
+ "minimum": 0
1911
+ },
1912
+ "n_units": {
1913
+ "type": "integer",
1914
+ "minimum": 0,
1915
+ "maximum": 100
1916
+ },
1917
+ "EnergySupply": {
1918
+ "type": "string"
1919
+ },
1920
+ "Zone": {
1921
+ "type": "string"
1922
+ },
1923
+ "dry_core_min_output": {
1924
+ "type": "array",
1925
+ "items": {
1926
+ "type": "array",
1927
+ "items": {
1928
+ "type": "number"
1929
+ }
1930
+ }
1931
+ },
1932
+ "dry_core_max_output": {
1933
+ "type": "array",
1934
+ "items": {
1935
+ "type": "array",
1936
+ "items": {
1937
+ "type": "number"
1938
+ }
1939
+ }
1940
+ }
1941
+ },
1942
+ "if": {
1943
+ "properties": {
1944
+ "air_flow_type": {
1945
+ "const": "fan-assisted"
1946
+ }
1947
+ }
1948
+ },
1949
+ "then": {
1950
+ "required": [
1951
+ "fan_pwr"
1952
+ ],
1953
+ "properties": {
1954
+ "fan_pwr": {
1955
+ "type": "number",
1956
+ "minimum": 0
1957
+ }
1958
+ }
1959
+ }
1960
+ }
1961
+ },
1962
+ {
1963
+ "if": {
1964
+ "properties": {
1965
+ "type": {
1966
+ "const": "InstantElecHeater"
1967
+ }
1968
+ }
1969
+ },
1970
+ "then": {
1971
+ "required": [
1972
+ "rated_power",
1973
+ "convective_type",
1974
+ "EnergySupply"
1975
+ ],
1976
+ "properties": {
1977
+ "rated_power": {
1978
+ "type": "number",
1979
+ "minimum": 0.1,
1980
+ "maximum": 70
1981
+ },
1982
+ "convective_type": {
1983
+ "enum": [
1984
+ "Air heating (convectors, fan coils etc.)",
1985
+ "Free heating surface (radiators, radiant panels etc.)",
1986
+ "Floor heating, low temperature radiant tube heaters, luminous heaters, wood stoves",
1987
+ "Wall heating, radiant ceiling panels, accumulation stoves",
1988
+ "Ceiling heating, radiant ceiling electric heating"
1989
+ ]
1990
+ },
1991
+ "EnergySupply": {
1992
+ "type": "string"
1993
+ }
1994
+ }
1995
+ }
1996
+ },
1997
+ {
1998
+ "if": {
1999
+ "properties": {
2000
+ "type": {
2001
+ "const": "WetDistribution"
2002
+ }
2003
+ }
2004
+ },
2005
+ "then": {
2006
+ "required": [
2007
+ "emitters",
2008
+ "temp_diff_emit_dsgn",
2009
+ "variable_flow",
2010
+ "HeatSource",
2011
+ "ecodesign_controller",
2012
+ "design_flow_temp",
2013
+ "Zone"
2014
+ ],
2015
+ "properties": {
2016
+ "EnergySupply": {
2017
+ "type": "string"
2018
+ },
2019
+ "emitters": {
2020
+ "type": "array",
2021
+ "items": {
2022
+ "type": "object",
2023
+ "unevaluatedProperties": false,
2024
+ "required": [
2025
+ "wet_emitter_type",
2026
+ "frac_convective"
2027
+ ],
2028
+ "properties": {
2029
+ "wet_emitter_type": {
2030
+ "enum": [
2031
+ "radiator",
2032
+ "ufh",
2033
+ "fancoil"
2034
+ ]
2035
+ },
2036
+ "frac_convective": {
2037
+ "type": "number"
2038
+ }
2039
+ },
2040
+ "allOf": [
2041
+ {
2042
+ "if": {
2043
+ "properties": {
2044
+ "wet_emitter_type": {
2045
+ "const": "radiator"
2046
+ }
2047
+ }
2048
+ },
2049
+ "then": {
2050
+ "required": [
2051
+ "n"
2052
+ ],
2053
+ "properties": {
2054
+ "length": {
2055
+ "type": "number",
2056
+ "exclusiveMinimum": 0
2057
+ },
2058
+ "n": {
2059
+ "type": "number",
2060
+ "exclusiveMinimum": 0,
2061
+ "maximum": 2
2062
+ }
2063
+ },
2064
+ "if": {
2065
+ "required": [
2066
+ "length"
2067
+ ]
2068
+ },
2069
+ "then": {
2070
+ "required": [
2071
+ "c_per_m"
2072
+ ],
2073
+ "properties": {
2074
+ "c_per_m": {
2075
+ "type": "number",
2076
+ "exclusiveMinimum": 0
2077
+ },
2078
+ "thermal_mass_per_m": {
2079
+ "type": "number",
2080
+ "exclusiveMinimum": 0
2081
+ }
2082
+ }
2083
+ },
2084
+ "else": {
2085
+ "required": [
2086
+ "c"
2087
+ ],
2088
+ "properties": {
2089
+ "c": {
2090
+ "type": "number",
2091
+ "exclusiveMinimum": 0,
2092
+ "maximum": 2
2093
+ },
2094
+ "thermal_mass": {
2095
+ "type": "number",
2096
+ "exclusiveMinimum": 0
2097
+ }
2098
+ }
2099
+ }
2100
+ }
2101
+ },
2102
+ {
2103
+ "if": {
2104
+ "properties": {
2105
+ "wet_emitter_type": {
2106
+ "const": "ufh"
2107
+ }
2108
+ }
2109
+ },
2110
+ "then": {
2111
+ "required": [
2112
+ "equivalent_specific_thermal_mass",
2113
+ "system_performance_factor",
2114
+ "emitter_floor_area"
2115
+ ],
2116
+ "properties": {
2117
+ "equivalent_specific_thermal_mass": {
2118
+ "type": "number",
2119
+ "minimum": 0
2120
+ },
2121
+ "system_performance_factor": {
2122
+ "type": "number",
2123
+ "minimum": 0
2124
+ },
2125
+ "emitter_floor_area": {
2126
+ "type": "number",
2127
+ "exclusiveMinimum": 0
2128
+ }
2129
+ }
2130
+ }
2131
+ },
2132
+ {
2133
+ "if": {
2134
+ "properties": {
2135
+ "wet_emitter_type": {
2136
+ "const": "fancoil"
2137
+ }
2138
+ }
2139
+ },
2140
+ "then": {
2141
+ "required": [
2142
+ "n_units",
2143
+ "fancoil_test_data"
2144
+ ],
2145
+ "properties": {
2146
+ "n_units": {
2147
+ "type": "integer",
2148
+ "minimum": 1
2149
+ },
2150
+ "fancoil_test_data": {
2151
+ "type": "object",
2152
+ "unevaluatedProperties": false,
2153
+ "required": [
2154
+ "fan_speed_data",
2155
+ "fan_power_W"
2156
+ ],
2157
+ "properties": {
2158
+ "fan_speed_data": {
2159
+ "type": "array",
2160
+ "items": {
2161
+ "type": "object",
2162
+ "unevaluatedProperties": false,
2163
+ "required": [
2164
+ "temperature_diff",
2165
+ "power_output"
2166
+ ],
2167
+ "properties": {
2168
+ "temperature_diff": {
2169
+ "type": "number",
2170
+ "exclusiveMinimum": 0
2171
+ },
2172
+ "power_output": {
2173
+ "type": "array",
2174
+ "items": {
2175
+ "type": "number",
2176
+ "minimum": 0
2177
+ }
2178
+ }
2179
+ }
2180
+ }
2181
+ },
2182
+ "fan_power_W": {
2183
+ "type": "array",
2184
+ "items": {
2185
+ "type": "number",
2186
+ "exclusiveMinimum": 0
2187
+ }
2188
+ }
2189
+ }
2190
+ }
2191
+ }
2192
+ }
2193
+ }
2194
+ ]
2195
+ }
2196
+ },
2197
+ "temp_diff_emit_dsgn": {
2198
+ "type": "number",
2199
+ "exclusiveMinimum": 0,
2200
+ "maximum": 70
2201
+ },
2202
+ "variable_flow": {
2203
+ "type": "boolean"
2204
+ },
2205
+ "bypass_fraction_recirculated": {
2206
+ "type": "number",
2207
+ "minimum": 0,
2208
+ "exclusiveMaximum": 1
2209
+ },
2210
+ "HeatSource": {
2211
+ "type": "object",
2212
+ "unevaluatedProperties": false,
2213
+ "required": [
2214
+ "name"
2215
+ ],
2216
+ "properties": {
2217
+ "name": {
2218
+ "type": "string"
2219
+ },
2220
+ "temp_flow_limit_upper": {
2221
+ "type": "number",
2222
+ "exclusiveMinimum": 0
2223
+ }
2224
+ }
2225
+ },
2226
+ "ecodesign_controller": {
2227
+ "type": "object",
2228
+ "unevaluatedProperties": false,
2229
+ "required": [
2230
+ "ecodesign_control_class"
2231
+ ],
2232
+ "properties": {
2233
+ "ecodesign_control_class": {
2234
+ "type": "integer",
2235
+ "minimum": 1,
2236
+ "maximum": 8
2237
+ },
2238
+ "min_outdoor_temp": {
2239
+ "type": "integer",
2240
+ "minimum": -60,
2241
+ "maximum": 30
2242
+ },
2243
+ "max_outdoor_temp": {
2244
+ "type": "integer",
2245
+ "minimum": 10,
2246
+ "maximum": 50
2247
+ },
2248
+ "min_flow_temp": {
2249
+ "type": "integer",
2250
+ "minimum": 20,
2251
+ "maximum": 120
2252
+ }
2253
+ }
2254
+ },
2255
+ "design_flow_temp": {
2256
+ "type": "number",
2257
+ "minimum": 20,
2258
+ "maximum": 120
2259
+ },
2260
+ "Zone": {
2261
+ "type": "string"
2262
+ }
2263
+ },
2264
+ "allOf": [
2265
+ {
2266
+ "if": {
2267
+ "oneOf": [
2268
+ {
2269
+ "properties": {
2270
+ "ecodesign_control_class": {
2271
+ "const": 2
2272
+ }
2273
+ }
2274
+ },
2275
+ {
2276
+ "properties": {
2277
+ "ecodesign_control_class": {
2278
+ "const": 3
2279
+ }
2280
+ }
2281
+ },
2282
+ {
2283
+ "properties": {
2284
+ "ecodesign_control_class": {
2285
+ "const": 6
2286
+ }
2287
+ }
2288
+ },
2289
+ {
2290
+ "properties": {
2291
+ "ecodesign_control_class": {
2292
+ "const": 7
2293
+ }
2294
+ }
2295
+ }
2296
+ ]
2297
+ },
2298
+ "then": {
2299
+ "required": [
2300
+ "min_outdoor_temp",
2301
+ "max_outdoor_temp",
2302
+ "min_flow_temp"
2303
+ ]
2304
+ }
2305
+ },
2306
+ {
2307
+ "if": {
2308
+ "properties": {
2309
+ "variable_flow": {
2310
+ "const": true
2311
+ }
2312
+ }
2313
+ },
2314
+ "then": {
2315
+ "required": [
2316
+ "min_flow_rate",
2317
+ "max_flow_rate"
2318
+ ],
2319
+ "properties": {
2320
+ "min_flow_rate": {
2321
+ "type": "number",
2322
+ "exclusiveMinimum": 0
2323
+ },
2324
+ "max_flow_rate": {
2325
+ "type": "number",
2326
+ "exclusiveMinimum": 0
2327
+ }
2328
+ }
2329
+ },
2330
+ "else": {
2331
+ "required": [
2332
+ "design_flow_rate"
2333
+ ],
2334
+ "properties": {
2335
+ "design_flow_rate": {
2336
+ "type": "number",
2337
+ "exclusiveMinimum": 0
2338
+ }
2339
+ }
2340
+ }
2341
+ },
2342
+ {
2343
+ "if": {
2344
+ "properties": {
2345
+ "emitters": {
2346
+ "type": "array",
2347
+ "contains": {
2348
+ "type": "object",
2349
+ "properties": {
2350
+ "wet_emitter_type": {
2351
+ "const": "radiator"
2352
+ }
2353
+ }
2354
+ }
2355
+ }
2356
+ }
2357
+ },
2358
+ "then": {
2359
+ "required": [
2360
+ "thermal_mass"
2361
+ ],
2362
+ "properties": {
2363
+ "thermal_mass": {
2364
+ "type": "number",
2365
+ "exclusiveMinimum": 0
2366
+ }
2367
+ }
2368
+ }
2369
+ }
2370
+ ]
2371
+ }
2372
+ },
2373
+ {
2374
+ "if": {
2375
+ "properties": {
2376
+ "type": {
2377
+ "const": "WarmAir"
2378
+ }
2379
+ }
2380
+ },
2381
+ "then": {
2382
+ "required": [
2383
+ "temp_diff_emit_dsgn",
2384
+ "frac_convective",
2385
+ "HeatSource"
2386
+ ],
2387
+ "properties": {
2388
+ "temp_diff_emit_dsgn": {
2389
+ "type": "number",
2390
+ "maximum": 70
2391
+ },
2392
+ "frac_convective": {
2393
+ "type": "number",
2394
+ "minimum": 0.1,
2395
+ "maximum": 1
2396
+ },
2397
+ "HeatSource": {
2398
+ "type": "object",
2399
+ "unevaluatedProperties": false,
2400
+ "required": [
2401
+ "name"
2402
+ ],
2403
+ "properties": {
2404
+ "name": {
2405
+ "type": "string"
2406
+ },
2407
+ "temp_flow_limit_upper": {
2408
+ "type": "number",
2409
+ "exclusiveMinimum": 0
2410
+ }
2411
+ }
2412
+ }
2413
+ }
2414
+ }
2415
+ }
2416
+ ]
2417
+ }
2418
+ },
2419
+ "SpaceCoolSystem": {
2420
+ "type": "object",
2421
+ "additionalProperties": {
2422
+ "type": "object",
2423
+ "unevaluatedProperties": false,
2424
+ "required": [
2425
+ "type",
2426
+ "cooling_capacity",
2427
+ "efficiency",
2428
+ "frac_convective",
2429
+ "EnergySupply"
2430
+ ],
2431
+ "properties": {
2432
+ "type": {
2433
+ "enum": [
2434
+ "AirConditioning"
2435
+ ]
2436
+ },
2437
+ "cooling_capacity": {
2438
+ "type": "number",
2439
+ "exclusiveMinimum": 0
2440
+ },
2441
+ "efficiency": {
2442
+ "type": "number",
2443
+ "exclusiveMinimum": 0,
2444
+ "maximum": 25
2445
+ },
2446
+ "frac_convective": {
2447
+ "type": "number",
2448
+ "minimum": 0,
2449
+ "maximum": 1
2450
+ },
2451
+ "EnergySupply": {
2452
+ "type": "string"
2453
+ },
2454
+ "advanced_start": {
2455
+ "type": "number"
2456
+ },
2457
+ "temp_setback": {
2458
+ "type": "number"
2459
+ }
2460
+ }
2461
+ }
2462
+ },
2463
+ "General": {
2464
+ "type": "object",
2465
+ "unevaluatedProperties": false,
2466
+ "required": [
2467
+ "storeys_in_dwelling",
2468
+ "build_type"
2469
+ ],
2470
+ "properties": {
2471
+ "storeys_in_dwelling": {
2472
+ "type": "integer",
2473
+ "minimum": 1,
2474
+ "description": "Number of storeys within this dwelling"
2475
+ },
2476
+ "build_type": {
2477
+ "enum": [
2478
+ "flat",
2479
+ "house"
2480
+ ]
2481
+ }
2482
+ },
2483
+ "if": {
2484
+ "properties": {
2485
+ "build_type": {
2486
+ "const": "flat"
2487
+ }
2488
+ }
2489
+ },
2490
+ "then": {
2491
+ "required": [
2492
+ "storey_of_dwelling",
2493
+ "storeys_in_building"
2494
+ ],
2495
+ "properties": {
2496
+ "storey_of_dwelling": {
2497
+ "type": "integer",
2498
+ "minimum": -50,
2499
+ "maximum": 199,
2500
+ "description": "What storey of the main building is the flat on? For multi-story flats, enter the lowest storey the unit occupies"
2501
+ },
2502
+ "storeys_in_building": {
2503
+ "type": "integer",
2504
+ "minimum": 1,
2505
+ "description": "Number of storeys, within the entire building, that contain dwellings. This should be greater than or equal to storeys_in_dwelling."
2506
+ }
2507
+ }
2508
+ }
2509
+ },
2510
+ "InfiltrationVentilation": {
2511
+ "type": "object",
2512
+ "unevaluatedProperties": false,
2513
+ "required": [
2514
+ "shield_class",
2515
+ "terrain_class",
2516
+ "ventilation_zone_base_height",
2517
+ "altitude",
2518
+ "noise_nuisance",
2519
+ "Vents",
2520
+ "Leaks"
2521
+ ],
2522
+ "properties": {
2523
+ "shield_class": {
2524
+ "enum": [
2525
+ "Open",
2526
+ "Normal",
2527
+ "Shielded"
2528
+ ]
2529
+ },
2530
+ "terrain_class": {
2531
+ "enum": [
2532
+ "OpenWater",
2533
+ "OpenField",
2534
+ "Suburban",
2535
+ "Urban"
2536
+ ]
2537
+ },
2538
+ "ventilation_zone_base_height": {
2539
+ "type": "number",
2540
+ "minimum": -150,
2541
+ "maximum": 750
2542
+ },
2543
+ "altitude": {
2544
+ "type": "number",
2545
+ "minimum": -150,
2546
+ "maximum": 7200
2547
+ },
2548
+ "ach_min_static_calcs": {
2549
+ "type": "number",
2550
+ "minimum": 0
2551
+ },
2552
+ "ach_max_static_calcs": {
2553
+ "type": "number",
2554
+ "minimum": 0
2555
+ },
2556
+ "noise_nuisance": {
2557
+ "type": "boolean"
2558
+ },
2559
+ "Vents": {
2560
+ "type": "object",
2561
+ "additionalProperties": {
2562
+ "type": "object",
2563
+ "unevaluatedProperties": false,
2564
+ "required": [
2565
+ "mid_height_air_flow_path",
2566
+ "area_cm2",
2567
+ "orientation360",
2568
+ "pitch"
2569
+ ],
2570
+ "properties": {
2571
+ "mid_height_air_flow_path": {
2572
+ "type": "number",
2573
+ "minimum": 1,
2574
+ "maximum": 60
2575
+ },
2576
+ "area_cm2": {
2577
+ "type": "number",
2578
+ "minimum": 1,
2579
+ "maximum": 999999
2580
+ },
2581
+ "orientation360": {
2582
+ "type": "number",
2583
+ "minimum": 0,
2584
+ "maximum": 360
2585
+ },
2586
+ "pitch": {
2587
+ "type": "number",
2588
+ "minimum": 0,
2589
+ "maximum": 180
2590
+ }
2591
+ }
2592
+ }
2593
+ },
2594
+ "Leaks": {
2595
+ "type": "object",
2596
+ "unevaluatedProperties": false,
2597
+ "required": [
2598
+ "ventilation_zone_height",
2599
+ "test_pressure",
2600
+ "test_result",
2601
+ "env_area"
2602
+ ],
2603
+ "properties": {
2604
+ "ventilation_zone_height": {
2605
+ "type": "number",
2606
+ "minimum": 1,
2607
+ "maximum": 120
2608
+ },
2609
+ "test_pressure": {
2610
+ "enum": [
2611
+ "Standard",
2612
+ "Pulse test only"
2613
+ ]
2614
+ },
2615
+ "test_result": {
2616
+ "type": "number",
2617
+ "exclusiveMinimum": 0
2618
+ },
2619
+ "env_area": {
2620
+ "type": "number",
2621
+ "minimum": 5,
2622
+ "maximum": 72000
2623
+ }
2624
+ }
2625
+ },
2626
+ "MechanicalVentilation": {
2627
+ "type": "object",
2628
+ "additionalProperties": {
2629
+ "type": "object",
2630
+ "unevaluatedProperties": false,
2631
+ "required": [
2632
+ "vent_type",
2633
+ "EnergySupply",
2634
+ "design_outdoor_air_flow_rate"
2635
+ ],
2636
+ "properties": {
2637
+ "design_zone_cooling_covered_by_mech_vent": {
2638
+ "type": "number"
2639
+ },
2640
+ "design_zone_heating_covered_by_mech_vent": {
2641
+ "type": "number"
2642
+ },
2643
+ "vent_type": {
2644
+ "enum": [
2645
+ "Decentralised continuous MEV",
2646
+ "Centralised continuous MEV",
2647
+ "MVHR",
2648
+ "Intermittent MEV"
2649
+ ]
2650
+ },
2651
+ "EnergySupply": {
2652
+ "type": "string"
2653
+ },
2654
+ "design_outdoor_air_flow_rate": {
2655
+ "type": "number",
2656
+ "exclusiveMinimum": 0,
2657
+ "description": "Design outdoor air flow rate (m3/hr)"
2658
+ },
2659
+ "SFP_in_use_factor": {
2660
+ "minimum": 1,
2661
+ "type": "number",
2662
+ "default": 1,
2663
+ "description": "Adjustment factor to be applied to SFP to account for e.g. type of ducting. Typical range 1 - 2.5",
2664
+ "title": "Sfp In Use Factor"
2665
+ }
2666
+ },
2667
+ "allOf": [
2668
+ {
2669
+ "if": {
2670
+ "properties": {
2671
+ "vent_type": {
2672
+ "const": "MVHR"
2673
+ }
2674
+ }
2675
+ },
2676
+ "then": {
2677
+ "required": [
2678
+ "mvhr_eff",
2679
+ "mvhr_location",
2680
+ "ductwork",
2681
+ "position_intake",
2682
+ "position_exhaust"
2683
+ ],
2684
+ "properties": {
2685
+ "mvhr_eff": {
2686
+ "type": "number",
2687
+ "minimum": 0,
2688
+ "maximum": 1
2689
+ },
2690
+ "mvhr_location": {
2691
+ "enum": [
2692
+ "inside",
2693
+ "outside"
2694
+ ]
2695
+ },
2696
+ "ductwork": {
2697
+ "type": "array",
2698
+ "items": {
2699
+ "type": "object",
2700
+ "unevaluatedProperties": false,
2701
+ "required": [
2702
+ "cross_section_shape",
2703
+ "internal_diameter_mm",
2704
+ "external_diameter_mm",
2705
+ "length",
2706
+ "insulation_thermal_conductivity",
2707
+ "insulation_thickness_mm",
2708
+ "reflective",
2709
+ "duct_type"
2710
+ ],
2711
+ "properties": {
2712
+ "cross_section_shape": {
2713
+ "enum": [
2714
+ "circular",
2715
+ "rectangular"
2716
+ ]
2717
+ },
2718
+ "internal_diameter_mm": {
2719
+ "type": "number",
2720
+ "minimum": 0,
2721
+ "maximum": 1000
2722
+ },
2723
+ "external_diameter_mm": {
2724
+ "type": "number",
2725
+ "minimum": 0,
2726
+ "maximum": 1000
2727
+ },
2728
+ "length": {
2729
+ "type": "number",
2730
+ "minimum": 0
2731
+ },
2732
+ "insulation_thermal_conductivity": {
2733
+ "type": "number",
2734
+ "minimum": 0
2735
+ },
2736
+ "insulation_thickness_mm": {
2737
+ "type": "number",
2738
+ "minimum": 0,
2739
+ "maximum": 100
2740
+ },
2741
+ "reflective": {
2742
+ "type": "boolean"
2743
+ },
2744
+ "duct_type": {
2745
+ "enum": [
2746
+ "supply",
2747
+ "extract",
2748
+ "intake",
2749
+ "exhaust"
2750
+ ]
2751
+ }
2752
+ }
2753
+ }
2754
+ },
2755
+ "position_intake": {
2756
+ "type": "object",
2757
+ "properties": {
2758
+ "mid_height_air_flow_path": {
2759
+ "type": "number",
2760
+ "minimum": 1,
2761
+ "maximum": 60,
2762
+ "description": "Mid height of air flow path relative to ventilation zone (unit: m)"
2763
+ },
2764
+ "orientation360": {
2765
+ "type": "number",
2766
+ "minimum": 0,
2767
+ "maximum": 360,
2768
+ "description": "The orientation angle of the inclined surface, expressed as the geographical azimuth angle of the horizontal projection of the inclined surface normal, 0 to 360 (unit: \u02da)"
2769
+ },
2770
+ "pitch": {
2771
+ "type": "number",
2772
+ "minimum": 0,
2773
+ "maximum": 180,
2774
+ "description": "Tilt angle of the surface from horizontal, between 0 and 180, where 0 means the external surface is facing up, 90 means the external surface is vertical and 180 means the external surface is facing down (unit: \u02da)"
2775
+ }
2776
+ }
2777
+ },
2778
+ "position_exhaust": {
2779
+ "type": "object",
2780
+ "properties": {
2781
+ "mid_height_air_flow_path": {
2782
+ "type": "number",
2783
+ "minimum": 1,
2784
+ "maximum": 60,
2785
+ "description": "Mid height of air flow path relative to ventilation zone (unit: m)"
2786
+ },
2787
+ "orientation360": {
2788
+ "type": "number",
2789
+ "minimum": 0,
2790
+ "maximum": 360,
2791
+ "description": "The orientation angle of the inclined surface, expressed as the geographical azimuth angle of the horizontal projection of the inclined surface normal, 0 to 360 (unit: \u02da)"
2792
+ },
2793
+ "pitch": {
2794
+ "type": "number",
2795
+ "minimum": 0,
2796
+ "maximum": 180,
2797
+ "description": "Tilt angle of the surface from horizontal, between 0 and 180, where 0 means the external surface is facing up, 90 means the external surface is vertical and 180 means the external surface is facing down (unit: \u02da)"
2798
+ }
2799
+ }
2800
+ }
2801
+ }
2802
+ },
2803
+ "else": {
2804
+ "oneOf": [
2805
+ {
2806
+ "required": [
2807
+ "mid_height_air_flow_path",
2808
+ "orientation360",
2809
+ "pitch"
2810
+ ],
2811
+ "properties": {
2812
+ "mid_height_air_flow_path": {
2813
+ "type": "number",
2814
+ "minimum": 1,
2815
+ "maximum": 60,
2816
+ "description": "Mid height of air flow path relative to ventilation zone (unit: m)"
2817
+ },
2818
+ "orientation360": {
2819
+ "type": "number",
2820
+ "minimum": 0,
2821
+ "maximum": 360,
2822
+ "description": "The orientation angle of the inclined surface, expressed as the geographical azimuth angle of the horizontal projection of the inclined surface normal, 0 to 360 (unit: \u02da)"
2823
+ },
2824
+ "pitch": {
2825
+ "type": "number",
2826
+ "minimum": 0,
2827
+ "maximum": 180,
2828
+ "description": "Tilt angle of the surface from horizontal, between 0 and 180, where 0 means the external surface is facing up, 90 means the external surface is vertical and 180 means the external surface is facing down (unit: \u02da)"
2829
+ }
2830
+ }
2831
+ },
2832
+ {
2833
+ "required": [
2834
+ "position_exhaust"
2835
+ ],
2836
+ "properties": {
2837
+ "position_exhaust": {
2838
+ "type": "object",
2839
+ "properties": {
2840
+ "mid_height_air_flow_path": {
2841
+ "type": "number",
2842
+ "minimum": 1,
2843
+ "maximum": 60,
2844
+ "description": "Mid height of air flow path relative to ventilation zone (unit: m)"
2845
+ },
2846
+ "orientation360": {
2847
+ "type": "number",
2848
+ "minimum": 0,
2849
+ "maximum": 360,
2850
+ "description": "The orientation angle of the inclined surface, expressed as the geographical azimuth angle of the horizontal projection of the inclined surface normal, 0 to 360 (unit: \u02da)"
2851
+ },
2852
+ "pitch": {
2853
+ "type": "number",
2854
+ "minimum": 0,
2855
+ "maximum": 180,
2856
+ "description": "Tilt angle of the surface from horizontal, between 0 and 180, where 0 means the external surface is facing up, 90 means the external surface is vertical and 180 means the external surface is facing down (unit: \u02da)"
2857
+ }
2858
+ }
2859
+ }
2860
+ }
2861
+ }
2862
+ ]
2863
+ }
2864
+ },
2865
+ {
2866
+ "if": {
2867
+ "anyOf": [
2868
+ {
2869
+ "properties": {
2870
+ "vent_type": {
2871
+ "const": "Decentralised continuous MEV"
2872
+ }
2873
+ }
2874
+ },
2875
+ {
2876
+ "properties": {
2877
+ "vent_type": {
2878
+ "const": "Intermittent MEV"
2879
+ }
2880
+ }
2881
+ }
2882
+ ]
2883
+ },
2884
+ "then": {
2885
+ "required": [
2886
+ "SFP"
2887
+ ],
2888
+ "properties": {
2889
+ "SFP": {
2890
+ "$ref": "#/$defs/SFP"
2891
+ }
2892
+ }
2893
+ }
2894
+ },
2895
+ {
2896
+ "if": {
2897
+ "anyOf": [
2898
+ {
2899
+ "properties": {
2900
+ "vent_type": {
2901
+ "const": "Centralised continuous MEV"
2902
+ }
2903
+ }
2904
+ },
2905
+ {
2906
+ "properties": {
2907
+ "vent_type": {
2908
+ "const": "MVHR"
2909
+ }
2910
+ }
2911
+ }
2912
+ ]
2913
+ },
2914
+ "then": {
2915
+ "oneOf": [
2916
+ {
2917
+ "required": [
2918
+ "measured_fan_power",
2919
+ "measured_air_flow_rate"
2920
+ ],
2921
+ "not": {
2922
+ "required": [
2923
+ "SFP"
2924
+ ]
2925
+ }
2926
+ },
2927
+ {
2928
+ "required": [
2929
+ "SFP"
2930
+ ],
2931
+ "not": {
2932
+ "anyOf": [
2933
+ {
2934
+ "required": [
2935
+ "measured_fan_power"
2936
+ ]
2937
+ },
2938
+ {
2939
+ "required": [
2940
+ "measured_air_flow_rate"
2941
+ ]
2942
+ }
2943
+ ]
2944
+ }
2945
+ }
2946
+ ],
2947
+ "properties": {
2948
+ "measured_fan_power": {
2949
+ "type": "number"
2950
+ },
2951
+ "measured_air_flow_rate": {
2952
+ "type": "number"
2953
+ },
2954
+ "SFP": {
2955
+ "$ref": "#/$defs/SFP"
2956
+ }
2957
+ }
2958
+ }
2959
+ }
2960
+ ]
2961
+ }
2962
+ }
2963
+ }
2964
+ },
2965
+ "Zone": {
2966
+ "type": "object",
2967
+ "additionalProperties": {
2968
+ "type": "object",
2969
+ "unevaluatedProperties": false,
2970
+ "required": [
2971
+ "livingroom_area",
2972
+ "restofdwelling_area",
2973
+ "volume",
2974
+ "Lighting",
2975
+ "BuildingElement",
2976
+ "ThermalBridging"
2977
+ ],
2978
+ "properties": {
2979
+ "SpaceHeatSystem": {
2980
+ "type": [
2981
+ "string",
2982
+ "array"
2983
+ ],
2984
+ "items": {
2985
+ "type": "string"
2986
+ }
2987
+ },
2988
+ "SpaceCoolSystem": {
2989
+ "type": [
2990
+ "string",
2991
+ "array"
2992
+ ],
2993
+ "items": {
2994
+ "type": "string"
2995
+ }
2996
+ },
2997
+ "livingroom_area": {
2998
+ "type": "number",
2999
+ "minimum": 0,
3000
+ "maximum": 10000
3001
+ },
3002
+ "restofdwelling_area": {
3003
+ "type": "number",
3004
+ "minimum": 0,
3005
+ "maximum": 10000
3006
+ },
3007
+ "volume": {
3008
+ "type": "number",
3009
+ "minimum": 0,
3010
+ "maximum": 50000
3011
+ },
3012
+ "Lighting": {
3013
+ "type": "object",
3014
+ "unevaluatedProperties": false,
3015
+ "required": [
3016
+ "bulbs"
3017
+ ],
3018
+ "properties": {
3019
+ "bulbs": {
3020
+ "type": "array",
3021
+ "minItems": 1,
3022
+ "items": {
3023
+ "type": "object",
3024
+ "unevaluatedProperties": false,
3025
+ "required": [
3026
+ "count",
3027
+ "power",
3028
+ "efficacy"
3029
+ ],
3030
+ "properties": {
3031
+ "count": {
3032
+ "type": "integer",
3033
+ "minimum": 1
3034
+ },
3035
+ "power": {
3036
+ "type": "number",
3037
+ "minimum": 0
3038
+ },
3039
+ "efficacy": {
3040
+ "type": "number",
3041
+ "minimum": 0
3042
+ }
3043
+ }
3044
+ }
3045
+ }
3046
+ }
3047
+ },
3048
+ "BuildingElement": {
3049
+ "type": "object",
3050
+ "additionalProperties": {
3051
+ "type": "object",
3052
+ "unevaluatedProperties": false,
3053
+ "properties": {
3054
+ "type": {
3055
+ "enum": [
3056
+ "BuildingElementAdjacentConditionedSpace",
3057
+ "BuildingElementAdjacentUnconditionedSpace_Simple",
3058
+ "BuildingElementGround",
3059
+ "BuildingElementOpaque",
3060
+ "BuildingElementPartyWall",
3061
+ "BuildingElementTransparent"
3062
+ ]
3063
+ },
3064
+ "thermal_resistance_construction": {
3065
+ "type": "number",
3066
+ "minimum": 0.01,
3067
+ "maximum": 50
3068
+ },
3069
+ "u_value": {
3070
+ "type": "number",
3071
+ "minimum": 0.01,
3072
+ "maximum": 10
3073
+ }
3074
+ },
3075
+ "oneOf": [
3076
+ {
3077
+ "required": [
3078
+ "thermal_resistance_construction"
3079
+ ]
3080
+ },
3081
+ {
3082
+ "required": [
3083
+ "u_value"
3084
+ ]
3085
+ }
3086
+ ],
3087
+ "required": [
3088
+ "type"
3089
+ ],
3090
+ "allOf": [
3091
+ {
3092
+ "if": {
3093
+ "anyOf": [
3094
+ {
3095
+ "properties": {
3096
+ "type": {
3097
+ "const": "BuildingElementAdjacentConditionedSpace"
3098
+ }
3099
+ }
3100
+ },
3101
+ {
3102
+ "properties": {
3103
+ "type": {
3104
+ "const": "BuildingElementAdjacentUnconditionedSpace_Simple"
3105
+ }
3106
+ }
3107
+ }
3108
+ ]
3109
+ },
3110
+ "then": {
3111
+ "required": [
3112
+ "area",
3113
+ "areal_heat_capacity",
3114
+ "mass_distribution_class",
3115
+ "pitch"
3116
+ ],
3117
+ "properties": {
3118
+ "pitch": {
3119
+ "type": "number",
3120
+ "minimum": 0,
3121
+ "maximum": 180
3122
+ },
3123
+ "areal_heat_capacity": {
3124
+ "enum": [
3125
+ "Very light",
3126
+ "Light",
3127
+ "Medium",
3128
+ "Heavy",
3129
+ "Very heavy"
3130
+ ]
3131
+ },
3132
+ "mass_distribution_class": {
3133
+ "$ref": "#/$defs/MassDistributionClass"
3134
+ },
3135
+ "area": {
3136
+ "type": "number",
3137
+ "minimum": 0.01,
3138
+ "maximum": 10000
3139
+ }
3140
+ }
3141
+ }
3142
+ },
3143
+ {
3144
+ "if": {
3145
+ "properties": {
3146
+ "type": {
3147
+ "const": "BuildingElementAdjacentUnconditionedSpace_Simple"
3148
+ }
3149
+ }
3150
+ },
3151
+ "then": {
3152
+ "required": [
3153
+ "thermal_resistance_unconditioned_space"
3154
+ ],
3155
+ "properties": {
3156
+ "thermal_resistance_unconditioned_space": {
3157
+ "type": "number",
3158
+ "minimum": 0,
3159
+ "maximum": 3
3160
+ }
3161
+ }
3162
+ }
3163
+ },
3164
+ {
3165
+ "if": {
3166
+ "properties": {
3167
+ "type": {
3168
+ "const": "BuildingElementGround"
3169
+ }
3170
+ }
3171
+ },
3172
+ "then": {
3173
+ "required": [
3174
+ "u_value",
3175
+ "total_area",
3176
+ "floor_type",
3177
+ "thickness_walls",
3178
+ "perimeter",
3179
+ "psi_wall_floor_junc",
3180
+ "thermal_resistance_floor_construction",
3181
+ "areal_heat_capacity",
3182
+ "mass_distribution_class",
3183
+ "area"
3184
+ ],
3185
+ "properties": {
3186
+ "total_area": {
3187
+ "type": "number",
3188
+ "minimum": 5
3189
+ },
3190
+ "floor_type": {
3191
+ "enum": [
3192
+ "Slab_no_edge_insulation",
3193
+ "Slab_edge_insulation",
3194
+ "Suspended_floor",
3195
+ "Heated_basement",
3196
+ "Unheated_basement"
3197
+ ]
3198
+ },
3199
+ "thickness_walls": {
3200
+ "type": "number",
3201
+ "minimum": 0,
3202
+ "maximum": 100
3203
+ },
3204
+ "perimeter": {
3205
+ "type": "number",
3206
+ "minimum": 0,
3207
+ "maximum": 1000
3208
+ },
3209
+ "psi_wall_floor_junc": {
3210
+ "type": "number",
3211
+ "minimum": 0,
3212
+ "maximum": 2
3213
+ },
3214
+ "thermal_resistance_floor_construction": {
3215
+ "type": "number",
3216
+ "minimum": 0.000001,
3217
+ "maximum": 50
3218
+ },
3219
+ "areal_heat_capacity": {
3220
+ "enum": [
3221
+ "Very light",
3222
+ "Light",
3223
+ "Medium",
3224
+ "Heavy",
3225
+ "Very heavy"
3226
+ ]
3227
+ },
3228
+ "mass_distribution_class": {
3229
+ "$ref": "#/$defs/MassDistributionClass"
3230
+ },
3231
+ "area": {
3232
+ "type": "number",
3233
+ "minimum": 5,
3234
+ "maximum": 10000
3235
+ }
3236
+ },
3237
+ "allOf": [
3238
+ {
3239
+ "if": {
3240
+ "properties": {
3241
+ "floor_type": {
3242
+ "const": "Slab_edge_insulation"
3243
+ }
3244
+ }
3245
+ },
3246
+ "then": {
3247
+ "required": [
3248
+ "edge_insulation"
3249
+ ],
3250
+ "properties": {
3251
+ "edge_insulation": {
3252
+ "type": "array",
3253
+ "items": {
3254
+ "type": "object",
3255
+ "unevaluatedProperties": false,
3256
+ "required": [
3257
+ "type",
3258
+ "edge_thermal_resistance"
3259
+ ],
3260
+ "properties": {
3261
+ "type": {
3262
+ "enum": [
3263
+ "horizontal",
3264
+ "vertical"
3265
+ ]
3266
+ },
3267
+ "edge_thermal_resistance": {
3268
+ "type": "number",
3269
+ "exclusiveMinimum": 0
3270
+ }
3271
+ },
3272
+ "allOf": [
3273
+ {
3274
+ "if": {
3275
+ "properties": {
3276
+ "type": {
3277
+ "const": "horizontal"
3278
+ }
3279
+ }
3280
+ },
3281
+ "then": {
3282
+ "required": [
3283
+ "width"
3284
+ ],
3285
+ "properties": {
3286
+ "width": {
3287
+ "type": "number",
3288
+ "description": "Width of horizontal edge insulation (unit: m)",
3289
+ "exclusiveMinimum": 0
3290
+ }
3291
+ }
3292
+ }
3293
+ },
3294
+ {
3295
+ "if": {
3296
+ "properties": {
3297
+ "type": {
3298
+ "const": "vertical"
3299
+ }
3300
+ }
3301
+ },
3302
+ "then": {
3303
+ "required": [
3304
+ "depth"
3305
+ ],
3306
+ "properties": {
3307
+ "depth": {
3308
+ "type": "number",
3309
+ "description": "Depth of vertical edge insulation (unit: m)",
3310
+ "exclusiveMinimum": 0
3311
+ }
3312
+ }
3313
+ }
3314
+ }
3315
+ ]
3316
+ }
3317
+ }
3318
+ }
3319
+ }
3320
+ },
3321
+ {
3322
+ "if": {
3323
+ "properties": {
3324
+ "floor_type": {
3325
+ "const": "Suspended_floor"
3326
+ }
3327
+ }
3328
+ },
3329
+ "then": {
3330
+ "required": [
3331
+ "height_upper_surface",
3332
+ "thermal_transm_walls",
3333
+ "shield_fact_location",
3334
+ "thickness_walls",
3335
+ "thermal_resist_insul",
3336
+ "area_per_perimeter_vent"
3337
+ ],
3338
+ "properties": {
3339
+ "height_upper_surface": {
3340
+ "type": "number",
3341
+ "minimum": 0,
3342
+ "maximum": 100
3343
+ },
3344
+ "thermal_transm_walls": {
3345
+ "type": "number",
3346
+ "minimum": 0,
3347
+ "maximum": 100
3348
+ },
3349
+ "area_per_perimeter_vent": {
3350
+ "type": "number"
3351
+ },
3352
+ "shield_fact_location": {
3353
+ "enum": [
3354
+ "Sheltered",
3355
+ "Average",
3356
+ "Exposed"
3357
+ ]
3358
+ },
3359
+ "thickness_walls": {
3360
+ "type": "number",
3361
+ "minimum": 0,
3362
+ "maximum": 100
3363
+ },
3364
+ "thermal_resist_insul": {
3365
+ "type": "number",
3366
+ "minimum": 0,
3367
+ "maximum": 100
3368
+ }
3369
+ }
3370
+ }
3371
+ },
3372
+ {
3373
+ "if": {
3374
+ "anyOf": [
3375
+ {
3376
+ "properties": {
3377
+ "floor_type": {
3378
+ "const": "Heated_basement"
3379
+ }
3380
+ }
3381
+ },
3382
+ {
3383
+ "properties": {
3384
+ "floor_type": {
3385
+ "const": "Unheated_basement"
3386
+ }
3387
+ }
3388
+ }
3389
+ ]
3390
+ },
3391
+ "then": {
3392
+ "required": [
3393
+ "thickness_walls",
3394
+ "depth_basement_floor",
3395
+ "thermal_resist_walls_base"
3396
+ ],
3397
+ "properties": {
3398
+ "thickness_walls": {
3399
+ "type": "number",
3400
+ "minimum": 0,
3401
+ "maximum": 100
3402
+ },
3403
+ "depth_basement_floor": {
3404
+ "type": "number",
3405
+ "exclusiveMinimum": 0
3406
+ },
3407
+ "thermal_resist_walls_base": {
3408
+ "type": "number"
3409
+ }
3410
+ }
3411
+ }
3412
+ },
3413
+ {
3414
+ "if": {
3415
+ "properties": {
3416
+ "floor_type": {
3417
+ "const": "Unheated_basement"
3418
+ }
3419
+ }
3420
+ },
3421
+ "then": {
3422
+ "required": [
3423
+ "thermal_transm_envi_base",
3424
+ "thermal_transm_walls",
3425
+ "height_basement_walls"
3426
+ ],
3427
+ "properties": {
3428
+ "thermal_transm_envi_base": {
3429
+ "type": "number"
3430
+ },
3431
+ "thermal_transm_walls": {
3432
+ "type": "number"
3433
+ },
3434
+ "height_basement_walls": {
3435
+ "type": "number"
3436
+ }
3437
+ }
3438
+ }
3439
+ }
3440
+ ]
3441
+ }
3442
+ },
3443
+ {
3444
+ "if": {
3445
+ "properties": {
3446
+ "type": {
3447
+ "const": "BuildingElementOpaque"
3448
+ }
3449
+ }
3450
+ },
3451
+ "then": {
3452
+ "required": [
3453
+ "areal_heat_capacity",
3454
+ "mass_distribution_class",
3455
+ "base_height",
3456
+ "height",
3457
+ "width",
3458
+ "area",
3459
+ "pitch"
3460
+ ],
3461
+ "properties": {
3462
+ "pitch": {
3463
+ "type": "number",
3464
+ "minimum": 0,
3465
+ "maximum": 180
3466
+ },
3467
+ "is_unheated_pitched_roof": {
3468
+ "type": "boolean"
3469
+ },
3470
+ "is_external_door": {
3471
+ "type": "boolean"
3472
+ },
3473
+ "colour": {
3474
+ "enum": [
3475
+ "Light",
3476
+ "Intermediate",
3477
+ "Dark"
3478
+ ]
3479
+ },
3480
+ "areal_heat_capacity": {
3481
+ "enum": [
3482
+ "Very light",
3483
+ "Light",
3484
+ "Medium",
3485
+ "Heavy",
3486
+ "Very heavy"
3487
+ ]
3488
+ },
3489
+ "mass_distribution_class": {
3490
+ "$ref": "#/$defs/MassDistributionClass"
3491
+ },
3492
+ "base_height": {
3493
+ "type": "number",
3494
+ "minimum": 0,
3495
+ "maximum": 500
3496
+ },
3497
+ "height": {
3498
+ "type": "number",
3499
+ "minimum": 0.001,
3500
+ "maximum": 50
3501
+ },
3502
+ "width": {
3503
+ "type": "number",
3504
+ "minimum": 0.001,
3505
+ "maximum": 100
3506
+ },
3507
+ "area": {
3508
+ "type": "number",
3509
+ "minimum": 0.01,
3510
+ "maximum": 10000
3511
+ }
3512
+ },
3513
+ "allOf": [
3514
+ {
3515
+ "if": {
3516
+ "properties": {
3517
+ "pitch": {
3518
+ "type": "number",
3519
+ "maximum": 60
3520
+ }
3521
+ }
3522
+ },
3523
+ "then": {
3524
+ "required": [
3525
+ "is_unheated_pitched_roof",
3526
+ "colour"
3527
+ ]
3528
+ }
3529
+ },
3530
+ {
3531
+ "if": {
3532
+ "properties": {
3533
+ "pitch": {
3534
+ "type": "number",
3535
+ "minimum": 60,
3536
+ "maximum": 120
3537
+ }
3538
+ }
3539
+ },
3540
+ "then": {
3541
+ "required": [
3542
+ "is_external_door",
3543
+ "colour"
3544
+ ]
3545
+ }
3546
+ },
3547
+ {
3548
+ "if": {
3549
+ "not": {
3550
+ "anyOf": [
3551
+ {
3552
+ "properties": {
3553
+ "pitch": {
3554
+ "const": 0
3555
+ }
3556
+ }
3557
+ },
3558
+ {
3559
+ "properties": {
3560
+ "pitch": {
3561
+ "const": 180
3562
+ }
3563
+ }
3564
+ }
3565
+ ]
3566
+ }
3567
+ },
3568
+ "then": {
3569
+ "required": [
3570
+ "orientation360"
3571
+ ],
3572
+ "properties": {
3573
+ "orientation360": {
3574
+ "type": "integer",
3575
+ "minimum": 0,
3576
+ "maximum": 360,
3577
+ "description": "Degrees from north. Required for any element with a non-flat (0 or 180) pitch"
3578
+ }
3579
+ }
3580
+ }
3581
+ }
3582
+ ]
3583
+ }
3584
+ },
3585
+ {
3586
+ "if": {
3587
+ "properties": {
3588
+ "type": {
3589
+ "const": "BuildingElementPartyWall"
3590
+ }
3591
+ }
3592
+ },
3593
+ "then": {
3594
+ "required": [
3595
+ "area",
3596
+ "areal_heat_capacity",
3597
+ "mass_distribution_class",
3598
+ "pitch",
3599
+ "type",
3600
+ "party_wall_cavity_type"
3601
+ ],
3602
+ "properties": {
3603
+ "area": {
3604
+ "description": "Area of the building element (m\u00b2), must be positive",
3605
+ "exclusiveMinimum": 0,
3606
+ "title": "Area",
3607
+ "type": "number"
3608
+ },
3609
+ "areal_heat_capacity": {
3610
+ "enum": [
3611
+ "Very light",
3612
+ "Light",
3613
+ "Medium",
3614
+ "Heavy",
3615
+ "Very heavy"
3616
+ ]
3617
+ },
3618
+ "mass_distribution_class": {
3619
+ "$ref": "#/$defs/MassDistributionClass"
3620
+ },
3621
+ "pitch": {
3622
+ "description": "Tilt angle of the surface from horizontal, between 60 and 120 degrees (wall range), where 90 means vertical (unit: \u00b0)",
3623
+ "maximum": 120.0,
3624
+ "minimum": 60.0,
3625
+ "title": "Pitch",
3626
+ "type": "number"
3627
+ },
3628
+ "party_wall_cavity_type": {
3629
+ "$ref": "#/$defs/PartyWallCavityType",
3630
+ "description": "Type of party wall cavity construction affecting heat loss through air movement"
3631
+ }
3632
+ },
3633
+ "allOf": [
3634
+ {
3635
+ "if": {
3636
+ "anyOf": [
3637
+ {
3638
+ "properties": {
3639
+ "party_wall_cavity_type": {
3640
+ "const": "unfilled_unsealed"
3641
+ }
3642
+ }
3643
+ },
3644
+ {
3645
+ "properties": {
3646
+ "party_wall_cavity_type": {
3647
+ "const": "unfilled_sealed"
3648
+ }
3649
+ }
3650
+ },
3651
+ {
3652
+ "properties": {
3653
+ "party_wall_cavity_type": {
3654
+ "const": "filled_unsealed"
3655
+ }
3656
+ }
3657
+ }
3658
+ ]
3659
+ },
3660
+ "then": {
3661
+ "required": [
3662
+ "party_wall_lining_type"
3663
+ ],
3664
+ "properties": {
3665
+ "party_wall_lining_type": {
3666
+ "$ref": "#/$defs/PartyWallLiningType",
3667
+ "description": "Type of party wall lining. Required only when party_wall_cavity_type is unfilled_unsealed, unfilled_sealed, or filled_unsealed"
3668
+ }
3669
+ }
3670
+ }
3671
+ },
3672
+ {
3673
+ "if": {
3674
+ "properties": {
3675
+ "party_wall_cavity_type": {
3676
+ "const": "defined_resistance"
3677
+ }
3678
+ }
3679
+ },
3680
+ "then": {
3681
+ "required": [
3682
+ "thermal_resistance_cavity"
3683
+ ],
3684
+ "properties": {
3685
+ "thermal_resistance_cavity": {
3686
+ "type": "number",
3687
+ "exclusiveMinimum": 0,
3688
+ "description": "Effective thermal resistance of the party wall cavity (unit: m\u00b2.K/W). Required only when party_wall_cavity_type is 'defined_resistance'. For other cavity types, this is calculated automatically.",
3689
+ "title": "Thermal Resistance Cavity"
3690
+ }
3691
+ }
3692
+ }
3693
+ }
3694
+ ]
3695
+ }
3696
+ },
3697
+ {
3698
+ "if": {
3699
+ "properties": {
3700
+ "type": {
3701
+ "const": "BuildingElementTransparent"
3702
+ }
3703
+ }
3704
+ },
3705
+ "then": {
3706
+ "required": [
3707
+ "frame_area_fraction",
3708
+ "g_value",
3709
+ "mid_height",
3710
+ "max_window_open_area",
3711
+ "security_risk",
3712
+ "window_part_list",
3713
+ "shading",
3714
+ "base_height",
3715
+ "height",
3716
+ "width",
3717
+ "free_area_height",
3718
+ "pitch"
3719
+ ],
3720
+ "properties": {
3721
+ "pitch": {
3722
+ "type": "number",
3723
+ "minimum": 0,
3724
+ "maximum": 180
3725
+ },
3726
+ "frame_area_fraction": {
3727
+ "type": "number",
3728
+ "minimum": 0,
3729
+ "maximum": 1
3730
+ },
3731
+ "g_value": {
3732
+ "type": "number",
3733
+ "minimum": 0,
3734
+ "maximum": 1
3735
+ },
3736
+ "free_area_height": {
3737
+ "type": "number",
3738
+ "minimum": 0,
3739
+ "maximum": 100
3740
+ },
3741
+ "mid_height": {
3742
+ "type": "number",
3743
+ "exclusiveMinimum": 0,
3744
+ "maximum": 100
3745
+ },
3746
+ "max_window_open_area": {
3747
+ "type": "number",
3748
+ "minimum": 0,
3749
+ "maximum": 100
3750
+ },
3751
+ "security_risk": {
3752
+ "type": "boolean"
3753
+ },
3754
+ "window_part_list": {
3755
+ "type": "array",
3756
+ "items": {
3757
+ "type": "object",
3758
+ "unevaluatedProperties": false,
3759
+ "required": [
3760
+ "mid_height_air_flow_path"
3761
+ ],
3762
+ "properties": {
3763
+ "mid_height_air_flow_path": {
3764
+ "type": "number",
3765
+ "minimum": 0,
3766
+ "maximum": 100
3767
+ }
3768
+ }
3769
+ }
3770
+ },
3771
+ "shading": {
3772
+ "$ref": "#/$defs/WindowShading"
3773
+ },
3774
+ "treatment": {
3775
+ "type": "array",
3776
+ "items": {
3777
+ "type": "object",
3778
+ "unevaluatedProperties": false,
3779
+ "required": [
3780
+ "type",
3781
+ "controls",
3782
+ "delta_r",
3783
+ "trans_red"
3784
+ ],
3785
+ "properties": {
3786
+ "type": {
3787
+ "enum": [
3788
+ "curtains",
3789
+ "blinds"
3790
+ ]
3791
+ },
3792
+ "controls": {
3793
+ "enum": [
3794
+ "auto_motorised",
3795
+ "manual"
3796
+ ]
3797
+ },
3798
+ "delta_r": {
3799
+ "type": "number",
3800
+ "exclusiveMinimum": 0,
3801
+ "maximum": 100
3802
+ },
3803
+ "trans_red": {
3804
+ "type": "number",
3805
+ "minimum": 0,
3806
+ "maximum": 1
3807
+ }
3808
+ }
3809
+ }
3810
+ },
3811
+ "base_height": {
3812
+ "type": "number",
3813
+ "minimum": 0,
3814
+ "maximum": 500
3815
+ },
3816
+ "height": {
3817
+ "type": "number",
3818
+ "minimum": 0.001,
3819
+ "maximum": 50
3820
+ },
3821
+ "width": {
3822
+ "type": "number",
3823
+ "minimum": 0.001,
3824
+ "maximum": 100
3825
+ }
3826
+ },
3827
+ "if": {
3828
+ "not": {
3829
+ "anyOf": [
3830
+ {
3831
+ "properties": {
3832
+ "pitch": {
3833
+ "const": 0
3834
+ }
3835
+ }
3836
+ },
3837
+ {
3838
+ "properties": {
3839
+ "pitch": {
3840
+ "const": 180
3841
+ }
3842
+ }
3843
+ }
3844
+ ]
3845
+ }
3846
+ },
3847
+ "then": {
3848
+ "required": [
3849
+ "orientation360"
3850
+ ],
3851
+ "properties": {
3852
+ "orientation360": {
3853
+ "type": "integer",
3854
+ "minimum": 0,
3855
+ "maximum": 360,
3856
+ "description": "Degrees from north. Required for any element with a non-flat (0 or 180) pitch"
3857
+ }
3858
+ }
3859
+ }
3860
+ }
3861
+ }
3862
+ ]
3863
+ }
3864
+ },
3865
+ "ThermalBridging": {
3866
+ "type": [
3867
+ "object",
3868
+ "number"
3869
+ ],
3870
+ "additionalProperties": {
3871
+ "type": "object",
3872
+ "unevaluatedProperties": false,
3873
+ "properties": {
3874
+ "type": {
3875
+ "enum": [
3876
+ "ThermalBridgeLinear",
3877
+ "ThermalBridgePoint"
3878
+ ]
3879
+ }
3880
+ },
3881
+ "required": [
3882
+ "type"
3883
+ ],
3884
+ "allOf": [
3885
+ {
3886
+ "if": {
3887
+ "properties": {
3888
+ "type": {
3889
+ "const": "ThermalBridgeLinear"
3890
+ }
3891
+ }
3892
+ },
3893
+ "then": {
3894
+ "required": [
3895
+ "linear_thermal_transmittance",
3896
+ "length",
3897
+ "junction_type"
3898
+ ],
3899
+ "properties": {
3900
+ "linear_thermal_transmittance": {
3901
+ "type": "number"
3902
+ },
3903
+ "length": {
3904
+ "type": "number",
3905
+ "minimum": 0,
3906
+ "maximum": 10000
3907
+ },
3908
+ "junction_type": {
3909
+ "enum": [
3910
+ "E1",
3911
+ "E2",
3912
+ "E3",
3913
+ "E4",
3914
+ "E5",
3915
+ "E6",
3916
+ "E7",
3917
+ "E8",
3918
+ "E9",
3919
+ "E10",
3920
+ "E11",
3921
+ "E12",
3922
+ "E13",
3923
+ "E14",
3924
+ "E15",
3925
+ "E16",
3926
+ "E17",
3927
+ "E18",
3928
+ "E19",
3929
+ "E20",
3930
+ "E21",
3931
+ "E22",
3932
+ "E23",
3933
+ "E24",
3934
+ "E25",
3935
+ "P1",
3936
+ "P2",
3937
+ "P3",
3938
+ "P4",
3939
+ "P5",
3940
+ "P6",
3941
+ "P7",
3942
+ "P8",
3943
+ "R1",
3944
+ "R2",
3945
+ "R3",
3946
+ "R4",
3947
+ "R5",
3948
+ "R6",
3949
+ "R7",
3950
+ "R8",
3951
+ "R9",
3952
+ "R10",
3953
+ "R11"
3954
+ ]
3955
+ }
3956
+ }
3957
+ }
3958
+ },
3959
+ {
3960
+ "if": {
3961
+ "properties": {
3962
+ "type": {
3963
+ "const": "ThermalBridgePoint"
3964
+ }
3965
+ }
3966
+ },
3967
+ "then": {
3968
+ "required": [
3969
+ "heat_transfer_coeff"
3970
+ ],
3971
+ "properties": {
3972
+ "heat_transfer_coeff": {
3973
+ "type": "number",
3974
+ "minimum": 0,
3975
+ "maximum": 2
3976
+ }
3977
+ }
3978
+ }
3979
+ }
3980
+ ]
3981
+ }
3982
+ }
3983
+ }
3984
+ },
3985
+ "minProperties": 1,
3986
+ "maxProperties": 1
3987
+ }
3988
+ },
3989
+ "if": {
3990
+ "properties": {
3991
+ "PartO_active_cooling_required": {
3992
+ "const": true
3993
+ }
3994
+ }
3995
+ },
3996
+ "then": {
3997
+ "properties": {
3998
+ "Zone": {
3999
+ "type": "object",
4000
+ "additionalProperties": {
4001
+ "required": [
4002
+ "SpaceCoolSystem"
4003
+ ]
4004
+ }
4005
+ }
4006
+ }
4007
+ },
4008
+ "required": [
4009
+ "PartGcompliance",
4010
+ "BuildingLength",
4011
+ "BuildingWidth",
4012
+ "NumberOfBedrooms",
4013
+ "NumberOfWetRooms",
4014
+ "NumberOfHotTappedRooms",
4015
+ "NumberOfUtilityRooms",
4016
+ "NumberOfBathrooms",
4017
+ "NumberOfSanitaryAccommodations",
4018
+ "NumberOfHabitableRooms",
4019
+ "HeatingControlType",
4020
+ "KitchenExtractorHoodExternal",
4021
+ "ExternalConditions",
4022
+ "Appliances",
4023
+ "ColdWaterSource",
4024
+ "EnergySupply",
4025
+ "HotWaterSource",
4026
+ "HotWaterDemand",
4027
+ "Events",
4028
+ "SpaceHeatSystem",
4029
+ "General",
4030
+ "InfiltrationVentilation",
4031
+ "Zone"
4032
+ ],
4033
+ "$defs": {
4034
+ "ElectricityFuelProperties": {
4035
+ "properties": {
4036
+ "priority": {
4037
+ "items": {
4038
+ "$ref": "#/$defs/EnergySupplyPriorityEntry"
4039
+ },
4040
+ "title": "Priority",
4041
+ "type": "array"
4042
+ },
4043
+ "is_export_capable": {
4044
+ "type": "boolean"
4045
+ },
4046
+ "ElectricBattery": {
4047
+ "type": "object",
4048
+ "unevaluatedProperties": false,
4049
+ "required": [
4050
+ "capacity",
4051
+ "charge_discharge_efficiency_round_trip",
4052
+ "minimum_charge_rate_one_way_trip",
4053
+ "maximum_charge_rate_one_way_trip",
4054
+ "maximum_discharge_rate_one_way_trip",
4055
+ "battery_location"
4056
+ ],
4057
+ "properties": {
4058
+ "capacity": {
4059
+ "type": "number",
4060
+ "exclusiveMinimum": 0,
4061
+ "maximum": 50
4062
+ },
4063
+ "charge_discharge_efficiency_round_trip": {
4064
+ "type": "number",
4065
+ "exclusiveMinimum": 0,
4066
+ "maximum": 1
4067
+ },
4068
+ "minimum_charge_rate_one_way_trip": {
4069
+ "type": "number",
4070
+ "minimum": 0
4071
+ },
4072
+ "maximum_charge_rate_one_way_trip": {
4073
+ "type": "number",
4074
+ "exclusiveMinimum": 0
4075
+ },
4076
+ "maximum_discharge_rate_one_way_trip": {
4077
+ "type": "number",
4078
+ "exclusiveMinimum": 0
4079
+ },
4080
+ "battery_location": {
4081
+ "enum": [
4082
+ "inside",
4083
+ "outside"
4084
+ ]
4085
+ }
4086
+ }
4087
+ },
4088
+ "diverter": {
4089
+ "type": "object",
4090
+ "unevaluatedProperties": false,
4091
+ "required": [
4092
+ "HeatSource"
4093
+ ],
4094
+ "properties": {
4095
+ "HeatSource": {
4096
+ "type": "string"
4097
+ }
4098
+ }
4099
+ }
4100
+ }
4101
+ },
4102
+ "EnergySupplyPriorityEntry": {
4103
+ "enum": [
4104
+ "ElectricBattery",
4105
+ "diverter"
4106
+ ],
4107
+ "title": "EnergySupplyPriorityEntry",
4108
+ "type": "string"
4109
+ },
4110
+ "MassDistributionClass": {
4111
+ "enum": [
4112
+ "I: Mass concentrated at internal side",
4113
+ "E: Mass concentrated at external side",
4114
+ "IE: Mass divided over internal and external side",
4115
+ "D: Mass equally distributed",
4116
+ "M: Mass concentrated inside"
4117
+ ],
4118
+ "title": "MassDistributionClass",
4119
+ "type": "string"
4120
+ },
4121
+ "BoilerCostScheduleHybrid": {
4122
+ "additionalProperties": false,
4123
+ "properties": {
4124
+ "cost_schedule_boiler": {
4125
+ "$ref": "#/$defs/ScheduleForDouble",
4126
+ "description": "Cost data for the fuel used by the hybrid's boiler (can be any units, typically p/kWh)"
4127
+ },
4128
+ "cost_schedule_hp": {
4129
+ "$ref": "#/$defs/ScheduleForDouble",
4130
+ "description": "Cost data for the fuel used by the hybrid's heat pump (can be any units, typically p/kWh)"
4131
+ },
4132
+ "cost_schedule_start_day": {
4133
+ "description": "Day on which the cost data series begins",
4134
+ "maximum": 365,
4135
+ "minimum": 0,
4136
+ "title": "Cost Schedule Start Day",
4137
+ "type": "integer"
4138
+ },
4139
+ "cost_schedule_time_series_step": {
4140
+ "description": "Time step of the cost data series",
4141
+ "title": "Cost Schedule Time Series Step",
4142
+ "type": "number"
4143
+ }
4144
+ },
4145
+ "required": [
4146
+ "cost_schedule_boiler",
4147
+ "cost_schedule_hp",
4148
+ "cost_schedule_start_day",
4149
+ "cost_schedule_time_series_step"
4150
+ ],
4151
+ "title": "BoilerCostScheduleHybrid",
4152
+ "type": "object"
4153
+ },
4154
+ "SFP": {
4155
+ "type": "number",
4156
+ "exclusiveMinimum": 0,
4157
+ "description": "Specific fan power, assumed inclusive of any in use factors unless SFP_in_use_factor also provided (unit: W/l/s)"
4158
+ },
4159
+ "ScheduleForDouble": {
4160
+ "additionalProperties": {
4161
+ "items": {
4162
+ "$ref": "#/$defs/ScheduleEntryForDouble"
4163
+ },
4164
+ "type": "array"
4165
+ },
4166
+ "description": "A dictionary of schedule entries where:\n- Keys are user-defined names (e.g., \"main\", \"week\", \"weekday\", \"weekend\")\n- Values are lists of ScheduleEntryForDouble\n- The \"main\" entry is required",
4167
+ "title": "ScheduleForDouble",
4168
+ "type": "object"
4169
+ },
4170
+ "ScheduleEntryForDouble": {
4171
+ "anyOf": [
4172
+ {
4173
+ "type": "number"
4174
+ },
4175
+ {
4176
+ "$ref": "#/$defs/ScheduleRepeaterForDouble"
4177
+ },
4178
+ {
4179
+ "type": "string"
4180
+ },
4181
+ {
4182
+ "type": "null"
4183
+ }
4184
+ ],
4185
+ "description": "A schedule entry that can be a direct value, repeating pattern, or reference.\n\nExamples:\n # Direct float value (temperature setpoint)\n 21.5\n\n # Repeating pattern (21.5\u00b0C for 8 hours, 18\u00b0C for 16 hours)\n {\"repeat\": 24, \"value\": 21.5}\n\n # Reference to another schedule\n \"weekday_temp_schedule\"\n\n # Complex repeating pattern with reference\n {\"repeat\": 7, \"value\": \"daily_temp_pattern\"}\n\n # Power level schedule\n 2.5 # 2.5 kW constant power",
4186
+ "title": "ScheduleEntryForDouble"
4187
+ },
4188
+ "ScheduleRepeaterForDouble": {
4189
+ "additionalProperties": false,
4190
+ "description": "Defines a repeating pattern for double (float) schedule values.\n\nExamples:\n # Repeat temperature setpoint 21.5\u00b0C 24 times (once per hour)\n {\"repeat\": 24, \"value\": 21.5}\n\n # Reference another schedule, repeat 7 times (once per day)\n {\"repeat\": 7, \"value\": \"weekday_temp_schedule\"}\n\n # Repeat power level 2.5 kW for 8 hours\n {\"repeat\": 8, \"value\": 2.5}",
4191
+ "properties": {
4192
+ "repeat": {
4193
+ "description": "Number of times to repeat the value",
4194
+ "minimum": 1,
4195
+ "title": "Repeat",
4196
+ "type": "integer"
4197
+ },
4198
+ "value": {
4199
+ "$ref": "#/$defs/ScheduleRepeaterValueForDouble",
4200
+ "description": "Value to repeat or schedule reference"
4201
+ }
4202
+ },
4203
+ "required": [
4204
+ "repeat",
4205
+ "value"
4206
+ ],
4207
+ "title": "ScheduleRepeaterForDouble",
4208
+ "type": "object"
4209
+ },
4210
+ "ScheduleRepeaterValueForDouble": {
4211
+ "anyOf": [
4212
+ {
4213
+ "type": "string"
4214
+ },
4215
+ {
4216
+ "$ref": "#/$defs/ScheduleRepeaterEntryForDouble"
4217
+ }
4218
+ ],
4219
+ "title": "ScheduleRepeaterValueForDouble"
4220
+ },
4221
+ "ScheduleRepeaterEntryForDouble": {
4222
+ "anyOf": [
4223
+ {
4224
+ "type": "number"
4225
+ },
4226
+ {
4227
+ "type": "null"
4228
+ }
4229
+ ],
4230
+ "title": "ScheduleRepeaterEntryForDouble"
4231
+ },
4232
+ "PartyWallCavityType": {
4233
+ "description": "Types of party wall cavity configurations",
4234
+ "enum": [
4235
+ "solid",
4236
+ "unfilled_unsealed",
4237
+ "unfilled_sealed",
4238
+ "filled_sealed",
4239
+ "filled_unsealed",
4240
+ "defined_resistance"
4241
+ ],
4242
+ "title": "PartyWallCavityType",
4243
+ "type": "string"
4244
+ },
4245
+ "PartyWallLiningType": {
4246
+ "description": "Types of party wall lining",
4247
+ "enum": [
4248
+ "wet_plaster",
4249
+ "dry_lined"
4250
+ ],
4251
+ "title": "PartyWallLiningType",
4252
+ "type": "string"
4253
+ },
4254
+ "SmartHotWaterTank": {
4255
+ "$ref": "#/$defs/Tank",
4256
+ "properties": {
4257
+ "EnergySupply_pump": {
4258
+ "type": "string"
4259
+ },
4260
+ "max_flow_rate_pump_l_per_min": {
4261
+ "type": "number",
4262
+ "exclusiveMinimum": 0
4263
+ },
4264
+ "power_pump_kW": {
4265
+ "type": "number",
4266
+ "exclusiveMinimum": 0
4267
+ },
4268
+ "temp_usable": {
4269
+ "type": "number",
4270
+ "minimum": 0,
4271
+ "maximum": 100
4272
+ }
4273
+ },
4274
+ "required": [
4275
+ "EnergySupply_pump",
4276
+ "max_flow_rate_pump_l_per_min",
4277
+ "power_pump_kW",
4278
+ "temp_usable"
4279
+ ]
4280
+ },
4281
+ "StorageTank": {
4282
+ "$ref": "#/$defs/Tank",
4283
+ "properties": {
4284
+ "HeatSource": {
4285
+ "additionalProperties": {
4286
+ "required": [
4287
+ "thermostat_position"
4288
+ ]
4289
+ }
4290
+ }
4291
+ }
4292
+ },
4293
+ "Tank": {
4294
+ "required": [
4295
+ "ColdWaterSource",
4296
+ "volume",
4297
+ "daily_losses",
4298
+ "HeatSource"
4299
+ ],
4300
+ "properties": {
4301
+ "ColdWaterSource": {
4302
+ "type": "string",
4303
+ "reference_to": [
4304
+ "$.cold_water_source",
4305
+ "$.pre_heated_water_source",
4306
+ "$.wwhrs"
4307
+ ]
4308
+ },
4309
+ "volume": {
4310
+ "type": "number",
4311
+ "minimum": 1,
4312
+ "maximum": 1000
4313
+ },
4314
+ "init_temp": {
4315
+ "type": "number",
4316
+ "minimum": 1,
4317
+ "maximum": 100
4318
+ },
4319
+ "daily_losses": {
4320
+ "type": "number",
4321
+ "minimum": 0.001,
4322
+ "maximum": 200
4323
+ },
4324
+ "primary_pipework": {
4325
+ "type": "array",
4326
+ "items": {
4327
+ "type": "object",
4328
+ "unevaluatedProperties": false,
4329
+ "required": [
4330
+ "location",
4331
+ "internal_diameter_mm",
4332
+ "external_diameter_mm",
4333
+ "length",
4334
+ "insulation_thermal_conductivity",
4335
+ "insulation_thickness_mm",
4336
+ "surface_reflectivity",
4337
+ "pipe_contents"
4338
+ ],
4339
+ "properties": {
4340
+ "location": {
4341
+ "enum": [
4342
+ "internal",
4343
+ "external"
4344
+ ]
4345
+ },
4346
+ "internal_diameter_mm": {
4347
+ "type": "number",
4348
+ "minimum": 5,
4349
+ "maximum": 50
4350
+ },
4351
+ "external_diameter_mm": {
4352
+ "type": "number",
4353
+ "minimum": 5,
4354
+ "maximum": 50
4355
+ },
4356
+ "length": {
4357
+ "type": "number",
4358
+ "minimum": 0.05
4359
+ },
4360
+ "insulation_thermal_conductivity": {
4361
+ "type": "number",
4362
+ "exclusiveMinimum": 0
4363
+ },
4364
+ "insulation_thickness_mm": {
4365
+ "type": "number",
4366
+ "minimum": 0
4367
+ },
4368
+ "surface_reflectivity": {
4369
+ "type": "boolean"
4370
+ },
4371
+ "pipe_contents": {
4372
+ "enum": [
4373
+ "water",
4374
+ "glycol25"
4375
+ ]
4376
+ }
4377
+ }
4378
+ }
4379
+ },
4380
+ "HeatSource": {
4381
+ "type": "object",
4382
+ "additionalProperties": {
4383
+ "type": "object",
4384
+ "unevaluatedProperties": false,
4385
+ "required": [
4386
+ "type",
4387
+ "heater_position"
4388
+ ],
4389
+ "properties": {
4390
+ "type": {
4391
+ "enum": [
4392
+ "ImmersionHeater",
4393
+ "SolarThermalSystem",
4394
+ "HeatSourceWet",
4395
+ "HeatPump_HWOnly"
4396
+ ]
4397
+ },
4398
+ "heater_position": {
4399
+ "type": "number",
4400
+ "minimum": 0,
4401
+ "maximum": 1
4402
+ },
4403
+ "thermostat_position": {
4404
+ "type": "number",
4405
+ "minimum": 0,
4406
+ "maximum": 1
4407
+ }
4408
+ },
4409
+ "allOf": [
4410
+ {
4411
+ "if": {
4412
+ "properties": {
4413
+ "type": {
4414
+ "const": "HeatPump_HWOnly"
4415
+ }
4416
+ }
4417
+ },
4418
+ "then": {
4419
+ "required": [
4420
+ "EnergySupply",
4421
+ "power_max",
4422
+ "tank_volume_declared",
4423
+ "daily_losses_declared",
4424
+ "in_use_factor_mismatch",
4425
+ "test_data"
4426
+ ],
4427
+ "properties": {
4428
+ "EnergySupply": {
4429
+ "type": "string"
4430
+ },
4431
+ "power_max": {
4432
+ "type": "number",
4433
+ "exclusiveMinimum": 0
4434
+ },
4435
+ "tank_volume_declared": {
4436
+ "type": "number",
4437
+ "exclusiveMinimum": 0
4438
+ },
4439
+ "heat_exchanger_surface_area_declared": {
4440
+ "type": "number",
4441
+ "exclusiveMinimum": 0
4442
+ },
4443
+ "daily_losses_declared": {
4444
+ "type": "number",
4445
+ "exclusiveMinimum": 0
4446
+ },
4447
+ "in_use_factor_mismatch": {
4448
+ "type": "number",
4449
+ "exclusiveMinimum": 0
4450
+ },
4451
+ "test_data": {
4452
+ "type": "object",
4453
+ "unevaluatedProperties": false,
4454
+ "patternProperties": {
4455
+ "M|L": {
4456
+ "type": "object",
4457
+ "unevaluatedProperties": false,
4458
+ "required": [
4459
+ "cop_dhw",
4460
+ "hw_tapping_prof_daily_total",
4461
+ "energy_input_measured",
4462
+ "power_standby",
4463
+ "hw_vessel_loss_daily"
4464
+ ],
4465
+ "properties": {
4466
+ "cop_dhw": {
4467
+ "type": "number",
4468
+ "exclusiveMinimum": 0
4469
+ },
4470
+ "hw_tapping_prof_daily_total": {
4471
+ "type": "number",
4472
+ "exclusiveMinimum": 0
4473
+ },
4474
+ "energy_input_measured": {
4475
+ "type": "number",
4476
+ "exclusiveMinimum": 0
4477
+ },
4478
+ "power_standby": {
4479
+ "type": "number",
4480
+ "exclusiveMinimum": 0
4481
+ },
4482
+ "hw_vessel_loss_daily": {
4483
+ "type": "number",
4484
+ "exclusiveMinimum": 0
4485
+ }
4486
+ }
4487
+ }
4488
+ }
4489
+ }
4490
+ }
4491
+ }
4492
+ },
4493
+ {
4494
+ "if": {
4495
+ "properties": {
4496
+ "type": {
4497
+ "const": "HeatSourceWet"
4498
+ }
4499
+ }
4500
+ },
4501
+ "then": {
4502
+ "required": [
4503
+ "name"
4504
+ ],
4505
+ "properties": {
4506
+ "name": {
4507
+ "type": "string"
4508
+ },
4509
+ "temp_flow_limit_upper": {
4510
+ "type": "number",
4511
+ "exclusiveMinimum": 0
4512
+ }
4513
+ }
4514
+ }
4515
+ },
4516
+ {
4517
+ "if": {
4518
+ "properties": {
4519
+ "type": {
4520
+ "const": "ImmersionHeater"
4521
+ }
4522
+ }
4523
+ },
4524
+ "then": {
4525
+ "required": [
4526
+ "power",
4527
+ "EnergySupply"
4528
+ ],
4529
+ "properties": {
4530
+ "power": {
4531
+ "type": "number",
4532
+ "minimum": 1,
4533
+ "maximum": 10
4534
+ },
4535
+ "EnergySupply": {
4536
+ "type": "string"
4537
+ }
4538
+ }
4539
+ }
4540
+ },
4541
+ {
4542
+ "if": {
4543
+ "properties": {
4544
+ "type": {
4545
+ "const": "SolarThermalSystem"
4546
+ }
4547
+ }
4548
+ },
4549
+ "then": {
4550
+ "required": [
4551
+ "sol_loc",
4552
+ "area_module",
4553
+ "modules",
4554
+ "peak_collector_efficiency",
4555
+ "incidence_angle_modifier",
4556
+ "first_order_hlc",
4557
+ "second_order_hlc",
4558
+ "collector_mass_flow_rate",
4559
+ "power_pump",
4560
+ "power_pump_control",
4561
+ "EnergySupply",
4562
+ "tilt",
4563
+ "orientation360",
4564
+ "solar_loop_piping_hlc"
4565
+ ],
4566
+ "properties": {
4567
+ "sol_loc": {
4568
+ "enum": [
4569
+ "OUT",
4570
+ "NHS",
4571
+ "HS"
4572
+ ]
4573
+ },
4574
+ "area_module": {
4575
+ "type": "number",
4576
+ "exclusiveMinimum": 0
4577
+ },
4578
+ "modules": {
4579
+ "type": "integer",
4580
+ "minimum": 1
4581
+ },
4582
+ "peak_collector_efficiency": {
4583
+ "type": "number",
4584
+ "minimum": 0.1,
4585
+ "maximum": 1
4586
+ },
4587
+ "incidence_angle_modifier": {
4588
+ "type": "number",
4589
+ "exclusiveMinimum": 0,
4590
+ "maximum": 1
4591
+ },
4592
+ "first_order_hlc": {
4593
+ "type": "number",
4594
+ "exclusiveMinimum": 0,
4595
+ "maximum": 100
4596
+ },
4597
+ "second_order_hlc": {
4598
+ "type": "number",
4599
+ "minimum": 0,
4600
+ "maximum": 10
4601
+ },
4602
+ "collector_mass_flow_rate": {
4603
+ "type": "number",
4604
+ "exclusiveMinimum": 0
4605
+ },
4606
+ "power_pump": {
4607
+ "type": "number",
4608
+ "minimum": 0,
4609
+ "maximum": 2
4610
+ },
4611
+ "power_pump_control": {
4612
+ "type": "number",
4613
+ "minimum": 0
4614
+ },
4615
+ "EnergySupply": {
4616
+ "type": "string"
4617
+ },
4618
+ "tilt": {
4619
+ "type": "number",
4620
+ "minimum": 0,
4621
+ "maximum": 90
4622
+ },
4623
+ "orientation360": {
4624
+ "type": "number",
4625
+ "minimum": 0,
4626
+ "maximum": 360
4627
+ },
4628
+ "solar_loop_piping_hlc": {
4629
+ "type": "number",
4630
+ "exclusiveMinimum": 0
4631
+ }
4632
+ }
4633
+ }
4634
+ }
4635
+ ]
4636
+ }
4637
+ }
4638
+ },
4639
+ "if": {
4640
+ "properties": {
4641
+ "HeatSource": {
4642
+ "type": "object",
4643
+ "additionalProperties": {
4644
+ "type": "object",
4645
+ "properties": {
4646
+ "type": {
4647
+ "const": "HeatPump_HWOnly"
4648
+ }
4649
+ }
4650
+ }
4651
+ }
4652
+ }
4653
+ },
4654
+ "then": {
4655
+ "required": [
4656
+ "heat_exchanger_surface_area"
4657
+ ],
4658
+ "properties": {
4659
+ "heat_exchanger_surface_area": {
4660
+ "type": "number",
4661
+ "exclusiveMinimum": 0
4662
+ }
4663
+ }
4664
+ }
4665
+ },
4666
+ "WindowShading": {
4667
+ "type": "array",
4668
+ "items": {
4669
+ "type": "object",
4670
+ "unevaluatedProperties": false,
4671
+ "required": [
4672
+ "type",
4673
+ "distance"
4674
+ ],
4675
+ "properties": {
4676
+ "type": {
4677
+ "enum": [
4678
+ "obstacle",
4679
+ "overhang",
4680
+ "sidefinleft",
4681
+ "sidefinright",
4682
+ "reveal"
4683
+ ]
4684
+ },
4685
+ "distance": {
4686
+ "type": "number",
4687
+ "minimum": 0
4688
+ }
4689
+ },
4690
+ "if": {
4691
+ "properties": {
4692
+ "type": {
4693
+ "const": "obstacle"
4694
+ }
4695
+ }
4696
+ },
4697
+ "then": {
4698
+ "required": [
4699
+ "height",
4700
+ "transparency"
4701
+ ],
4702
+ "properties": {
4703
+ "height": {
4704
+ "type": "number",
4705
+ "exclusiveMinimum": 0
4706
+ },
4707
+ "transparency": {
4708
+ "type": "number",
4709
+ "minimum": 0,
4710
+ "maximum": 1
4711
+ }
4712
+ }
4713
+ },
4714
+ "else": {
4715
+ "required": [
4716
+ "depth"
4717
+ ],
4718
+ "properties": {
4719
+ "depth": {
4720
+ "type": "number",
4721
+ "exclusiveMinimum": 0
4722
+ }
4723
+ }
4724
+ }
4725
+ }
4726
+ }
4727
+ }
4728
+ }