Jump to content
Electronics-Lab.com Community

NGSPICE s_xfer Laplace model question


Recommended Posts

I'm using the s_xfer code model to implement an S-Domain (Laplace) Transfer Function that will ultimately be incorporated into a non-linear dependent current source.

The problem is that the transfer function is not a simple ratio of polynomials in s.

The transfer function is in the form of
1 /  ((abs(s))^x) or 1 / pwr(abs(s),x)

where x is a real, but non-integer value.

I've done this successfully with PSPICE, but don't know if NGSPICE can handle it. Is it possible to implement this with s_xfer? The num_coeff and den_coeff parameters don't really support this.

If this isn't doable with s_xfer, does anyone have any ideas for a workaround?

Thanks,

Dillon

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...