Error with transfer function?

1 Ansicht (letzte 30 Tage)
Tony Castillo
Tony Castillo am 2 Nov. 2016
Beantwortet: Mostafa am 3 Nov. 2016
Hi, How can i solve this issue?
An error occurred while running the simulation and the simulation was terminated
Caused by:
Derivative of state '1' in block 'New_MEC2EA_PandO_paso_FIJO/Baterias24V 3MIL 25 S /Battery4/Model/Current filter' at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)

Akzeptierte Antwort

Mostafa
Mostafa am 3 Nov. 2016
Aside from posting your model to actually identify the problem, possible solutions could be:
1) Initialize your blocks (Integration, Unitdelays, whatever is used in the calculation)
2) Make sure no division by zero occurs
3) Make the solver fixed step (in model properties - solver options) instead of variable step, use a small step size (for example: 1e-3 )
4) Add a "Rate Transition" block before/after the block
Mind that all of these are just arbitrary solutions, and you should upload the actual model and workspace (if needed) to identify the problem.

Weitere Antworten (0)

Kategorien

Mehr zu Simulation Setup finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by