dragonfly-schema 1.13.1__tar.gz → 1.14.1__tar.gz

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.
Files changed (32) hide show
  1. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/PKG-INFO +2 -2
  2. dragonfly_schema-1.14.1/dragonfly_schema/comparison/__init__.py +1 -0
  3. dragonfly_schema-1.14.1/dragonfly_schema/comparison/properties.py +56 -0
  4. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/model.py +18 -0
  5. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema.egg-info/PKG-INFO +2 -2
  6. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema.egg-info/SOURCES.txt +2 -0
  7. dragonfly_schema-1.14.1/dragonfly_schema.egg-info/requires.txt +1 -0
  8. dragonfly_schema-1.14.1/requirements.txt +1 -0
  9. dragonfly_schema-1.13.1/dragonfly_schema.egg-info/requires.txt +0 -1
  10. dragonfly_schema-1.13.1/requirements.txt +0 -1
  11. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/.coveragerc +0 -0
  12. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/CODE_OF_CONDUCT.md +0 -0
  13. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/CONTRIBUTING.md +0 -0
  14. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/LICENSE +0 -0
  15. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/MANIFEST.in +0 -0
  16. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/README.md +0 -0
  17. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dev-requirements.txt +0 -0
  18. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/docs.py +0 -0
  19. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/__init__.py +0 -0
  20. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/energy/__init__.py +0 -0
  21. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/energy/properties.py +0 -0
  22. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/radiance/__init__.py +0 -0
  23. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/radiance/gridpar.py +0 -0
  24. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/radiance/properties.py +0 -0
  25. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/roof.py +0 -0
  26. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/shading_parameter.py +0 -0
  27. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/skylight_parameter.py +0 -0
  28. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema/window_parameter.py +0 -0
  29. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema.egg-info/dependency_links.txt +0 -0
  30. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/dragonfly_schema.egg-info/top_level.txt +0 -0
  31. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/setup.cfg +0 -0
  32. {dragonfly_schema-1.13.1 → dragonfly_schema-1.14.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.13.1
3
+ Version: 1.14.1
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)
@@ -0,0 +1 @@
1
+ """Dragonfly objects specific to comparison with other models."""
@@ -0,0 +1,56 @@
1
+ """Model comparison properties."""
2
+ from pydantic import Field, constr, conlist
3
+ from typing import List, Union
4
+
5
+ from honeybee_schema._base import NoExtraBaseModel
6
+
7
+ from ..window_parameter import SingleWindow, SimpleWindowArea, SimpleWindowRatio, \
8
+ RepeatingWindowRatio, RectangularWindows, DetailedWindows
9
+ from ..skylight_parameter import GriddedSkylightArea, GriddedSkylightRatio, \
10
+ DetailedSkylights
11
+
12
+
13
+ class Room2DComparisonProperties(NoExtraBaseModel):
14
+
15
+ type: constr(regex='^Room2DComparisonProperties$') = \
16
+ 'Room2DComparisonProperties'
17
+
18
+ floor_boundary: List[conlist(float, min_items=2, max_items=2)] = Field(
19
+ None,
20
+ min_items=3,
21
+ description='A list of 2D points representing the outer boundary vertices of '
22
+ 'the Room2D to which the host Room2D is being compared. The list should '
23
+ 'include at least 3 points and each point should be a list of 2 (x, y) values.'
24
+ )
25
+
26
+ floor_holes: List[conlist(conlist(float, min_items=2, max_items=2), min_items=3)] \
27
+ = Field(
28
+ None,
29
+ description='Optional list of lists with one list for each hole in the floor '
30
+ 'plate of the Room2D to which the host Room2D is being compared. Each hole '
31
+ 'should be a list of at least 2 points and each point a list '
32
+ 'of 2 (x, y) values. If None, it will be assumed that there are no '
33
+ 'holes in the floor plate.'
34
+ )
35
+
36
+ comparison_windows: List[Union[
37
+ None, SingleWindow, SimpleWindowArea, SimpleWindowRatio, RepeatingWindowRatio,
38
+ RectangularWindows, DetailedWindows
39
+ ]] = Field(
40
+ default=None,
41
+ description='A list of WindowParameter objects that dictate the window '
42
+ 'geometries of the Room2D to which the host Room2D is being compared.'
43
+ )
44
+
45
+ comparison_skylight: Union[
46
+ None, GriddedSkylightArea, GriddedSkylightRatio, DetailedSkylights
47
+ ] = Field(
48
+ default=None,
49
+ description='A SkylightParameter object for the Room2D to which the host '
50
+ 'Room2D is being compared.'
51
+ )
52
+
53
+
54
+ class ModelComparisonProperties(NoExtraBaseModel):
55
+
56
+ type: constr(regex='^ModelComparisonProperties$') = 'ModelComparisonProperties'
@@ -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 .comparison.properties import Room2DComparisonProperties, ModelComparisonProperties
25
26
 
26
27
 
27
28
  class Room2DPropertiesAbridged(BaseModel):
@@ -36,6 +37,10 @@ class Room2DPropertiesAbridged(BaseModel):
36
37
  default=None
37
38
  )
38
39
 
40
+ comparison: Room2DComparisonProperties = Field(
41
+ default=None
42
+ )
43
+
39
44
 
40
45
  class Room2D(IDdBaseModel):
41
46
 
@@ -118,6 +123,15 @@ class Room2D(IDdBaseModel):
118
123
  'Setting this to zero indicates that the room has no floor plenum.'
119
124
  )
120
125
 
126
+ zone: str = Field(
127
+ default=None,
128
+ description='Text string for for the zone identifier to which this Room2D '
129
+ ' belongs. Room2Ds sharing the same zone identifier are considered part of the '
130
+ 'same zone in a Building. If the zone identifier has not been specified, it will '
131
+ 'be the same as the Room2D identifier in the destination engine. Note that this '
132
+ 'property has no character restrictions.'
133
+ )
134
+
121
135
  boundary_conditions: List[
122
136
  Union[Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature]
123
137
  ] = Field(
@@ -398,6 +412,10 @@ class ModelProperties(BaseModel):
398
412
  default=None
399
413
  )
400
414
 
415
+ comparison: ModelComparisonProperties = Field(
416
+ default=None
417
+ )
418
+
401
419
 
402
420
  class Model(IDdBaseModel):
403
421
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.13.1
3
+ Version: 1.14.1
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)
@@ -20,6 +20,8 @@ dragonfly_schema.egg-info/SOURCES.txt
20
20
  dragonfly_schema.egg-info/dependency_links.txt
21
21
  dragonfly_schema.egg-info/requires.txt
22
22
  dragonfly_schema.egg-info/top_level.txt
23
+ dragonfly_schema/comparison/__init__.py
24
+ dragonfly_schema/comparison/properties.py
23
25
  dragonfly_schema/energy/__init__.py
24
26
  dragonfly_schema/energy/properties.py
25
27
  dragonfly_schema/radiance/__init__.py
@@ -0,0 +1 @@
1
+ honeybee-schema==1.59.0
@@ -0,0 +1 @@
1
+ honeybee-schema==1.59.0
@@ -1 +0,0 @@
1
- honeybee-schema==1.58.6
@@ -1 +0,0 @@
1
- honeybee-schema==1.58.6