I would like to come up with a DC nonlinear model of an amplifier. I calculated k1, k2, and k3 based on gain, OIP2, and OIP3 of the amp. And now, I need to simulate the output voltage equation vo=k1vi+k2vi^2+k3vi^3. I use SDD2P block to simulate(as shown in the pictures below), but I could not get similar OIP2 and OIP3 values. Does anyone know what I've done wrong in the simulation setup?
Thank you so much!