|
From: SUPSI <rob...@su...> - 2015-02-07 09:43:24
|
Hi
I've been requested by the "Schweizerische Gesellschaft fuer Automatik"
to write a tutorial about python for control system for all the Swiss
university professors.
By writing some examples for the tutorial I've found some little problems:
Here are the firsts:
1) "rlocus" creates automatically a vector with the k values, if not
provided. "root_locus" should have the possibility to pass kvect=None,
but it is not accepted (-> error). It can be simply solved by adding the
same lines as in rlocus, before finding a better algorithm to get the k
values
#! TODO: update with a smart calculation of the gains using sys
poles/zeros
if klist == None:
klist = logspace(-3, 3)
2) "bode" and "bode_plot": in my opinion the flag dB=True should be the
default choice (but this is only my opinion...)
Best regards
Roberto
|