Skip to content

Commit ee1aa5e

Browse files
committed
return loop transfer function as statespace
1 parent 9b3dd7c commit ee1aa5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

control/sisotool.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .statesp import ss
99
from .bdalg import append, connect
1010
from .iosys import tf2io, ss2io, summing_junction, interconnect
11-
from control.statesp import _convert_to_statespace
11+
from control.statesp import _convert_to_statespace, StateSpace
1212
from control.lti import common_timebase, isctime
1313
import matplotlib
1414
import matplotlib.pyplot as plt
@@ -331,4 +331,5 @@ def rootlocus_pid_designer(plant, gain='P', sign=+1, input_signal='r',
331331
outlist=['output', 'y'])
332332
if plot:
333333
sisotool(loop, kvect=(0.,))
334-
return _convert_to_statespace(loop[1, 1])
334+
return StateSpace(loop[1, 1].A, loop[1, 1].B, loop[1, 1].C, loop[1, 1].D,
335+
loop[1, 1].dt)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy