honeybee-openstudio 2.18.1 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 360f33826c9c5ac0030753392e25e8c49b9be52b68ec03da684fd20503c3e1f8
4
- data.tar.gz: b8d57eab2e20d6dcb19220dcca07091ffc768bd1686fa6f156a013fa5470b863
3
+ metadata.gz: 7f21b28938ef8a323d4777fe9ba4b8533c9b0eb974cc540087774800bf6e8c52
4
+ data.tar.gz: 64f4566ac4f67fafb0a36288e70c74a9e01103c7e0777e28ec315a548a55c019
5
5
  SHA512:
6
- metadata.gz: 39d194113026357c05405ee505e7f4b39711fd6cf45536195aa515fff2a7cc6dbfb22592fac28fb6c359c5e1458573697723377348be1bf90034fbf7df7262cc
7
- data.tar.gz: 95fcfdd2b144d870cebbe2e88bf2a3a139b9ae93c9fa2c0906eee93870e4d280472639ecaf19fcbd8188d09af5866e62f9f8c9f34e84717439b0fcce95a70d5a
6
+ metadata.gz: 666da49e5e041b1774b07b05a9b62105d0cb1cbf4d2aae714e60b26f042ff302382bccb0022f0d69a39d8d6100714eaa9f71f3381371a6eb9f325c81f56f2d51
7
+ data.tar.gz: 95e9649bdea4f2be63d184daf4a5dc45b406d97049fddcf6f59bcf4f7a4eafcfaaf866d505374d6ebcde974b598f701005ef36b462b2af32b351420c00f65e83
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'honeybee-openstudio'
7
- spec.version = '2.18.1'
7
+ spec.version = '2.19.0'
8
8
  spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
9
9
  spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
10
10
 
data/lib/honeybee.rb CHANGED
@@ -84,10 +84,11 @@ require 'honeybee/schedule/type_limit'
84
84
  require 'honeybee/schedule/fixed_interval'
85
85
  require 'honeybee/schedule/ruleset'
86
86
 
87
- # import the ventilation objects
87
+ # import the ventilation and internal mass objects
88
88
  require 'honeybee/ventcool/control'
89
89
  require 'honeybee/ventcool/opening'
90
90
  require 'honeybee/ventcool/simulation'
91
+ require 'honeybee/internalmass'
91
92
 
92
93
  # import the simulation objects
93
94
  require 'honeybee/simulation/design_day'
@@ -3,7 +3,7 @@
3
3
  "servers": [],
4
4
  "info": {
5
5
  "description": "Honeybee model schema.",
6
- "version": "1.43.5",
6
+ "version": "1.43.6",
7
7
  "title": "Honeybee Model Schema",
8
8
  "contact": {
9
9
  "name": "Ladybug Tools",
@@ -389,6 +389,11 @@
389
389
  "x-displayName": "InfiltrationAbridged",
390
390
  "description": "<SchemaDefinition schemaRef=\"#/components/schemas/InfiltrationAbridged\" />\n"
391
391
  },
392
+ {
393
+ "name": "internalmassabridged_model",
394
+ "x-displayName": "InternalMassAbridged",
395
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/InternalMassAbridged\" />\n"
396
+ },
392
397
  {
393
398
  "name": "light_model",
394
399
  "x-displayName": "Light",
@@ -962,6 +967,7 @@
962
967
  "idealairsystemabridged_model",
963
968
  "infiltration_model",
964
969
  "infiltrationabridged_model",
970
+ "internalmassabridged_model",
965
971
  "light_model",
966
972
  "lighting_model",
967
973
  "lightingabridged_model",
@@ -1345,6 +1351,8 @@
1345
1351
  "identifier": {
1346
1352
  "title": "Identifier",
1347
1353
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
1354
+ "minLength": 1,
1355
+ "pattern": "^[.A-Za-z0-9_-]+$",
1348
1356
  "type": "string"
1349
1357
  },
1350
1358
  "geometry": {
@@ -1485,7 +1493,7 @@
1485
1493
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, rad). This identifier is also used to reference the object across a Model. It must be < 100 characters and not contain any spaces or special characters.",
1486
1494
  "maxLength": 100,
1487
1495
  "minLength": 1,
1488
- "pattern": "[A-Za-z0-9_-]",
1496
+ "pattern": "^[.A-Za-z0-9_-]+$",
1489
1497
  "type": "string"
1490
1498
  },
1491
1499
  "geometry": {
@@ -1758,7 +1766,7 @@
1758
1766
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, rad). This identifier is also used to reference the object across a Model. It must be < 100 characters and not contain any spaces or special characters.",
1759
1767
  "maxLength": 100,
1760
1768
  "minLength": 1,
1761
- "pattern": "[A-Za-z0-9_-]",
1769
+ "pattern": "^[.A-Za-z0-9_-]+$",
1762
1770
  "type": "string"
1763
1771
  },
