Matlab - Ayuda - Consejos generales matlab simulink

 
Vista:

Ayuda - Consejos generales matlab simulink

Publicado por Juanma (4 intervenciones) el 04/07/2017 17:56:05
Hola a todos.

Estoy modelando un motor en matlab - simulink y de momento soy bastante amateur con este programa matemático. Ya tengo todo lo necesario para hacer el modelo. La cosa es que lo he intentado modelar en simulink, haciendo un sub-bloque de cada ecuacion diferencial, y obtengo errores del siguiente estilo:

"Derivative of state '1' in block 'GeometriaPiston/Geometría del pistón/Integrator' at time 0.057359477517074493 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"

o también errores de datos que dan infinito o NaN.

La pregunta es, al tener una gran cantidad de ecuaciones diferenciales (unas 10) que están integramente relacionadas, además de unas cuantas entradas y constantes, ¿cuál sería la mejor manera de modelar un sistema de este tamaño en matlab-simulink?

He leído que se podría hacer con s-functions para tenerlo mas estructurado.

Otra duda que tenía es la gestión de datos, si quiero sacar informacion estilo gráficas, ¿me recomendaís matlab o exportar los datos a excel por ejemplo y seguir desde allí?

Muchas gracias.

Un saludo.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder