Electronics > Beginners
Stepping the amplitude of a two sources for transient analyses in LTspice
(1/3) > >>
ocset:
Hi,
I have a mains sinusoidal   voltage source in LTspice, and a DC voltage source.
I want to step them...

AC 254 264 274

DC 1 2 3

...ie so it does
AC=254 and DC = 1V
AC=264 and DC = 2V
AC=274 and DC = 3V

Jay_Diddy_B:
Hi,

There are several ways to do this.






The simulation runs multiple times with a different amplitude each run.

If you want the amplitude to change during a single simulation you can use a multiplier like this:







The result is:




Note: I used amplitudes of 150, 200 and 250V to make the results more visible.

I have attached the model.

Regards,

Jay_Diddy_B
ocset:
Thanks Jay_Diddy__B
Thats great  things there.
Sorry i just adjusted it (the initial question of my top post) to involve the DC source being stepped at the same time, because i put it in and realised the DC needs to step in tandem.
Jay_Diddy_B:
Treez,

are you looking for

254 and 1V

264 and 2V

274V and 3V

or all nine combinations?

Jay_Diddy_B
ocset:
Just the three you have there.
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod