Electronic – Transient analysis error(missing value) with OrCAD PSPICE 9.1

circuit analysisspice

I am new to PSPICE, and just tried an example given in the book I'm using (SPICE by Sedra/Roberts).

Transient Response of a Linear Network
* input signal source
Vi 1 0 SIN ( OV 10V 60Hz )
* linear network
R1 1 2 1
C1 2 0 2.65m
Rload 3 0 10
E1 3 0 2 0 10
*analysis*
.TRAN 1ms 50ms 0ms 1ms
.PRINT TRAN V(3) V(1)
.PLOT TRAN V(3) V(1) (-100,+100)
.end

When I run the simulation, I get an error :

* input signal source
Vi 1 0 SIN ( OV 10V 60Hz )
-------------$
ERROR -- Missing value
* linear network
R1 1 2 1
C1 2 0 2.65m
Rload 3 0 10

I tried changing the input signal line to vi 1 0 sin ( 0V 10V 60Hz 0 0) but the error persisted. What am I doing wrong here?

Best Answer

You have a typo in the line Vi 1 0 SIN ( OV 10V 60Hz ): you wrote OV rather than 0V.

When it's replaced, this circuit simulates correctly (at least under ngspice).