I think the last one is this one: https://sourceforge.net/p/ngspice/ngspice/ci/new_kirchhoff-5/tree/ But I don't code NGSPICE since a while... That illustrates the work, I'm NOT saying it's ready to be used :) . You can have a look and continue from where I left ;) . Thank you, Fra
Hi Keith, you can look at my preliminary work on KCL Verification. In that branch, the convergence criterion for f(V) is given by Kirchhoff Current Law Verification. The branch is quite old, so I'm not sure it even contains a B source component, but you could take inputs from there... Thank you, Fra
Ciao Holger, nice update! :) I had a quick look and it seems order1 and 2 are the same for the moment, right? Also, I have this PDF (attached) where there is a description of the local truncation error methods. I didn't read it, but I think you can find it useful, or maybe you have already implemented what is written in there! ;) Let me know! Thank you, Fra
Hi Brian, thx a lot! :) Fra
Hi Dietmar, I saw the commits. They look ok to me. You respected the rule: each node has to be mentioned in the binding part, respecting the same if statements, if any! Thank you, Fra
Hi Dietmar, ok! Then it could be normal. Maybe the other models don't need additional nodes? BTW, did you create also the REAL to COMPLEX and viceversa parts? BTW2, if your code works, you can commit, to me! :) Thank you, Fra
Hi Dietmar, do you mean this code is what is missing or should I have a look at the problem? Consider that maybe the self-heating was not part of the SETUP function when the binding was created and that's why in missing. On the fact that the result is the same even without this binding is something we need to understand. Are you sure the feature is utilized properly, for example? Also, if I have to look at this, do you have a small testcase? Thank you, Fra
Cool ! :) I leave you guys decide what to do next! ;) Fra