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.