You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

19 lines
607 B

*Ideal Centre-Tapped Transformer Subcircuit Parameters
*NP = Number of turns on the primary coil
*NS1 = Number of turns on the first secondary coil
*NS2 = Number of turns on the second secondary coil
*
*dw 6/8/99: created
*
*Connections:
* Pri+
* | Pri-
* | | Sec+
* | | | SecCT
* | | | | Sec-
* | | | | |
.SUBCKT IDEALTRANSCT 1 2 3 4 5 PARAMS: NP=1 NS1=1 NS2=1
BP 1 2 I=( (-I(BS1)*{NS1} -I(BS2)*{NS2})/{NP} )
BS1 3 4 V=( V(1,2)*{NS1}/{NP} )
BS2 4 5 V=( V(1,2)*{NS2}/{NP} )
.ENDS IDEALTRANSCT