-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
TransformerPS1S2 Issue #362
Comments
I have fixed the short circuit in the library by the latest commit, but the convergence error remains. I cannot say why this simple circuit still give the convergence error in Ngspice. You can grab the fixed library here: https://raw.githubusercontent.com/ra3xdh/qucs_s/current/library/Transformers.lib |
Holger recommendation is shown below. I cannot find "chgtol" in the Qucs Transient properties settings. You may add this line to the netlist. |
Holger said to use Delay instead of Phase for the AC source. This and the changes to Transient Parameters allows the analysis to be correct starting at T=0 instead of having to wait a long time for the system to settle. Holgers explanation points out why I was having so many issues. Can the new Spice "ac Voltage Source" have VO (offset), VA (amplitude), FREQ (frequency), TD (delay), THETA (damping) and PHASE (phase) added as the default entry parameters? Presently it has "Vac" which is meaningless. The "V source" usage is a bit confusing. Dietmar pointed out that the "gnd" entry for .SUBCKT Transformers_TransformerPS1S2 as shown below is unused. Is this a mistake? .SUBCKT Transformers_TransformerPS1S2 gnd nPplus nPneg nSplus nSneg nSPct L1=0.5 L2=0.125 L3=0.125 K12=0.99 K13=0.99 K23=0.99 Rp=2 Rs1=1 Rs2=1 Attached is the "good and bad" schematics. |
The "ac Voltage Source" at the bottom of the Sources menu is a Spice only component so Qucs compatibility isn't an issue. It has a single default entry of "Vac" which is wrong. ngspice thinks it is a DC source. Why was this device created when "V Source" is already available? Can you alter "ac Voltage Source" by adding all the parameters to the Menu so the User can change them? |
This device was added by @MikeBrinson long time ago. I cannot say what was the purpose for this device. I am also finding two type of source confusing. I may delete it in the next release. The V source device would be sufficient if one need full SPICE definition. |
I have deprecated the red AC source. The remaining issues with the transformer library will be fixed in #367 Closing this as completed. |
I'm having issues trying to get a 6-phase rectifier circuit to work. I sent the netlist over to the ngspice guys and they found a possible error with .SUBCKT Transformers_TransformerPS1S2. The netlist line "R3 nSPlus nSplus {RS1}" is wrong. There may be other errors in the .SUBCKT.
https://sourceforge.net/p/ngspice/discussion/133842/thread/c4ecc7c227/
6_Phase_Rectifier.zip
TODO list:
The text was updated successfully, but these errors were encountered: