Back to Forums
3 posts / 0 new
Last post
#1 Apr 18, 2022
HypVol
Offline
Last seen: 2 years 7 months ago
Joined: 2022-04-18 10:08

Please help with my PSpice simulation of an inverter circuit

I am trying to simulate a full-bridge inverter circuit (pictured below) using Orcad PSpice A/D but meet with a bunch of errors and warnings. I don't know what has gone wrong and how to deal with the annoying errors and warnings. So please help me, thank you!Below is the dot out file containing the error code.


**** 04/18/22 21:58:45 ******* PSpice 17.4.0 (Nov 2018) ******* ID# 0 ********

 ** Profile: "SCHEMATIC1-VoutTime1"  [ D:\Cadence\Projects\H_bridge\h-bridge-pspicefiles\schematic1\vouttime1.sim ] 


 ****     CIRCUIT DESCRIPTION


******************************************************************************


** Creating circuit file "VoutTime1.cir" 
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

*Libraries: 
* Profile Libraries :
* Local Libraries :
* From [PSPICE NETLIST] section of D:\Cadence\SPB_Data\cdssetup\OrCAD_PSpice\17.4.0\PSpice.ini file:
.lib "D:\Cadence\SPB_17.4\tools\capture\library\pspice\microsemiSiCMOSFET\MSCxxxSMA12020190212.lib" 
.lib "nom.lib" 

*Analysis directives: 
.TRAN  0 10m 0 2n 
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*)) 
.INC "..\SCHEMATIC1.net" 

**** INCLUDING SCHEMATIC1.net ****
* source H-BRIDGE
V_VI         N00484 0 2kVdc
R_Rcharge         N00484 N00523  1k TC=0,0 
C_C         0 N00523  166.67u  TC=0,0 
X_S1-1         N00523 N03829 N01484 MSC080SMA120B
X_S1-2         N01484 N04507 VOUT+ MSC080SMA120B
X_S2-1         VOUT+ N04661 N01526 MSC080SMA120B
X_S2-2         N01526 N04897 0 MSC080SMA120B
X_S3-1         N00523 N05529 N01578 MSC080SMA120B
X_S3-2         N01578 N05839 VOUT- MSC080SMA120B
X_S4-1         VOUT- N05993 N01522 MSC080SMA120B
X_S4-2         N01522 N06145 0 MSC080SMA120B
R_R1-1         N01484 N00523  1meg TC=0,0 
R_R1-2         VOUT+ N01484  1meg TC=0,0 
R_R2-1         N01526 VOUT+  1meg TC=0,0 
R_R2-2         0 N01526  1meg TC=0,0 
R_R3-2         VOUT- N01578  1meg TC=0,0 
R_R3-1         N01578 N00523  1meg TC=0,0 
R_R4-1         N01522 VOUT-  1meg TC=0,0 
R_R4-2         0 N01522  1meg TC=0,0 
R_Rload         VOUT+ VOUT-  100 TC=0,0 
R_Rg1-1         N03822 N03829  5 TC=0,0 
V_V1-1         N03822 N01484  
+PULSE 0 15 0 10n 10n 300n 1m
R_Rg1-2         N04499 N04507  5 TC=0,0 
V_V1-2         N04499 VOUT+  
+PULSE 0 15 0 10n 10n 300n 1m
R_Rg2-1         N04653 N04661  5 TC=0,0 
V_V2-1         N04653 N01526  
+PULSE 0 15 1m 10n 10n 300n 1m
V_V2-2         N04889 0  
+PULSE 0 15 1m 10n 10n 300n 1m
R_Rg2-2         N04889 N04897  5 TC=0,0 
V_V3-1         N05521 N01578  
+PULSE 0 15 1m 10n 10n 300n 1m
R_Rg3-1         N05521 N05529  5 TC=0,0 
V_V3-2         N05831 VOUT-  
+PULSE 0 15 1m 10n 10n 300n 1m
R_Rg3-2         N05831 N05839  5 TC=0,0 
R_Rg4-1         N05985 N05993  5 TC=0,0 
V_V4-1         N05985 N01522  
+PULSE 0 15 0 10n 10n 300n 1m
V_V4-2         N06137 0  
+PULSE 0 15 0 10n 10n 300n 1m
R_Rg4-2         N06137 N06145  5 TC=0,0 

**** RESUMING VoutTime1.cir ****
.END

**** FROM LIBRARY D:\Cadence\SPB_17.4\tools\capture\library\pspice\microsemiSiCMOSFET\MSCxxxSMA12020190212.lib ****
.subckt MSC080SMA120B 10 20 30
Lg 20 21 5n 
Rg 20 21 2
Ls 30 31 4n 
Rs 30 31 2
XM1 Tj 10 21 31 MSCSICFET1200Vt PARAMS: MDE=1.685
V99 Tj 0 {temp}
.backanno
$
ERROR(ORPSIM-16363): Command invalid in subcircuit
.PARAM cds2f     = 1.4439138214354108E-010;
.PARAM cds2g     = 0.085042837830777929;
.PARAM cds2h     = -0.00060977030055777651;
.PARAM cds2i     = 2.5878275564268432E-006;
.PARAM cds2j     = -4.708065037167804E-009;
.PARAM cds2k     = 3.2051910988236424E-012;
.PARAM cds3rda   = 105.369831320697;
.PARAM cds3rdb   = -266.519056913244e-003;
.PARAM cds3rdc   = 645.568842020980;
.PARAM cdss1l    = 0;
.PARAM cdss1h    = 2.721;