1764
1772
  "geometry": {
@@ -1936,7 +1944,7 @@
1936
1944
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, rad). This identifier is also used to reference the object across a Model. It must be < 100 characters and not contain any spaces or special characters.",
1937
1945
  "maxLength": 100,
1938
1946
  "minLength": 1,
1939
- "pattern": "[A-Za-z0-9_-]",
1947
+ "pattern": "^[.A-Za-z0-9_-]+$",
1940
1948
  "type": "string"
1941
1949
  },
1942
1950
  "geometry": {
@@ -2135,7 +2143,7 @@
2135
2143
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, rad). This identifier is also used to reference the object across a Model. It must be < 100 characters and not contain any spaces or special characters.",
2136
2144
  "maxLength": 100,
2137
2145
  "minLength": 1,
2138
- "pattern": "[A-Za-z0-9_-]",
2146
+ "pattern": "^[.A-Za-z0-9_-]+$",
2139
2147
  "type": "string"
2140
2148
  },
2141
2149
  "geometry": {
@@ -2245,6 +2253,7 @@
2245
2253
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2246
2254
  "maxLength": 100,
2247
2255
  "minLength": 1,
2256
+ "pattern": "^[^,;!\\n\\t]+$",
2248
2257
  "type": "string"
2249
2258
  },
2250
2259
  "people_per_area": {
@@ -2325,6 +2334,7 @@
2325
2334
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2326
2335
  "maxLength": 100,
2327
2336
  "minLength": 1,
2337
+ "pattern": "^[^,;!\\n\\t]+$",
2328
2338
  "type": "string"
2329
2339
  },
2330
2340
  "watts_per_area": {
@@ -2406,6 +2416,7 @@
2406
2416
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2407
2417
  "maxLength": 100,
2408
2418
  "minLength": 1,
2419
+ "pattern": "^[^,;!\\n\\t]+$",
2409
2420
  "type": "string"
2410
2421
  },
2411
2422
  "watts_per_area": {
@@ -2479,6 +2490,7 @@
2479
2490
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2480
2491
  "maxLength": 100,
2481
2492
  "minLength": 1,
2493
+ "pattern": "^[^,;!\\n\\t]+$",
2482
2494
  "type": "string"
2483
2495
  },
2484
2496
  "watts_per_area": {
@@ -2552,6 +2564,7 @@
2552
2564
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2553
2565
  "maxLength": 100,
2554
2566
  "minLength": 1,
2567
+ "pattern": "^[^,;!\\n\\t]+$",
2555
2568
  "type": "string"
2556
2569
  },
2557
2570
  "flow_per_area": {
@@ -2624,6 +2637,7 @@
2624
2637
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2625
2638
  "maxLength": 100,
2626
2639
  "minLength": 1,
2640
+ "pattern": "^[^,;!\\n\\t]+$",
2627
2641
  "type": "string"
2628
2642
  },
2629
2643
  "flow_per_exterior_area": {
@@ -2691,6 +2705,7 @@
2691
2705
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2692
2706
  "maxLength": 100,
2693
2707
  "minLength": 1,
2708
+ "pattern": "^[^,;!\\n\\t]+$",
2694
2709
  "type": "string"
2695
2710
  },
2696
2711
  "display_name": {
@@ -2760,6 +2775,7 @@
2760
2775
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2761
2776
  "maxLength": 100,
2762
2777
  "minLength": 1,
2778
+ "pattern": "^[^,;!\\n\\t]+$",
2763
2779
  "type": "string"
2764
2780
  },
2765
2781
  "cooling_schedule": {
@@ -2947,6 +2963,53 @@
2947
2963
  },
2948
2964
  "additionalProperties": false
2949
2965
  },
2966
+ "InternalMassAbridged": {
2967
+ "title": "InternalMassAbridged",
2968
+ "description": "Base class for all objects requiring a valid EnergyPlus identifier.",
2969
+ "type": "object",
2970
+ "properties": {
2971
+ "identifier": {
2972
+ "title": "Identifier",
2973
+ "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
2974
+ "maxLength": 100,
2975
+ "minLength": 1,
2976
+ "pattern": "^[^,;!\\n\\t]+$",
2977
+ "type": "string"
2978
+ },
2979
+ "construction": {
2980
+ "title": "Construction",
2981
+ "description": "Identifier for an OpaqueConstruction that represents the material that the internal thermal mass is composed of.",
2982
+ "maxLength": 100,
2983
+ "minLength": 1,
2984
+ "type": "string"
2985
+ },
2986
+ "area": {
2987
+ "title": "Area",
2988
+ "description": "A number representing the surface area of the internal mass that is exposed to the Room air. This value should always be in square meters regardless of what units system the parent model is a part of.",
2989
+ "exclusiveMinimum": 0,
2990
+ "type": "number",
2991
+ "format": "double"
2992
+ },
2993
+ "display_name": {
2994
+ "title": "Display Name",
2995
+ "description": "Display name of the object with no character restrictions.",
2996
+ "type": "string"
2997
+ },
2998
+ "type": {
2999
+ "title": "Type",
3000
+ "default": "InternalMassAbridged",
3001
+ "pattern": "^InternalMassAbridged$",
3002
+ "type": "string",
3003
+ "readOnly": true
3004
+ }
3005
+ },
3006
+ "required": [
3007
+ "identifier",
3008
+ "construction",
3009
+ "area"
3010
+ ],
3011
+ "additionalProperties": false
3012
+ },
2950
3013
  "RoomEnergyPropertiesAbridged": {
2951
3014
  "title": "RoomEnergyPropertiesAbridged",
2952
3015
  "description": "Base class for all objects that are not extensible with additional keys.\n\nThis effectively includes all objects except for the Properties classes\nthat are assigned to geometry objects.",
@@ -3069,6 +3132,14 @@
3069
3132
  "$ref": "#/components/schemas/VentilationControlAbridged"
3070
3133
  }
