How to put a transfer Function into a SimScape Model?

조회 수: 19 (최근 30일)
Lincoln Emilio Bowen Aguayo
Lincoln Emilio Bowen Aguayo 2015년 6월 16일
답변: Andrew Schenk 2015년 6월 17일
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

채택된 답변

Andrew Schenk
Andrew Schenk 2015년 6월 17일
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:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulation Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by