Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Is it possible to change the Resistor in Simulation at a particular time point?

0 votes
88 views
Hello everyone,

I have a question about the Simulation in PLECS.

I have built a circuit model in PLECS and I want to change the value of resistor in Simulation at a particular time point.

For example:

0<t<0.2  R3=10;

t>0.2 R3=50;  (t=time)

I have tried to write it in Simulation script, but I don't know how to describe the time.

I am so confused about it. It's appreciated if you could help me solve the problem. Thanks a lot!
asked May 2 by fish_94 (22 points)

1 Answer

0 votes
You cannot easily change the resistor value in a running simulation.

The usual approach is to use a second resistor in parallel or series to the first resistor and use a switch to connect / disconnect it. The switch can be triggered by a step function, for example.
answered May 3 by Oliver Schwartz (377 points)
...