Setup your project folder:
- Go to Pollination Cloud / projects
- Select the project where you want to run your simulation
- Click on
Settings/Recipes
- Add
ladybug-tools/direct-sun-hours:0.5.5-viz
Provide a pollination cloud API key, username and project name (e.g. demo)
If you are using the browser;
- Upload a hbjson file
- Upload an EPW file
- Run the simulation
- Go to Pollination Cloud / projects
- Select a project where a 'direct sun hours' job without recipe
-viz
is - Open the project
- Copy the URL (E.g.
https://app.pollination.cloud/antonellodinunzio/projects/demo/jobs/acc403cf-c81a-4ca6-a9d5-cf48a77a01f2
) - Paste it inside JOB ID streamlit input
-
Clone the repo locally, go into the directory and run the following commands;
-
pip install -r requirements.txt
-
streamlit run app.py