aenarete / WinchModels.jl

Winch models (groundstation models) for airborne wind energy systems
MIT License
3 stars 2 forks source link
airborne airborne-wind-energy asynchronous generator groundstation windenergy

WinchModels

Build Status Coverage

Introduction

This package shall implement different models of ground stations for airborne wind energy systems. A ground station has the following components:

Currently implemented is a model of the 20kW ground station from Delft University of Technology. In addition, a generic, torque controlled winch without brake is implemented.

Mathematical background

Torque controlled winch.

Installation

First, install Julia 1.10 or higher. Then launch Julia and install this package using the package manager.

using Pkg
pkg"add WinchModels"

Exported types

AbstractWinchModel
AsyncMachine
TorqueControlledMachine

Main functions

calc_acceleration(wm::AsyncMachine, speed, force;            set_torque=nothing, set_speed=nothing, use_brake = false)
calc_acceleration(wm::TorqueControlledMachine, speed, force; set_torque=nothing, set_speed=nothing, use_brake = false)
calc_force(wm::AsyncMachine, set_speed, speed)

Plot of function "calc_force"

Helper functions

calc_reactance
calc_inductance
calc_resistance
calc_coulomb_friction
calc_viscous_friction
smooth_sign

Plot of function "smooth_sign"

Performance

using WinchModels, BenchmarkTools, KiteUtils

set = se()
wm = AsyncMachine(set)
@benchmark calc_acceleration(wm, 7.9, 8.0, 100.0)

On i7-7700K 17ns for Julia, 1050ns with Python.

Licence

This project is licensed under the MIT License. Please see the below WAIVER in association with the license.

WAIVER

Technische Universiteit Delft hereby disclaims all copyright interest in the package “KiteModels.jl” (models for airborne wind energy systems) written by the Author(s).

Prof.dr. H.G.C. (Henri) Werij, Dean of Aerospace Engineering

See also