Phase change simulation with SimPowerSytems
古いコメントを表示
Hello,
I am trying to simulate the phase change of a material with SimPowerSystem for a thermal analysis with resistances and capacitors. I have created three branches to represent the solid state, the liquid state and the phase change, each of them with an specific value for the capacitor. On a general view, what I want to get is the system changing from one brach to another. The selection of the appropriate branch is made with an Embedded Matlab Function, whose inputs are the voltages of the three capacitors and whose outputs control ideal switches, one for each brand.
I am not able to get coherent results, and I don't know either if I am not selecting the appropriate switching devices (ideal switches may have some problems with transients when changing state), or if the problem comes from the Embedded Matlab Function. Does anybody have a better idea?
Thank you very much in advance!
回答 (1 件)
Sabin
2023 年 1 月 26 日
0 投票
Probably best to use a single Variable Capacitor which is controlled by the output of the MATLAB function.
この質問は閉じられています。
カテゴリ
ヘルプ センター および File Exchange で Choose and Parameterize Blocks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!