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

Respuestas (1)

Sabin
Sabin el 2 de Oct. de 2023
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:

Productos

Versión

R2019a

Preguntada:

el 30 de Jul. de 2022

Respondida:

el 2 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by