3071
3134
  ]
3135
+ },
3136
+ "internal_masses": {
3137
+ "title": "Internal Masses",
3138
+ "description": "An optional list of of InternalMass objects for thermal mass exposed to Room air. Note that internal masses assigned this way cannot \"see\" solar radiation that may potentially hit them and, as such, caution should be taken when using this component with internal mass objects that are not always in shade. Masses are factored into the the thermal calculations of the Room by undergoing heat transfer with the indoor air.",
3139
+ "type": "array",
3140
+ "items": {
3141
+ "$ref": "#/components/schemas/InternalMassAbridged"
3142
+ }
3072
3143
  }
3073
3144
  },
3074
3145
  "additionalProperties": false
@@ -3122,7 +3193,7 @@
3122
3193
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, rad). This identifier is also used to reference the object across a Model. It must be < 100 characters and not contain any spaces or special characters.",
3123
3194
  "maxLength": 100,
3124
3195
  "minLength": 1,
3125
- "pattern": "[A-Za-z0-9_-]",
3196
+ "pattern": "^[.A-Za-z0-9_-]+$",
3126
3197
  "type": "string"
3127
3198
  },
3128
3199
  "faces": {
@@ -3423,6 +3494,7 @@
3423
3494
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
3424
3495
  "maxLength": 100,
3425
3496
  "minLength": 1,
3497
+ "pattern": "^[^,;!\\n\\t]+$",
3426
3498
  "type": "string"
3427
3499
  },
3428
3500
  "display_name": {
@@ -3525,6 +3597,7 @@
3525
3597
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
3526
3598
  "maxLength": 100,
3527
3599
  "minLength": 1,
3600
+ "pattern": "^[^,;!\\n\\t]+$",
3528
3601
  "type": "string"
3529
3602
  },
3530
3603
  "thickness": {
@@ -3623,6 +3696,7 @@
3623
3696
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
3624
3697
  "maxLength": 100,
3625
3698
  "minLength": 1,
3699
+ "pattern": "^[^,;!\\n\\t]+$",
3626
3700
  "type": "string"
3627
3701
  },
3628
3702
  "r_value": {
@@ -3696,6 +3770,7 @@
3696
3770
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
3697
3771
  "maxLength": 100,
3698
3772
  "minLength": 1,
3773
+ "pattern": "^[^,;!\\n\\t]+$",
3699
3774
  "type": "string"
3700
3775
  },
3701
3776
  "materials": {
@@ -3870,6 +3945,7 @@
3870
3945
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
3871
3946
  "maxLength": 100,
3872
3947
  "minLength": 1,
3948
+ "pattern": "^[^,;!\\n\\t]+$",
3873
3949
  "type": "string"
3874
3950
  },
3875
3951
  "u_factor": {
@@ -3927,6 +4003,7 @@
3927
4003
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
3928
4004
  "maxLength": 100,
3929
4005
  "minLength": 1,
4006
+ "pattern": "^[^,;!\\n\\t]+$",
3930
4007
  "type": "string"
3931
4008
  },
3932
4009
  "display_name": {
@@ -4074,6 +4151,7 @@
4074
4151
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4075
4152
  "maxLength": 100,
4076
4153
  "minLength": 1,
4154
+ "pattern": "^[^,;!\\n\\t]+$",
4077
4155
  "type": "string"
4078
4156
  },
4079
4157
  "display_name": {
@@ -4120,6 +4198,7 @@
4120
4198
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4121
4199
  "maxLength": 100,
4122
4200
  "minLength": 1,
4201
+ "pattern": "^[^,;!\\n\\t]+$",
4123
4202
  "type": "string"
4124
4203
  },
4125
4204
  "conductivity_coeff_a": {
@@ -4240,6 +4319,7 @@
4240
4319
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4241
4320
  "maxLength": 100,
4242
4321
  "minLength": 1,
4322
+ "pattern": "^[^,;!\\n\\t]+$",
4243
4323
  "type": "string"
4244
4324
  },
