https://github.com/architectural-artificial-intelligence/sukkah_balcony_optimizer
https://github.com/architectural-artificial-intelligence/sukkah_balcony_optimizer
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Architectural-Artificial-Intelligence
- License: mit
- Language: Python
- Default Branch: main
- Size: 13.4 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Sukkah Balcony Optimizer
This project uses a genetic algorithm to optimize the design of Sukkah balconies in accordance with Jewish Halacha law. The algorithm generates an array of squares to find the maximum possible Sukkah balconies that adhere to the religious code.
Process Overview
The diagram below provides an overview of the solution-finding process:

Initial Floor Settings
The optimization process begins with an initial floor setting defined by points. The minimum and maximum location of solution points is demonstrated bellow:

Solution Example
The genetic algorithm generates a variety of solutions. Here is an example of one such solution:

Building Example
The solution is made out of an array of floors. Here is an example of how a solution looks in 3D:

Rendered Examples
The following images provide rendered examples of buildings that have been optimized using the Sukkah Balcony Optimizer. These examples demonstrate the potential of this tool to generate complex designs, suggesting a contemporary style of residential buildings.

Getting Started
These instructions will guide you on how to install and run the Sukkah Balcony Optimizer on your local machine.
Prerequisites
The following Python libraries are required to run the code:
- numpy
- pygad
- shapely
Installation
- Clone the repository or download the code.
- Install the required dependencies using pip:
bash
pip install numpy pygad shapely
Configuration
You can modify the parameters of the genetic algorithm to suit your needs.
- In
main.py, you can change the number of generated solutions. By default, 200 solutions are generated. - In
functions.py, you can modify other parameters within themainfunction.
Usage
Running the Optimization
To run the optimization code, use the following command:
bash
python main.py
Evaluating the Results
To count the number of balconies and their size in a given solution, use the following command:
bash
python evaluate.py [filename]
To generate a CSV file with the performance of all the generated solutions, use the following command:
bash
python evaluate_folder.py
Converting Solutions
To convert a single solution to Python code that can be executed in Rhino 3D, use the following command:
bash
python convert_to_rhino.py [filename]
Contributing
We welcome contributions to the Sukkah Balcony Optimizer. Please feel free to submit a pull request or open an issue to discuss your ideas.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Owner
- Name: Architectural Artificial Intelligence Research Laboratory
- Login: Architectural-Artificial-Intelligence
- Kind: organization
- Location: Israel
- Website: https://ariel.ac.il/wp/aairl/
- Repositories: 1
- Profile: https://github.com/Architectural-Artificial-Intelligence
The AAIRL at the Ariel School of Architecture aims to explore how computational methods can help architects design better structures and more sustainable cities
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2
Dependencies
- numpy *
- pygad *
- shapely *