dragonfly-doe2 0.12.1__py2.py3-none-any.whl → 0.12.3__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.
@@ -5,9 +5,10 @@ import logging
5
5
  import json
6
6
 
7
7
  from ladybug.commandutil import process_content_to_output
8
- from honeybee_doe2.simulation import SimulationPar
9
8
  from dragonfly.model import Model
9
+ from honeybee_doe2.simulation import SimulationPar
10
10
 
11
+ from dragonfly_doe2.writer import model_to_inp as writer_model_to_inp
11
12
 
12
13
  _logger = logging.getLogger(__name__)
13
14
 
@@ -155,7 +156,9 @@ def model_to_inp(
155
156
  sim_par = SimulationPar.from_dict(data)
156
157
 
157
158
  # create the strings for the model
158
- inp_str = model.to.inp(
159
+ multiplier = not full_geometry
160
+ ceil_adjacency = not no_ceil_adjacency
161
+ inp_str = writer_model_to_inp(
159
162
  model, multiplier, no_plenum, ceil_adjacency, sim_par, hvac_mapping,
160
163
  exclude_interior_walls, exclude_interior_ceilings, equest_version)
161
164
 
@@ -1 +1 @@
1
- """dragonfly-radiance properties."""
1
+ """dragonfly-doe2 properties."""
@@ -224,12 +224,12 @@ class ModelDoe2Properties(object):
224
224
  return {'doe2': {'type': 'ModelDoe2Properties'}}
225
225
 
226
226
  def apply_properties_from_dict(self, data):
227
- """Apply the energy properties of a dictionary to the host Model of this object.
227
+ """Apply the DOE-2 properties of a dictionary to the host Model of this object.
228
228
 
229
229
  Args:
230
230
  data: A dictionary representation of an entire dragonfly-core Model.
231
- Note that this dictionary must have ModelEnergyProperties in order
232
- for this method to successfully apply the energy properties.
231
+ Note that this dictionary must have ModelDoe2Properties in order
232
+ for this method to successfully apply the DOE-2 properties.
233
233
  """
234
234
  assert 'doe2' in data['properties'], \
235
235
  'Dictionary possesses no ModelDoe2Properties.'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-doe2
3
- Version: 0.12.1
3
+ Version: 0.12.3
4
4
  Summary: Dragonfly extension for the DOE-2 energy simulation engine.
5
5
  Home-page: https://github.com/ladybug-tools/dragonfly-doe2
6
6
  Author: Ladybug Tools
@@ -14,7 +14,7 @@ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
14
  Classifier: Operating System :: OS Independent
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: honeybee-doe2==0.22.4
17
+ Requires-Dist: honeybee-doe2==0.22.5
18
18
  Requires-Dist: dragonfly-energy>=1.34.2
19
19
 
20
20
  ![Dragonfly](https://www.ladybug.tools/assets/img/dragonfly.png) ![DOE-2](https://doe2.com/DOE2/BldgDOE2.gif) ![eQuest](https://www.doe2.com/equest/eQcb_142.gif)
@@ -0,0 +1,15 @@
1
+ dragonfly_doe2/__init__.py,sha256=Fg3aP_2h6-UD4bqHbFJ3tMbA_ZED5uDGjDedY4XJp8g,40
2
+ dragonfly_doe2/__main__.py,sha256=3FrW6CO-CPoGSXn73hLWCejb0d-qnit6ga_565z49uY,75
3
+ dragonfly_doe2/_extend_dragonfly.py,sha256=_3XebNYHxG__7wxLOtW-aqPV-OIkplvVXgnBEDgrcS0,996
4
+ dragonfly_doe2/writer.py,sha256=Yfs9fEEhX8WrDqhy4nIxeOwMPDKHvu3RoeInz94pGO8,6224
5
+ dragonfly_doe2/cli/__init__.py,sha256=OwTHSsOOEoJjbw5CqPig8Yo7jk1f6m53OFnhuZgPthE,391
6
+ dragonfly_doe2/cli/translate.py,sha256=gVpMSL074B6YPOe26cD0njGL_durS9lugrenbLoZiUw,7989
7
+ dragonfly_doe2/properties/__init__.py,sha256=0JiyMYGeRlPLcxh1PSr6eJzDGgfrbMivcO9dS1h7wEU,33
8
+ dragonfly_doe2/properties/model.py,sha256=D1fQGW9h7N031GzuSCpYJ0wIR2sG8YayoHnF_n0doaw,11695
9
+ dragonfly_doe2/properties/room2d.py,sha256=ghKKhcX2TSgPUAdcQk-PPHo_5AilSmTiLElxb8--dkE,12773
10
+ dragonfly_doe2-0.12.3.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
11
+ dragonfly_doe2-0.12.3.dist-info/METADATA,sha256=GkhjeeCBvn7Bnq5LsoaFdTkVVau4OjL-thbR67GcVbo,2690
12
+ dragonfly_doe2-0.12.3.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
13
+ dragonfly_doe2-0.12.3.dist-info/entry_points.txt,sha256=oBzZOsc8Bs40iHKtuyWGrz_nfLZu1-6cHrBej05ZqrY,59
14
+ dragonfly_doe2-0.12.3.dist-info/top_level.txt,sha256=6CLCvUyl1H2vrbXmeA0ND_znFz4a2oOclc7NMBZxR6c,15
15
+ dragonfly_doe2-0.12.3.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- dragonfly_doe2/__init__.py,sha256=Fg3aP_2h6-UD4bqHbFJ3tMbA_ZED5uDGjDedY4XJp8g,40
2
- dragonfly_doe2/__main__.py,sha256=3FrW6CO-CPoGSXn73hLWCejb0d-qnit6ga_565z49uY,75
3
- dragonfly_doe2/_extend_dragonfly.py,sha256=_3XebNYHxG__7wxLOtW-aqPV-OIkplvVXgnBEDgrcS0,996
4
- dragonfly_doe2/writer.py,sha256=Yfs9fEEhX8WrDqhy4nIxeOwMPDKHvu3RoeInz94pGO8,6224
5
- dragonfly_doe2/cli/__init__.py,sha256=OwTHSsOOEoJjbw5CqPig8Yo7jk1f6m53OFnhuZgPthE,391
6
- dragonfly_doe2/cli/translate.py,sha256=3aIXgAmZGUivktxNLT30r5iip9-msD-zm2SxBXkzzMo,7834
7
- dragonfly_doe2/properties/__init__.py,sha256=h-O2WRFI5r12owvSQUrSgdLmlhM7shJAvzLFGryG3rk,37
8
- dragonfly_doe2/properties/model.py,sha256=8zkiPVYjPKXLUr6_M4WRCJ-WJh20xE3mgyVjjpnpeuQ,11699
9
- dragonfly_doe2/properties/room2d.py,sha256=ghKKhcX2TSgPUAdcQk-PPHo_5AilSmTiLElxb8--dkE,12773
10
- dragonfly_doe2-0.12.1.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
11
- dragonfly_doe2-0.12.1.dist-info/METADATA,sha256=TfEcjsAjSW2ISQg6wlRQoi1ZZ-IR4nIsMYTyWSimSFg,2690
12
- dragonfly_doe2-0.12.1.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
13
- dragonfly_doe2-0.12.1.dist-info/entry_points.txt,sha256=oBzZOsc8Bs40iHKtuyWGrz_nfLZu1-6cHrBej05ZqrY,59
14
- dragonfly_doe2-0.12.1.dist-info/top_level.txt,sha256=6CLCvUyl1H2vrbXmeA0ND_znFz4a2oOclc7NMBZxR6c,15
15
- dragonfly_doe2-0.12.1.dist-info/RECORD,,