PySpice icon indicating copy to clipboard operation
PySpice copied to clipboard

Scattering Parameters

Open GleidsonLeite opened this issue 3 years ago • 2 comments

How can i extract S-parameters using PySpice? Is there any example to do that?

GleidsonLeite avatar Apr 23 '22 16:04 GleidsonLeite

It appears that s-parameter analysis is coming to ngspice. Once that's in stable, I expect it wouldn't be too much work to get this into pyspice.

If you don't want to wait for that you can always create something yourself. You'll need some sort of signal separation device. I'd probably look at the Wenzel low-frequency circulator and use ideal opamps so you're not bandwidth-limited. Worth also noting that a lot of people use other tools than spice for RF simulation (e.g., QUCS) or a proper EM simulator (openems and meep are open-source options, but they carry pretty steep learning curves).

matthuszagh avatar Jun 12 '22 22:06 matthuszagh

Now released. Maybe we turn this into a feature request to update to ngspice 37 and add support for SP simulation?

matthuszagh avatar Jun 16 '22 21:06 matthuszagh