Clear Filters
Clear Filters

state space of computation for combination of two plants

12 views (last 30 days)
I have two plants and I know the state space representation of it. how can i obtain the state space parameter for combination of two plants if they are in series
[Ap,Bp,Cp,Dp]=ssdata(P);
[Av,Bv,Cv,Dv]=ssdata(Wv);
if both of them are in series how can the state space parameter be computed

Answers (1)

Star Strider
Star Strider on 17 May 2020
Multiply them, or use the series function. The Control System Toolbox does everything else.
Example —
A1 = randi(9,2)
B1 = randi(9,2,1)
C1 = randi(9,1,2)
D1 = 0
A2 = randi(9,2)
B2 = randi(9,2,1)
C2 = randi(9,1,2)
D2 = 0
C = ss(A1,B1,C1,D1) * ss(A2,B2,C2,D2) % Series Connection
The ‘C’ variable now has the complete series representation of the two models.

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!