4245
4325
  "gas_types": {
@@ -4300,6 +4380,7 @@
4300
4380
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4301
4381
  "maxLength": 100,
4302
4382
  "minLength": 1,
4383
+ "pattern": "^[^,;!\\n\\t]+$",
4303
4384
  "type": "string"
4304
4385
  },
4305
4386
  "materials": {
@@ -4468,6 +4549,7 @@
4468
4549
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4469
4550
  "maxLength": 100,
4470
4551
  "minLength": 1,
4552
+ "pattern": "^[^,;!\\n\\t]+$",
4471
4553
  "type": "string"
4472
4554
  },
4473
4555
  "display_name": {
@@ -4522,6 +4604,7 @@
4522
4604
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4523
4605
  "maxLength": 100,
4524
4606
  "minLength": 1,
4607
+ "pattern": "^[^,;!\\n\\t]+$",
4525
4608
  "type": "string"
4526
4609
  },
4527
4610
  "values": {
@@ -4728,6 +4811,7 @@
4728
4811
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4729
4812
  "maxLength": 100,
4730
4813
  "minLength": 1,
4814
+ "pattern": "^[^,;!\\n\\t]+$",
4731
4815
  "type": "string"
4732
4816
  },
4733
4817
  "display_name": {
@@ -4806,6 +4890,7 @@
4806
4890
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4807
4891
  "maxLength": 100,
4808
4892
  "minLength": 1,
4893
+ "pattern": "^[^,;!\\n\\t]+$",
4809
4894
  "type": "string"
4810
4895
  },
4811
4896
  "day_schedules": {
@@ -4891,6 +4976,7 @@
4891
4976
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4892
4977
  "maxLength": 100,
4893
4978
  "minLength": 1,
4979
+ "pattern": "^[^,;!\\n\\t]+$",
4894
4980
  "type": "string"
4895
4981
  },
4896
4982
  "values": {
@@ -4977,6 +5063,7 @@
4977
5063
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
4978
5064
  "maxLength": 100,
4979
5065
  "minLength": 1,
5066
+ "pattern": "^[^,;!\\n\\t]+$",
4980
5067
  "type": "string"
4981
5068
  },
4982
5069
  "display_name": {
@@ -5027,6 +5114,7 @@
5027
5114
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5028
5115
  "maxLength": 100,
5029
5116
  "minLength": 1,
5117
+ "pattern": "^[^,;!\\n\\t]+$",
5030
5118
  "type": "string"
5031
5119
  },
5032
5120
  "display_name": {
@@ -5120,6 +5208,7 @@
5120
5208
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5121
5209
  "maxLength": 100,
5122
5210
  "minLength": 1,
5211
+ "pattern": "^[^,;!\\n\\t]+$",
5123
5212
  "type": "string"
5124
5213
  },
5125
5214
  "materials": {
@@ -5163,6 +5252,7 @@
5163
5252
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5164
5253
  "maxLength": 100,
5165
5254
  "minLength": 1,
5255
+ "pattern": "^[^,;!\\n\\t]+$",
5166
5256
  "type": "string"
5167
5257
  },
5168
5258
  "materials": {
@@ -5232,6 +5322,7 @@
5232
5322
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5233
5323
  "maxLength": 100,
5234
5324
  "minLength": 1,
5325
+ "pattern": "^[^,;!\\n\\t]+$",
5235
5326
  "type": "string"
5236
5327
  },
5237
5328
  "window_construction": {
@@ -5311,6 +5402,7 @@
5311
5402
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5312
5403
  "maxLength": 100,
5313
5404
  "minLength": 1,
5405
+ "pattern": "^[^,;!\\n\\t]+$",
5314
5406
  "type": "string"
5315
5407
  },
5316
5408
  "display_name": {
@@ -5356,6 +5448,7 @@
5356
5448
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5357
5449
  "maxLength": 100,
5358
5450
  "minLength": 1,
5451
+ "pattern": "^[^,;!\\n\\t]+$",
5359
5452
  "type": "string"
5360
5453
  },
5361
5454
  "display_name": {
@@ -5519,6 +5612,7 @@
5519
5612
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5520
5613
  "maxLength": 100,
5521
5614
  "minLength": 1,
5615
+ "pattern": "^[^,;!\\n\\t]+$",
5522
5616
  "type": "string"
5523
5617
  },
5524
5618
  "display_name": {
@@ -5781,6 +5875,7 @@
5781
5875
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5782
5876
  "maxLength": 100,
5783
5877
  "minLength": 1,
5878
+ "pattern": "^[^,;!\\n\\t]+$",
5784
5879
  "type": "string"
5785
5880
  },
