Hello,
I want to simulate a schematic with an operational amplifier OPA2228 but when I run a DC op pnt simulation, I have the message below :
> Circuit: good* no system model for opa2228ua, you can create a model by yourselfuntitled
> Error: unknown subckt: xu2 nonet nonet nonet 0 r1_1 opa2228ua
My schematic is defined as the picture below :
![enter image description here][1]
The spice model for OPA2228 is :
* begin model opa2228
* pinout 3 2 7 4 6
* pinout order +in -in +v -v out
.subckt OPA2228UA 5 6 8 4 7
q26 8 9 10 qon
q27 11 9 12 qop
q28 4 13 14 qop
q29 8 15 16 qon
i4 8 15 3e-3
i5 13 11 3e-3
r34 17 16 1
r35 14 17 1
c6 9 18 100e-12
r36 18 9 1e3
g1 9 18 19 0 -1e-3
g2 20 18 21 22 -0.5e-2
r37 18 20 1e10
c7 19 23 25e-12
r38 19 20 1.9e3
e1 24 18 19 18 1
d2 24 20 dd
r39 18 23 77
q30 22 25 26 qin
q31 21 27 28 qin
q32 29 30 31 qn
r40 11 31 4.499e3
v6 30 32 1.2613
r41 22 33 220
r42 21 33 220
v7 8 34 2
r45 29 26 1
r46 29 28 1
r47 7 17 10
d1 34 33 dd
d3 20 24 dd
d4 35 8 dd
d5 11 36 dd
v8 35 20 1.6
v9 20 36 1.1
e6 37 0 8 0 1
e7 38 0 11 0 1
e8 39 0 40 0 1
r48 37 41 100e6
r49 38 42 100e6
r50 39 43 1000e6
r51 0 41 100
r52 0 42 100
r53 0 43 100
e11 44 5 43 0 0.7
r54 45 40 1e3
r55 40 46 1e3
c10 37 41 1e-9
c11 38 42 1e-9
c12 39 43 1e-12
e12 47 44 42 0 0.3
e13 48 47 41 0 0.3
r60 47 48 1e9
r61 44 47 1e9
r62 5 44 1e9
e22 45 0 7 0 1
e23 46 0 48 0 1
e24 49 50 51 52 4.2e-3
i7 0 52 100e-6
d6 52 0 dvn
i8 0 51 100e-6
d7 51 0 dvn
r63 25 48 5
r64 49 27 5
q33 25 25 53 qn
q34 53 53 27 qn
q35 54 54 25 qn
q36 27 27 54 qn
e25 11 0 4 0 1
e26 8 0 8 0 1
i9 8 4 0.3e-3
r65 4 8 41.67e3
e27 18 0 8 11 0.001
c13 7 0 3e-12
c14 48 0 3e-12
c15 48 7 12e-12
v10 50 7 0
r66 12 15 1
r67 13 10 1
i13 48 0 -509.7e-9
i14 7 0 -509.7e-9
q37 32 32 11 qn
i15 11 30 286e-6
d8 7 8 doc
d9 4 7 doc
.model dd d
.model doc d rs=20
.model dvn d kf=1.6e-13
.model qn npn
.model qon npn bf=15 rc=70
.model qop pnp bf=15 rc=95
.model qin npn bf=270 kf=8e-17
.ends
When I generate the netlist, I have the lines below :
Shema_electrique
XU2 NoNet NoNet NoNet GND R1_1 OPA2228UA
V2 V2_+ GND 5
V1 V1_+ GND 15
R2 GND R1_1 10k
R1 R1_1 VOLPROBE1 15k
.param pi = 3.141593
.func LIMIT(x, y, z) {min(max(x, min(y, z)), max(z, y))}
.func PWR(x,a) {(MAX(ABS(x), 1e-313))**a}
.func PWRS(x,a) {sgn(x) * PWR(x,a)}
.func stp(x) {u(x)}
.func log10(x) {ln(x)/ln(10)}
.func SQRT(x) {(MAX(x, 1e-313))**0.5}
.func INT(x) {sgn(x)*floor(ABS(x))}
.func URAMP(x) {max(x,0)}
.func POW(x,a)
+ {(((a-(int(a)))==0)||(sgn(x)>=0))*( max(exp(ln(uramp(x))*a),0) +
+ (2*(0.5-ABS((int(a))-2*int(a/2))))*max(exp(ln(uramp(-1*x))*a),0) )}
.control
probe V(VOLPROBE1)
quit
.endc
.END
Do you know why there are "NoNet" words on the second line of the netlist?
[1]: /editor/20161119/582f9f13c1e95.JPG