tomcl / ADDIE

GNU General Public License v3.0
1 stars 3 forks source link

Blank output of transient analysis without warning/error meassage. #16

Open theogam02 opened 11 months ago

theogam02 commented 11 months ago

There is a type of circuit that will not give you any warning messages when trying to do transient analysis, but the output is blank.

image

If this is due to the simulator not supporting this type of circuit, there should be some sort of error message.

I tried circuits with 1 diode or 1 capacitor and the analysis works. It seems to break down when both a capacitor and a diode are used in a circuit.

When trying a diode and an inductor, I got an error message:

image

As stated in the error message "Time Simulation currently supports a maximum of one Voltage Source and one Capacitor or Inductor". This circuit has an inductor and a diode and it generates that error message.

I believe that more than one capacitor/inductor/diode or any combination of those will break the simulator. The error message appears in some of those cases but it does not appear in some others (like the one in the first picture).

tomcl commented 11 months ago

Agreed. I don't understand why time simulation should be so restricted - you would have though any collection of linear components would be OK. I suggest in resolving this issue we should:

  1. Add an error checker
  2. Understand the component limits on time simulation - make suitable error messages
  3. Allow more diverse ckts for time simulation. @apantelopoulos will maybe have some idea what were the technical constraints he came across.