0 Members and 1 Guest are viewing this topic.
.TITLE Power calculation* 3 independant cores* core1: V11+L11+R11+L21, K=1 between L11 and L21* core2: V12+L12+R12+L22, K=1 between L12 and L22* core3: L31+R31 connected from L21, L32+R32 connected from L22, L41+R41 connected to V41, K=1 between L41 and L31, K=-1 between L41 and L32, K=-1 between L31 and L32v11 0 1 SIN(0 20V 100 0 0)l11 1 2 15mHr11 2 0 1v12 0 6 SIN(0 20V 100 0 0)l12 6 7 5mHr12 7 0 1l21 0 11 15mHl22 0 16 15mHK1 L21 L11 1K2 L22 L12 1l31 0 13 12mHvd1 13 12 DC 0Vr31 12 11 1 l32 16 18 12mHvd2 18 17 DC 0Vr32 17 0 1K3 L31 L32 -1l41 0 31 5mHr41 31 32 1 K4 L41 L31 1K5 L41 L32 -1*V41 0 32 AM(5 0 20 100 0 0)V41 0 32 SIN(0 20V 100 0 0)bsourcepower ps 0 v = abs( v(1)*i(v11)) +abs( v(6)*i(v12)) + abs(v(32)*i(v41))bloadpower pl 0 v = abs(v(2,1)*i(v11)) + abs(v(7,6)*i(v12)) + abs(v(11)*i(vd1)) + abs(v(16)*i(vd2)) + abs(v(13)*i(vd1)) + abs(v(18,16)*i(vd2)) + abs(v(31)*i(v41)) + abs(i(v11)*i(v11)) + abs(i(v12)*i(v12)) + abs(i(v41)*i(v41)) + abs(i(vd1)*i(vd1)) + abs(i(vd2)*i(vd2)).tran 0.01ms 100ms.control run write power.raw plot (ps-pl).endc.end