Problem with Section 7.1 Task 5 of Simscape onramp
72 views (last 30 days)
Show older comments
玄人 市川 on 5 May 2021
Commented: Shafie Mohamed Shafie Hassan on 27 Jan 2023
Although I correctly configured the model blocks and parameters accordingly to the directions, the training evaluation said my output did not match the answer. It prevents me from proceeding to the next task.
Here I attach two snapshots of the evaluation plot of Section 7.1 Task 5 where the problem occured.
The first picture shows comparison of the signals spanning to the end time (10sec). It looks to me exact agreement between the requirement and my signal, but it indicates slight discrepancies in the beginning of simulation (from 0 sec to around 1.0 sec) shown by the red dots. Due to these errors, the evaluator says my signal is incorrect.
The second picture zooms into the details of the red dots. It looks to me my signal has a slight delay to the answer.
I confirmed that my setup is consistent with the directions and the results unchanged even after several retries from the beginning of Section 7.1.
I am wondering if there is another parameter to be adjusted, which is not explicitly directed.
Can I have your help for solving this problem?
Joel Van Sickel on 18 Aug 2021
I am pasting Lianna's comment here as it is the solution.
Lianna Cubias on 7 Aug 2021 at 9:16
Figured it out! Finally!
Do tasks 1-5 as instructed. All that is correct. Before running the model in Task 5 try this:
Check the settings on the "Rotational electromechanical converter" block that your "ideal rotational motion sensor" is connected to. Go to the "Variables" tab, check the override box for "Angular velocity" and set priority to "high". Everything else, leave it the way it is. Then run the model. This worked for me because I was having this exact problem.
Daniel Mejia on 2 Oct 2022
No me funciona nada, ni en alto ni bajo, ni cambiando el convertidor rotacional. nada
More Answers (2)
Orkhan Alikhanov on 26 Sep 2021
It only worked for me after I set priority to "low" in the "Variables" tab of "Rotational electromechanical converter" block.
Shafie Mohamed Shafie Hassan on 27 Jan 2023
yes , set the Angular Velocity in the 'variables' section of 'rotational electro mechanical converter'MAT
that should work
Alisha Schor on 11 Feb 2022
Edited: Alisha Schor on 11 Feb 2022
If possible, please update to R2021b, Update 1 or newer. This should resolve the issue without having to change any block settings.
Find more on Interactive Model Editing 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!