Skip to main content

Honeybee is a Python library to create, run and visualize the results of daylight (RADIANCE) and energy analysis (EnergyPlus/OpenStudio). The current version supports only Radiance integration.

Project description

Honeybee

Build Status semantic-release Coverage Status

Python 2.7 IronPython

honeybee

Honeybee is a Python library to create, run and visualize the results of daylight (RADIANCE) and energy analysis (EnergyPlus/OpenStudio). The current version supports only Radiance integration. For energy simulation you may use the legacy honeybee for Grasshopper.

This repository includes the core library which is the base for Honeybee plugins. For plugin-specific questions and comments refer to honeybee-grasshopper or honeybee-dynamo repositories.

Check this repository for the legacy honeybee plugin for Grasshopper.

Installation

pip install lbt-honeybee

Tentative road map

  • Basic Radiance Integration.
  • Support annual daylight simulation - daylight coefficient method [Nov 2016].
  • Support three-phase daylight simulation [Dec 2016].
  • Support five-phase daylight simulation [Aug 2017].
  • Fix PEP 8 issues [Dec 2017].
  • Code documentation [Dec 2017].
  • Provide cloud service support for daylight simulation [Under progress]
  • Basic EnergyPlus integration [Nov 2019]
  • Support basic HVAC modeling.
  • Full OpenStudio integration.

API Documentation

Citing honeybee

For the daylighting library cite this presentation:

Sadeghipour Roudsari, Mostapha. Subramaniam, Sarith. 2016. Automating Radiance workflows with Python. The 15th Annual Radiance Workshop. Padua, Italy. Available at: https://www.radiance-online.org/community/workshops/2016-padua/presentations/213-SadeghipourSubramaniam-AutomatingWorkflows.pdf `

Examples

Here is a Python example that shows how to put a grid-based analysis together. For more examples check one of the plugins repository.

from honeybee.room import Room
from honeybee.radiance.material.glass import Glass
from honeybee.radiance.sky.certainIlluminance import CertainIlluminanceLevel
from honeybee.radiance.recipe.pointintime.gridbased import GridBased

# create a test room
room = Room(origin=(0, 0, 3.2), width=4.2, depth=6, height=3.2,
            rotation_angle=45)

# add fenestration
#  # add a window to the back wall
room.add_fenestration_surface(wall_name='back', width=2, height=2, sill_height=0.7)

# add another window with custom material. This time to the right wall
glass_60 = Glass.by_single_trans_value('tvis_0.6', 0.6)
room.add_fenestration_surface('right', 4, 1.5, 1.2, radiance_material=glass_60)

# run a grid-based analysis for this room
# generate the sky
sky = CertainIlluminanceLevel(illuminance_value=2000)

# generate grid of test points
analysis_grid = room.generate_test_points(grid_size=0.5, height=0.75)

# put the recipe together
rp = GridBased(sky=sky, analysis_grids=(analysis_grid,), simulation_type=0,
               hb_objects=(room,))

# write simulation to folder
batch_file = rp.write(target_folder='.', project_name='room')

# run the simulation
rp.run(batch_file, debug=False)

# results - in this case it will be an analysis grid
result = rp.results()[0]

# print the values for each point
for value in result.combined_value_by_id():
    print('illuminance value: %d lux' % value[0])

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lbt-honeybee-0.1.15.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lbt_honeybee-0.1.15-py2.py3-none-any.whl (4.2 MB view details)

Uploaded Python 2Python 3

File details

Details for the file lbt-honeybee-0.1.15.tar.gz.

File metadata

  • Download URL: lbt-honeybee-0.1.15.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for lbt-honeybee-0.1.15.tar.gz
Algorithm Hash digest
SHA256 d3f324ee850e1f62a02feadd03afa06347be7417405c2e9bfb8f42e9788a4f5d
MD5 aa97fbef44d4f20e82e148845477a88b
BLAKE2b-256 1a14b00a8ef8e23347c1e9653b2e0c560ae532ffb43d0f337dae3ca0ebc9598e

See more details on using hashes here.

File details

Details for the file lbt_honeybee-0.1.15-py2.py3-none-any.whl.

File metadata

  • Download URL: lbt_honeybee-0.1.15-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for lbt_honeybee-0.1.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0536cea81266586dbd90ba934c29b8e8c8cd09301be6357406351d0ec4817d36
MD5 ef32b619bcf7e467c4d88f3326e331d3
BLAKE2b-256 999669b0906b8dd24bf1c97b642751ce0ef1bdb8ad407f0287a0f06d32ea32f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page