.FUNC cdss1(v)  { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e + v*cds2f))))) / (1 + v*(cds2g + v*(cds2h + v*(cds2i + v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v)    { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) - 1 }
.FUNC Icds()    { I(V41) * cds(fVDSI()) }

.backanno
$
ERROR(ORPSIM-16363): Command invalid in subcircuit


WARNING(ORPSIM-15256): <X_S1-1.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S1-1.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S1-1.XM1.Bth 0 X_S1-1.Tj X_S1-1.XM1.I X_S1-1.XM1.iPower
X_S1-1.XM1.V10 N00523 X_S1-1.XM1.11 0
X_S1-1.XM1.B10 X_S1-1.XM1.11 X_S1-1.XM1.12 X_S1-1.XM1.V
+ X_S1-1.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S1-1.XM1.B13 X_S1-1.XM1.12 X_S1-1.XM1.32 X_S1-1.XM1.I
+ X_S1-1.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S1-1.XM1.R13 X_S1-1.XM1.12 X_S1-1.XM1.32 1G
X_S1-1.XM1.V20 X_S1-1.21 X_S1-1.XM1.22 0
X_S1-1.XM1.R20 X_S1-1.XM1.22 X_S1-1.XM1.23 { 2.27/MDEAdj() }
X_S1-1.XM1.B21 X_S1-1.XM1.23 X_S1-1.XM1.12 X_S1-1.XM1.I
+ X_S1-1.XM1.Icgd
X_S1-1.XM1.R21 X_S1-1.XM1.23 X_S1-1.XM1.12 1G
X_S1-1.XM1.R23 X_S1-1.XM1.23 X_S1-1.31 1G
X_S1-1.XM1.B24 X_S1-1.XM1.23 X_S1-1.XM1.32 X_S1-1.XM1.I
+ X_S1-1.XM1.Icgs
X_S1-1.XM1.R24 X_S1-1.XM1.23 X_S1-1.XM1.32 1G
X_S1-1.XM1.V30 X_S1-1.31 X_S1-1.XM1.32 0
X_S1-1.XM1.V40 X_S1-1.31 X_S1-1.XM1.41 0
X_S1-1.XM1.B40 X_S1-1.XM1.41 X_S1-1.XM1.42 X_S1-1.XM1.V
+ X_S1-1.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S1-1.XM1.R41 X_S1-1.XM1.42 N00523 10G
X_S1-1.XM1.B41 X_S1-1.XM1.42 N00523 X_S1-1.XM1.I X_S1-1.XM1.Ibd fVFI
----------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S1-1.XM1.B42 X_S1-1.XM1.42 N00523 X_S1-1.XM1.I X_S1-1.XM1.Icds
X_S1-1.XM1.V21 X_S1-1.XM1.23 X_S1-1.XM1.24 0
X_S1-1.XM1.C21 X_S1-1.XM1.24 X_S1-1.XM1.12 1p
X_S1-1.XM1.V24 X_S1-1.XM1.23 X_S1-1.XM1.25 0
X_S1-1.XM1.C24 X_S1-1.XM1.25 X_S1-1.XM1.32 1p
X_S1-1.XM1.V41 X_S1-1.XM1.42 X_S1-1.XM1.43 0
X_S1-1.XM1.C41 X_S1-1.XM1.43 N00523 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S1-1.XM1.tCHRfactor. X_S1-1.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S1-1.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S1-1.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S1-1.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S1-2.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S1-2.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S1-2.XM1.Bth 0 X_S1-2.Tj X_S1-2.XM1.I X_S1-2.XM1.iPower
X_S1-2.XM1.V10 N01484 X_S1-2.XM1.11 0
X_S1-2.XM1.B10 X_S1-2.XM1.11 X_S1-2.XM1.12 X_S1-2.XM1.V
+ X_S1-2.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S1-2.XM1.B13 X_S1-2.XM1.12 X_S1-2.XM1.32 X_S1-2.XM1.I
+ X_S1-2.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S1-2.XM1.R13 X_S1-2.XM1.12 X_S1-2.XM1.32 1G
X_S1-2.XM1.V20 X_S1-2.21 X_S1-2.XM1.22 0
X_S1-2.XM1.R20 X_S1-2.XM1.22 X_S1-2.XM1.23 { 2.27/MDEAdj() }
X_S1-2.XM1.B21 X_S1-2.XM1.23 X_S1-2.XM1.12 X_S1-2.XM1.I
+ X_S1-2.XM1.Icgd
X_S1-2.XM1.R21 X_S1-2.XM1.23 X_S1-2.XM1.12 1G
X_S1-2.XM1.R23 X_S1-2.XM1.23 X_S1-2.31 1G
X_S1-2.XM1.B24 X_S1-2.XM1.23 X_S1-2.XM1.32 X_S1-2.XM1.I
+ X_S1-2.XM1.Icgs
X_S1-2.XM1.R24 X_S1-2.XM1.23 X_S1-2.XM1.32 1G
X_S1-2.XM1.V30 X_S1-2.31 X_S1-2.XM1.32 0
X_S1-2.XM1.V40 X_S1-2.31 X_S1-2.XM1.41 0
X_S1-2.XM1.B40 X_S1-2.XM1.41 X_S1-2.XM1.42 X_S1-2.XM1.V
+ X_S1-2.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S1-2.XM1.R41 X_S1-2.XM1.42 N01484 10G
X_S1-2.XM1.B41 X_S1-2.XM1.42 N01484 X_S1-2.XM1.I X_S1-2.XM1.Ibd fVFI
----------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S1-2.XM1.B42 X_S1-2.XM1.42 N01484 X_S1-2.XM1.I X_S1-2.XM1.Icds
X_S1-2.XM1.V21 X_S1-2.XM1.23 X_S1-2.XM1.24 0
X_S1-2.XM1.C21 X_S1-2.XM1.24 X_S1-2.XM1.12 1p
X_S1-2.XM1.V24 X_S1-2.XM1.23 X_S1-2.XM1.25 0
X_S1-2.XM1.C24 X_S1-2.XM1.25 X_S1-2.XM1.32 1p
X_S1-2.XM1.V41 X_S1-2.XM1.42 X_S1-2.XM1.43 0
X_S1-2.XM1.C41 X_S1-2.XM1.43 N01484 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S1-2.XM1.tCHRfactor. X_S1-2.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S1-2.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S1-2.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S1-2.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S2-1.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S2-1.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S2-1.XM1.Bth 0 X_S2-1.Tj X_S2-1.XM1.I X_S2-1.XM1.iPower
X_S2-1.XM1.V10 VOUT+ X_S2-1.XM1.11 0
X_S2-1.XM1.B10 X_S2-1.XM1.11 X_S2-1.XM1.12 X_S2-1.XM1.V
+ X_S2-1.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S2-1.XM1.B13 X_S2-1.XM1.12 X_S2-1.XM1.32 X_S2-1.XM1.I
+ X_S2-1.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S2-1.XM1.R13 X_S2-1.XM1.12 X_S2-1.XM1.32 1G
X_S2-1.XM1.V20 X_S2-1.21 X_S2-1.XM1.22 0
X_S2-1.XM1.R20 X_S2-1.XM1.22 X_S2-1.XM1.23 { 2.27/MDEAdj() }
X_S2-1.XM1.B21 X_S2-1.XM1.23 X_S2-1.XM1.12 X_S2-1.XM1.I
+ X_S2-1.XM1.Icgd
X_S2-1.XM1.R21 X_S2-1.XM1.23 X_S2-1.XM1.12 1G
X_S2-1.XM1.R23 X_S2-1.XM1.23 X_S2-1.31 1G
X_S2-1.XM1.B24 X_S2-1.XM1.23 X_S2-1.XM1.32 X_S2-1.XM1.I
+ X_S2-1.XM1.Icgs
X_S2-1.XM1.R24 X_S2-1.XM1.23 X_S2-1.XM1.32 1G
X_S2-1.XM1.V30 X_S2-1.31 X_S2-1.XM1.32 0
X_S2-1.XM1.V40 X_S2-1.31 X_S2-1.XM1.41 0
X_S2-1.XM1.B40 X_S2-1.XM1.41 X_S2-1.XM1.42 X_S2-1.XM1.V
+ X_S2-1.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S2-1.XM1.R41 X_S2-1.XM1.42 VOUT+ 10G
X_S2-1.XM1.B41 X_S2-1.XM1.42 VOUT+ X_S2-1.XM1.I X_S2-1.XM1.Ibd fVFI
---------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S2-1.XM1.B42 X_S2-1.XM1.42 VOUT+ X_S2-1.XM1.I X_S2-1.XM1.Icds
X_S2-1.XM1.V21 X_S2-1.XM1.23 X_S2-1.XM1.24 0
X_S2-1.XM1.C21 X_S2-1.XM1.24 X_S2-1.XM1.12 1p
X_S2-1.XM1.V24 X_S2-1.XM1.23 X_S2-1.XM1.25 0
X_S2-1.XM1.C24 X_S2-1.XM1.25 X_S2-1.XM1.32 1p
X_S2-1.XM1.V41 X_S2-1.XM1.42 X_S2-1.XM1.43 0
X_S2-1.XM1.C41 X_S2-1.XM1.43 VOUT+ 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S2-1.XM1.tCHRfactor. X_S2-1.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S2-1.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S2-1.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S2-1.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S2-2.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S2-2.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S2-2.XM1.Bth 0 X_S2-2.Tj X_S2-2.XM1.I X_S2-2.XM1.iPower
X_S2-2.XM1.V10 N01526 X_S2-2.XM1.11 0
X_S2-2.XM1.B10 X_S2-2.XM1.11 X_S2-2.XM1.12 X_S2-2.XM1.V
+ X_S2-2.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S2-2.XM1.B13 X_S2-2.XM1.12 X_S2-2.XM1.32 X_S2-2.XM1.I
+ X_S2-2.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S2-2.XM1.R13 X_S2-2.XM1.12 X_S2-2.XM1.32 1G
X_S2-2.XM1.V20 X_S2-2.21 X_S2-2.XM1.22 0
X_S2-2.XM1.R20 X_S2-2.XM1.22 X_S2-2.XM1.23 { 2.27/MDEAdj() }
X_S2-2.XM1.B21 X_S2-2.XM1.23 X_S2-2.XM1.12 X_S2-2.XM1.I
+ X_S2-2.XM1.Icgd
X_S2-2.XM1.R21 X_S2-2.XM1.23 X_S2-2.XM1.12 1G
X_S2-2.XM1.R23 X_S2-2.XM1.23 X_S2-2.31 1G
X_S2-2.XM1.B24 X_S2-2.XM1.23 X_S2-2.XM1.32 X_S2-2.XM1.I
+ X_S2-2.XM1.Icgs
X_S2-2.XM1.R24 X_S2-2.XM1.23 X_S2-2.XM1.32 1G
X_S2-2.XM1.V30 X_S2-2.31 X_S2-2.XM1.32 0
X_S2-2.XM1.V40 X_S2-2.31 X_S2-2.XM1.41 0
X_S2-2.XM1.B40 X_S2-2.XM1.41 X_S2-2.XM1.42 X_S2-2.XM1.V
+ X_S2-2.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S2-2.XM1.R41 X_S2-2.XM1.42 N01526 10G
X_S2-2.XM1.B41 X_S2-2.XM1.42 N01526 X_S2-2.XM1.I X_S2-2.XM1.Ibd fVFI
----------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S2-2.XM1.B42 X_S2-2.XM1.42 N01526 X_S2-2.XM1.I X_S2-2.XM1.Icds
X_S2-2.XM1.V21 X_S2-2.XM1.23 X_S2-2.XM1.24 0
X_S2-2.XM1.C21 X_S2-2.XM1.24 X_S2-2.XM1.12 1p
X_S2-2.XM1.V24 X_S2-2.XM1.23 X_S2-2.XM1.25 0
X_S2-2.XM1.C24 X_S2-2.XM1.25 X_S2-2.XM1.32 1p
X_S2-2.XM1.V41 X_S2-2.XM1.42 X_S2-2.XM1.43 0
X_S2-2.XM1.C41 X_S2-2.XM1.43 N01526 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S2-2.XM1.tCHRfactor. X_S2-2.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S2-2.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S2-2.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S2-2.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S3-1.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S3-1.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S3-1.XM1.Bth 0 X_S3-1.Tj X_S3-1.XM1.I X_S3-1.XM1.iPower
X_S3-1.XM1.V10 N00523 X_S3-1.XM1.11 0
X_S3-1.XM1.B10 X_S3-1.XM1.11 X_S3-1.XM1.12 X_S3-1.XM1.V
+ X_S3-1.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S3-1.XM1.B13 X_S3-1.XM1.12 X_S3-1.XM1.32 X_S3-1.XM1.I
+ X_S3-1.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S3-1.XM1.R13 X_S3-1.XM1.12 X_S3-1.XM1.32 1G
X_S3-1.XM1.V20 X_S3-1.21 X_S3-1.XM1.22 0
X_S3-1.XM1.R20 X_S3-1.XM1.22 X_S3-1.XM1.23 { 2.27/MDEAdj() }
X_S3-1.XM1.B21 X_S3-1.XM1.23 X_S3-1.XM1.12 X_S3-1.XM1.I
+ X_S3-1.XM1.Icgd
X_S3-1.XM1.R21 X_S3-1.XM1.23 X_S3-1.XM1.12 1G
X_S3-1.XM1.R23 X_S3-1.XM1.23 X_S3-1.31 1G
X_S3-1.XM1.B24 X_S3-1.XM1.23 X_S3-1.XM1.32 X_S3-1.XM1.I
+ X_S3-1.XM1.Icgs
X_S3-1.XM1.R24 X_S3-1.XM1.23 X_S3-1.XM1.32 1G
X_S3-1.XM1.V30 X_S3-1.31 X_S3-1.XM1.32 0
X_S3-1.XM1.V40 X_S3-1.31 X_S3-1.XM1.41 0
X_S3-1.XM1.B40 X_S3-1.XM1.41 X_S3-1.XM1.42 X_S3-1.XM1.V
+ X_S3-1.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S3-1.XM1.R41 X_S3-1.XM1.42 N00523 10G
X_S3-1.XM1.B41 X_S3-1.XM1.42 N00523 X_S3-1.XM1.I X_S3-1.XM1.Ibd fVFI
----------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S3-1.XM1.B42 X_S3-1.XM1.42 N00523 X_S3-1.XM1.I X_S3-1.XM1.Icds
X_S3-1.XM1.V21 X_S3-1.XM1.23 X_S3-1.XM1.24 0
X_S3-1.XM1.C21 X_S3-1.XM1.24 X_S3-1.XM1.12 1p
X_S3-1.XM1.V24 X_S3-1.XM1.23 X_S3-1.XM1.25 0
X_S3-1.XM1.C24 X_S3-1.XM1.25 X_S3-1.XM1.32 1p
X_S3-1.XM1.V41 X_S3-1.XM1.42 X_S3-1.XM1.43 0
X_S3-1.XM1.C41 X_S3-1.XM1.43 N00523 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S3-1.XM1.tCHRfactor. X_S3-1.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S3-1.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S3-1.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S3-1.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S3-2.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S3-2.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S3-2.XM1.Bth 0 X_S3-2.Tj X_S3-2.XM1.I X_S3-2.XM1.iPower
X_S3-2.XM1.V10 N01578 X_S3-2.XM1.11 0
X_S3-2.XM1.B10 X_S3-2.XM1.11 X_S3-2.XM1.12 X_S3-2.XM1.V
+ X_S3-2.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S3-2.XM1.B13 X_S3-2.XM1.12 X_S3-2.XM1.32 X_S3-2.XM1.I
+ X_S3-2.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S3-2.XM1.R13 X_S3-2.XM1.12 X_S3-2.XM1.32 1G
X_S3-2.XM1.V20 X_S3-2.21 X_S3-2.XM1.22 0
X_S3-2.XM1.R20 X_S3-2.XM1.22 X_S3-2.XM1.23 { 2.27/MDEAdj() }
X_S3-2.XM1.B21 X_S3-2.XM1.23 X_S3-2.XM1.12 X_S3-2.XM1.I
+ X_S3-2.XM1.Icgd
X_S3-2.XM1.R21 X_S3-2.XM1.23 X_S3-2.XM1.12 1G
X_S3-2.XM1.R23 X_S3-2.XM1.23 X_S3-2.31 1G
X_S3-2.XM1.B24 X_S3-2.XM1.23 X_S3-2.XM1.32 X_S3-2.XM1.I
+ X_S3-2.XM1.Icgs
X_S3-2.XM1.R24 X_S3-2.XM1.23 X_S3-2.XM1.32 1G
X_S3-2.XM1.V30 X_S3-2.31 X_S3-2.XM1.32 0
X_S3-2.XM1.V40 X_S3-2.31 X_S3-2.XM1.41 0
X_S3-2.XM1.B40 X_S3-2.XM1.41 X_S3-2.XM1.42 X_S3-2.XM1.V
+ X_S3-2.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S3-2.XM1.R41 X_S3-2.XM1.42 N01578 10G
X_S3-2.XM1.B41 X_S3-2.XM1.42 N01578 X_S3-2.XM1.I X_S3-2.XM1.Ibd fVFI
----------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S3-2.XM1.B42 X_S3-2.XM1.42 N01578 X_S3-2.XM1.I X_S3-2.XM1.Icds
X_S3-2.XM1.V21 X_S3-2.XM1.23 X_S3-2.XM1.24 0
X_S3-2.XM1.C21 X_S3-2.XM1.24 X_S3-2.XM1.12 1p
X_S3-2.XM1.V24 X_S3-2.XM1.23 X_S3-2.XM1.25 0
X_S3-2.XM1.C24 X_S3-2.XM1.25 X_S3-2.XM1.32 1p
X_S3-2.XM1.V41 X_S3-2.XM1.42 X_S3-2.XM1.43 0
X_S3-2.XM1.C41 X_S3-2.XM1.43 N01578 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S3-2.XM1.tCHRfactor. X_S3-2.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S3-2.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S3-2.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S3-2.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S4-1.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S4-1.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S4-1.XM1.Bth 0 X_S4-1.Tj X_S4-1.XM1.I X_S4-1.XM1.iPower
X_S4-1.XM1.V10 VOUT- X_S4-1.XM1.11 0
X_S4-1.XM1.B10 X_S4-1.XM1.11 X_S4-1.XM1.12 X_S4-1.XM1.V
+ X_S4-1.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S4-1.XM1.B13 X_S4-1.XM1.12 X_S4-1.XM1.32 X_S4-1.XM1.I
+ X_S4-1.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S4-1.XM1.R13 X_S4-1.XM1.12 X_S4-1.XM1.32 1G
X_S4-1.XM1.V20 X_S4-1.21 X_S4-1.XM1.22 0
X_S4-1.XM1.R20 X_S4-1.XM1.22 X_S4-1.XM1.23 { 2.27/MDEAdj() }
X_S4-1.XM1.B21 X_S4-1.XM1.23 X_S4-1.XM1.12 X_S4-1.XM1.I
+ X_S4-1.XM1.Icgd
X_S4-1.XM1.R21 X_S4-1.XM1.23 X_S4-1.XM1.12 1G
X_S4-1.XM1.R23 X_S4-1.XM1.23 X_S4-1.31 1G
X_S4-1.XM1.B24 X_S4-1.XM1.23 X_S4-1.XM1.32 X_S4-1.XM1.I
+ X_S4-1.XM1.Icgs
X_S4-1.XM1.R24 X_S4-1.XM1.23 X_S4-1.XM1.32 1G
X_S4-1.XM1.V30 X_S4-1.31 X_S4-1.XM1.32 0
X_S4-1.XM1.V40 X_S4-1.31 X_S4-1.XM1.41 0
X_S4-1.XM1.B40 X_S4-1.XM1.41 X_S4-1.XM1.42 X_S4-1.XM1.V
+ X_S4-1.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S4-1.XM1.R41 X_S4-1.XM1.42 VOUT- 10G
X_S4-1.XM1.B41 X_S4-1.XM1.42 VOUT- X_S4-1.XM1.I X_S4-1.XM1.Ibd fVFI
---------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S4-1.XM1.B42 X_S4-1.XM1.42 VOUT- X_S4-1.XM1.I X_S4-1.XM1.Icds
X_S4-1.XM1.V21 X_S4-1.XM1.23 X_S4-1.XM1.24 0
X_S4-1.XM1.C21 X_S4-1.XM1.24 X_S4-1.XM1.12 1p
X_S4-1.XM1.V24 X_S4-1.XM1.23 X_S4-1.XM1.25 0
X_S4-1.XM1.C24 X_S4-1.XM1.25 X_S4-1.XM1.32 1p
X_S4-1.XM1.V41 X_S4-1.XM1.42 X_S4-1.XM1.43 0
X_S4-1.XM1.C41 X_S4-1.XM1.43 VOUT- 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S4-1.XM1.tCHRfactor. X_S4-1.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S4-1.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S4-1.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S4-1.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15256): <X_S4-2.XM1.MDE> not a subcircuit param


**** EXPANSION OF SUBCIRCUIT X_S4-2.XM1 ****
.PARAM TNOMK 298.15
.PARAM TNOMC 25
.PARAM MAXVDSI 30
.PARAM MAXRDRIFTIDS { (400/3.196) * MDE }
.PARAM MAXVFI 9
.PARAM MAXVGS 50
.PARAM MINVGS -5
.PARAM MAXVGD 1260
.PARAM MAXCAPSVDS 1260
.FUNC IPower() { LIMIT(IF(TIME>0,(I(V10)-I(V40))*V(10)+I(V20)*V(20)+(I(

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
+ V30)+I(V40))*V(30),0),-1MEG,1MEG) }
X_S4-2.XM1.Bth 0 X_S4-2.Tj X_S4-2.XM1.I X_S4-2.XM1.iPower
X_S4-2.XM1.V10 N01522 X_S4-2.XM1.11 0
X_S4-2.XM1.B10 X_S4-2.XM1.11 X_S4-2.XM1.12 X_S4-2.XM1.V
+ X_S4-2.XM1.Vrd I
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V10 fVGS
X_S4-2.XM1.B13 X_S4-2.XM1.12 X_S4-2.XM1.32 X_S4-2.XM1.I
+ X_S4-2.XM1.Ich fVGS
-----------------$
ERROR(ORPSIM-16147): Invalid parameter
+ min MAXVDSI fVDSI
X_S4-2.XM1.R13 X_S4-2.XM1.12 X_S4-2.XM1.32 1G
X_S4-2.XM1.V20 X_S4-2.21 X_S4-2.XM1.22 0
X_S4-2.XM1.R20 X_S4-2.XM1.22 X_S4-2.XM1.23 { 2.27/MDEAdj() }
X_S4-2.XM1.B21 X_S4-2.XM1.23 X_S4-2.XM1.12 X_S4-2.XM1.I
+ X_S4-2.XM1.Icgd
X_S4-2.XM1.R21 X_S4-2.XM1.23 X_S4-2.XM1.12 1G
X_S4-2.XM1.R23 X_S4-2.XM1.23 X_S4-2.31 1G
X_S4-2.XM1.B24 X_S4-2.XM1.23 X_S4-2.XM1.32 X_S4-2.XM1.I
+ X_S4-2.XM1.Icgs
X_S4-2.XM1.R24 X_S4-2.XM1.23 X_S4-2.XM1.32 1G
X_S4-2.XM1.V30 X_S4-2.31 X_S4-2.XM1.32 0
X_S4-2.XM1.V40 X_S4-2.31 X_S4-2.XM1.41 0
X_S4-2.XM1.B40 X_S4-2.XM1.41 X_S4-2.XM1.42 X_S4-2.XM1.V
+ X_S4-2.XM1.Vrbd I
------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ V40
X_S4-2.XM1.R41 X_S4-2.XM1.42 N01522 10G
X_S4-2.XM1.B41 X_S4-2.XM1.42 N01522 X_S4-2.XM1.I X_S4-2.XM1.Ibd fVFI
----------------------------------------------------------------$
ERROR(ORPSIM-16147): Invalid parameter
+ fVGS
X_S4-2.XM1.B42 X_S4-2.XM1.42 N01522 X_S4-2.XM1.I X_S4-2.XM1.Icds
X_S4-2.XM1.V21 X_S4-2.XM1.23 X_S4-2.XM1.24 0
X_S4-2.XM1.C21 X_S4-2.XM1.24 X_S4-2.XM1.12 1p
X_S4-2.XM1.V24 X_S4-2.XM1.23 X_S4-2.XM1.25 0
X_S4-2.XM1.C24 X_S4-2.XM1.25 X_S4-2.XM1.32 1p
X_S4-2.XM1.V41 X_S4-2.XM1.42 X_S4-2.XM1.43 0
X_S4-2.XM1.C41 X_S4-2.XM1.43 N01522 1p
.PARAM QCHRG 1.60217662e-19
.PARAM SiC_EPS 8.880750380451000e-13
.PARAM PA 146
.PARAM phi_BN 1.23
.PARAM V_bi 2.886
.PARAM Rc_sp 0.0005
.PARAM CHVT25C 0.025692570560254

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC degk() {V(TjPin)+273.15}
.FUNC TFACT() {degk()/TNOMK}
.FUNC TDIFF() {degk() - TNOMK}
.FUNC VT() { degk()*8.6173304e-05 }
.FUNC TCEXP2(a,b) { exp( TDIFF()*a*exp(TDIFF()*b) ) }
.FUNC TCEXP1(a) { exp(TDIFF()*a) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVFI() { min(V(42,10),MAXVFI) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVDSI() { V(12,32) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.FUNC fVGS() { max(min(V(23,32), MAXVGS),MINVGS) }

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context
.PARAM CHVSATb -0.014319511771421548
.PARAM CHKSIa 0.013627820145722667
.PARAM CHKSIb -0.00047154941674016769
.PARAM CHVDS0 0.025
.PARAM CHVDSA {CHVDS0/4}
.PARAM CHVGS0 0.5
.PARAM CHVGSA {CHVGS0/2}
.FUNC MDEAdj() { (MDE - 0.372) * 0.961048159 + 0.482 }
.FUNC CHVGADJ() { (CHKS/CHKSFIT)**(CHK-1) }
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
.FUNC tCHVTfactor() { degk()/(TNOMC+273.15) }
.FUNC tCHVTHfactor() { (1+CHVTHA*TDIFF())/(1+CHVTHB*TDIFF()) }
.FUNC tCHKSFactor() { tCHVTHfactor()/tCHVTfactor() }
.FUNC tCHVTH() { CHVTH25C*tCHVTHfactor() }
.FUNC tCHVT() { CHVT25C*tCHVTfactor() }
.FUNC tCHKS() { CHKS*tCHKSfactor() }
.FUNC tCHKSI() { CHKSI*TCEXP2(CHKSIa,CHKSIb) }
.FUNC tCHK() { CHK*TCEXP2(CHKa,CHKb) }
.FUNC tCHA() { CHA*TCEXP2(CHAa,CHAb) }
.FUNC tCHN() { CHN*TCEXP2(CHNa,CHNb) }
.FUNC tCHLambda() { CHLambda*TCEXP2(CHLAMBDAa,CHLAMBDAb) }
.FUNC tCHTheta() { CHTheta*TCEXP2(CHTHETAa,CHTHETAb) }
.FUNC tCHVSAT() { CHVSAT*TCEXP2(CHVSATa,CHVSATb) }

ERROR(ORPSIM-15089): Can not re-define X_S4-2.XM1.tCHRfactor. X_S4-2.XM1.tCHRfactor is either a system defined variable or has already been defined
.FUNC tCHRfactor() { TCEXP2(CHRDRIFTa,CHRDRIFTb) }
--------------------------------------------------$
ERROR(ORPSIM-16272): .FUNC does not agree with previous instance
+ ))*(Ifwd(vgs,vdsi)-Irev(vgs,vdsi))*CLMfactor(vdsi)}
.FUNC Ich(vgs,vdsi) { if(vdsi<0,-Ich_ds(vgs,-vdsi),Ich_ds(vgs,vdsi)) }
.PARAM BDRdiode 0.021021866109144308
.PARAM BDP0 0.0052833312970936653
.PARAM BDP1 2.25852431026992
.PARAM BDIKF 11.712908796632858
.PARAM BDTPRa -0.0024450635291438402
.PARAM BDTPRb -0.0027043038707783144
.PARAM BDTP0a 0.0067461084185589737
.PARAM BDTP0b -0.0037259694830406999
.PARAM BDTP1a 0.0001776304844573099
.PARAM BDTP1b 0.00081715664580985794
.PARAM BDTPIKFa 0.00026748462229396377
.PARAM BDTPIKFb -0.040042968103678793
.PARAM BDX0 0.001
.PARAM BDALPHA {BDX0/4}
.FUNC tBDRdiode() { (1/MDEAdj()) * BDRdiode*TCEXP2(BDTPRa,BDTPRb) }
.FUNC tBDP0() { BDP0*TCEXP2(BDTP0a,BDTP0b) }
.FUNC tBDP1() { BDP1*TCEXP2(BDTP1a,BDTP1b) }
.FUNC tBDIKF() { MDEAdj() * BDIKF*TCEXP2(BDTPIKFa,BDTPIKFb) }
.FUNC sBDVSD(vsdi) { 0.5+0.5*tanh((vsdi-BDX0)/BDALPHA) }
.FUNC BDINRM(vsdi,vgs) { MDEAdj() * tBDP0() * (exp(vsdi*tBDP1())-1) }
.FUNC Ibd(vsdi,
------$
ERROR(ORPSIM-16265): Missing or mismatched ()
.PARAM cgd3a 17.73451706031863
.PARAM cgd3b 7.7518445245235672E-005
.PARAM cgd3c -2.3418763487387078
.PARAM cgd3d 3471.7516090814211
.PARAM cgd3rda 433.612236421830
.PARAM cgd3rdb -327.402477684446e-003
.PARAM cgd3rdc 685.743358059404
.PARAM cgds1l 0
.PARAM cgds1h 3.45753481488382
.PARAM cgds2l 9.46193688665382
.PARAM cgds2h 30.0701832094455
.FUNC cgds1(v) { 0.5 + 0.5*tanh( (v-cgds1v0)/CGDALPHA1 ) }
.FUNC cgds2(v) { 0.5 + 0.5*tanh( (v-cgds2v0)/CGDALPHA2 ) }
.FUNC cgdeq1(v) { cgd1a + cgd1b/(1+exp(-(v-cgd1c)*cgd1d)) }
.FUNC cgdeq2(v) { cgd2a + cgd2b/(1+exp(-(v-cgd2c)*cgd2d)) }
.FUNC cgdeq3(v) { cgd3a+cgd3b*v*sqrt(v)+cgd3c*log(v)+cgd3d/(v*v) }
.FUNC cgd1st(v) { (1-cgds2(v))*(1-cgds1(v))*cgdeq1(min(v,cgds1h))+ (1-cgds2(
+ v))*(cgds1(v))*cgdeq2(min(max(v,cgds1l),cgds2h))+ cgds2(v)*cgdeq3(min(
+ max(v,cgds2l),MAXCAPSVDS))}
.FUNC cgd3rd(v) { (cgd3rda*tanh(cgd3rdb*v)+cgd3rdc) }
.FUNC cgd(v) { MDE * ((v<=0)*cgd3rd(min(v,0)) + (v>0)*cgd1st(max(v,0))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S4-2.XM1.cgd.
.FUNC Icgd() { I(V21) * cgd(-fVGD()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cgs3a 555.93062800787163
.PARAM cgs3b 124736.14921726198
.PARAM cgs3c -16576.546066082192
.PARAM cgs3d -0.00041740523986615291
.PARAM cgs3rda -101.721070937554
.PARAM cgs3rdb -235.338257768859e-003
.PARAM cgs3rdc 539.768630386866
.PARAM cgss1l 17.5832085764784
.PARAM cgss1h 23.2275248135329
.PARAM cgss2l 0
.PARAM cgss2h 87.3321978364376
.FUNC cgss1(v) { 0.5 + 0.5*tanh((v-cgss1v0)/CGSALPHA1) }
.FUNC cgss2(v) { 0.5 + 0.5*tanh((v-cgss2v0)/CGSALPHA2) }
.FUNC cgseq1(v) { cgs1a + cgs1b/(1+exp(-(v-cgs1c)*cgs1d)) }
.FUNC cgseq2(v) { cgs2a + cgs2b/(1+exp(-(v-cgs2c)*cgs2d)) }
.FUNC cgseq3(v) { cgs3a + cgs3b/(1+exp(-(v-cgs3c)*cgs3d)) }
.FUNC cgs1st(v) { (1-cgss1(v))*(1-cgss2(v))*cgseq1(max(0,min(v, cgss1h)))+ 
+ (1-cgss2(v))*cgss1(v)*cgseq2(max(cgss1l, min(v, cgss2h))) + cgss2(v)*cgseq3(
+ max(cgss2l, min(v, MAXCAPSVDS)))}
.FUNC cgs3rd(v) { (cgs3rda*tanh(cgs3rdb*v)+cgs3rdc) }
.FUNC cgs(v) { MDE*((v<=0)*cgs3rd(min(v,0)) + (v>0)*cgs1st(min(v,MAXCAPSVDS))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S4-2.XM1.cgs.
.FUNC Icgs() { I(V24) * ( cgs(fVDSI()) ) }
------------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
.PARAM cds2c -0.02023952162996067
.PARAM cds2d 0.00010727129923726533
.PARAM cds2e -2.0850118697227681E-007
.PARAM cds2f 1.4439138214354108E-010
.PARAM cds2g 0.085042837830777929
.PARAM cds2h -0.00060977030055777651
.PARAM cds2i 2.5878275564268432E-006
.PARAM cds2j -4.708065037167804E-009
.PARAM cds2k 3.2051910988236424E-012
.PARAM cds3rda 105.369831320697
.PARAM cds3rdb -266.519056913244e-003
.PARAM cds3rdc 645.568842020980
.PARAM cdss1l 0
.PARAM cdss1h 2.721
.FUNC cdss1(v) { 0.5 + 0.5*tanh((v-cds1v0)/CDSALPHA1) }
.FUNC cdseq1(v) { cds1a*(v-cds1b)**2 }
.FUNC cdseq2(v) { (cds2a + v*(cds2b + v*(cds2c + v*(cds2d + v*(cds2e+ v*cds2f))))) 
+ / (1 + v*(cds2g + v*(cds2h + v*(cds2i+ v*(cds2j + v*cds2k))))) }
.FUNC cds1st(v) { (1-cdss1(v))*cdseq1(max(0, min(v, cdss1h))) + cdss1(v)*cdseq2(
+ max(cdss1l, min(v, MAXCAPSVDS))) }
.FUNC cds3rd(v) { (cds3rda*tanh(cds3rdb*v)+cds3rdc) }
.FUNC cds(v) { MDE*(((v<0)*cds3rd(min(v,0)) + (v>=0)*cds1st(min(v,MAXCAPSVDS)))) 
+ - 1 }
-------$
ERROR(ORPSIM-16318): Missing or invalid expression

WARNING(ORPSIM-15219): Node voltages and/or currents not allowed in this context

WARNING(ORPSIM-15213): Too many arguments to function X_S4-2.XM1.cds.
.FUNC Icds() { I(V41) * cds(fVDSI()) }
--------------------------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

Mon, 2022-04-25 04:01
Myan Nyan
Offline
Last seen: 2 years 6 months ago
Joined: 2022-04-25 03:56

I've gained a great deal of knowledge from this site. It's a good idea to save this page for future use. Incredibly, you put in so much effort to make it such a fascinating site mapquest driving directions

Fri, 2023-03-24 06:07
Restrictin
Offline
Last seen: 1 year 7 months ago
Joined: 2023-03-24 05:58

It's hard for me to understand this post. When this happens, playing avatar game is the right choice. This run and jump game always keep me entertained.

Download PSpice and try it for free! Download Free Trial
Cadence