Problem with solver in the Simscape/Simmechanics interface

4 vues (au cours des 30 derniers jours)
François
François le 24 Mar 2014
When i try to use the sti2d kit you provide which the model : interface_ss_sm.mdl and the "revolute - rotational interface", I got the message :
<<<
Not enough input derivatives were provided for one or more Simulink-PS Converter blocks associated with the highlighted Solver Configuration block, for the solver chosen. Implicit solvers (ode23t, ode15s, and ode14x) typically require fewer input derivatives than explicit solvers, and local solvers never require any. You can provide more input derivatives by selecting different options (including turning input filtering on or increasing the number of user-provided input derivatives) on the Input Handling tab of Simulink-PS Converter blocks linked below:
...'interface_ss_sm/Revolute - Rotational Interface/Simulink-PS Converter' (1 required, 0 provided)
>>>
I got the same message with others model files Simscape/Simmechanics. I use the ode15s solver.
What's the problem ?
Thanks in advance for your response
François

Réponse acceptée

Shuangjun
Shuangjun le 12 Avr 2016
Modifié(e) : Shuangjun le 12 Avr 2016
double click the PS-S block ( the error block), choose Input Handling tab-> Filter input.
Reason:
The solver not only needs the state but also the state derivatives to find the solution.
  1 commentaire
Yakoub Amine
Yakoub Amine le 2 Juin 2016
Hey, Thanks for your answmer, I have the same problem and after choose 'Input Handling tab-> Filter input' its works .

Connectez-vous pour commenter.

Plus de réponses (2)

Xiaochuan
Xiaochuan le 27 Mar 2014
The error message basically means that the current solver setting for the model is unable to locate a good solution for the model. To resolve this issue, you can enable the local solver setting for the model. The steps are:
1) Double click the Local solver Configuration block in interface_ss_sm/Subsystem 2) Choose the option Use local solver and click OK 3) Run the model by clicking the Run button.
For more details about local solver setting, please refer to the link below:

alireza abbasi
alireza abbasi le 9 Juin 2020
double click the PS-S block (the error block), choose Input Handling tab-> Filter input and second order filtering.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by