Getting Started

Tutorials

Transient Simulation - Sine Source

Transient Simulation - Sine Source


Let’s explore the capabilities of the AC Voltage Source for Transient circuit analysis in PartSim..

As you follow the tutorial, feel free to input your own numbers as you feel more comfortable with the simulator.

We’ll build a simple circuit to demonstrate some of AC source’s capabilities.

Drag a Voltage Source, a Resistor and GND symbol into the schematic. Wire the circuit with the V1’s positive pin driving the resistor. Label this net “vout”. Wire V1’s negative pin and the resistor’s other pin to GND.

Next, let’s set V1’s parameters. Deselect DC and AC, and then select the “Sine” tab of the Transient Source.

Set the Offset to 1V and the peak Amplitude to 1V. Change the Frequency to 1 kHz. Finally set the Delay to 1ms and the Damping Factor to 100.

Run a transient simulation with a Stop Time of 50ms and Max Step Size of 100 microseconds -- this specifies an analysis with 500 steps. Click Run to start the simulation.

In the Waveform Viewer you can see a fairly significant damping (or decay) of the sine wave output, as well as a delay of 1 ms.

Reduce the damping by a factor of 10, or so, and increase the Delay by a few milliseconds. Rerun the simulation. Does the sine wave change as expected?

You can eliminate the Damping Factor and the Delay by setting these to 0.

Try changing the Frequency as well as the Peak and Offset Voltage.