PySpice
PySpice copied to clipboard
Simulate electronic circuit using Python and the Ngspice / Xyce simulators
### Environment (OS, Python version, PySpice version, simulator) Debian, 3.10, 1.5, doesn't matter ### Expected Behaviour I expect this relation to hold: (1A)² * 1Ω = 1W ### Actual Behaviour...
Fix deprecated use of the basex and basey kwargs in semilogy
Adding Simple examples on skywater 130 possibly addressing #327
When ngspice tries an alternative DC converge algorithm it reports the progress on stderr. This patch makes PySpice not error out when the alternative DC convergence has been reported to...
### Environment (OS, Python version, PySpice version, simulator) Windows 10, Python 3.11, PySpice 1.5, NgSpice ### Expected Behaviour The only way to import the `Circuit` class is using `from PySpice.Spice.Netlist...
Using the latest release, there are some minor errors in some of the examples (e.g. matplotlib compatibility). This raises the general question: **as part of pre-release test, would you like...
This will fix multiples issues: On windows, the path may contains spaces: - Fix post installation script in order to put quote arround paths - When rendering includes put quote...
### Environment (OS - Ubuntu 22.4, Python version - 3.10(2), PySpice version - 1.5, simulator -Ngspice 36) ### Expected Behaviour - Should return ac sensitivity analysis for nodes or circuit...
Lines 560 and 562 are inverted in HighLevelElement.py ([reference](https://github.com/PySpice-org/PySpice/blob/1fb97dc21abcf04cfd78802671322eef5c0de00b/PySpice/Spice/HighLevelElement.py#L560-L562)). According to the documentation itself in line [525](https://github.com/PySpice-org/PySpice/blob/1fb97dc21abcf04cfd78802671322eef5c0de00b/PySpice/Spice/HighLevelElement.py#L525), the code for a gaussian distribution is 2 and for exponential is 3,...
That mistakely use isinstance to compare 'SubCircuitStatement' and 'SubCircuit',SubCircuitStatement is a new class in Parser.py to save the parsered statment begin with ".subckt" and end with ".ends".But "SubCircuit" is a...