-
Notifications
You must be signed in to change notification settings - Fork 56
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
qucs-s simulation with xyce #153
Comments
Hi @FhatuL, could you please share your testcase ? |
Hi @KrzysztofHerman , please let me know if i missed something:
Expected BehaviorWhile using the HBT models, I am expecting the simulation to run without errors when using xyce Actual BehaviorWhile trying to run a simulation with xyce, netlist errors occur. Steps to Reproduce the Problem
|
@FhatuL does it run when you use ngspice ? |
@KrzysztofHerman It runs when I use ngspice yes. |
Could you please provide the netlist an message log. You can generate it pressing F5 and F6 |
find attached |
based on the log it seems that all the |
ok, after the change |
ok, found it |
or the other way around, you should add additional pin to the line 10: |
so now I'm stuck with this error: |
is it the circuit symbol that causes this extra pin to appear? How could i remove it since the netlist is auto-generated in my case. |
in the line 259 of this file you have this definition: |
I think it comes from this file -> link |
Beside .parameters statements you have to change level model parameter from 9 to 12 in file sg13g2_hbt_mod.lib. |
thank you, @dwarning ! |
The problem with the nested loop arises after a copy from ngspice schematic. Removing the both parameter sweeps, save and re-insert again solved the problem. |
Also, removing the extra gnd port on line 259 in the IHP_PDK_nonlinear_components.lib, although it does allow the simulation to run, it gives totally different simulation results compared to when it is there with ngspice. For xyce I just added an extra .PortSym and that seems to have gotten rid of the Number of nodes for subcircuit instance XNPN13G2L2 does not |
@FhatuL, great! Could you please attach the final updated netlist here for reference? |
.SUBCKT IHP_PDK_nonlinear_components_npn13G2l gnd c b e bn t Nx=1 El=1 .LIB ../../.qucs/IHP-Open-PDK-main/ihp-sg13g2/libs.tech/xyce/models/cornerHBT.lib hbt_typ Xnpn13G2l1 0 _net0 _net1 0 gnd 0 IHP_PDK_nonlinear_components_npn13G2l Nx=1 El=1 V1 _net4 0 DC 1 |
Hi,
I wanted to ask, regarding the qucs-s HBT models, is it possible to run the simulations using xyce instead of ngspice? Every time I try to use the xyce simulator i get this error -> Netlist error: Number of nodes for subcircuit instance XNPN13G2L1 does not
agree with number of nodes in subcircuit
IHP_PDK_NONLINEAR_COMPONENTS_NPN13G2L
The text was updated successfully, but these errors were encountered: