Vary the resistor value while simulating the system?

I want to change the resistor value while simulation is run. I used Series RLC branch. I tried to do it using "set_param".
It shows
"Cannot change parameter 'Resistance (Ohms):
(Resistance)' of 'look_up_table/Series RLC Branch'
while simulation is running"
I used MATLAB 2019a version.
If Anyone knows the exact way kindly help me to do this.
Thanks

回答 (1 件)

Sabin
Sabin 2023 年 10 月 2 日

0 投票

To vary the R/L/C parameters during simulation it is better to use variable Resistor/Capacitor/Inductor blocks. Both technologies in Simscape Electrical offer the variable Resistor/Capacitor/Inductor functionality which can be used to build an RLC branch.
Simscape Technology:
Specialized Power Systems:

カテゴリ

製品

リリース

R2019a

質問済み:

2022 年 7 月 30 日

回答済み:

2023 年 10 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by