Ladybug 0.0.52 Release


I’m excited to release Ladybug version 0.0.52 today which has several new features and enhancements. There are more than 10 new components, which extend the possibilities of using Ladybug for environmental studies and make it possible to run the analyses faster and more accurately.

Thanks to RADIANCE’s gendaymtx (and the awesomeness of Greg Ward, Ian Ashdown, and the help of Rob Guglielmetti) Ladybug is now using a brand new sky model which makes hourly and real time radiation analysis possible (Watch this video). SunPath is now improved and there are quite a few new components that work with SunPath including shadow mask, ray-tracing (short video), and view from sun (short video).

There are two new components for shading design and shadow studies that are not fully functional but are good enough to be released as a test version (This video shows the shadow study component).

I’m the most excited to introduce and welcome Chris Mackey as the new co-developer of the ‘bug who has developed the Humidity Ratio calculator for Ladybug which you can find under weather data analysis tab. People working with HVAC system design and thermal comfort may find it particularly useful and you can consider this component an initial step towards a Psychrometric chart for Ladybug.

There have also been a few enhancements to the analysis components. The parallel input is working properly now and the analyses are run much faster (here is the proof!). The orientation study is also modified so the legends are normalized and will stay at the same size and in the same location. And there’s much more to be explored when you install the components!

So far I couldn’t find a fast and accurate way to calculate the Vertical Sky Factor but both the viewRose (short video) and the shadow mask components calculate the values of VSF in 2d and 3d which can be used for your studies. I believe there should be a faster way to calculate the VSF based on view analysis.

You can download the new version from the same link and give it a try. I also updated the source code on GitHub and prepared some new examples to get you started. Don’t forget to update your GHPython to the latest release (Thanks Giulio) before updating the Ladybug.

Thanks again for all the support, great suggestions and the kind comments. Please keep the suggestions coming and stay critical to the ‘bug and the results of your studies.






Awesome stuff Mostapha, can’t wait to try it out…




Thanks Mostapha :slight_smile:
It’s seems Awesome
Special about shadow analysis and ray tracing and real time radiation analysis…


Great, I’ll give it a go tomorrow.


Very Nice work! :slight_smile:


So great Mostapha,

Great contribution to a very thirsty community.




Thank you everyone! Let me know if you find a bug in the 'bug!

I also added two more examples to the example files. one for shadow study and one for the view rose.


is it possible for a series of tutorial for the new ladybug version.?


Dear Mostapha,

Many thanks for sharing such good work and to include the code! I am just checking it now, but looking at the raytracing component, I haven’t been able to make it work, get the message “Solution exception:Index was outside the bounds of the array” even with your example file, and the inputs seem OK… Would that be a bug, or would I be doing something wrong?




Hi Rodrigo, Have you updated the GHPython component to the latest version? I guess that is what cause the problem.


Hi Nick. That’s a fair request. You need to give me some time though. Right now I’m so busy getting the Honeybee ready for the new year. Once I get Honeybee done I will record new tutorials for Ladybug. If there is something special that you are interested in please let me know.


Hi Fabian, Thank you so much. Back to the LEED calculation, based on my understanding (which could be totally wrong) viewAnalysis component with the new input for “viewPtsWeights_” should be capable of calculating access to views. You need to represent the view targets as points though.