Skip to content

This repository contains a project for propeller optimization using genetic algorithms and the QPROP tool. The project includes Python scripts, configuration files, and input data necessary to run the optimization and visualize the results.

License

Notifications You must be signed in to change notification settings

joaovquintas/ga-propeller-optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Propeller Optimization with Genetic Algorithms

This repository contains the code and files necessary to optimize propellers using genetic algorithms and the QPROP tool.

Directory Structure

  • inputFiles
    • APC12x6.txt
    • propdrive2.txt
    • results12x6PY.txt
    • solar1run.txt
  • optimization.ipynb
  • qcon.def
  • qprop.exe

Dependencies

The required libraries are:

  • numpy
  • matplotlib
  • deap

Install the dependencies using:

pip install numpy matplotlib deap

How to Run

Step 1: Propeller Optimization

  1. Open the optimization.ipynb file in a Jupyter Notebook environment.
  2. Run all the cells to perform the propeller optimization and generate comparison plots.

Step 2: Visualizing the Results

The plots comparing the performance data of the original and optimized propellers will be generated at the end of the notebook execution.

File Descriptions

  • inputFiles/APC12x6.txt: Input file with data for the original propeller.
  • inputFiles/propdrive2.txt: Motor configuration for QPROP.
  • inputFiles/results12x6PY.txt: Performance results for the original propeller.
  • inputFiles/solar1run.txt: Simulation configuration for QPROP.
  • optimization.ipynb: Notebook containing the optimization and visualization code.
  • qcon.def: Configuration file required for QPROP.
  • qprop.exe: QPROP executable.

Features

Genetic Algorithm

The notebook includes the configuration and execution of the genetic algorithm, which optimizes the number of blades, the chord, and the twist angle of the propeller to maximize propulsive efficiency.

Visualizing the Results

The notebook also contains code to generate graphs comparing the original and optimized propellers in terms of propulsive efficiency, shaft power, thrust, torque, and overall efficiency.

Author

  • João Vitor Quintas dos Santos

Licença

Este projeto está licenciado sob a MIT License.

About

This repository contains a project for propeller optimization using genetic algorithms and the QPROP tool. The project includes Python scripts, configuration files, and input data necessary to run the optimization and visualize the results.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published