• WARNING: Tube/Valve amplifiers use potentially LETHAL HIGH VOLTAGES.
    Building, troubleshooting and testing of these amplifiers should only be
    performed by someone who is thoroughly familiar with
    the safety precautions around high voltages.

Need help to make Quad II OPT SPICE Model

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
here is the circuit
1.png

and this is the SPICE model he made
Code:
quadopt.inc 
    1 *
    2 *   QUAD II opt
    3 *
    4 .SUBCKT QOPT P1 B1 B2 P2 S1 S0 S2 X1 X0
    5 * Primary inductance (p-p 3000ohm 11H)
    6 L11 P1 11 2.75H
    7 L12 12 P2 2.75H
    8 * Primary DC resistance
    9 R11 11 B1 100
   10 R12 B2 12 100
   11 * Primary stray capacitance
   12 CP P1 P2 5.52399786225324e-10
   13 * KNF inductance
   14 L13 S1 21 0.03128889H
   15 L14 22 S2 0.03128889H
   16 * KNF DC resistance
   17 R13 S0 21 10.6667
   18 R14 S0 22 10.6667
   19 * Secondary inductance
   20 L15 X1 31 0.01677264H
   21 * Secondary DC resistance
   22 R15 31 X0 0.2694
   23 * coupling factor
   24 K1 L11 L12 0.99989
   25 K2 L11 L13 0.99989
   26 K3 L11 L14 0.99989
   27 K4 L11 L15 0.99989
   28 K5 L12 L13 0.99989
   29 K6 L12 L14 0.99989
   30 K7 L12 L15 0.99989
   31 K8 L13 L14 0.99988
   32 K9 L13 L15 0.99989
   33 K10 L14 L15 0.99989
   34 .ENDS
 
Since there is no symbol of Quad II OPT in Auymi's web. In order to use his SPICE Model I have made a symbol myself.
14.JPG

and I tried to map the pins of Symbol with SPICE Model
18.JPG
but there is some pins that I can not find in SPICE code, like Pin8 to Pin13

further more there are some numbers(Marked in red) in SPICE code that I have no ideal what are they meaning for?
19.jpg

for example, in the following code
* Primary inductance (p-p 3000ohm 11H)
L11 P1 11 2.75H
L12 12 P2 2.75H


It seems that the number 11 refers to B1 and number 12 refers to B2

but in the next following code
*Primary DC resistance
R11 11 B1 100
R12 B2 12 100

It seems that 11 refers to P1 and 12 refers to P2

It is conflicting with each other
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.