Quick Links
Thanks to Discourse, PySpice now has a Forum hosted at https://pyspice.discourse.group
Disclaimer: PySpice is developed on my free time actually, so I could be busy with other tasks and less reactive.
An issue was found with NgSpice Shared, we must setlocale(LC_NUMERIC, "C"); see https://sourceforge.net/p/ngspice/bugs/490/
PySpice is a Python module which interface Python to the Ngspice and Xyce circuit simulators.
The documentation is available on the PySpice Home Page.
Note: This site is hosted on my own infrastructure, if the site seems done, please create an issue to notify me.
Thanks to Discourse, PySpice now has a Forum hosted at https://pyspice.discourse.group
Look at the installation section in the documentation.
To make it easier to merge your pull request, you should divide your PR into smaller and easier-to-verify units.
Please do not make a pull requests with a lot of modifications which are difficult to check. If I merge pull requests blindly then there is a high risk this software will become a mess quickly for everybody.
Authors: Fabrice Salvaire and contributors
A huge effort, thanks to @stuarteberg Stuart Berg, has been made to make Ngspice and PySpice available on Anaconda (conda-forge) for the Window, OSX and Linux platforms. Thanks to the conda-forge continuous integration platform, we can now run unit tests and the examples on theses platforms automatically. Hope this will make the software more robust and easier to run !
This release is yanked due to broken Windows support.
- support Ngspice 30 and Xyce 6.10
- fixed NgSpice and Xyce support on Windows 10
- bug fixes
- Initial support of the Xyce simulator. Xyce is an open source, SPICE-compatible, high-performance analog circuit simulator, capable of solving extremely large circuit problems developed at Sandia National Laboratories. Xyce will make PySpice suitable for industry and research use.
- Fixed OSX support
- Splitted G device
- Implemented partially A XSPICE device
- Implemented missing transmission line devices
- Implemented high level current sources Notice: Some classes were renamed !
- Implemented node kwarg e.g.
circuit.Q(1, base=1, collector=2, emitter=3, model='npn')
- Implemented raw spice pass through (see User FAQ)
- Implemented access to internal parameters (cf.
save @device[parameter]
)- Implemented check for missing ground node
- Implemented a way to disable an element and clone netlist
- Improved SPICE parser
- Improved unit support:
- Implemented unit prefix cast U_μV(U_mV(1)) to easily convert values
- Added U_mV, ... shortcuts
- Added Numpy array support to unit, see UnitValues Notice: this new feature could be buggy !!!
- Rebased WaveForm to UnitValues
- Fixed node order so as to not confuse users Now PySpice matches SPICE order for two ports elements !
- Fixed device shortcuts in Netlist class
- Fixed model kwarg for BJT Notice: it must be passed exclusively as kwarg !
- Fixed subcircuit nesting
- Outsourced documentation generator to Pyterate
- Updated setup.py for wheel
- Enhanced shared mode
- Shared mode is now set as default on Linux
- Bump version to v1.0.0 since it just works!
- Support Windows platform using Ngspice shared mode
- Fixed shared mode
- Fixed and completed Spice parser : tested on example's libraries
- Fixed Spice parser for lower case device prefix.
- Git repository cleanup: filtered generated doc and useless files so as to shrink the repository size.
- Improved documentation generator: Implemented
format
for RST content and Tikz figure.- Improved unit support: It implements now the International System of Units. And we can now use unit helper like
u_mV
or compute the value of1.2@u_kΩ / 2@u_mA
. The relevant documentation is on this page.- Added the Simulation instance to the Analysis class.
- Refactored simulation parameters as classes.
- fixed CCCS and CCVS
- fixed ngspice shared
- Added an example to show how to use the NgSpice Shared Simulation Mode.
- Completed the Spice netlist parser and added examples, we could now use a schematic editor to define the circuit. The program cir2py translates a circuit file to Python.
Started project
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。