Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
SC
SC el 3 de Nov. de 2021
Cerrada: Sabin el 23 de Dic. de 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?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by