Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to remove outliers using Simulink when changing the equations V = IR to V = I^2R?

1 Ansicht (letzte 30 Tage)
SC
SC am 3 Nov. 2021
Geschlossen: Sabin am 23 Dez. 2024
In the Simscape electrical library, I changed the equations V = IR to V = I^2R and the power P = I^3R. I also changed the units of the resistance, current and voltage to be commensurate.
However, I find that whenever I run it that I have so many outliers and I am not sure how to remove these.
If I run with a tolerance of e-9, then I get an error saying that it cannot find the currents at some point, so I had to change it to a less stricter tolerance to run it. However, that does not seem to be the problem, as once it ran until after there was an outlier before giving the error (when voltage is 0.4) and it is the same for when the tolerance is reduced to e-8. There is a lack of points because after it hits the error it does not calculate it anymore. Does anyone know what could be the problem?

Antworten (0)

Diese Frage ist geschlossen.

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by