Clear Filters
Clear Filters

How to switch between plant on simulink

2 views (last 30 days)
ian
ian on 10 Oct 2017
Answered: Sebastian Castro on 10 Oct 2017
Hi guys,i need some help. is there a way to switch between plant (fopdt) as the simulink working ? i have 10 plant and i need to make the plant switch from 1 to 2 to 3 and up untill 10. Is there a way to do that ? Or may be can i make the gain (K) and time constant of my FOPDT plant vary as the simulation goes ?

Answers (1)

Sebastian Castro
Sebastian Castro on 10 Oct 2017
If all your plant models are linear, you could use a Linear Parameter-Varying (LPV) system.
Else, I might consider using Enabled Subsystems to switch between Simulink models on the fly. You will have to handle the hand-off of states between plant models. Here is one classic example that shows this with a clutch that can either be locked (1 body) or unlocked (2 bodies).
- Sebastian

Community Treasure Hunt

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

Start Hunting!