Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

totally spice newbie...

Status
Not open for further replies.

firstimer

Newbie level 2
Newbie level 2
Joined
Apr 29, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
hi.. im new to pspice software, currently exploring pspice student edition. im trying to simulate a list of code i found in a journal regarding thermoelectricity.

Code:
* SIMULATION OF MEASURING SYSTEM
* TAMB = AMBIENT TEMPERATURE
* SE = SEEBECK CONSTANT

.PARAM TAMB=296.4, SE=0.05292, RM=1.806, GND=0

*THERMAL CIRCUIT 

*HEAT SINK
VTAMB 3 0 DC {TAMB}
RKRAD 4 3 0.34
CRAD 4 0 340 IC={TAMB}
RSILH 4 1 0.143

*THERMAL PELTIER MODEL 
CH 1 0 2 IC={TAMB}
GPE 0 1 VALUE={I(VPOS)*(I(VPOS)*RM+SE*(V(l)-V(2)))}
RKM 1 2 1.768
GPX 2 1 VALUE={I(VPOS)*(SE*V(2)-0.9*I(VPOS))} 
CC 2 0 2 IC={TAMB}

*THERMAL MASS
RSILC 5 2 0.143
CCONINT 5 0 304 IC={TAMB}
RCONINT 5 3 3.1

*ELECTRICAL CIRCUIT 

*ELECTRICAL PELTIER MODEL
VPOS 11 13 DC 0
RM 13 12 1.8
EALPHA 12 0 VALUE={SE*(V(l)-V(2))}

* EXTERNAL CURRENT SOURCE 
IPOS 0 11 2.1

.OPTIONS RELTOL = 5U
.TRAN 1 2K UIC
.END
the code i run having these following problems:
ERROR -- Node l is undefined
ERROR -- Node l is floating

help needed... tq
 
Last edited by a moderator:

I think it could be that in the line defining EALPHA you have V(l) instead of V(1) i.e. the letter 'l' instead of the number '1'.

Keith
 

hey Keith...

wat a silly mistake i have done... btw thanks very much for the tips.... :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top