Simscape block parameter, change dynamically during simulation
显示 更早的评论
Hallo,
is it possible to change a parameter of a Simscape block during simulation time?
Example: I want to change the thermal conductivity of the "Conductive Heat Transfer" block during the simulation time.
Example:

The thermal conductivity depends on the transferred heat and the temperature of the sink. For this I have a lookup table or a variable in workspace. Is it possible to check after each iteration the heat from the "Ideal Heat Flow Sensor" and the sink temperature and then send the new thermal conductivity to the "Conductive Heat Transfer" block for the next iteration?
1 个评论
Shinto Thomas
2024-2-20
编辑:Shinto Thomas
2024-2-20
I have a conductive resistance as a Simscape block, The conductive resistance value of this block should be changed in Matlab. There are two cases should be implemented in the first case it should have constant conductive resistance value 'x' and in another case it accept 'y' as conductive resistance value
采纳的回答
更多回答(1 个)
Marlon Saveri Silva
2018-8-28
0 个投票
Dear all, I have the same question. I'd like to make the conductivity changes with the temperature; however, I didn't understand exactly where to introduce the k(T) equation in the code. Do you have any exemple?
类别
在 帮助中心 和 File Exchange 中查找有关 Variable Initialization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!