Problem with Simscape Onramp task 9
Show older comments
Hello, I can´t answer the last task, task 9, of the section 8.1 of the simscape onramp course, I do exactly what I´m requested to do but I always get it wrong, I´ve been for several hours trying it but I simply don´t understand what I´m getting wrong. I´ve looked for the answer on Youtube but literally nobady has upload it, at least I haven´t found anybody, does anybody knows how to obtain the answer or can anybody tell me where can I find the way to solve it?, thank you!
Answers (8)
Joel Van Sickel
on 6 Apr 2021
3 votes
Hello Juan,
can you provide insight into what is says is going wrong? There are 2 validation check marks that need to be passed for this one. Did you modify your PID controller to only be a PI controller (look for a drop down box). It can be solved.

9 Comments
Diana Odeleye
on 9 Apr 2021
Hello I am having the same issue as well, tried rebuilding the model several times but it still returns incorrect on the second( last) validation, when I view the response on the scope and the plot of w on the top right hand corner it shows that my line sits directly on the expected curve.
Joel Van Sickel
on 12 Apr 2021
Did you change the PID controller to a PI controller? Can you include a screenshot of your model?
John Duncan
on 10 Sep 2021
Hello I am running into the same issue. To say it shortly if I reset task 9 back to what it is supposed to be then I set the constant block to 5 and the PID to just PI with the 0.1 and 15/10 respectively the inertia: w comes up as a straight line at 0. I've checked everything as well as reset many times but still am getting no different result. Thanks for any help.
Thomas Rulon
on 12 Sep 2021
I had the same issue until I realized my sum block was plus plus instead of plus minus. Hope this helps.
John Duncan
on 14 Sep 2021
Yeah my sum block is definitely plus minus. I even had simulink reset using the "reset" button and even after chaning to the right values did not change anything.

Sankalp Dua
on 22 Sep 2021
I am getting the exact same error, can any one please help?

Joel Van Sickel
on 22 Sep 2021
anyone on this thread, if you are still having issues, can you take a screen shot of what your scope output is? This will show if the model is running as expected. It should look something like this:

John, your issue is that there the connection between the inertia should not also be connected to the rotational reference. This is essentially locking the rotor in place. 

Vislavath
on 26 May 2023
Please provide complete diagram. I am facing same issue in 8.1 project-Electronic valve Task 9.
Amogh
on 19 Feb 2025
Just change the constant to 5 and it works
Muhammad Awais
on 26 Jun 2022
1 vote
Did anyone able to solve this issue. I am stuck at the last task.
1 Comment
Herminio
on 29 Jun 2022
See Joel Van Sickel provided diagram dated 6 April 2021.
On my case, the problem are the connection between the Controlled Voltage Source, the resistor, inductor, Rotational Electromechanical Converter and reference.
Just followed Joel's diagram for it.
it was not working for me then i reconnected all components again and it worked out 

1 Comment
Md Ishtiaque
on 3 Feb 2026 at 8:20
try to mimic you but failed to get it ... 

Ben Navon
on 6 Oct 2024
1 vote
Connect "Solver Configuration" block to positive "Controlled Voltage Source" block.
Evan
on 14 Aug 2025
1 vote
When going through this exercise, I found an issue with the default configuration. This connection here is created when the reset button is pressed. If you delete this connection and follow the steps, you should be able to complete this task.

Nimish Pachchhapurkar
on 24 Nov 2022
0 votes
I am unable to solve the last task even after trying everything mentioned above. This is my circuit.

1 Comment
Eslam
on 4 Apr 2023
any solution?
Alexi De Avila Cadena
on 6 Jul 2023
0 votes
I have the same issue. The inertia block has this question mark on it. I have no idea what I did wrong. Everything else seems to be right except this part.
LE DANH MANH
on 2 Oct 2023
0 votes
You can write in command window as image:

I solved this issue. Good luck !!!
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!