Voltage dependent model parameters - is it possible ?

Status
Not open for further replies.

Samba-r

Newbie level 4
Joined
Nov 2, 2005
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
Hi
Is it possible in any way to make model parameters voltage- or current dependent.

e.g. I'd write something like:
--------------------------------
.func nn(x) {x*2}
.model ddd d n=nn( v(1) )
d 1 0 ddd
--------------------------------


This example works right:
--------------------------------
.func nn(x) {x*2}
.param a=2
.model ddd d n=nn(aa)
d 1 0 ddd
--------------------------------

But the first example doesn't.

Has anyone got a clue?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…