dragonfly-schema 1.14.1__py2.py3-none-any.whl → 1.15.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/doe2/__init__.py +0 -0
- dragonfly_schema/doe2/properties.py +64 -0
- dragonfly_schema/model.py +20 -0
- {dragonfly_schema-1.14.1.dist-info → dragonfly_schema-1.15.1.dist-info}/METADATA +1 -1
- {dragonfly_schema-1.14.1.dist-info → dragonfly_schema-1.15.1.dist-info}/RECORD +8 -6
- {dragonfly_schema-1.14.1.dist-info → dragonfly_schema-1.15.1.dist-info}/LICENSE +0 -0
- {dragonfly_schema-1.14.1.dist-info → dragonfly_schema-1.15.1.dist-info}/WHEEL +0 -0
- {dragonfly_schema-1.14.1.dist-info → dragonfly_schema-1.15.1.dist-info}/top_level.txt +0 -0
File without changes
|
@@ -0,0 +1,64 @@
|
|
1
|
+
"""Model DOE-2 properties."""
|
2
|
+
from pydantic import Field, constr
|
3
|
+
from typing import Union
|
4
|
+
|
5
|
+
from honeybee_schema._base import NoExtraBaseModel
|
6
|
+
from honeybee_schema.altnumber import Autocalculate
|
7
|
+
|
8
|
+
|
9
|
+
class Room2DDoe2Properties(NoExtraBaseModel):
|
10
|
+
|
11
|
+
type: constr(regex='^Room2DDoe2Properties$') = \
|
12
|
+
'Room2DDoe2Properties'
|
13
|
+
|
14
|
+
assigned_flow: Union[Autocalculate, float] = Field(
|
15
|
+
Autocalculate(),
|
16
|
+
ge=0,
|
17
|
+
description='A number for the design supply air flow rate for the zone '
|
18
|
+
'the Room is assigned to (cfm). This establishes the minimum allowed '
|
19
|
+
'design air flow. Note that the actual design flow may be larger. If '
|
20
|
+
'Autocalculate, this parameter will not be written into the INP.'
|
21
|
+
)
|
22
|
+
|
23
|
+
flow_per_area: Union[Autocalculate, float] = Field(
|
24
|
+
Autocalculate(),
|
25
|
+
ge=0,
|
26
|
+
description='A number for the design supply air flow rate to the zone '
|
27
|
+
'per unit floor area (cfm/ft2). If Autocalculate, this parameter will '
|
28
|
+
'not be written into the INP.'
|
29
|
+
)
|
30
|
+
|
31
|
+
min_flow_ratio: Union[Autocalculate, float] = Field(
|
32
|
+
Autocalculate(),
|
33
|
+
ge=0,
|
34
|
+
le=1,
|
35
|
+
description='A number between 0 and 1 for the minimum allowable zone '
|
36
|
+
'air supply flow rate, expressed as a fraction of design flow rate. Applicable '
|
37
|
+
'to variable-volume type systems only. If Autocalculate, this parameter will '
|
38
|
+
'not be written into the INP.'
|
39
|
+
)
|
40
|
+
|
41
|
+
min_flow_per_area: Union[Autocalculate, float] = Field(
|
42
|
+
Autocalculate(),
|
43
|
+
ge=0,
|
44
|
+
description='A number for the minimum air flow per square foot of '
|
45
|
+
'floor area (cfm/ft2). This is an alternative way of specifying the '
|
46
|
+
'min_flow_ratio. If Autocalculate, this parameter will not be written '
|
47
|
+
'into the INP.'
|
48
|
+
)
|
49
|
+
|
50
|
+
hmax_flow_ratio: Union[Autocalculate, float] = Field(
|
51
|
+
Autocalculate(),
|
52
|
+
ge=0,
|
53
|
+
le=1,
|
54
|
+
description='A number between 0 and 1 for the ratio of the maximum (or fixed) '
|
55
|
+
'heating airflow to the cooling airflow. The specific meaning varies according '
|
56
|
+
'to the type of zone terminal. If Autocalculate, this parameter will '
|
57
|
+
'not be written into the INP.'
|
58
|
+
)
|
59
|
+
|
60
|
+
|
61
|
+
class ModelDoe2Properties(NoExtraBaseModel):
|
62
|
+
|
63
|
+
type: constr(regex='^ModelDoe2Properties$') = \
|
64
|
+
'ModelDoe2Properties'
|
dragonfly_schema/model.py
CHANGED
@@ -22,6 +22,7 @@ from .energy.properties import Room2DEnergyPropertiesAbridged, \
|
|
22
22
|
from .radiance.properties import Room2DRadiancePropertiesAbridged, \
|
23
23
|
StoryRadiancePropertiesAbridged, BuildingRadiancePropertiesAbridged, \
|
24
24
|
ContextShadeRadiancePropertiesAbridged, ModelRadianceProperties
|
25
|
+
from .doe2.properties import Room2DDoe2Properties, ModelDoe2Properties
|
25
26
|
from .comparison.properties import Room2DComparisonProperties, ModelComparisonProperties
|
26
27
|
|
27
28
|
|
@@ -37,6 +38,10 @@ class Room2DPropertiesAbridged(BaseModel):
|
|
37
38
|
default=None
|
38
39
|
)
|
39
40
|
|
41
|
+
doe2: Room2DDoe2Properties = Field(
|
42
|
+
default=None
|
43
|
+
)
|
44
|
+
|
40
45
|
comparison: Room2DComparisonProperties = Field(
|
41
46
|
default=None
|
42
47
|
)
|
@@ -412,6 +417,10 @@ class ModelProperties(BaseModel):
|
|
412
417
|
default=None
|
413
418
|
)
|
414
419
|
|
420
|
+
doe2: ModelDoe2Properties = Field(
|
421
|
+
default=None
|
422
|
+
)
|
423
|
+
|
415
424
|
comparison: ModelComparisonProperties = Field(
|
416
425
|
default=None
|
417
426
|
)
|
@@ -467,6 +476,17 @@ class Model(IDdBaseModel):
|
|
467
476
|
'been performed on a given Model.'
|
468
477
|
)
|
469
478
|
|
479
|
+
reference_vector: List[float] = Field(
|
480
|
+
None,
|
481
|
+
description='A n optional list of 3 (x, y, z) values that describe a Vector3D '
|
482
|
+
'relating the model to an original source coordinate system. Setting a value '
|
483
|
+
'here is useful if the model has been moved from its original location '
|
484
|
+
'and there may be future operations of merging geometry from the original '
|
485
|
+
'source system.',
|
486
|
+
min_items=3,
|
487
|
+
max_items=3
|
488
|
+
)
|
489
|
+
|
470
490
|
properties: ModelProperties = Field(
|
471
491
|
...,
|
472
492
|
description='Extension properties for particular simulation engines '
|
@@ -1,18 +1,20 @@
|
|
1
1
|
dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
|
2
|
-
dragonfly_schema/model.py,sha256=
|
2
|
+
dragonfly_schema/model.py,sha256=oPwSaOU4njQBBb-xU4YeDjUYMen2e4U_94JjRgtH7C8,19495
|
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/comparison/__init__.py,sha256=3JoPhHkbxdrNFp0vfU8QX_HGYzPQhV8LSgVL1z7W09g,66
|
8
8
|
dragonfly_schema/comparison/properties.py,sha256=H-nVUVhvMtKAeqpRlgDpLDzrxFfuaMLp87FJUrB4TDQ,2197
|
9
|
+
dragonfly_schema/doe2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
+
dragonfly_schema/doe2/properties.py,sha256=lT5Ca_aH3jvwWNNRAxxEu3NLnQIGImv33FHltL2WDiQ,2361
|
9
11
|
dragonfly_schema/energy/__init__.py,sha256=lLuzq9Sm9LUrW6VpOYxfS0Q_rXzOJoPDfzlxA3eFq2M,55
|
10
12
|
dragonfly_schema/energy/properties.py,sha256=d_0hPXWifkFSCXaIbOD0OFc4-pYPcGERUEnINz5q-Jw,9828
|
11
13
|
dragonfly_schema/radiance/__init__.py,sha256=ok8w16ru1XXBUVjdghvNvwwXGPVSKKpHU-nmj4mf3IU,57
|
12
14
|
dragonfly_schema/radiance/gridpar.py,sha256=ZQTnEdN1vmSsa2QMxfUdebg3cMnu6VvfcluiP11xHOs,4809
|
13
15
|
dragonfly_schema/radiance/properties.py,sha256=Q_O_7fJohdtv5uwHTCZp1W67LoNUaZ45GB6GK7zKK4Y,3405
|
14
|
-
dragonfly_schema-1.
|
15
|
-
dragonfly_schema-1.
|
16
|
-
dragonfly_schema-1.
|
17
|
-
dragonfly_schema-1.
|
18
|
-
dragonfly_schema-1.
|
16
|
+
dragonfly_schema-1.15.1.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
|
17
|
+
dragonfly_schema-1.15.1.dist-info/METADATA,sha256=b9RVwO4R6kCquOOEKxO1mVbzFrfOiJpKlKFu5kEx1jE,1943
|
18
|
+
dragonfly_schema-1.15.1.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
19
|
+
dragonfly_schema-1.15.1.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
|
20
|
+
dragonfly_schema-1.15.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|