Skip to content

aenarete/WinchModels.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • motor/generator
  • gearbox (optional)
  • drum

Currently implemented is a model of the 20kW ground station from Delft University of Technology.

Installation

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

using Pkg
pkg"add WinchModels"

Exported types

AbstractWinchModel
AsyncMachine

Main functions

calc_acceleration(wm::AsyncMachine, set_speed, speed, force, 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

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

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

See also