Variable Parameters for Simscape Thermal Mass

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

 채택된 답변

Juan Sagarduy
Juan Sagarduy 2020년 11월 3일

0 개 추천

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

Thanks mate, did it exactly like that :)
I am glad I could help. BR Juan

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Physical Units에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2020년 8월 10일

댓글:

2020년 11월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by