Giter Club home page Giter Club logo

fractionalsystems.jl's Introduction

FractionalSystems.jl

building codecov license license

GitHub issues GitHub stars GitHub forks

FractionalSystems.jl is a Julia toolbox can be used to model and analyse the fractional order systems.

Get Started

To add the FractionalSystems.jl, using the Julia package manager:

pkg> add FractionalSystems

Basic FOTF and FOSS

Fractional order transfer functions and fractional order state space are the basic elements in fractional control system, it is esay to create them in FractionalSystems.jl:

julia> tf = fotf([1, 2], [0.3, 0.4], [1, 2], [0.5, 0.6], 2)
FOTF

s^{0.3} + 2s^{0.4}
------------------ exp(-2*s)     
s^{0.5} + 2s^{0.6}
julia> sys = foss([-5 0; 0 -5],[2; 2],[3 3],[0], 0.5, 1, 1, 1)
FOSS

A =
 -5   0
  0  -5
B =
 2
 2
C =
 3  3
D =
 0

Descriptor matrix:

E =
1

Time delay is 1
α = 0.5
Initial state vector x₀ = 1

Analyzing methods

To see the root locus of a fractional order system:

julia> G = fotf([1], [0], [1, 10, 35, 50, 24], [3.5, 2.8, 2.1, 1.4, 0.7])
julia> rlocus(G)

rlocus

Notice

The FractionalSystems.jl can be seen as the combination of FOTF, FOMCON and ControlSystems.jl

We are working hard on FractionalSystems.jl to provide performant features as much as possible, if you are interested, don't hesitate to get in touch:)

fractionalsystems.jl's People

Contributors

erikqqy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fractionalsystems.jl's Issues

Lyapunov exponents failed

julia> function RF(du, u, t)
du[1] = u[2](u[3]-1+u[1]u[1])+0.1u[1];
du[2] = u[1]
(3u[3]+1-u[1]u[1])+0.1u[2];
du[3] = -2
u[3]*(0.98+u[1]*u[2]);
end
RF (generic function with 1 method)

julia> LE, tspan = FOLyapunov(RF, 0.98, 0, 0.02, 300, [0.1; 0.1; 0.1], 0.005, 1000)
ERROR: UndefVarError: FOLyapunov not defined
Stacktrace:
[1] top-level scope
@ REPL[12]:1
i sincerely need help identifying why i am getting this particular error

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!

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.