Problem with solver in the Simscape/Simmechanics interface

13 次查看(过去 30 天)
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

采纳的回答

Shuangjun
Shuangjun 2016-4-12
编辑:Shuangjun 2016-4-12
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 个评论
Yakoub Amine
Yakoub Amine 2016-6-2
Hey, Thanks for your answmer, I have the same problem and after choose 'Input Handling tab-> Filter input' its works .

请先登录,再进行评论。

更多回答(2 个)

Xiaochuan
Xiaochuan 2014-3-27
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 2020-6-9
double click the PS-S block (the error block), choose Input Handling tab-> Filter input and second order filtering.

产品

Community Treasure Hunt

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

Start Hunting!

Translated by