How to put a transfer Function into a SimScape Model?

15 views (last 30 days)
I tried to run this model in my SimScape, putting a transfer Function at the middle.
But when I tried to run the simulation, I got the following error:
> Not enough input derivatives were provided for one or more Simulink-PS Converter blocks 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 (turning input filtering on, for instance) on the Input Handling tab of Simulink-PS Converter blocks linked below:
What´s the problem with the model and how to solve it? thanks

Accepted Answer

Andrew Schenk
Andrew Schenk on 17 Jun 2015
The Simulink-PS Converter1 block located after the Transfer Function needs to supply the Ideal Translational Source with 1st and 2nd order derivatives. To do this, the Simulink-PS block can insert a small 2nd order filter:
  • Double click on the Simulink-PS Converter block.
  • On the Input Handling tab, change Filtering and derivatives to "Provide input derivatives".
  • Change Input filtering order to "Second order filtering"
Alternatively, if all you need to implement is the first order transfer function 1/(s+1), it would be better to do so purely in Simscape using the physical signal blocks as shown below:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!