Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange scaling factor #96

Open
ma-laforge opened this issue Jun 10, 2021 · 1 comment
Open

Strange scaling factor #96

ma-laforge opened this issue Jun 10, 2021 · 1 comment

Comments

@ma-laforge
Copy link

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).

@felix-salfelder
Copy link
Member

Is this an ADMS or a Qucs (maybe Qucsator) issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants