Variable Parameters for Simscape Thermal Mass

3 visualizaciones (últimos 30 días)
Cem Sayilgan
Cem Sayilgan el 10 de Ag. de 2020
Comentada: Juan Sagarduy el 4 de Nov. de 2020
Hey guys,
I´m modelling a thermal system with Simscape in which the thermal mass of one of the components is changing after it reaches a certain amount of temperature (the material starts to burn). Because of that I need to change the mass parameter in the "Thermal Mass" block after a trigger temperature is reached.
My Problems are:
  • I can´t define an array for the mass parameter. I would also accept that the loss of mass is like a step function (changing form 500g to 250g), if it´s not possile to define an array to describe it.
  • I can´t connect the "Thermal Mass" block to a Simulink trigger signal, after which the loss of mass appears.
I would be very grateful, if anyone of you could help me out with these problems.
Best Regards
Cem

Respuesta aceptada

Juan Sagarduy
Juan Sagarduy el 3 de Nov. de 2020
Hi Cem
Easiest is to create a custom component using the code in Thermal Mass. Then, make the parameter of mass an input instead.
At that point, you can feed any Simulink signal but a Simulink-PS Converter block is needed.
Cheers Juan
  2 comentarios
Cem Sayilgan
Cem Sayilgan el 3 de Nov. de 2020
Thanks mate, did it exactly like that :)
Juan Sagarduy
Juan Sagarduy el 4 de Nov. de 2020
I am glad I could help. BR Juan

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Foundation and Custom Domains en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by