5786
5881
  "window_construction": {
@@ -5898,6 +5993,7 @@
5898
5993
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
5899
5994
  "maxLength": 100,
5900
5995
  "minLength": 1,
5996
+ "pattern": "^[^,;!\\n\\t]+$",
5901
5997
  "type": "string"
5902
5998
  },
5903
5999
  "display_name": {
@@ -6082,6 +6178,7 @@
6082
6178
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6083
6179
  "maxLength": 100,
6084
6180
  "minLength": 1,
6181
+ "pattern": "^[^,;!\\n\\t]+$",
6085
6182
  "type": "string"
6086
6183
  },
6087
6184
  "display_name": {
@@ -6175,6 +6272,7 @@
6175
6272
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6176
6273
  "maxLength": 100,
6177
6274
  "minLength": 1,
6275
+ "pattern": "^[^,;!\\n\\t]+$",
6178
6276
  "type": "string"
6179
6277
  },
6180
6278
  "display_name": {
@@ -6283,6 +6381,7 @@
6283
6381
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6284
6382
  "maxLength": 100,
6285
6383
  "minLength": 1,
6384
+ "pattern": "^[^,;!\\n\\t]+$",
6286
6385
  "type": "string"
6287
6386
  },
6288
6387
  "display_name": {
@@ -6382,6 +6481,7 @@
6382
6481
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6383
6482
  "maxLength": 100,
6384
6483
  "minLength": 1,
6484
+ "pattern": "^[^,;!\\n\\t]+$",
6385
6485
  "type": "string"
6386
6486
  },
6387
6487
  "display_name": {
@@ -6438,6 +6538,7 @@
6438
6538
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6439
6539
  "maxLength": 100,
6440
6540
  "minLength": 1,
6541
+ "pattern": "^[^,;!\\n\\t]+$",
6441
6542
  "type": "string"
6442
6543
  },
6443
6544
  "display_name": {
@@ -6544,6 +6645,7 @@
6544
6645
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6545
6646
  "maxLength": 100,
6546
6647
  "minLength": 1,
6648
+ "pattern": "^[^,;!\\n\\t]+$",
6547
6649
  "type": "string"
6548
6650
  },
6549
6651
  "display_name": {
@@ -6634,6 +6736,7 @@
6634
6736
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6635
6737
  "maxLength": 100,
6636
6738
  "minLength": 1,
6739
+ "pattern": "^[^,;!\\n\\t]+$",
6637
6740
  "type": "string"
6638
6741
  },
6639
6742
  "display_name": {
@@ -6721,6 +6824,7 @@
6721
6824
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6722
6825
  "maxLength": 100,
6723
6826
  "minLength": 1,
6827
+ "pattern": "^[^,;!\\n\\t]+$",
6724
6828
  "type": "string"
6725
6829
  },
6726
6830
  "display_name": {
@@ -6825,6 +6929,7 @@
6825
6929
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6826
6930
  "maxLength": 100,
6827
6931
  "minLength": 1,
6932
+ "pattern": "^[^,;!\\n\\t]+$",
6828
6933
  "type": "string"
6829
6934
  },
6830
6935
  "display_name": {
@@ -6884,6 +6989,7 @@
6884
6989
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6885
6990
  "maxLength": 100,
6886
6991
  "minLength": 1,
6992
+ "pattern": "^[^,;!\\n\\t]+$",
6887
6993
  "type": "string"
6888
6994
  },
6889
6995
  "display_name": {
@@ -6940,6 +7046,7 @@
6940
7046
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
6941
7047
  "maxLength": 100,
6942
7048
  "minLength": 1,
7049
+ "pattern": "^[^,;!\\n\\t]+$",
6943
7050
  "type": "string"
6944
7051
  },
6945
7052
  "display_name": {
@@ -6999,6 +7106,7 @@
6999
7106
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7000
7107
  "maxLength": 100,
7001
7108
  "minLength": 1,
7109
+ "pattern": "^[^,;!\\n\\t]+$",
7002
7110
  "type": "string"
7003
7111
  },
7004
7112
  "display_name": {
@@ -7061,6 +7169,7 @@
7061
7169
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7062
7170
  "maxLength": 100,
7063
7171
  "minLength": 1,
7172
+ "pattern": "^[^,;!\\n\\t]+$",
7064
7173
  "type": "string"
7065
7174
  },
7066
7175
  "display_name": {
@@ -7125,6 +7234,7 @@
7125
7234
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7126
7235
  "maxLength": 100,
7127
7236
  "minLength": 1,
7237
+ "pattern": "^[^,;!\\n\\t]+$",
7128
7238
  "type": "string"
7129
7239
  },
7130
7240
  "display_name": {
@@ -7187,6 +7297,7 @@
7187
7297
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7188
7298
  "maxLength": 100,
7189
7299
  "minLength": 1,
7300
+ "pattern": "^[^,;!\\n\\t]+$",
7190
7301
  "type": "string"
7191
7302
  },
