Hi everybody. I have redesign a scheme I was using and was very successful. But when I tried to simulate a DC sweep, I got this error message (Pspice 9, student version):
You've written wrong expression for GVALUE.
Change it from { V(RG, 0) } to { V(RG) }
If you need a differential of input pins then write as { V(RG)-V(net2) }, V(net2) is zero in your circuit configuration.
You've written wrong expression for GVALUE.
Change it from { V(RG, 0) } to { V(RG) }
If you need a differential of input pins then write as { V(RG)-V(net2) }, V(net2) is zero in your circuit configuration.
And RG is a node with single connection, as the net list shows. The problem is that the G2 input is not loading the node, just sensing the voltage. For the same reason R6 is useless. I suggested two possible solutions. It could make sense to try it even if you don't understand why.
Looks like "msmol" made some mistake on GVALUE part due to which the wrong netlist getting written.
I checked at my end, it is written as below by tool. And it works fine.
G_G2 GCL 0 VALUE { V(RG, 0) }
I am using 16.6 version though.
-------------------------------------------------------------------------------------
Sorry for the above confusion.
@msmol -- I checked your netlist as it is. And it is working fine at my end. I am using 16.6 version.
You've written wrong expression for GVALUE.
Change it from { V(RG, 0) } to { V(RG) }
If you need a differential of input pins then write as { V(RG)-V(net2) }, V(net2) is zero in your circuit configuration.
This solution effectively helped to jump over the problem, but for the work I need to do, it would be better not to add parts, just to keep this equivalent circuit as simple as possible.
Thanks "FvM" and "mvaseem", I hope I can solve it with the recoding option. Nevertheless, If you can keep helping me, it will be so useful.