Dragonfly Core is the core Python library for urban-scale energy modeling, part of the Ladybug Tools ecosystem. It provides objects for building stories, districts, and urban models that can be converted to Honeybee for detailed simulation. Current version 1.76.2, with frequent releases (weekly) and active maintenance.
pip install dragonfly-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a simple Dragonfly model with a single building and story.
Use new 'assign_clearstory' methods on RoofSpecification; avoid direct subface manipulation.
Ensure all coordinate and dimension inputs are in meters (m). Convert from feet or other units before passing.
Replace 'building.stories' with 'building.unique_stories'.
Upgrade to >=1.75.35 for a partial workaround; avoid MultiPolygon if targeting URBANopt.
Use 'from dragonfly.building import Building'
Use 'building.unique_stories' instead of 'building.stories'