Back to Forums
2 posts / 0 new
Last post
#1 Apr 5, 2018
pain01
Offline
Last seen: 4 years 4 months ago
Joined: 2018-04-05 14:43

ERROR(ORPSIM-16152): Invalid number .

i have been struggling with this error since i cannot run the simulation, any help would be appreciate it .

it a simple circuit with a 10 vdc and 2 resistors( 1 5 ohm and 1 ( 0-10 Rx) with a Dc sweep ( global  Rx , linear 0-10 )


**** 04/05/18 11:45:14 ****** PSpice Lite (October 2012) ****** ID# 10813 ****

 ** Profile: "SCHEMATIC1-lab 8"  [ C:\lab 8-PSpiceFiles\SCHEMATIC1\lab 8.sim ] 


 ****     CIRCUIT DESCRIPTION


******************************************************************************


** Creating circuit file "lab 8.cir" 
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

*Libraries: 
* Profile Libraries :
* Local Libraries :
* From [PSPICE NETLIST] section of C:\Users\pico_\AppData\Roaming\SPB_16.6\cdssetup\OrCAD_PSpice/16.6.0/PSpice.ini file:
.lib "nomd.lib" 

*Analysis directives: 


.DC LIN PARAM Rx 0 10 .1 
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*)) 
.INC "..\SCHEMATIC1.net" 

**** INCLUDING SCHEMATIC1.net ****
* source LAB 8
R_RTH         N14356 N14369  5 TC=0,0 
V_V1         N14356 0 10 VDC
-------------------------$
ERROR -- Expecting keyword STIMULUS, saw VDC.

R_RL         0 N14369  Rx TC=0,0 
--------------------------$
ERROR(ORPSIM-16152): Invalid number
.PARAM  rx=10

**** RESUMING "lab 8.cir" ****
.END

Fri, 2018-04-06 09:26
oldmouldy
Offline
Last seen: 9 months 1 week ago
Joined: 2016-07-06 04:23

OK, Rx is not a number and PSpice is expecting a numerical value greater than 0 for the value parameter. IF you want to use parameters, you will need to change the format so that the value of the parameter is used, rather than the name, PSpice does this with {Rx}.

Download PSpice and try it for free! Download Free Trial
Cadence