On Sun, Dec 22, 2024 at 11:20 AM, Tom wrote:
...
.subckt D_OpAmp inp inn outp outn vcm
R1 outp n01 1
R2 n01 outn 1
G1 n01 outp inp inn 100MEG
G2 outn n01 inp inn 100MEG
G3 0 n01 vcm n01 100MEG
.ends D_OpAmp
Hmm. I don't see anything to control the bandwidth. So it is theoretically flat with 160 dB gain from DC to light.
It might work. Or it might not. Any good op-amp, either a model or real, should have a dominant pole giving it a controlled roll-off as you go up in frequency.
And of course the model has no supply voltages, so its inputs and outputs are compliant to +/- infinity - which could be how you want an ideal model to be.
Andy