Giter Site home page Giter Site logo

winchmodels.jl's Introduction

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. 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.

See also

winchmodels.jl's People

Contributors

ufechner7 avatar

Stargazers

 avatar

Watchers

 avatar

winchmodels.jl's Issues

Add function calc_power

Add a function to calculate the mechanical and electrical power as function of force and speed.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Add model of torque-controlled winch

The current winch model assumes a speed controlled asynchronous generator. But modern winches often use a torque-controlled motor/generator, which reacts much faster. A model of such a winch should be added.

Verify agains Python code

  • Add unit tests
  • Add plot of function smooth_sign(x)
  • Add plot of tether force vs speed for different values of the synchronous speed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.