Hi, FWIW, I second to everything Andy said.
However, this caught my attention: Il 01/12/23 10:11, Andrew Simper ha scritto:
I've simulated a similar circuit in full: Ibanez Tube Scream. To do so I've written a c++ based symbolic circuit solver that optimises the equations and generates c++ production ready code. Getting to this point has taken around 10 years, but ultimately, if you're serious about doing this stuff, you'll need to automate the process. I chose c++ since I'm most familiar with it, and it runs the fastest, but I did tinker around with Mathematica, Python, and Julia first. Julia would have probably been a better choice if I was more fluent with how to manipulate the expression trees, since it also has some really handy dynamic code compilation stuff in there.
In our company we have also created something similar, a semi-interactive tool that takes you from a SPICE netlist to C++ or Matlab code, written in JavaScript and based on a symbolic math library we have also developed ourselves.
I am also aware of PyPHS (https://github.com/pyphs/pyphs), which I however never really used. Not to mention the various WDF libraries around (e.g., https://github.com/RT-WDF, https://github.com/Chowdhury-DSP/chowdsp_wdf, https://github.com/droosenb/faust-wdf-library).
I wonder how many such things exist. Best, Stefano
