Changing SimPowerSystem Block Parameter during simulation runtime

Asked by rach on 30 May 2012
Latest activity Answered by Kaustubha Govind on 9 Aug 2012

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

0 Comments

rach

Products

2 Answers

Answer by Kaustubha Govind on 9 Aug 2012

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.

0 Comments

Kaustubha Govind
Answer by Babak on 8 Aug 2012

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.

0 Comments

Babak

Contact us