How solve a state space equation with Simulink with Time varying matrix B?

194 views
Skip to first unread message

Haddar Marwa

unread,
Aug 12, 2017, 5:14:02 PM8/12/17
to apmonitor
Prof. John Hedengren:

need your help to solve a state space system with time varying matrix B where all elements in B are represented 
by a time  vector (the  dimension of t is <400001x1 double>).I want to use  Simulink for this kind of problem 

Best regards
Maroua

John Hedengren

unread,
Aug 12, 2017, 5:23:35 PM8/12/17
to apmo...@googlegroups.com

Maroua,

 

You can use the state space object in Simulink http://apmonitor.com/che436/index.php/Main/ProjectProgramming if “t” is a constant. However, it appears that “t” may be time-varying so I’d recommend that you use either an APMonitor object in Simulink such as shown here http://apmonitor.com/do/index.php/Main/NonlinearControl or else use a custom algorithm block and integrators as shown here: http://apmonitor.com/che263/index.php/Main/MatlabDynamicSim  The APMonitor option is best if you have an optimization problem; the custom algorithm block is easier if you just want to simulate the system. Here is an example of using APMonitor in MATLAB, Python, or in Simulink: http://apmonitor.com/do/index.php/Main/DynamicControl

 

Please try to implement your problem and then reply back once you have exhausted all of you resources. If you opt for a Simulink only implementation then I’d recommend the Mathworks’ online forum. This forum is specific to help with the APMonitor Optimization Suite.

 

Best regards,

 

John Hedengren

--
--
APMonitor user's group e-mail list.
- To post a message, send email to apmo...@googlegroups.com
- To unsubscribe, send email to apmonitor+...@googlegroups.com
- Visit this group at http://groups.google.com/group/apmonitor

---
You received this message because you are subscribed to the Google Groups "apmonitor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apmonitor+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages