フィルターのクリア

Updating the Active Power of a Three-Phase Parallel RLC Load during Simulation Run Time

5 ビュー (過去 30 日間)
rach
rach 2012 年 5 月 29 日
回答済み: Sabin 2023 年 10 月 3 日
Hi all,
I have a simulink simulation that runs for 20s. At every 5s, it will perform a new set of calculations and update the variable 'R' in the workspace automatically via the 'assignin' command.
Now I would need to read in this updated variable into the Active Power (under block parameters) of the Three-Phase Parallel RLC Load in my simulink model. May I know if the set_param command is able to perform this function in this situation? Or is it impossible to write into the Active Power of the Three-Phase Parallel RLC Load?
Any help or advice would be greatly appreciated! Thank you!
Best Regards, Rachel
This
Best Regards, Rachel

回答 (1 件)

Sabin
Sabin 2023 年 10 月 3 日
Probably best to use variable Resistor/inductor/capacitor in this situation. It is then possible to update the value during simulation.
Variable resistor in Simscape technology:
Variable resistor in Specialized Power Systems technology:

カテゴリ

Help Center および File ExchangeSwitches and Breakers についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by