7192
7303
  "display_name": {
@@ -7243,6 +7354,7 @@
7243
7354
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7244
7355
  "maxLength": 100,
7245
7356
  "minLength": 1,
7357
+ "pattern": "^[^,;!\\n\\t]+$",
7246
7358
  "type": "string"
7247
7359
  },
7248
7360
  "display_name": {
@@ -7291,6 +7403,7 @@
7291
7403
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7292
7404
  "maxLength": 100,
7293
7405
  "minLength": 1,
7406
+ "pattern": "^[^,;!\\n\\t]+$",
7294
7407
  "type": "string"
7295
7408
  },
7296
7409
  "display_name": {
@@ -7393,6 +7506,7 @@
7393
7506
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7394
7507
  "maxLength": 100,
7395
7508
  "minLength": 1,
7509
+ "pattern": "^[^,;!\\n\\t]+$",
7396
7510
  "type": "string"
7397
7511
  },
7398
7512
  "people_per_area": {
@@ -7483,6 +7597,7 @@
7483
7597
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7484
7598
  "maxLength": 100,
7485
7599
  "minLength": 1,
7600
+ "pattern": "^[^,;!\\n\\t]+$",
7486
7601
  "type": "string"
7487
7602
  },
7488
7603
  "watts_per_area": {
@@ -7569,6 +7684,7 @@
7569
7684
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7570
7685
  "maxLength": 100,
7571
7686
  "minLength": 1,
7687
+ "pattern": "^[^,;!\\n\\t]+$",
7572
7688
  "type": "string"
7573
7689
  },
7574
7690
  "watts_per_area": {
@@ -7647,6 +7763,7 @@
7647
7763
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7648
7764
  "maxLength": 100,
7649
7765
  "minLength": 1,
7766
+ "pattern": "^[^,;!\\n\\t]+$",
7650
7767
  "type": "string"
7651
7768
  },
7652
7769
  "watts_per_area": {
@@ -7725,6 +7842,7 @@
7725
7842
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7726
7843
  "maxLength": 100,
7727
7844
  "minLength": 1,
7845
+ "pattern": "^[^,;!\\n\\t]+$",
7728
7846
  "type": "string"
7729
7847
  },
7730
7848
  "flow_per_area": {
@@ -7802,6 +7920,7 @@
7802
7920
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7803
7921
  "maxLength": 100,
7804
7922
  "minLength": 1,
7923
+ "pattern": "^[^,;!\\n\\t]+$",
7805
7924
  "type": "string"
7806
7925
  },
7807
7926
  "flow_per_exterior_area": {
@@ -7874,6 +7993,7 @@
7874
7993
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7875
7994
  "maxLength": 100,
7876
7995
  "minLength": 1,
7996
+ "pattern": "^[^,;!\\n\\t]+$",
7877
7997
  "type": "string"
7878
7998
  },
7879
7999
  "display_name": {
@@ -7948,6 +8068,7 @@
7948
8068
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
7949
8069
  "maxLength": 100,
7950
8070
  "minLength": 1,
8071
+ "pattern": "^[^,;!\\n\\t]+$",
7951
8072
  "type": "string"
7952
8073
  },
7953
8074
  "cooling_schedule": {
@@ -8028,6 +8149,7 @@
8028
8149
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
8029
8150
  "maxLength": 100,
8030
8151
  "minLength": 1,
8152
+ "pattern": "^[^,;!\\n\\t]+$",
8031
8153
  "type": "string"
8032
8154
  },
8033
8155
  "display_name": {
@@ -8130,6 +8252,7 @@
8130
8252
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
8131
8253
  "maxLength": 100,
8132
8254
  "minLength": 1,
8255
+ "pattern": "^[^,;!\\n\\t]+$",
8133
8256
  "type": "string"
8134
8257
  },
8135
8258
  "day_schedules": {
@@ -8213,6 +8336,7 @@
8213
8336
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be < 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t).",
8214
8337
  "maxLength": 100,
8215
8338
  "minLength": 1,
8339
+ "pattern": "^[^,;!\\n\\t]+$",
8216
8340
  "type": "string"
8217
8341
  },
