Version 4
SHEET 1 2484 680
WIRE 1280 -96 1184 -96
WIRE 1376 -96 1280 -96
WIRE 1840 -96 1456 -96
WIRE 1840 -16 1840 -96
WIRE 1184 16 1184 -96
WIRE 752 96 128 96
WIRE 800 96 752 96
WIRE 128 128 128 96
WIRE 800 128 800 96
WIRE 1840 144 1840 64
WIRE 128 240 128 208
WIRE 800 240 800 208
WIRE 1184 240 1184 96
FLAG 128 240 0
FLAG 800 240 0
FLAG 752 96 Vpulse
FLAG 1184 240 0
FLAG 1840 144 0
FLAG 1840 -96 Vs
FLAG 1280 -96 Vo
SYMBOL res 784 112 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL ISO16750-2 128 128 R0
SYMATTR InstName U2
SYMATTR SpiceModel 4-6-4_24V_LoadDumpWithoutSuppressionTestA
SYMBOL bv 1184 0 R0
SYMATTR InstName B1
SYMATTR Value V=(V(Vpulse)-27.998253)/(196.775-27.998253)*US
SYMBOL res 1472 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Ri
SYMATTR Value 0.5
SYMBOL res 1824 -32 R0
SYMATTR InstName RL
SYMATTR Value 2
TEXT 112 296 Left 2 !.tran 0 1.5 0.9 1m
TEXT 952 64 Left 2 !.param US=220
TEXT 320 80 Left 2 !.meas vraw_max MAX v(Vpulse)
TEXT 904 -136 Left 2 !.meas vsurge_max MAX v(Vo)
TEXT 1928 -80 Left 2 !.meas total_energy INTEG (V(Vs)*I(RL))/10
TEXT 1928 -40 Left 2 !.meas maximum_power MAX (V(Vs)*I(RL))
