I want to make n-type and p-type GaN devices as inverters and simulate them by Mixedmode. However, it always turns out to be wrong. With the warning: no solution possible. I want to know what the problem is. And here is the code:
go atlas
.begin
Vdd 1 0 5
Vin 2 0 0
R1 3 0 1k
An 2=gate 0=source 3=drain 0=n_substrate width=1000 infile=n_HEMT2.str
Ap 2=gate 1=source 3=drain 0=base width=1000 infile=pHFET2.str
.nodeset v(1)=0 v(2)=0 v(3)=0
.numeric lte=1e-3 vchange=100 imaxdc=50
.options print m2ln
.save outfile=inv
.end
#.dc Vin 0 5 0.25
material mat=GaN edb=0.03 eab=0.17 mup=16
#n type
model device=An region=1 POLARIZATION psp.scale=0.67 piezo.scale=0.67 calc.strain
model device=An region=2 POLARIZATION psp.scale=0.67 piezo.scale=0.67 calc.strain
model device=An region=3 POLARIZATION psp.scale=0.67 piezo.scale=0.67 calc.strain
model device=An region=5 POLARIZATION psp.scale=0.67 piezo.scale=0.67 calc.strain
models device=An consrh auger fermi print
mobility device=An GaNsat.n
mobility device=An albrct.n bn.albrct=3e-05 an.albrct=3e-05
mobility device=An region=5 albrct.p bp.albrct=1e04 ap.albrct=1e04
model device=An region=5 pch.ins
#p type
models device=Ap auger fermi print incomplete srh
model device=Ap region=2 polarization calc.strain polar.scale=0.74
model device=Ap region=3 polarization calc.strain polar.scale=0.74
model device=Ap region=4 polarization calc.strain polar.scale=0.74
model device=Ap region=7 polarization calc.strain polar.scale=0.74
mobility device=Ap GaNsat.p
mobility device=Ap GaNsat.n
mobility device=Ap albrct.n an.albrct=3e-5 bn.albrct=3e-5
model device=Ap region=4 pch.ins
mobility device=Ap region=4 albrct.p ap.albrct=1e-2 bp.albrct=1e-2
mobility device=Ap region=3 albrct.p ap.albrct=1e-2 bp.albrct=1e-2
contact device=An name=gate
# workfunc=4.8
contact device=An name=drain
contact device=An name=source
contact device=Ap name=gate workfunc=4.8
contact device=Ap name=drain con.resistance=1e-4
contact device=Ap name=source con.resistance=1e-4
method gummel newton climit=1e-4 maxtraps=10 itlimit=100
I would be grateful if you could give me some advice.