8218
8342
  "values": {
@@ -8619,6 +8743,8 @@
8619
8743
  "identifier": {
8620
8744
  "title": "Identifier",
8621
8745
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
8746
+ "minLength": 1,
8747
+ "pattern": "^[.A-Za-z0-9_-]+$",
8622
8748
  "type": "string"
8623
8749
  },
8624
8750
  "display_name": {
@@ -8779,6 +8905,8 @@
8779
8905
  "identifier": {
8780
8906
  "title": "Identifier",
8781
8907
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
8908
+ "minLength": 1,
8909
+ "pattern": "^[.A-Za-z0-9_-]+$",
8782
8910
  "type": "string"
8783
8911
  },
8784
8912
  "display_name": {
@@ -8924,6 +9052,8 @@
8924
9052
  "identifier": {
8925
9053
  "title": "Identifier",
8926
9054
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
9055
+ "minLength": 1,
9056
+ "pattern": "^[.A-Za-z0-9_-]+$",
8927
9057
  "type": "string"
8928
9058
  },
8929
9059
  "display_name": {
@@ -9087,6 +9217,8 @@
9087
9217
  "identifier": {
9088
9218
  "title": "Identifier",
9089
9219
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
9220
+ "minLength": 1,
9221
+ "pattern": "^[.A-Za-z0-9_-]+$",
9090
9222
  "type": "string"
9091
9223
  },
9092
9224
  "display_name": {
@@ -9214,6 +9346,8 @@
9214
9346
  "identifier": {
9215
9347
  "title": "Identifier",
9216
9348
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
9349
+ "minLength": 1,
9350
+ "pattern": "^[.A-Za-z0-9_-]+$",
9217
9351
  "type": "string"
9218
9352
  },
9219
9353
  "display_name": {
@@ -9348,6 +9482,8 @@
9348
9482
  "identifier": {
9349
9483
  "title": "Identifier",
9350
9484
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
9485
+ "minLength": 1,
9486
+ "pattern": "^[.A-Za-z0-9_-]+$",
9351
9487
  "type": "string"
9352
9488
  },
9353
9489
  "bsdf_data": {
@@ -9525,6 +9661,8 @@
9525
9661
  "identifier": {
9526
9662
  "title": "Identifier",
9527
9663
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
9664
+ "minLength": 1,
9665
+ "pattern": "^[.A-Za-z0-9_-]+$",
9528
9666
  "type": "string"
9529
9667
  },
9530
9668
  "display_name": {
@@ -9660,6 +9798,8 @@
9660
9798
  "identifier": {
9661
9799
  "title": "Identifier",
9662
9800
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
9801
+ "minLength": 1,
9802
+ "pattern": "^[.A-Za-z0-9_-]+$",
9663
9803
  "type": "string"
9664
9804
  },
9665
9805
  "display_name": {
@@ -10456,6 +10596,8 @@
10456
10596
  "identifier": {
10457
10597
  "title": "Identifier",
10458
10598
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
10599
+ "minLength": 1,
10600
+ "pattern": "^[.A-Za-z0-9_-]+$",
10459
10601
  "type": "string"
10460
10602
  },
10461
10603
  "display_name": {
@@ -10746,6 +10888,8 @@
10746
10888
  "identifier": {
10747
10889
  "title": "Identifier",
10748
10890
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
10891
+ "minLength": 1,
10892
+ "pattern": "^[.A-Za-z0-9_-]+$",
10749
10893
  "type": "string"
10750
10894
  },
10751
10895
  "display_name": {
@@ -10975,6 +11119,8 @@
10975
11119
  "identifier": {
10976
11120
  "title": "Identifier",
10977
11121
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
11122
+ "minLength": 1,
11123
+ "pattern": "^[.A-Za-z0-9_-]+$",
10978
11124
  "type": "string"
10979
11125
  },
10980
11126
  "sensors": {
@@ -11066,6 +11212,8 @@
11066
11212
  "identifier": {
11067
11213
  "title": "Identifier",
11068
11214
  "description": "Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files.",
11215
+ "minLength": 1,
11216
+ "pattern": "^[.A-Za-z0-9_-]+$",
11069
11217
  "type": "string"
11070
11218
  },
11071
11219
  "position": {
@@ -11303,7 +11451,7 @@
11303
11451
  "description": "Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, rad). This identifier is also used to reference the object across a Model. It must be < 100 characters and not contain any spaces or special characters.",
11304
11452
  "maxLength": 100,
11305
11453
  "minLength": 1,
11306
- "pattern": "[A-Za-z0-9_-]",
11454
+ "pattern": "^[.A-Za-z0-9_-]+$",
11307
11455
  "type": "string"
11308
11456
  },
11309
11457
  "properties": {
@@ -11335,7 +11483,7 @@
11335
11483
  "version": {
11336
11484
  "title": "Version",
11337
11485
  "description": "Text string for the current version of the schema.",
11338
- "default": "1.43.5",
11486
+ "default": "1.43.6",
11339
11487
  "pattern": "([0-9]+)\\.([0-9]+)\\.([0-9]+)",
11340
11488
  "type": "string",
11341
11489
  "readOnly": true
@@ -0,0 +1,42 @@
1
+ # *******************************************************************************
2
+ # Honeybee OpenStudio Gem, Copyright (c) 2020, Alliance for Sustainable
3
+ # Energy, LLC, Ladybug Tools LLC and other contributors. All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are met:
7
+ #
8
+ # (1) Redistributions of source code must retain the above copyright notice,
9
+ # this list of conditions and the following disclaimer.
10
+ #
11
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ #
15
+ # (3) Neither the name of the copyright holder nor the names of any contributors
16
+ # may be used to endorse or promote products derived from this software without
17
+ # specific prior written permission from the respective party.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
20
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21
+ # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
23
+ # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
24
+ # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25
+ # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
26
+ # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28
+ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29
+ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+ # *******************************************************************************
31
+
32
+ require 'honeybee/model_object'
33
+
34
+ module Honeybee
35
+ class InternalMassAbridged < ModelObject
36
+
37
+ def defaults
38
+ @@schema[:components][:schemas][:InternalMassAbridged][:properties]
39
+ end
40
+
41
+ end #InternalMassAbridged
42
+ end #Honeybee
data/lib/to_openstudio.rb CHANGED
@@ -84,10 +84,11 @@ require 'to_openstudio/schedule/type_limit'
84
84
  require 'to_openstudio/schedule/fixed_interval'
85
85
  require 'to_openstudio/schedule/ruleset'
86
86
 
87
- # import the ventilation objects
87
+ # import the ventilation and internal mass objects
88
88
  require 'to_openstudio/ventcool/control'
89
89
  require 'to_openstudio/ventcool/opening'
90
90
  require 'to_openstudio/ventcool/simulation'
91
+ require 'to_openstudio/internalmass'
91
92
 
92
93
  # extend the simulation objects
93
94
  require 'to_openstudio/simulation/design_day'
@@ -362,6 +362,15 @@ module Honeybee
362
362
  end
363
363
  end
364
364
 
365
+ # assign any internal masses if specified
366
+ if @hash[:properties][:energy][:internal_masses]
367
+ @hash[:properties][:energy][:internal_masses].each do |int_mass|
368
+ hb_int_mass = InternalMassAbridged.new(int_mass)
369
+ os_int_mass = hb_int_mass.to_openstudio(openstudio_model, os_space)
370
+ os_int_mass.setSpace(os_space)
371
+ end
372
+ end
373
+
365
374
  os_space
366
375
  end
367
376
 
@@ -0,0 +1,56 @@
1
+ # *******************************************************************************
2
+ # Honeybee OpenStudio Gem, Copyright (c) 2020, Alliance for Sustainable
3
+ # Energy, LLC, Ladybug Tools LLC and other contributors. All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are met:
7
+ #
8
+ # (1) Redistributions of source code must retain the above copyright notice,
9
+ # this list of conditions and the following disclaimer.
10
+ #
11
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ #
15
+ # (3) Neither the name of the copyright holder nor the names of any contributors
16
+ # may be used to endorse or promote products derived from this software without
17
+ # specific prior written permission from the respective party.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
20
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21
+ # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
23
+ # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
24
+ # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25
+ # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
26
+ # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28
+ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29
+ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+ # *******************************************************************************
31
+
32
+ require 'to_openstudio/model_object'
33
+
34
+ module Honeybee
35
+ class InternalMassAbridged
36
+
37
+ def to_openstudio(openstudio_model, parent)
38
+ # create the internal mass definition and set properties
39
+ os_mass_def = OpenStudio::Model::InternalMassDefinition.new(openstudio_model)
40
+ os_mass_def.setName(@hash[:identifier] + '::' + parent.name.get)
41
+ os_mass_def.setSurfaceArea(@hash[:area])
42
+ construction = openstudio_model.getConstructionByName(@hash[:construction])
43
+ unless construction.empty?
44
+ os_construction = construction.get
45
+ os_mass_def.setConstruction(os_construction)
46
+ end
47
+
48
+ # assign the internal mass definition to an internal mass object
49
+ os_mass = OpenStudio::Model::InternalMass.new(os_mass_def)
50
+ os_mass.setName(@hash[:identifier] + '::' + parent.name.get)
51
+
52
+ os_mass
53
+ end
54
+
55
+ end #InternalMassAbridged
56
+ end #Honeybee
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.1
4
+ version: 2.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2021-06-14 00:00:00.000000000 Z
14
+ date: 2021-06-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -208,6 +208,7 @@ files:
208
208
  - lib/honeybee/geometry/shade.rb
209
209
  - lib/honeybee/hvac/ideal_air.rb
210
210
  - lib/honeybee/hvac/template.rb
211
+ - lib/honeybee/internalmass.rb
211
212
  - lib/honeybee/load/daylight.rb
212
213
  - lib/honeybee/load/electric_equipment.rb
213
214
  - lib/honeybee/load/gas_equipment.rb
@@ -285,6 +286,7 @@ files:
285
286
  - lib/to_openstudio/hvac/Model.hvac.rb
286
287
  - lib/to_openstudio/hvac/ideal_air.rb
287
288
  - lib/to_openstudio/hvac/template.rb
289
+ - lib/to_openstudio/internalmass.rb
288
290
  - lib/to_openstudio/load/daylight.rb
289
291
  - lib/to_openstudio/load/electric_equipment.rb
290
292
  - lib/to_openstudio/load/gas_equipment.rb