Open ma-laforge opened 3 years ago
There appears to be a strange scaling factor when I use ADMS in QUCS.
In order for my simple voltage-controlled-voltage-source (VCVS) to correctly work, I needed to apply a factor of -50 to my gain:
`include "disciplines.vams" module cust_vcvs(p1, n1, p2, n2); parameter real gain = 1; inout p1, n1, p2, n2; electrical p1, n1, p2, n2; analog begin V(p2, n2) <+ V(p1, n1)*gain/-50; end endmodule
In 2015, this factor was there as well (though it was different at that time: -1e12 instead of 50).
Is this an ADMS or a Qucs (maybe Qucsator) issue?
There appears to be a strange scaling factor when I use ADMS in QUCS.
In order for my simple voltage-controlled-voltage-source (VCVS) to correctly work, I needed to apply a factor of -50 to my gain:
In 2015, this factor was there as well (though it was different at that time: -1e12 instead of 50).