Grasshopper

algorithmic modeling for Rhino

We are all pleased to announce the public release of Ladybug 0.0.62 and Honeybee 0.0.59!  Though this release is only 4 months from our last one, there has been a flurry of activity and several new software connections built from the initial seed of the project. As always you can download the new release from Food4Rhino. Make sure to remove the older version of Ladybug and Honeybee and update your scripts.

This release is also special since today it is just about 3 years (3 years and 2 weeks) from the first release of Ladybug. As with any release, there have been a number of bug fixes and improvements but we also have some major news this time. In no specific order and to ensure that the biggest developments do not get lost in the extensive list of updates, here are the major ones:

 

  • Mostapha is re-writing Ladybug!

  • Ladybug for DynamoBIM is finally available.

  • Chris made bakeIt really useful by incorporating an export pathway to PDFs and vector-based programs.

  • Honeybee is now connected to THERM and the LBNL suite thanks to Chris Mackey.

  • Sarith has addressed a much-desired wish for Honeybee (Hi Theodore!) by adding components to model electric lighting with Radiance.

  • Djordje is on his way to making renewable energy deeply integrated with Ladybug by releasing components for modeling solar hot water.

  • There is new bug. Check the bottom of the post for Dragonfly!
  • Last but definitely not least (in case you’re not still convinced that this release is a major one) Miguel has started a new project that brings some of Ladybug’s features directly to Rhino. We mean Rhino Rhino - A Rhino plugin! Say hi to Icarus! #surprise

 

Before we forget! Ladybug and Honeybee now have official stickers. Yes! We know about T-Shirts and mugs and they will be next.  For now, you can deck-out your laptops and powerhouse simulation machines with the symbology of our collaborative software ecosystem.

 

Now go grab a cup of tea/coffee and read the details below:

Rewriting Ladybug!

Perhaps the most far-reaching development of the last 4 months is an effort on the part of Mostapha to initiate a well structured, well documented, flexible, and extendable version of the Ladybug libraries. While such code is something that few community members will interact with directly, a well-documented library is critical for maintaining the project, adding new features, and for porting Ladybug to other software platforms.

The new Ladybug libraries are still under development across a number of new repositories and they separate a ladybug-core, which includes epw parsing and all non-geometric functions, from interface-specific geometry libraries. This allows us to easily extend Ladybug to other platforms with a different geometry library for each platform (ie. ladybug-grasshopper, ladybug-dynamo, ladybug-web, etc) all of which are developed on top of the ladybug-core.

Without getting too technical, here is an example of a useful outcome of this development. If you want to know the number of hours that relative humidity is more than 90% for a given epw, all that you have to code (in any python interface) is the following:

import ladybug as lb

_epwFile = r"C:\EnergyPlusV7-2-0\WeatherData\USA_CO_Golden-NREL.724666_TMY3.epw"

epwfile = lb.epw.EPW(_epwFile)

filteredData = epwfile.relativeHumidity.filterByConditionalStatement('x>90')

print "Number of hours with Humidity more than 90 is %d "%len(filteredData.timeStamps)

Compare that to the 500 + lines that you would have had to write previously for this operation, which were usually tied to a single interface! Now let’s see what will happen if you want to use the geometry-specific libraries. Let’s draw a sunpath in Grasshopper:

import ladybuggrasshopper.epw as epw

import ladybuggrasshopper.sunpath as sunpath

# get location data form epw file

location = epw.EPW(_epwFile).location

# initiate sunpath based on location

sp = sunpath.Sunpath.fromLocation(location, northAngle = 0, daylightSavingPeriod = None, basePoint =cenPt, scale = scale, sunScale = sunScale)

# draw sunpath geometry

sp.drawAnnualSunpath()

# assign geometries to outputs

...

Finally we ask, how would this code will look if we wanted to make a sunpath for dynamo? Well, it will be exactly the same! Just change ladybuggrasshopper in the second line to ladybugdynamo! Here is the code which is creating the sunpath below.

sunpath.gif

With this ease of scripting, we hope to involve more of our community members in our development and make it easy for others to use ladybug in their various preferred applications.  By the next release, we will produce an API documentation (documentation of all the ladybug classes, methods and properties that you can script with) and begin making tutorials for those interested in getting deeper into Ladybug development.

 

LADYBUG

1 - Initial Release of Ladybug for Dynamo:

As is evident from the post above, we are happy to announce the first release of Ladybug for Dynamo! You can download the ladybug package from Dynamo package manager. Make sure to download version 0.0.6 which is actually 0.0.1! It took a number of trial and errors to get it up there. Once you have the file downloaded you can watch these videos to get started:

