honeybee-schema 1.57.2__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'
@@ -472,6 +472,26 @@ class SetpointAbridged(IDdEnergyBaseModel):
472
472
  'The values in this schedule should be in [%].'
473
473
  )
474
474
 
475
+ setpoint_cutout_difference: float = Field(
476
+ 0,
477
+ ge=0,
478
+ description='An optional positive number for the temperature '
479
+ 'difference between the cutout temperature and the setpoint temperature. '
480
+ 'Specifying a non-zero number here is useful for modeling the throttling '
481
+ 'range associated with a given setup of setpoint controls and HVAC equipment. '
482
+ 'Throttling ranges describe the range where a zone is slightly over-cooled '
483
+ 'or over-heated beyond the thermostat setpoint. They are used to avoid '
484
+ 'situations where HVAC systems turn on only to turn off a few minutes later, '
485
+ 'thereby wearing out the parts of mechanical systems faster. They can '
486
+ 'have a minor impact on energy consumption and can often have significant '
487
+ 'impacts on occupant thermal comfort, though using the default value '
488
+ 'of zero will often yield results that are close enough when trying '
489
+ 'to estimate the annual heating/cooling energy use. Specifying a value '
490
+ 'of zero effectively assumes that the system will turn on whenever '
491
+ 'conditions are outside the setpoint range and will cut out as soon '
492
+ 'as the setpoint is reached.'
493
+ )
494
+
475
495
  @root_validator
476
496
  def check_both_humid_sch(cls, values):
477
497
  "Ensure that the other humidity schedule is included when one is."
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.2
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
@@ -18,7 +20,7 @@ honeybee_schema/energy/designday.py,sha256=as5OCxNAqU549NRlCQms10X1ylFr-oayTKH0w
18
20
  honeybee_schema/energy/generator.py,sha256=ap36GHtwkKTbJJV5SOP_bDSy4vm8hEU92BYQhK-nmrQ,7002
19
21
  honeybee_schema/energy/global_constructionset.py,sha256=Dym_36OPtxSJof0_UMDB98zDio6ubh56j9nfbWIk6_c,4958
20
22
  honeybee_schema/energy/internalmass.py,sha256=QBHGnoem9ZxwoU7Dii02HGCPDJt13Q6yIMEU9vcdZPc,771
21
- honeybee_schema/energy/load.py,sha256=MPvOQdv5HzimlLjW9v5IzaJy-AKQwczZxXwjfnYmLls,19952
23
+ honeybee_schema/energy/load.py,sha256=E106Pn-fn_4qCW8M1Y9RX6rG9iBeu0k7MY9x-dJi_3Q,21204
22
24
  honeybee_schema/energy/material.py,sha256=vdfvTaTpMRDoomzb91ujLdbxOxFY_pHdTfXxiNbD91k,28276
23
25
  honeybee_schema/energy/programtype.py,sha256=1keIS_BX8pKSUtjE4PJ1PP-Tbs5KQVwtsQ0RNdiACUE,4307
24
26
  honeybee_schema/energy/properties.py,sha256=W8gBBGKKSnsKivG38QEe07vHk3zhwZ7sqVeNU5ewJV0,15074
@@ -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.2.dist-info/LICENSE,sha256=EwA6Jt85TmMNyAsFb5GWv-tZ0vGYo8hZHBMcI391qjw,1709
51
- honeybee_schema-1.57.2.dist-info/METADATA,sha256=KjmtIg2cOL_ccBfBJb0bt1QjnjSeMAED9yr2VLJFSOA,2505
52
- honeybee_schema-1.57.2.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
53
- honeybee_schema-1.57.2.dist-info/entry_points.txt,sha256=suHpy6-iPhAylFCa-KopQHRJIwLhTCIVO2NHMzdEn8M,61
54
- honeybee_schema-1.57.2.dist-info/top_level.txt,sha256=rTScYvlcOBkdc0is-F6Q3tRkmy-vf4bMTJGXzsxI2sA,16
55
- honeybee_schema-1.57.2.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,,