dragonfly-schema 1.12.8__py2.py3-none-any.whl → 1.13.0__py2.py3-none-any.whl

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.
@@ -124,6 +124,24 @@ class BuildingEnergyPropertiesAbridged(NoExtraBaseModel):
124
124
  'the Building. If None, the Model global_construction_set will be used.'
125
125
  )
126
126
 
127
+ ceiling_plenum_construction: str = Field(
128
+ default=None,
129
+ min_length=1,
130
+ max_length=100,
131
+ description='Identifier of an OpaqueConstruction for the bottoms of '
132
+ 'ceiling plenums. Materials should be ordered from the plenum side '
133
+ 'to the room side. By default, this is a simple acoustic tile construction.'
134
+ )
135
+
136
+ floor_plenum_construction: str = Field(
137
+ default=None,
138
+ min_length=1,
139
+ max_length=100,
140
+ description='Identifier of an OpaqueConstruction for the tops of floor '
141
+ 'plenums. Materials should be ordered from the plenum side '
142
+ 'to the room side. By default, this is a simple wood plank construction.'
143
+ )
144
+
127
145
 
128
146
  class ContextShadeEnergyPropertiesAbridged(NoExtraBaseModel):
129
147
 
dragonfly_schema/model.py CHANGED
@@ -1,6 +1,7 @@
1
1
  """Model schema and the 3 geometry objects that define it."""
2
2
  from pydantic import BaseModel, Field, root_validator, constr, conlist
3
3
  from typing import List, Union
4
+ from enum import Enum
4
5
 
5
6
  from honeybee_schema._base import IDdBaseModel
6
7
  from honeybee_schema.model import Room, Face3D, Mesh3D, Units
@@ -95,6 +96,26 @@ class Room2D(IDdBaseModel):
95
96
  'is a Room2D above this one with a has_floor property set to False.'
96
97
  )
97
98
 
99
+ ceiling_plenum_depth: float = Field(
100
+ 0,
101
+ description='A number for the depth that a ceiling plenum extends into '
102
+ 'the room. Setting this to a positive value will result in a separate '
103
+ 'plenum room being split off of the Room2D volume during translation '
104
+ 'from Dragonfly to Honeybee. The bottom of this ceiling plenum will '
105
+ 'always be at this Room2D ceiling height minus the value specified here. '
106
+ 'Setting this to zero indicates that the room has no ceiling plenum.'
107
+ )
108
+
109
+ floor_plenum_depth: float = Field(
110
+ 0,
111
+ description='A number for the depth that a floor plenum extends into '
112
+ 'the room. Setting this to a positive value will result in a separate '
113
+ 'plenum room being split off of the Room2D volume during translation '
114
+ 'from Dragonfly to Honeybee. The top of this floor plenum will always '
115
+ 'be at this Room2D floor height plus the value specified here. '
116
+ 'Setting this to zero indicates that the room has no floor plenum.'
117
+ )
118
+
98
119
  boundary_conditions: List[
99
120
  Union[Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature]
100
121
  ] = Field(
@@ -182,6 +203,12 @@ class Room2D(IDdBaseModel):
182
203
  return values
183
204
 
184
205
 
206
+ class StoryType(str, Enum):
207
+ standard = 'Standard'
208
+ ceiling_plenum = 'CeilingPlenum'
209
+ floor_plenum = 'FloorPlenum'
210
+
211
+
185
212
  class StoryPropertiesAbridged(BaseModel):
186
213
 
187
214
  type: constr(regex='^StoryPropertiesAbridged$') = 'StoryPropertiesAbridged'
@@ -236,11 +263,10 @@ class Story(IDdBaseModel):
236
263
  'multiplier is 1. If None, all Room2D ceilings will be flat.'
237
264
  )
238
265
 
239
- is_plenum: bool = Field(
240
- False,
241
- description='A boolean noting whether the Room2Ds of the Story represent '
242
- 'plenums. If True, all Room2Ds in the Story are translated to 3D with a True '
243
- 'exclude_floor_area property.'
266
+ story_type: StoryType = Field(
267
+ StoryType.standard,
268
+ description='Text to indicate the type of story. Stories that are plenums '
269
+ 'are translated to Honeybee with excluded floor areas.'
244
270
  )
245
271
 
246
272
  properties: StoryPropertiesAbridged = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.12.8
3
+ Version: 1.13.0
4
4
  Summary: Dragonfly Data-Model Objects
5
5
  Home-page: https://github.com/ladybug-tools/dragonfly-schema
6
6
  Author: Ladybug Tools
@@ -1,16 +1,16 @@
1
1
  dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
2
- dragonfly_schema/model.py,sha256=lTgVsZZc4NdqAMBzM68gqke_Cm_UCRNCM0-2xNPcBTs,16918
2
+ dragonfly_schema/model.py,sha256=1KCbgcRIOiPk3hfZFT8vQlVNEEHcKNdlWQ4Qw1CL6-A,18086
3
3
  dragonfly_schema/roof.py,sha256=A4cYdKrx01lqlBrPzAOwAO4jtEh9JdD46tB9wSW2p6w,746
4
4
  dragonfly_schema/shading_parameter.py,sha256=WI9XPX3eVXhIutvE_AD1ozJ4QxH85E3Frv9SKsIzCl8,3121
5
5
  dragonfly_schema/skylight_parameter.py,sha256=4uxsAHHEbpfZYndIw2KcQ9AJXU7AJcRZWo7up65vC2c,3137
6
6
  dragonfly_schema/window_parameter.py,sha256=nC1Q1E82sNjPLcsHOwZ0xh011NylLotmkCX12AFc_74,10871
7
7
  dragonfly_schema/energy/__init__.py,sha256=lLuzq9Sm9LUrW6VpOYxfS0Q_rXzOJoPDfzlxA3eFq2M,55
8
- dragonfly_schema/energy/properties.py,sha256=x7wJqW9kPVMapa9lhIhsmMe_9IDYSWjN-H7QctUgkSo,9116
8
+ dragonfly_schema/energy/properties.py,sha256=d_0hPXWifkFSCXaIbOD0OFc4-pYPcGERUEnINz5q-Jw,9828
9
9
  dragonfly_schema/radiance/__init__.py,sha256=ok8w16ru1XXBUVjdghvNvwwXGPVSKKpHU-nmj4mf3IU,57
10
10
  dragonfly_schema/radiance/gridpar.py,sha256=ZQTnEdN1vmSsa2QMxfUdebg3cMnu6VvfcluiP11xHOs,4809
11
11
  dragonfly_schema/radiance/properties.py,sha256=Q_O_7fJohdtv5uwHTCZp1W67LoNUaZ45GB6GK7zKK4Y,3405
12
- dragonfly_schema-1.12.8.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
13
- dragonfly_schema-1.12.8.dist-info/METADATA,sha256=RN0moGIIHwR1hNcXDsup7SoJy3X9IqGCWaBOCuTdfrE,1943
14
- dragonfly_schema-1.12.8.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
15
- dragonfly_schema-1.12.8.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
16
- dragonfly_schema-1.12.8.dist-info/RECORD,,
12
+ dragonfly_schema-1.13.0.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
13
+ dragonfly_schema-1.13.0.dist-info/METADATA,sha256=IcTgPxuuObEO8xom80v5VaIHMEQjDA_Tuh0bNCTmE9o,1943
14
+ dragonfly_schema-1.13.0.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
15
+ dragonfly_schema-1.13.0.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
16
+ dragonfly_schema-1.13.0.dist-info/RECORD,,