Change frequency of sine source mid simulation
![Altair Forum User](https://us.v-cdn.net/6038102/uploads/defaultavatar/nLP0QHCLH24WL.jpg)
Altair Forum User
Altair Employee
![](https://altair.com/favicon-32x32.png)
Answers
-
There are a couple methods.
- you can do a parameter sweep and set frequency as a variable.
- you can use the simple c block to write a function
- you can use the voltage-controlled oscillator model in the examples/other folder of your PSIM install.
The most robust method is to use a DC source behind a resetting integrator that you then convert to a sine wave. There are plenty of examples of this circuit setup in the motor control examples.
0