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

Re: ScanTesla program -> Math might be figured out now



Original poster: Terry Fritz <teslalist@xxxxxxxxxxxxxxxxxxxxxxx>

Hi Antonio,

Wow Great!!!

I had been working on it, but I was all lost in the matrix programming in C stuff. Today I was wondering if I should use say FORTRAN or just hard code it without matrix stuff...

You make it look so easy :-))

I will study your code and try it out!!

Thanks so much!

Cheers,

        Terry

At 06:53 PM 6/6/2005, you wrote:
Tesla list wrote:
Original poster: Terry Fritz <teslalist@xxxxxxxxxxxxxxxxxxxxxxx>

Ok, I think I have it figured out.  I wrote the stuff up on page three:
http://drsstc.com/~terrell/modeling/ScanTesla-110.pdf

Our equations are a bit different for the inductor currents. I wrote a core routine that does the calculations, and appears to give correct results: http://www.coe.ufrj.br/~acmq/tesla/DRSSTC.C

The model is linear and assumes the load connected since the start.
It is simple to change the load resistance during the simulation, by
just changing the value of the load resistor and recomputing the
A matrix and the B vector. Changing the load capacitance is a bit
more complicated. My simulator is using a sinusoidal input, since
it's easier to verify if the calculation is correct with it. It's
easy to change it to a square wave input.

Antonio Carlos M. de Queiroz