This is the repository of the Wind Turbine development project from the 3. semester students of the wind energy engineering master from the university of applied science Flensburg, Germany.
Never worked with Git and repositorys before or not sure what to do? - See the small guide to git below.
Optimus2024
┣ .git
┣ IEA-3.4-130-RWT
┣ PresentationTemplate
┣ .gitignore
┗ README.md
Git is powerful and commonly used software tool for managing version history of files, espically ASCII based files e.g. the files of OpenFAST or MATLAB.
- If you read these instructions before starting you work in this repository (this how a folder is called that is managed by git) you should have an basic understanding of what you can do, what you can't and what you shouldn't do.
- If you want to just read files and browse through everything you can stop reading here. This is possible without any login or such thing. You can even download files if you want to. If this is not the case go to the next point.
- First you need to create a GitHub Account. Go to the GitHub website and create yourself an Account. Please add your full name to the profile in your account for the duration you are participating in the Optimus project. A little manual on how to that you can find here. You can change this back after the project is done. This is just so we can easier identify the people.
- After you GitHub Account is ready to use you can send your account name to Julius, Felix or Soni. We than grand you writing permissions to the project.
- Before you now start working on the Optimus GitHub Project files you need do these two tutorials.
- First do the general tutorial for git and play a little bit around with the stuff you learned there.
- Second do the tutorial for the GitHub desktop app.
Now that you know about branches, commits and pull request you would be able to start working on the Optimus Project GitHub repo (short for repositiory). Not so FAST we need to discuss some rules first.
The projects repo consists of two important branches main and develop.
- main: This branch is the main branch. Here is everytime a working version of the projects model, CAD models and other files available. This branch will be updated from time to time if we reach a point where the changes become permanent. You could say we are than upgrading to the next "version" of our turbine.
- develop: This branch is a work in progress. If you have made changes to the model e.g. the rotor blade group has new NACA profiles created. Than these changes will be applied to the develop branch and can be tested by all other groups. After sufficient testing these changes will be applied to the main branch and we have a new version of our turbine.
Both of these branches are protected. Meaning that changes to these branches can be made only via a pull request. The current settings are also that another person has to review the changes that are made. After that the changes combined in the pull request can be applied to the develop branch.
In order to submit a pull request you have to create a new branch, a so called feature-branch. Give this branch a good and understandable name. For example: new-rated-power.
-
Create a new branch (feature branch)
- either from the main branch,
- from the develop branch
- or from any other existing branch
-
Make the changes you want to do, add new files, whatever needs to be done.
-
Submit a pull request that merges your created branch into the develop branch.
-
Assign someone to review you changes.
-
Wait for the review.
-
After the review was positive you can merge.
-
The new feature or the changes are now applied to the develop branch will be tested and than maybe merged into the main branch with the release of the next version of our turbine.
- Just try things out and get used to working with git. You can always go back to to the last commit that worked or just start a new branch from the last point where everything was still working. Exactly for this is git build.
- If you want to start working on a new task or idea it always good to check if you got the latest version of the repository on your device. The update is not done automaticlly. Please check if you need to pull from the remote repository. Meaning if someone changed something on that you maybe want to build your work upon.
- Describe what you changed in the commit messages and espically in the pull requests. This makes later easy for you and other people to understand what you did.
- Never add archive files such as .rar, .zip or similar ones.
Please let me (Julius) know if you ran into any issues that need to be adressed here.