This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PSPICE-FOR-TI: Using VCCS as constant power load

Part Number: PSPICE-FOR-TI

I want to design a constant power load and I was trying to use a VCCS source to do so, but it doesn't seems to work with the expression that I'm using as GAIN = {1/(RMIN/V(n1,n2) + V(n1,n2)/PLOAD}. I've tried something simple as {2*V(n1,n2)} just to test and it gives me the same error: ERROR(ORPSIM-16048): Encoding gain/transconductance/transresistance expression. Is it possible to make a VCCS with non constant variables inside the gain expression? Is there any other way to simulate a constant power load?
Thanks, Thiago.