Menu

#713 Simulation results are just ridiculous

v1.0 (example)
closed-invalid
None
5
2024-11-04
2024-11-03
teo teo
No

I created this trivial circuit in Kicad: see attached screenshot.

I followed this guide to run a simulation in ngspice from kicad: https://www.woolseyworkshop.com/2019/07/01/performing-a-circuit-simulation-in-kicad/

As you can already see in the screenshot, the results of the simulation are ridiculously wrong. There's a 43A current entering the gate of the MOSFET.

It seems unlikely that this can be an issue in Kicad somehow sending the wrong information to ngspice, so I assume the issue is in ngspice. The spice models for the components are copied from LTSpice so I'm pretty sure they are correct.

This stupid form only allows me to attach one file, but I'll attach a zip with the kicad project later, including the spice model files.

1 Attachments

Discussion

  • teo teo

    teo teo - 2024-11-03

    Kicad project including spice models

     
  • teo teo

    teo teo - 2024-11-03

    I figured it out, I had to manually edit pin assignments.

    And apparently not only I cannot delete nor edit my own bug report, but I cannot even close it. Sourceforge is pathetic.

     
  • marcel hendrix

    marcel hendrix - 2024-11-04

    It seems unlikely that this can be an issue in Kicad somehow sending the wrong
    information to ngspice

    Why did you think so? Preconceptions, wrong documentation, and miscommunication are the most common sources of bugs.

     
  • Holger Vogt

    Holger Vogt - 2024-11-04
    • status: open --> closed-invalid
    • assigned_to: Holger Vogt
     

Log in to post a comment.