Giter Site home page Giter Site logo

tanuna's People

Contributors

adrianschlatter avatar loepfe-schl avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

tanuna's Issues

CT_System.phaseportrait(*args)

Return n-dim mesh grid of phase portrait compatible with streamplot (at least for n=2). args is a tuple of intervals giving the ranges of the internal states.

=> use this in the ml laser example

tf of system with zero DC-gain

High-pass systems have a zero at s=0. CT_LTI_System.tf() normalizes the nominator polynomials based on the DC-gain => NaN!

Observer design

Add method for observer design. Probably there is more than one method => this issue addresses the most common one.

=> extend ml laser example to estimate state from observation of output power.

Feedback

Add support to connect systems in feedback configuration.

Powers

Support raising systems to powers. This is useful, e.g., to make a 4th-order low pass from a 1st-order low pass.

Partially connecting matrices

Currently, we cannot connect a system to only one output of a matrix. Example: Connect a SISO to one leg of a splitter (np.matrix([[1], [1]])).

=> partial connections for matrices could solve that problem.

Fix zpk

zpk currently assumes 'k' to be DC-gain. This is not the usual definition and leads to problems in system with zero DC-gain. What zpk should mean is:

refr2128

ODE Solver

Make CT_System solvable.

=> use this in ml laser example

System comparison

add support of system comparison to CT_LTI_System. Doctest currently fails because this is not yet implemented.

lqr

Controller design by lqr method.

=> extend ml laser example by adding constraints on pump power excursions.

Add Response-Plots

Add plot of step- and impulse-responses, Bode- and Nyquist-plots in doc.

Ackermann

Implement Ackermann's algorithm for pole placement.

K = ackermann(A, B, poles)

=> use this in ml laser example

Wr, Wo

Add correct output for G.Wr and G.Wo in doc

Make CT_LTI_System.tf callable

Currently, CT_LTI_System.tf returns the transfer-function representation as follows:

(matrix([[poly1d([ 5.48342176e+12])]], dtype=object),
poly1d([ 1.00000000e+00, 2.94538978e+05, 8.69700924e+12]))

As the transfer function is - as the name says - a function, it would be very convenient to make this callable. CT_LTI_System.tf could, e.g., return an object of class TransferFunction which has a nice repr and is additionally callable.

CT_LTI.__radd__

Example:

G = LowPass(10)
np.matrix(1) + G

Fails on second line because - apparently - np.matrix.add claims to know how to add a CT_LTI_System. It tries to do so by adding G to each (float-) element of matrix.

Same goes for rsub(...)

High-Pass

Add 1st-order high-pass to library.

CT_System.linearize(x0)

Approximate CT_System by CT_LTI_System near x0. x0 is given by user.

=> use this in ml laser example

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.