dragonfly-schema 1.12.8__py2.py3-none-any.whl → 1.13.1__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.
- dragonfly_schema/energy/properties.py +18 -0
- dragonfly_schema/model.py +33 -5
- {dragonfly_schema-1.12.8.dist-info → dragonfly_schema-1.13.1.dist-info}/METADATA +1 -1
- {dragonfly_schema-1.12.8.dist-info → dragonfly_schema-1.13.1.dist-info}/RECORD +7 -7
- {dragonfly_schema-1.12.8.dist-info → dragonfly_schema-1.13.1.dist-info}/LICENSE +0 -0
- {dragonfly_schema-1.12.8.dist-info → dragonfly_schema-1.13.1.dist-info}/WHEEL +0 -0
- {dragonfly_schema-1.12.8.dist-info → dragonfly_schema-1.13.1.dist-info}/top_level.txt +0 -0
@@ -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,28 @@ 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
|
+
ge=0,
|
102
|
+
description='A number for the depth that a ceiling plenum extends into '
|
103
|
+
'the room. Setting this to a positive value will result in a separate '
|
104
|
+
'plenum room being split off of the Room2D volume during translation '
|
105
|
+
'from Dragonfly to Honeybee. The bottom of this ceiling plenum will '
|
106
|
+
'always be at this Room2D ceiling height minus the value specified here. '
|
107
|
+
'Setting this to zero indicates that the room has no ceiling plenum.'
|
108
|
+
)
|
109
|
+
|
110
|
+
floor_plenum_depth: float = Field(
|
111
|
+
0,
|
112
|
+
ge=0,
|
113
|
+
description='A number for the depth that a floor plenum extends into '
|
114
|
+
'the room. Setting this to a positive value will result in a separate '
|
115
|
+
'plenum room being split off of the Room2D volume during translation '
|
116
|
+
'from Dragonfly to Honeybee. The top of this floor plenum will always '
|
117
|
+
'be at this Room2D floor height plus the value specified here. '
|
118
|
+
'Setting this to zero indicates that the room has no floor plenum.'
|
119
|
+
)
|
120
|
+
|
98
121
|
boundary_conditions: List[
|
99
122
|
Union[Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature]
|
100
123
|
] = Field(
|
@@ -182,6 +205,12 @@ class Room2D(IDdBaseModel):
|
|
182
205
|
return values
|
183
206
|
|
184
207
|
|
208
|
+
class StoryType(str, Enum):
|
209
|
+
standard = 'Standard'
|
210
|
+
ceiling_plenum = 'CeilingPlenum'
|
211
|
+
floor_plenum = 'FloorPlenum'
|
212
|
+
|
213
|
+
|
185
214
|
class StoryPropertiesAbridged(BaseModel):
|
186
215
|
|
187
216
|
type: constr(regex='^StoryPropertiesAbridged$') = 'StoryPropertiesAbridged'
|
@@ -236,11 +265,10 @@ class Story(IDdBaseModel):
|
|
236
265
|
'multiplier is 1. If None, all Room2D ceilings will be flat.'
|
237
266
|
)
|
238
267
|
|
239
|
-
|
240
|
-
|
241
|
-
description='
|
242
|
-
'
|
243
|
-
'exclude_floor_area property.'
|
268
|
+
story_type: StoryType = Field(
|
269
|
+
StoryType.standard,
|
270
|
+
description='Text to indicate the type of story. Stories that are plenums '
|
271
|
+
'are translated to Honeybee with excluded floor areas.'
|
244
272
|
)
|
245
273
|
|
246
274
|
properties: StoryPropertiesAbridged = Field(
|
@@ -1,16 +1,16 @@
|
|
1
1
|
dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
|
2
|
-
dragonfly_schema/model.py,sha256=
|
2
|
+
dragonfly_schema/model.py,sha256=p6bVnJ5OJ3njUzp12vURBDvZOISq6ps9h2-iVa7te9o,18114
|
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=
|
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.
|
13
|
-
dragonfly_schema-1.
|
14
|
-
dragonfly_schema-1.
|
15
|
-
dragonfly_schema-1.
|
16
|
-
dragonfly_schema-1.
|
12
|
+
dragonfly_schema-1.13.1.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
|
13
|
+
dragonfly_schema-1.13.1.dist-info/METADATA,sha256=ZTRf6vl6e-j6KQ2ixk1l_DOPBzTLzODAEJ7fpGxsu5M,1943
|
14
|
+
dragonfly_schema-1.13.1.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
15
|
+
dragonfly_schema-1.13.1.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
|
16
|
+
dragonfly_schema-1.13.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|