Sinusoidal wave

Use this forum to post Vensim related questions.
Post Reply
ernenazira
Junior Member
Posts: 4
Joined: Thu Aug 23, 2007 7:43 pm

Sinusoidal wave

Post by ernenazira »

Hi,

How can I generate a sinusoidal wave for an auxililary variable?

Many thanks.
karankhosla
Senior Member
Posts: 107
Joined: Wed Nov 26, 2008 6:12 am

Post by karankhosla »

For a time varying Sinusoidal:

Aux = A*SIN(2*Pi*Time/P) {Units}

Set up the auxiliary variable "Aux", input 3 constants A (Amplitude), P (Period), Pi (3.142). Then introduce a ghost variable of time. Finally create information links from these parameters to the "Aux" variable.
ernenazira
Junior Member
Posts: 4
Joined: Thu Aug 23, 2007 7:43 pm

Post by ernenazira »

Thanks. I got it right now. I used a constant for the time in the equation before which gave me a flat line.
Post Reply