honeybee-schema 1.57.3__py2.py3-none-any.whl → 1.58.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.
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 .._base import NoExtraBaseModel
6
+ from ..altnumber import Autocalculate
7
+
8
+
9
+ class RoomDoe2Properties(NoExtraBaseModel):
10
+
11
+ type: constr(regex='^RoomDoe2Properties$') = \
12
+ 'RoomDoe2Properties'
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'
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-schema
3
- Version: 1.57.3
3
+ Version: 1.58.0
4
4
  Summary: Honeybee Data-Model Objects
5
5
  Home-page: https://github.com/ladybug-tools-in2/honeybee-schema
6
6
  Author: Ladybug Tools
@@ -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=fAxHgQOQAzIM_6kV8KYayIBL-K_ST_yJWwUeyhgVmY0,13994
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=qQIJv4c6jc6LQP8gTX33_Fz-oAYA3qJxhHom1EF6sas,2327
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.57.3.dist-info/LICENSE,sha256=EwA6Jt85TmMNyAsFb5GWv-tZ0vGYo8hZHBMcI391qjw,1709
51
- honeybee_schema-1.57.3.dist-info/METADATA,sha256=JnH_zNGN6JGJj60jDGypCztgBH3ekf_GscbFVbEdRPg,2505
52
- honeybee_schema-1.57.3.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
53
- honeybee_schema-1.57.3.dist-info/entry_points.txt,sha256=suHpy6-iPhAylFCa-KopQHRJIwLhTCIVO2NHMzdEn8M,61
54
- honeybee_schema-1.57.3.dist-info/top_level.txt,sha256=rTScYvlcOBkdc0is-F6Q3tRkmy-vf4bMTJGXzsxI2sA,16
55
- honeybee_schema-1.57.3.dist-info/RECORD,,
52
+ honeybee_schema-1.58.0.dist-info/LICENSE,sha256=EwA6Jt85TmMNyAsFb5GWv-tZ0vGYo8hZHBMcI391qjw,1709
53
+ honeybee_schema-1.58.0.dist-info/METADATA,sha256=qJhhaYZEbIlDX-c7Mz2xSCkQS58trKPBOy_EFW2_i6s,2505
54
+ honeybee_schema-1.58.0.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
55
+ honeybee_schema-1.58.0.dist-info/entry_points.txt,sha256=suHpy6-iPhAylFCa-KopQHRJIwLhTCIVO2NHMzdEn8M,61
56
+ honeybee_schema-1.58.0.dist-info/top_level.txt,sha256=rTScYvlcOBkdc0is-F6Q3tRkmy-vf4bMTJGXzsxI2sA,16
57
+ honeybee_schema-1.58.0.dist-info/RECORD,,