PySpice icon indicating copy to clipboard operation
PySpice copied to clipboard

Simulate electronic circuit using Python and the Ngspice / Xyce simulators

Results 152 PySpice issues
Sort by recently updated
recently updated
newest added

I want to initialize voltage across capacitor with a parameter in a subcircuit during SubCircuitElement creation. I simulated my subcircuit in pyspice. Below is netlist and error. NETLIST:------------------------- .title memristor...

This is not a bug report. I would like to extract a bunch of voltages based on net names at once. At the moment, this is how I am doing...

From the documentation, this is how we create a parallel resistor subcircuit: ```python class ParallelResistor2(SubCircuit): NODES = ('n1', 'n2') def __init__(self, name, R1=1@u_Ω, R2=2@u_Ω): SubCircuit.__init__(self, name, *self.NODES) self.R(1, 'n1', 'n2',...

I created a subcircuit. Then I need to initialize voltage across capacitor in the subcircuit. And I want to pass the voltage value adding subcircuit element. How to do the...

- [x] Check CI - [x] Write news - [x] Check README - [x] Regenerate Sphinx doc from fresh checkout (API & examples) - [X] Same for site - [x]...

P1

### Environment (OS, Python version, PySpice version, simulator) Windows 10, Python 3.8.3, PySpice 1.4.3 ### Expected Behaviour I created a simple inverting op-amp with a gain of -2. The simulation...

need a look

I writing an expression in a subcircuit with pyspice as V(x,y) where x and y are two nodes. How to fix it?

### Environment (OS, Python version, PySpice version, simulator) Windows 10, Python 3.7.6, PySpice 1.4.2, ngspice-shared ### Issue I have set up a function to create a circuit and execute a...

need a look

I have made some slight changes to correct the check_nodes method in SubCircuit, and convert a SubCircuit node in an object of the class Node so the code can be...

enhancement
in progress
huge diff
review to be completed
CHERRY PICKED PR