Possible failure in course Simscape Onramp

22 views (last 30 days)
Good afternoon, I have not been able to finish the Simscape Onramp course since the system requires the fulfillment of a requirement in task 9 of numeral 8.1 Project - Electronic Valve: (2/2) Practice, I do not know how it is solved, I request help in this regard. Attached image.
  1 Comment
Saharsh Patil
Saharsh Patil on 29 Dec 2022
Did you find the solution to it. I made the model thrice and still the same problem
shows following error:
['SimscapeOnramp/Solver Configuration1']: Initial conditions solve failed to converge.
Caused by:
The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below.
Variable 'Controlled_Voltage_Source.i' (i) does not occur in any equation. This may be a result of incorrect component connections, or incorrect equation formulation within a component.
Equations of one or more components may be dependent or inconsistent. This can cause problems in transient initialization. Here is the set of components involved:
all components involved
'SimscapeOnramp/Controlled Voltage Source'
Equation locations are:
'/MATLAB/toolbox/physmod/simscape/library/m/+foundation/+electrical/+sources/controlled_voltage.ssc' (line 29)
'/MATLAB/toolbox/physmod/simscape/library/m/+foundation/+electrical/+sources/controlled_voltage.ssc' (line 30)

Sign in to comment.

Answers (2)

Cris LaPierre
Cris LaPierre on 8 Jul 2021
Note that to the left of the Submit button, there are links to see a Hint as well as the Solution.
In your case, it looks like you forgot to change the signs of your Sum block to |+-. Right now both ports are +.

Emily Settle
Emily Settle on 25 Aug 2022
Good afternoon,
I am having a similar problem to above, though the hint/solution don't provide the help I need. My Sum block is already changed to |+- but I still cant successfully submit?
Thanks,
Emily
  12 Comments
Milan
Milan on 15 Nov 2023
Hi Chris, my version is: MATLAB Version: 9.11.0.1769968 (R2021b)
I'm all upto date except the last one #7, which our system did not let me update:
R2021b Update 7: Bugs fixed in this update August 29, 2023
Cris LaPierre
Cris LaPierre on 15 Nov 2023
Ok, I can duplicate the issue with that version of MATLAB.
Your version number would suggest that none of the updates have been installed. These tend to be all-inclusive, so installing update 7 will install updates 1-6 as well. You will need to update in order to fix the problem. Did you get an error when trying to install the update?
Another option might be to reinstall MATLAB. The current installer for R2021b is update 7.

Sign in to comment.

Categories

Find more on Foundation and Custom Domains in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!