Instant daylight autonomy generation for a single room with one window located in Copenhagen. Winner of the "Best Overall Hack" at the AEC Tech Hackathon 2021
Requires the following:
- Rhino 7
- Hops component for Grasshopper (See CPython in Grasshopper Guide for all required libraries)
- Visual Studio Code
- Python version 3.10.2
- Tensorflow version 2.8.0
Steps to run grasshopper and python files:
- Open "InstantDaylight.gh" in Grasshopper
- Open "app.py" in Visual Studio Code and edit the file paths to the tensorflow model under "# Load tensorflow model". Run the python code and check the terminal for the path to the hops server (default: http://127.0.0.1:5000/)
- Double click "Instant Daylight Autonomy" in the Grasshopper model and paste in hops server path followed by "instantda" (http://127.0.0.1:5000/instantda).
- Draw a closed polyline with four vertices within the mesh space in Rhino. The mesh is most accurate when centered around the origin. Set the curve to "Room Curve" in the Grasshopper file. If daylight autonomy mesh does not immediately show up, change the slider values to start.
- Change the slider values (in Grasshopper or the Remote Control Panel in Rhino) or move the control points to see the change in daylight autonomy instantly.
Traing data was generated using Ladybug Tools and the Pollination Cloud service.
Room was created using a pseudo random seed value to change the following inputs:
- Four room coordinates (four random points on a randomly generated circle)
- Room height
- Room orientation
- Window width ratio
- Window height ratio
The analysis mesh is a 30x30 grid centered around the origin.