*****************************************************
*  PExprt THERMAL MODEL FOR MAGNETIC COMPONENT      *
*            PSPICE(R) LANGUAGE VERSION             *
*    GENERATED BY PExprt (C) UPM-Ansoft 1992-2004   *
*                    Version 6.0.12                 *
*****************************************************


.subckt WireFlybackConverter_372_th  AvgCoreLosses  AvgWireLosses  TempMax 

VdcCore AvgCoreLosses Core_int 0

RCoreLosses Core_int 0 1.0e+000

VdcConductor AvgWireLosses Conductor_int 0

RConductorLosses Conductor_int 0 1.0e+000

*.. 2D Thermal model description for PSPICE

*..Power sources for different losses

*.. CoreLosses

GPcore 0 Pcore VALUE={i(VdcCore)}

Rcore  Pcore 0 1.0e+000

*..Power sources for different windings

*.Winding 1

GPwind1 0 Pwind1 VALUE={i(VdcConductor)*4.82473e-007/(

+4.82473e-007

++4.71655e-007)}

Rwind1  Pwind1 0 1.0e+000

*.Winding 2

GPwind2 0 Pwind2 VALUE={i(VdcConductor)*4.71655e-007/(

+4.82473e-007

++4.71655e-007)}

Rwind2  Pwind2 0 1.0e+000

*..Temperature node for magnetic component

GTempMax 0 TempMaxprev VALUE={

+v(Pcore)*16.6258

++v(Pwind1)*16.5165

++v(Pwind2)*15.2998}

RTempMax TempMaxprev 0 1.0e+006

ETempOut TempMax 0 VALUE={v(TempMaxprev)/(TIME+1.0e-012)}

CavgTempMax TempMaxprev 0  1 IC=0.0 

*..End of the Thermal Model of The Magnetic Component

.ends
