Giter Site home page Giter Site logo

annual-daylight's Introduction

annual-daylight

Annual daylight recipe for Pollination.

Use this recipe to calculate annual daylight for a HBJSON model.

This recipe uses a 2-phase method for daylight simulation. If the accuracy of the direct sunlight is important, you can use the annual-daylight-enhanced recipe.

Versions

There are three different versions of the recipe. All three versions use the same simulation methodology and workflow, although their outputs vary.

Version Outputs PyPI
annual-daylight
  • annual daylight metrics
annual-daylight
annual-daylight.viz
  • annual daylight metrics
  • visualization
annual-daylight.viz
annual-daylight.full
  • annual daylight metrics
  • visualization
  • results folder
annual-daylight.full

For more information see the recipe on Pollination.

annual-daylight's People

Contributors

antoinedao avatar antonellodn avatar chriswmackey avatar dependabot-preview[bot] avatar dependabot[bot] avatar mikkelkp avatar mostapharoudsari avatar tymokvo avatar

Watchers

 avatar  avatar  avatar

annual-daylight's Issues

All the UDI-related outputs are using the same alias

This results in a several outputs with the same name! We should add a check for this in Queenbee to let the recipe author know the issue beforehand.

udi = Outputs.folder(
source='metrics/udi', description='Useful daylight illuminance results.',
alias=useful_daylight_illuminance_results
)
udi_lower = Outputs.folder(
source='metrics/udi_lower', description='Results for the percent of time that '
'is below the lower threshold of useful daylight illuminance.',
alias=useful_daylight_illuminance_results
)
udi_upper = Outputs.folder(
source='metrics/udi_upper', description='Results for the percent of time that '
'is above the upper threshold of useful daylight illuminance.',
alias=useful_daylight_illuminance_results
)

ValidationError on import via pollination-dsl

When using the workaround for importing via pollination_dsl.packages.load('annual_daylight') from pollination/pollination-dsl#102, I am encountering a ValidationError.

/usr/local/lib/python3.7/site-packages/pollination/annual_daylight/__init__.py:1: in <module>
    from .entry import AnnualDaylightEntryPoint
/usr/local/lib/python3.7/site-packages/pollination/annual_daylight/entry.py:14: in <module>
    from pollination.alias.inputs.radiancepar import rad_par_annual_input, \
/usr/local/lib/python3.7/site-packages/pollination/alias/inputs/radiancepar.py:12: in <module>
    platform=['grasshopper']

E   pydantic.error_wrappers.ValidationError: 1 validation error for StringInputAlias
E   handler
E     field required (type=value_error.missing)

pydantic/main.py:400: ValidationError

pip show:

Name: pollination-annual-daylight
Version: 0.5.3
<trimmed>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.