I fixed my issue. Well at least all the technical issues with QUCS and ngspice. I found the equations work great for static variables but do not support run time. So I just need to move any runtime equations into the source equation. Also QUCS has an NGspice SW (voltage controlled switch) but and CSW current controlled switch but the operation is very different. And lastly the B current source does not allow for negative currents.
I may have found my issue. In ngspice LET is used to define a vector. But QUCS seems to be using LET to define variables. My error message is that one of those variables is undefined.
I seem to have one thing corrected. For some reason I had selected ngspice, and it let me add ngspice components but it was still using QUCS for simulation so it wasn't recognizing the ngspice devices. Resetting the default simulator to ngspice and restarting seemed to fix that issue. And now the netlist looks very similar to the netlist in ngspice examples. However it still doesn't work. Now the error message is that BIspad can't decode what Vex is. Vex is generated in the QUCS function. Qucs 0.0.19...
OK, I seem to have hit a different problem. I had found a voltage controlled current source that was documented in the ngspice docs, and a voltage controlled switch. However after closing QUCS and restarting, when I open the schematic it says there are errors and both of those models don't exist. Further when I search to try to add those components back in, they are not found. I can't find the B supplies any more. I included a screen shot of the ngspice spec sheet for B supplies.
I am using QUCS 0.0.19 on Ubuntu 22.04. I am trying to run a transient simulation with 3 non linear switches and a non linear current source. The goal was to implement a SPAD image sensor circuit based on a few papers I read, but this is just a small circuit with the components which were giving me issues. The error is: line 14: syntax error, unexpected Identifier, expecting '"' I think my error is some misunderstanding on how the syntax works. I have seen a lot of explanations for syntax on ngspice,...