[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScanTesla Version 7.60



Original poster: Vardan <vardan01@xxxxxxxxxxxxxxxxxxxxxxx>

Hi,

Here is the new and improved version:

http://drsstc.com/~sisg/files/scantesla/scantesla760.zip

The improvements are:

1. If you set Goal Type to "-1" it turns off the time wasting waveform file. This make it run MUCH faster so dest will be happy ;-))

2. Vastly improved automatic streamer model. You can now input a breakout voltage (~75kV/ inch radius). It dynamically sets the load depending on coil power, streamer length, and time.

3. There is a distance to ground input now which allows streamer hits to ground and optimization (good luck trying to tune your coil that good ;-)).

4. Automatic L1 tuning has been removed since it never did work well. I also no longer mention Goal_Type 0 since it is pretty useless.

Note that the input.txt file format has changed to add Breakout Voltage and Strike Distance. You can easily modify old files for this change.


The dynamic streamer modeling section is below:

// Dynamic streamer model********************************************************

LeaderLength = 2.8 * sqrt(Eload * BPS); //This is the John Freau equation based on actual streamer power.

	if (LeaderLength > StrikeDistance) LeaderLength = StrikeDistance;

if (T1 != T1_start && C3_inc1 < 0.0) //Do this if active streamer modeling is enabled and the model has run once.
		{

LengthTemp = 2.8 * sqrt(0.5 * VCsec_max * VCsec_max * (C2 + C3) * BPS); //Secondary energy length factor.

BreakoutLength = 2.8 * sqrt(0.5 * BreakoutVoltage * BreakoutVoltage * C2 * BPS); //Secondary breakout length.

if (LengthTemp < BreakoutLength) {C3 = 0.06666667 * LengthTemp * 1.0e-12;} //Streamer capacitive load.
		else {C3 = (0.15 * LengthTemp - 0.08333333 * BreakoutLength ) * 1.0e-12;}


	//Streamer strike to ground
		if (LeaderLength >= StrikeDistance && Strike == 0) //Turn Strike on.
			{
			Strike = 1;
			TimeTemp = T1;
			}

if (T1 >= TimeTemp + 2 * (2 * pi * sqrt(L1 * C1)) && Strike == 1) //Turn Strike off.
		   	{
			Strike = 2;
		   	}

		if (Strike == 1) //Strike topload drain to Eload.
			{
Eload += 0.5 * C2 * X0[2] * X0[2] * T1_inc + 0.5 * C3 * X0[3] * X0[3] * T1_inc;
			X0[2] = 0.0;
			X0[3] = 0.0;
			}

		}

// Dynamic streamer model********************************************************

It basically uses John Freau's equation for streamer length and uses secondary energy to find the Cload value. Cload has a near and far equation now that is governed by the breakout voltage. It seems to all match measurements well.

The streamer strike just drains the top terminal energy to ground for two cycles. This seems to match SISG strikes well. It is amazing how much current must be in those strikes to drain the terminal in microseconds!! The secondary inductance seems to be a dead short or bypassed to ground by the direct terminal to ground capacitance. That might be yet another factor in racing arcs....

Cheers,

	Terry