MATLAB Answers

MPC cannot be designed in app

32 views (last 30 days)
Dhruv Thakkar
Dhruv Thakkar on 17 Mar 2020
Commented: Dhruv Thakkar on 26 Apr 2020
I have a Carsim S-functon as the plant model for a MPC. But I get an error saying "Plant model cannot be a pure direct feed-through system without additional dynamics". Why does it keep saying that?


Pengshan Dai
Pengshan Dai on 17 Apr 2020
I have the same problem, do you have a solution already?
Dhruv Thakkar
Dhruv Thakkar on 26 Apr 2020
@Pengshan Dai I didn't. Please share the solution if you get it.

Sign in to comment.

Answers (1)

Junhao Jiang
Junhao Jiang on 22 Apr 2020
The compatibility between CarSim and Simulink is not high,if you have the state space,you should use it,or you only choose the s-function to make it.

  1 Comment

Dhruv Thakkar
Dhruv Thakkar on 26 Apr 2020
Hey, thanks for the reply. I do have the state-space, but I also want to capture the non-linearity and actuators delay which are difficult to model. Plus, I wil have no way to verify since I don't have actual vehicle data. Since Carsim is a high fidelity simulator I chose it. I didn't get the last thing you wanted to say.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by