Simscape 2P energy conservation bug ?
Mostrar comentarios más antiguos
Hello everyone,
I'd like to report something which I think could be a bug ?
I attached a very simple model showcasing the effect presented below.
I have a tank of steam discharging into a translation mechanical converter (so a piston), no heat losses/gains, no friction etc.. It is linked to a spring just so that it reaches an equilibrium after some time.
The piston moves just like expected but the enthalpy and temperature inside it does not: it actually goes higher than the supply !! Whereas initial conditions in the cylinder are colder than the supply.
I can't think of this being possible in real world physics or am I missing something ??
Thanks, have fun !

3 comentarios
Joris Naudin
el 25 de Mzo. de 2021
Yifeng Tang
el 29 de Abr. de 2021
Hi Joris,
This is indeed an interesting case. While I can confirm the "total" energy of the system didn't increase by looking into the simlog data, I too wonder whether the initial temperature and enthalpy jump is physical or just some numerical weirdness. Will follow up.
Joris Naudin
el 29 de Abr. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Sources en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



