Reads out SurfPlan native export, transforms the data structure, and runs an aerodynamic analysis using the Vortex-Step-Method (VSM) on your kite design.
Use the package manager pip to install
-
Clone the repository:
git clone https://github.com/jellepoland/SurfplanAdapter.git
-
Navigate to the repository folder:
cd SurfplanAdapter/
-
Create a virtual environment:
Linux or Mac:
python3 -m venv venv
Windows:
python -m venv venv
-
Activate the virtual environment:
Linux or Mac:
source venv/bin/activate
Windows
.\venv\Scripts\activate
-
Install the required dependencies:
For users:
pip install .
For developers:
pip install -e .[dev]
-
To deactivate the virtual environment:
deactivate
We welcome contributions to this project! Whether you're reporting a bug, suggesting a feature, or writing code, here’s how you can contribute:
- Create an issue on GitHub
- Create a branch from this issue
git checkout -b issue_number-new-feature
- --- Implement your new feature---
- Verify nothing broke using pytest
pytest
- Commit your changes with a descriptive message
git commit -m "#<number> <message>"
-
Push your changes to the github repo: git push origin branch-name
-
Create a pull-request, with
base:develop
, to merge this feature branch -
Once the pull request has been accepted, close the issue
Inside the examples folder, the main_run_VSM.py script is present that goes through the main steps for the TUDELFT_V3_LEI_KITE SurfPlan files, in the following order.
- Loading the surfplan files from the data folder.
- Transforming the data into the appropriate format and store it inside the processed_data folder as .csv
- Running an aerodynamic analysis using the Vortex-Step-Method (VSM)
- Storing the outcome in the results folder.
To use this code on your kite designs from SurfPlan, one needs to:
- Acquire the .txt and rib profiles in .dat format from the SurfPlan export menu
- Install this code and insert the SurfPlan exported files into the data folder
- Adjust the path inside the
main_run_VSM.py
code to where your files are stored and press run!
If you use this project in your research, please consider citing it. Citation details can be found in the CITATION.cff file included in this repository.
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) 2024 Jelle Poland (TU Delft), Tom Mooijman (Kitepower), Corentin Tan (BeyondTheSea)