Changing SimPowerSystem Block Parameter during simulation runtime

2 ビュー (過去 30 日間)
rach
rach 2012 年 5 月 30 日
コメント済み: Conrad Sienkiewicz 2017 年 6 月 18 日
Hi all,
May I know how can I change a SimPowerSystem block parameters during simulation runtime? (I need to change one of the parameters of the Three-Phase RLC Load during simulation runtime).
I have read the documents regarding non-tunable block parameters. However, is there any way I can work around this problem?
I would really appreciate any help or comments.
Thank you!!
Best Regards, Rachel
  1 件のコメント
Conrad Sienkiewicz
Conrad Sienkiewicz 2017 年 6 月 18 日
Hey Rach,
did you ever figure out how to solve this issue? I've been having trouble implementing the same concept. Please help and thanks!

サインインしてコメントする。

回答 (2 件)

Kaustubha Govind
Kaustubha Govind 2012 年 8 月 9 日
If the block you are using defines its parameter(s) as non-tunable, then there is no way to tune it. You might need to find an alternate implementation.

Babak
Babak 2012 年 8 月 8 日
If this block's parameter is tunable, then all you need to do is to define your parameter in MATLAB's base workspace and to tune it while simulation is running, you can change the value in MATLAB base workspace then press ctrl+D (or update diagram) on your Simulink mode. This way the new value will be updated in the Simulink model.

カテゴリ

Help Center および File ExchangeVariable Initialization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by