No, my problem is when in LTSpice library I have two subroutines - the first to describe valve tube - and that subroutine start with code:
.SUBCKT 12AU7 A G K
XV1 A G K TRIODENH
and the second subroutine is universal for many other triods in that library, and that subroutin start from code:
.SUBCKT TRIODENH A G K
Model .SUBCKT 12AU7 call universal model TRIODENH with parameters, and the result will be ok for selected triode.
The same my problem is how to convert pentodes descibed in LTSpice library, when we have two subroutines to descibe one tube.
If I have simple triode model, I can import them to QSpice without problem. I can draw single symbol and save and this working ok.
˙Ř˙Ű«symbol
«type: X»
«description: Machine generated symbol for 12AU7-J»
«library file: |.subckt 12AU7-j P G K\nGp P K VALUE= {(0.01701593477m)*limit(V(P,K)*ln(1.0+(-0.1251806139)+exp((1.234948774)+ (1.234948774)*((34.50197863)+(-26.60747394m)*V(G,K))*V(G,K)/sqrt((22.53603268)**2+ (V(P,K)-(-4.400778147))**2)))/(1.234948774),0.0,1.0e16)**(1.369425091)}\nCgp G P 1.5pF\nCgk G K 1.6pF\nCpk P K 0.4pF\n.ends»
«shorted pins: false»
«line (-150,-200) (-150,-150) 6 0 0x1000000 -1 -1»
«line (-150,-150) (150,-150) 7 0 0x1000000 -1 -1»
«line (150,-200) (150,-150) 7 0 0x1000000 -1 -1»
«line (-100,0) (-50,0) 6 0 0x1000000 -1 -1»
«line (50,0) (0,0) 7 0 0x1000000 -1 -1»
«line (100,0) (150,0) 7 0 0x1000000 -1 -1»
«line (-200,0) (-150,0) 7 0 0x1000000 -1 -1»
«line (-150,150) (150,150) 7 0 0x1000000 -1 -1»
«line (0,150) (0,200) 7 0 0x1000000 -1 -1»
«line (0,-150) (0,-200) 7 0 0x1000000 -1 -1»
«rect (-200,-200) (200,200) 0 7 0 0xff0000 0x4000000 -1 0 -1»
«triangle (-150,-150) (0,-100) (150,-150) 7 0 0x1000000 0x2000000 -1 -1»
«text (350,-100) 1 0 0 0x1000000 -1 -1 "X1"»
«text (550,100) 1 0 0 0x1000000 -1 -1 "12AU7-J"»
«pin (0,200) (30,100) 1 7 0 0x0 -1 "P"»
«pin (-200,0) (-20,110) 1 11 0 0x0 -1 "G"»
«pin (0,-200) (70,-190) 1 14 0 0x0 -1 "K"»
»