dragonfly-schema 1.14.0__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
  )
@@ -123,6 +128,15 @@ class Room2D(IDdBaseModel):
123
128
  'Setting this to zero indicates that the room has no floor plenum.'
124
129
  )
125
130
 
131
+ zone: str = Field(
132
+ default=None,
133
+ description='Text string for for the zone identifier to which this Room2D '
134
+ ' belongs. Room2Ds sharing the same zone identifier are considered part of the '
135
+ 'same zone in a Building. If the zone identifier has not been specified, it will '
136
+ 'be the same as the Room2D identifier in the destination engine. Note that this '
137
+ 'property has no character restrictions.'
138
+ )
139
+
126
140
  boundary_conditions: List[
127
141
  Union[Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature]
128
142
  ] = Field(
@@ -403,6 +417,10 @@ class ModelProperties(BaseModel):
403
417
  default=None
404
418
  )
405
419
 
420
+ doe2: ModelDoe2Properties = Field(
421
+ default=None
422
+ )
423
+
406
424
  comparison: ModelComparisonProperties = Field(
407
425
  default=None
408
426
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.14.0
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
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
11
  Classifier: Operating System :: OS Independent
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: honeybee-schema==1.58.6
14
+ Requires-Dist: honeybee-schema==1.59.0
15
15
 
16
16
  [![Build Status](https://travis-ci.com/ladybug-tools/dragonfly-schema.svg?branch=master)](https://travis-ci.com/ladybug-tools/dragonfly-schema)
17
17
  [![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/dragonfly-schema/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/dragonfly-schema)
@@ -1,18 +1,20 @@
1
1
  dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
2
- dragonfly_schema/model.py,sha256=USQuUKjbs-X0s1Mwj-T18AEWetmH6tldwZS-rJXgDZA,18362
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.0.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
15
- dragonfly_schema-1.14.0.dist-info/METADATA,sha256=mAd64KwP2vZ9Ep9dz45bGzVzg3xmzqeixKXfw3DgTjM,1943
16
- dragonfly_schema-1.14.0.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
17
- dragonfly_schema-1.14.0.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
18
- dragonfly_schema-1.14.0.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,,