- #1

- 553

- 5

## Main Question or Discussion Point

Hello All,

Some of you may have heard of the freeware FEA program called FEMM written by David Meeker. It is used to simulate 2D electromagnetic geometries and also has an integrated LUA scripting host which allows script files to be written to automate the process.

I'm currently using FEMM to model and calculate the output voltage, current, and power of a custom generator model but I'm wondering if it is possible to use SPICE to simulate the circuit components of my model.

Basically, I'm starting with a very simple setup with a spinning magnet and a coil. The goal is that I want to simulate the load voltage and current from this coil, taking into account it's reactance and presumably non-sinusoidal output waveform. Right now, I can calculate the inductance of the coil, the output current, and induced voltage straight from the simulator outputs, but I would like to somehow input these values into the SPICE simulator to determine the load voltage, current, and phase shift. I'm modeling the output circuit of the generator as a voltage source with a series resistance, and inductance to represent the generator, and a resistive load for the output load.

The tricky part is that the source inductance also changes with the loading of the generator (which is why I'm considering using spice somehow). Has anyone ever worked with a situation like this before?

Thanks,

Jason O

Some of you may have heard of the freeware FEA program called FEMM written by David Meeker. It is used to simulate 2D electromagnetic geometries and also has an integrated LUA scripting host which allows script files to be written to automate the process.

I'm currently using FEMM to model and calculate the output voltage, current, and power of a custom generator model but I'm wondering if it is possible to use SPICE to simulate the circuit components of my model.

Basically, I'm starting with a very simple setup with a spinning magnet and a coil. The goal is that I want to simulate the load voltage and current from this coil, taking into account it's reactance and presumably non-sinusoidal output waveform. Right now, I can calculate the inductance of the coil, the output current, and induced voltage straight from the simulator outputs, but I would like to somehow input these values into the SPICE simulator to determine the load voltage, current, and phase shift. I'm modeling the output circuit of the generator as a voltage source with a series resistance, and inductance to represent the generator, and a resistive load for the output load.

The tricky part is that the source inductance also changes with the loading of the generator (which is why I'm considering using spice somehow). Has anyone ever worked with a situation like this before?

Thanks,

Jason O