dragonfly-schema 1.14.1__py2.py3-none-any.whl → 1.15.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 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
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.14.1
3
+ Version: 1.15.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,18 +1,20 @@
1
1
  dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
2
- dragonfly_schema/model.py,sha256=qTNbBoKCjVvm-3SalH7ef0PhDrVPsc3X3LljIPj1tV4,18818
2
+ dragonfly_schema/model.py,sha256=QnIBRNbdKWODGdmbdKffPLwzOPK-mY2PTACMzMFDqJ4,19024
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.14.1.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
15
- dragonfly_schema-1.14.1.dist-info/METADATA,sha256=e0PpIbIlytjJBlHEKK3CtKPssiBO4pRk3DbBxhLDW7E,1943
16
- dragonfly_schema-1.14.1.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
17
- dragonfly_schema-1.14.1.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
18
- dragonfly_schema-1.14.1.dist-info/RECORD,,
16
+ dragonfly_schema-1.15.0.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
17
+ dragonfly_schema-1.15.0.dist-info/METADATA,sha256=dxPQGeZVIlZJwaQ23_to5BWe3dZcF6hgCih8-XjS-p8,1943
18
+ dragonfly_schema-1.15.0.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
19
+ dragonfly_schema-1.15.0.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
20
+ dragonfly_schema-1.15.0.dist-info/RECORD,,