The source code can be find under ladybug-dynamo repository and (as you can already guess) it is using the new code base. It includes a very small toolkit of essential Ladybug components/nodes but it has enough to get you started. You can import weather files, draw sunpaths and run sunlighthours or radiation analyses.

There are two known issues in this release but neither of them is critical. You need to have Dynamo 0.9.1 or higher installed which you can download from here (http://dynamobuilds.com/). It is recommended that you run the scripts with ‘Manual’ run (as opposed to ‘Automatic’) since the more intense calculations can make Dynamo crash in automatic mode.

To put things in perspective, here is how we would map Ladybug for Dynamo vs Ladybug and Honeybee for Grasshopper on the classic  ‘Hype graph’. The good news is that what we learned a lot from the last three years, making development of the Dynamo version easier and getting us to the plateau of productivity faster.

We should also note that the current development of the Dynamo interface is behind that of the Ladybug-Core, which means there are a number of features that are developed in the code but haven’t made their way to the nodes yet. They will be added gradually over the next month or two.

If you’re interested to get involved in the development process or have ideas for the development, follow ladybug on Facebook, Twitter and Github. We will only post major release news here. Facebook, github and twitter will be the main channels for posting the development process. There will also be a release of a new ladybug for Grasshopper soon that will use the came Ladybug-Core libraries as the Dynamo interface [Trying hard not to name it as Ladybug 2].



2 - New Project “Icarus” Provides Ladybug Capabilities Directly in Rhino

Speaking of expanded cross-platform capabilities, the talented Miguel Rus has produced a standalone Rhino Plugin off of the original Ladybug code that has been included in this release. After writing his own core C# libraries, Miguel’s plugin enables users to produce sunpath and run sunlight hours analyses in the Rhino scene without need of opening Grasshopper or engaging the (sometimes daunting) act of visual scripting.

This release includes his initial RHP plugin file. It is hoped that Miguel’s efforts will extend some of the capabilities of environmental design to individuals who are unfamiliar with visual scripting, casting the network of our community into new territory. We need your help spreading the word about Icarus since the people who will benefit the most from it have probably not read this far into the release notes. Also, as the project is in the early stages, your feedback can make a great difference. You can download the current release from this link.

Once you download the zip file. Right click and unblock it. Then extract the files under C:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\ folder. Drag and drop the RHP file into Rhino and you should be ready to go. You can either type Icarus in the command line or open it via the panels. Here is a short video that shows how to run a sunlighhours analysis study in Rhino.

 

3 - BakeIt Input Now Supports a Pathway to PDF +Vector Programs

As promised in the previous release, the BakeIt_ option available on Ladybug’s visual components has been enhanced to provide a full pathway to vector-based programs (like Illustrator and Inkscape) and eases the export to vector formats like PDFs.

This means that the BakeIt_ operation now places all text in the Rhino scene as actual editable text (not meshes) and any colored meshes are output as groups of colored hatches (so that they appear as color-filled polygons in vector-based programs).  There is still an option to bake the colored geometries as light meshes (which requires smaller amounts of memory and computation time) but the new hatched capability should make it easier to incorporate Ladybug graphics in architectural drawings and documents like this vector psychrometric chart.

 

4 - Physiological Equivalent Temperature (PET) Now Available

Thanks to the efforts of Djordje Spasic, it is now possible to compute the common outdoor comfort metric ‘Physiological Equivalent Temperature’  (PET) with Ladybug.  The capability has been included with this release of “Thermal Comfort Indices” component and is supported by a “Body Characteristics” component in the Extra tab.  PET is particularly helpful for evaluating outdoor comfort at a high spatial resolution and so the next Honeybee release will include an option for PET with the microclimate map workflow.

 

5 - Solar Hot Water Components Available in WIP

Chengchu Yan and Djordje Spasic have built a set of components that perform detailed estimates of solar hot water. The components are currently undergoing final stages of testing and are available in the WIP tab of this release. You can read the full release notes for the components here.

6 - New Ladybug Graphic Standards

With the parallel efforts or so many developers, we have made an effort in this release to standardize the means by which you interact with the components.  This includes warnings for missing inputs and the ability to make either icons or text appear on the components as you wish (Hi Andres!).  A full list of all graphic standards can be found here.  If you have any thoughts or comments on the new standards, feel free to voice them here.

 

7 - Wet Bulb Temperature Now Available

Thanks to Antonello Di Nunzio - the newest member of the Ladybug development team, it is now possible to calculate wet bulb temperature with Ladybug.  Antonello’s component can be found under the WIP tab and takes inputs of dry bulb temperature, relative humidity, and barometric pressure.  

 

8 - New View Analysis Types

The view analysis component now allows for several different view studies in addition to the previous ‘view to test points.’  These include, skyview (which is helpful for studies of outdoor micro-climate), as well as spherical view and ‘cone of vision’ view, which are helpful for indoor studies evaluating the overall visual connection to the outdoors.



HONEYBEE

1 - Connection to THERM and LBNL Programs

With this release, many of you will notice that a new tab has been added to Honeybee.  The tab “11 | THERM” includes 7 new components that enable you to export ready-to-simulate Lawrence Berkeley National Lab (LBNL) THERM files from Rhino/Grasshopper.  THERM is a 2D finite element heat flow engine that is used to evaluate the performance of wall/window construction details by simulating thermal bridging behavior.  The new Honeybee tab represents the first ever CAD plugin interface for THERM, which has been in demand since the first release of LBNL THERM several years ago.  The export workflow involves the drawing of window/wall construction details in Rhino and the assigning of materials and boundary conditions in Grasshopper to produce ready-to-simulate THERM files that allow you to bypass the limited drawing interface of THERM completely.  Additional components in the “11 | THERM” tab allow you to import the results of THERM simulations back into Grasshopper and assist with incorporating THERM results into Honeybee EnergyPlus simulations.  Finally, two components assist with a connection to LBNL WINDOW for advanced modeling of Glazing constructions.  Example files illustrating many of the capabilities of the new components can be found in there links.

THERM_Export_WorkflowTHERM_Comparison_of_Stud_Wall_Constructions

Analyze_THERM_ResultsThermal_Bridging_with_THERM_and_EnergyPlus

Import_Glazing_System_from_LBNL_WINDOWImport_LBNL_WINDOW_Glazing_Assembly_for_EnergyPlus

It is recommended that those who are using these THERM components for the first time begin by exploring this example file.

Tutorial videos on how to use the components will be posted soon.  A great deal of thanks is due to the LBNL team that was responsive to questions at the start of the development and special thanks goes to Payette Architects, which allowed Chris Mackey (the author of the components) a significant amount of paid time to develop them.

2 - Electrical Lighting Components with Enhanced Capabilities for Importing and Manipulating IES Files

Thanks to the efforts of Sarith Subramaniam, it is now much easier and more flexible to include electric lighting in Honeybee Radiance simulations. A series of very exciting images and videos can be found in his release post.

You can find the components under WIP tab. Sarith is looking for feedback and wishes. Please give them a try and let him know your thoughts. Several example files showing how to use the components can be found here. 1, 23.

3- Expanded Dynamic Shade Capabilities

After great demand, it is now possible to assign several different types of control strategies for interior blinds and shades for EnergyPlus simulations.  Control thresholds range from zone temperature, to zone cooling load, to radiation on windows, to many combinations of these variables.  The new component also features the ability to run EnergyPlus simulations with electrochromic glazing.  An example file showing many of the new capabilities can be found here.

Dragonfly Beta

In order to link the capabilities of Ladybug + Honeybee to a wider range of climatic data sets and analytical tools, a new insect has been initiated under the name of Dragonfly.  While the Dragonfly components are not included with the download of this release, the most recent version can be downloaded here.  An example file showing how to use Dragonfly to warp EPW data to account for urban heat island effect can also be found here.  By the next release, the capabilities of Dragonfly should be robust enough for it to fly on its own.  Additional features that will be implemented in the next few months include importing thermal satellite image data to Rhino/GH as well as the ability to warp EPW files to account for climate change projections.  Anyone interested in testing out the new insect should feel free to contact Chris Mackey.



And finally, it is with great pleasure that we welcome Sarith and Antonello to the team. As mentioned in the above release notes, Sarith has added a robust implementation for electric light modeling with Honeybee and Antonello has added a component to calculate wet bulb temperature while providing stellar support to a number of people here on the GH forum.

 

As always let us know your comments and suggestions.

 

Enjoy!

Ladybug+Honeybee development team

 

PS: Special thanks to Chris for writing most of the release notes!

Views: 8368

Replies are closed for this discussion.

Replies to This Discussion

Looking very good! Thank you for this kind of dedication and enthusiasm : )

Really nice news, I cant express enough how impressed i am by your work! Im not really interested in any stickers but think that a paypal donate button somewhere whould be appropriate..

Thank you for this amazing tool!

Sweet guys!! Also ladybug for dynamo!!

BTW, Can one of you tell, if Honeybee will be developed for dynamo as well? 

Keep up to great work, Love it!

Can one of you tell, if Honeybee will be developed for dynamo as well? 

That is the goal but it will take a while. :)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service