honeybee-schema 1.57.3__py2.py3-none-any.whl → 1.58.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.
- honeybee_schema/doe2/__init__.py +0 -0
- honeybee_schema/doe2/properties.py +75 -0
- honeybee_schema/model.py +10 -0
- {honeybee_schema-1.57.3.dist-info → honeybee_schema-1.58.1.dist-info}/METADATA +3 -2
- {honeybee_schema-1.57.3.dist-info → honeybee_schema-1.58.1.dist-info}/RECORD +9 -7
- {honeybee_schema-1.57.3.dist-info → honeybee_schema-1.58.1.dist-info}/LICENSE +0 -0
- {honeybee_schema-1.57.3.dist-info → honeybee_schema-1.58.1.dist-info}/WHEEL +0 -0
- {honeybee_schema-1.57.3.dist-info → honeybee_schema-1.58.1.dist-info}/entry_points.txt +0 -0
- {honeybee_schema-1.57.3.dist-info → honeybee_schema-1.58.1.dist-info}/top_level.txt +0 -0
File without changes
|
@@ -0,0 +1,75 @@
|
|
1
|
+
"""Model DOE-2 properties."""
|
2
|
+
from pydantic import Field, constr
|
3
|
+
from typing import Union
|
4
|
+
|
5
|
+
from .._base import NoExtraBaseModel
|
6
|
+
from ..altnumber import Autocalculate
|
7
|
+
from ..geometry import Face3D
|
8
|
+
|
9
|
+
|
10
|
+
class RoomDoe2Properties(NoExtraBaseModel):
|
11
|
+
|
12
|
+
type: constr(regex='^RoomDoe2Properties$') = \
|
13
|
+
'RoomDoe2Properties'
|
14
|
+
|
15
|
+
assigned_flow: Union[Autocalculate, float] = Field(
|
16
|
+
Autocalculate(),
|
17
|
+
ge=0,
|
18
|
+
description='A number for the design supply air flow rate for the zone '
|
19
|
+
'the Room is assigned to (cfm). This establishes the minimum allowed '
|
20
|
+
'design air flow. Note that the actual design flow may be larger. If '
|
21
|
+
'Autocalculate, this parameter will not be written into the INP.'
|
22
|
+
)
|
23
|
+
|
24
|
+
flow_per_area: Union[Autocalculate, float] = Field(
|
25
|
+
Autocalculate(),
|
26
|
+
ge=0,
|
27
|
+
description='A number for the design supply air flow rate to the zone '
|
28
|
+
'per unit floor area (cfm/ft2). If Autocalculate, this parameter will '
|
29
|
+
'not be written into the INP.'
|
30
|
+
)
|
31
|
+
|
32
|
+
min_flow_ratio: Union[Autocalculate, float] = Field(
|
33
|
+
Autocalculate(),
|
34
|
+
ge=0,
|
35
|
+
le=1,
|
36
|
+
description='A number between 0 and 1 for the minimum allowable zone '
|
37
|
+
'air supply flow rate, expressed as a fraction of design flow rate. Applicable '
|
38
|
+
'to variable-volume type systems only. If Autocalculate, this parameter will '
|
39
|
+
'not be written into the INP.'
|
40
|
+
)
|
41
|
+
|
42
|
+
min_flow_per_area: Union[Autocalculate, float] = Field(
|
43
|
+
Autocalculate(),
|
44
|
+
ge=0,
|
45
|
+
description='A number for the minimum air flow per square foot of '
|
46
|
+
'floor area (cfm/ft2). This is an alternative way of specifying the '
|
47
|
+
'min_flow_ratio. If Autocalculate, this parameter will not be written '
|
48
|
+
'into the INP.'
|
49
|
+
)
|
50
|
+
|
51
|
+
hmax_flow_ratio: Union[Autocalculate, float] = Field(
|
52
|
+
Autocalculate(),
|
53
|
+
ge=0,
|
54
|
+
le=1,
|
55
|
+
description='A number between 0 and 1 for the ratio of the maximum (or fixed) '
|
56
|
+
'heating airflow to the cooling airflow. The specific meaning varies according '
|
57
|
+
'to the type of zone terminal. If Autocalculate, this parameter will '
|
58
|
+
'not be written into the INP.'
|
59
|
+
)
|
60
|
+
|
61
|
+
space_polygon_geometry: Face3D = Field(
|
62
|
+
default=None,
|
63
|
+
description='An optional horizontal Face3D object, which will '
|
64
|
+
'be used to set the SPACE polygon during export to INP. If None, '
|
65
|
+
'the SPACE polygon is auto-calculated from the 3D Room geometry. '
|
66
|
+
'Specifying a geometry here can help overcome some limitations of '
|
67
|
+
'this auto-calculation, particularly for cases where the floors '
|
68
|
+
'of the Room are composed of AirBoundaries.'
|
69
|
+
)
|
70
|
+
|
71
|
+
|
72
|
+
class ModelDoe2Properties(NoExtraBaseModel):
|
73
|
+
|
74
|
+
type: constr(regex='^ModelDoe2Properties$') = \
|
75
|
+
'ModelDoe2Properties'
|
honeybee_schema/model.py
CHANGED
@@ -16,6 +16,8 @@ from .radiance.properties import ShadeRadiancePropertiesAbridged, \
|
|
16
16
|
FaceRadiancePropertiesAbridged, RoomRadiancePropertiesAbridged, \
|
17
17
|
ModelRadianceProperties, ShadeMeshRadiancePropertiesAbridged
|
18
18
|
|
19
|
+
from .doe2.properties import RoomDoe2Properties, ModelDoe2Properties
|
20
|
+
|
19
21
|
from .geometry import Face3D, Mesh3D
|
20
22
|
|
21
23
|
|
@@ -294,6 +296,10 @@ class RoomPropertiesAbridged(BaseModel):
|
|
294
296
|
default=None
|
295
297
|
)
|
296
298
|
|
299
|
+
doe2: RoomDoe2Properties = Field(
|
300
|
+
default=None
|
301
|
+
)
|
302
|
+
|
297
303
|
|
298
304
|
class Room(IDdBaseModel):
|
299
305
|
|
@@ -368,6 +374,10 @@ class ModelProperties(BaseModel):
|
|
368
374
|
default=None
|
369
375
|
)
|
370
376
|
|
377
|
+
doe2: ModelDoe2Properties = Field(
|
378
|
+
default=None
|
379
|
+
)
|
380
|
+
|
371
381
|
|
372
382
|
class Model(IDdBaseModel):
|
373
383
|
|
@@ -1,12 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: honeybee-schema
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.58.1
|
4
4
|
Summary: Honeybee Data-Model Objects
|
5
5
|
Home-page: https://github.com/ladybug-tools-in2/honeybee-schema
|
6
6
|
Author: Ladybug Tools
|
7
7
|
Author-email: info@ladybug.tools
|
8
8
|
Classifier: Programming Language :: Python :: 3.6
|
9
9
|
Classifier: Programming Language :: Python :: 3.7
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
10
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
11
12
|
Classifier: Operating System :: OS Independent
|
12
13
|
Description-Content-Type: text/markdown
|
@@ -14,7 +15,7 @@ License-File: LICENSE
|
|
14
15
|
Requires-Dist: pydantic-openapi-helper (>=0.2.10)
|
15
16
|
Requires-Dist: honeybee-standards (==2.0.6)
|
16
17
|
Provides-Extra: cli
|
17
|
-
Requires-Dist: click (
|
18
|
+
Requires-Dist: click (>=7.1.2) ; extra == 'cli'
|
18
19
|
|
19
20
|
[](https://travis-ci.com/ladybug-tools/honeybee-schema)
|
20
21
|
[](https://coveralls.io/github/ladybug-tools/honeybee-schema)
|
@@ -6,9 +6,11 @@ honeybee_schema/boundarycondition.py,sha256=hY6Oem5zNpnr42owbEzy3GIdfqvZJ4nme0qO
|
|
6
6
|
honeybee_schema/cli.py,sha256=QhhgNsgz55FBmJuHrg16nQoEmzD9ZIL6ugD2lofQqMg,4387
|
7
7
|
honeybee_schema/comparison.py,sha256=I2CCDmPLl-awBhGkSVd8b9yZncn8u2wUE-wBePrbB3c,8006
|
8
8
|
honeybee_schema/geometry.py,sha256=7oJQXdYYd3qECmIlKh7-XcwCibs1c2eLAS_SItJ7N10,4203
|
9
|
-
honeybee_schema/model.py,sha256=
|
9
|
+
honeybee_schema/model.py,sha256=4rQv8L0_9YmGExWHY7o_PAYBwthZHguAiAgRNbP2TpU,14197
|
10
10
|
honeybee_schema/projectinfo.py,sha256=Jz9FYNSpWS282o4uNQxcL1Mo2J-fKT0gqBckk5h-Cio,2759
|
11
11
|
honeybee_schema/validation.py,sha256=7EutKXshjqCffXCDOBxIzxpKQU_Nio1_SbLidPB_-p4,7060
|
12
|
+
honeybee_schema/doe2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
+
honeybee_schema/doe2/properties.py,sha256=h3GNDH3D7LojdlIdBSBG5OBXXkdSs0hyCW4ZJy9oOzE,2855
|
12
14
|
honeybee_schema/energy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
15
|
honeybee_schema/energy/_base.py,sha256=drAW-DguuwB2ahBGG1lboGcfJKJESnXjyAWicMtjQ-U,2305
|
14
16
|
honeybee_schema/energy/construction.py,sha256=1HldU4TO5vy4y4oCFt7GPsLBRaOJSbDPQgQX6OrWsWU,12742
|
@@ -47,9 +49,9 @@ honeybee_schema/updater/version_1_40_1.py,sha256=Fx70M8H9HZ_apCkdFn6njEd6lG9ZWrl
|
|
47
49
|
honeybee_schema/updater/version_1_43_1.py,sha256=0kZ1z7MzBhToljgOUCGWaTW1mq2F72oS39jn9sEf5mU,932
|
48
50
|
honeybee_schema/updater/version_1_43_2.py,sha256=XnPCdpjVN3hFzZqIIEjX4BYTtCxuIYCuO96n_y64aVw,617
|
49
51
|
honeybee_schema/updater/version_1_43_5.py,sha256=ci790Qh7xtRtgMj_RdldBXCScwiBkvMt2K1Mpe7oWQE,499
|
50
|
-
honeybee_schema-1.
|
51
|
-
honeybee_schema-1.
|
52
|
-
honeybee_schema-1.
|
53
|
-
honeybee_schema-1.
|
54
|
-
honeybee_schema-1.
|
55
|
-
honeybee_schema-1.
|
52
|
+
honeybee_schema-1.58.1.dist-info/LICENSE,sha256=EwA6Jt85TmMNyAsFb5GWv-tZ0vGYo8hZHBMcI391qjw,1709
|
53
|
+
honeybee_schema-1.58.1.dist-info/METADATA,sha256=O0CqxzUtVPKfADjPqfRoTvHrL1SvqCGkza_i6OQgSio,2556
|
54
|
+
honeybee_schema-1.58.1.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
|
55
|
+
honeybee_schema-1.58.1.dist-info/entry_points.txt,sha256=suHpy6-iPhAylFCa-KopQHRJIwLhTCIVO2NHMzdEn8M,61
|
56
|
+
honeybee_schema-1.58.1.dist-info/top_level.txt,sha256=rTScYvlcOBkdc0is-F6Q3tRkmy-vf4bMTJGXzsxI2sA,16
|
57
|
+
honeybee_schema-1.58.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|