A New Label on Schematic - Error in Simulation

KiCAD 8 user

After creating a simple schematic (a DC battery, a 1ohm resistor, and a 10u capacitor) and defining initial condition “.ic” to make sure that the capacitor is uncharged at the initial time and gradually charged, we created a new label (n1) by placing it on a wire connecting the capacitor to the main wire. However, while starting the simulation, the simulation does not recognize the label placed on the resistor-capacitor node (n1). what to adjust or how to modify the schematic so that the n1 label is recognized by the ngspice simulation?

Circuit Elements:

  1. Voltage Source (V1)

    • Connected between ground (GND) and node n1
    • Piecewise linear source: pwl(“0 0 1m 3.6”)
  2. Resistor (R1)

    • Connected between ground (GND) and node n1
    • Resistance: 1 ohm
  3. Capacitor (C1)

    • Connected between node n1 and ground (GND)
    • Capacitance: 10 microfarads

Node Connections:

GND —±-- V1 —±-- R1 —±-- n1 —±-- C1 — GND

Simulation Commands:

.tran 0.1 1
.ic v(n1)=0


Welcome to the forum.
It is always a good idea to post the version of KiCad that you are using (Help->About->Copy version and paste it here)

I this case a screenshot would also make it easier for people that could help you to understand exactly what is the situation.

Hello, Thank you.

How to I include screenshots of my window here in the forum?

I don’t remember the ‘new user’ restrictions so I just promoted you to basic. I’m on Linux and use Spectacle for screen shots. It offers a ‘copy to clipboard’ function. I then just paste the screen shot.

2 Likes

Thank you for your assistance.

1 Like

n1 is the same as ground. Maybe you can’t arbitrarily rename GND?

1 Like

Well, you’ve created a short circuit. I’m not certain sinulation makes sense at all.

1 Like

Thank you I changed it. It’s now giving different results. cheers.

Thank you I’m looking into it now.

This topic was automatically closed after 90 days. New replies are no longer allowed.