Simulate Electronic Circuit using Python and the Ngspice / Xyce Simulators¶
(*) PySpice is licensed under GPLv3 therms.
PySpice implements a Ngspice binding and provides an oriented object API on top of SPICE, the simulation output is converted to Numpy arrays for convenience.
PySpice requires Python 3 and works on Linux, Windows and OS X.
Many examples to learn how to use PySpice. To learn more on how to run theses examples, read the introduction to the examples.
Table of Contents¶
- 1. Overview
- 1.1. What is PySpice ?
- 1.2. How is PySpice licensed ?
- 1.3. Are there some papers or talks about PySpice ?
- 1.4. Going further with PySpice
- 1.5. How can PySpice be used for learning ?
- 1.6. Which platforms are supported by PySpice ?
- 1.7. How to install PySpice ?
- 1.8. How does PySpice differ from simulator like LTspice ?
- 1.9. How can a non-GUI simulator be helpful ?
- 1.10. What are the benefits of PySpice over Ngspice / Xyce ?
- 1.11. How is PySpice interfaced with Ngspice ?
- 1.12. How is PySpice interfaced with Xyce ?
- 1.13. How is the netlist defined ?
- 1.14. Can I run Ngspice using interpreter commands ?
- 1.15. How are Spice libraries handled ?
- 1.16. How are units handled ?
- 1.17. Which version of Python is required ?
- 1.18. Which version of Ngspice is required ?
- 1.19. Which version of Xyce is required ?
- 1.20. Which flavours of SPICE are supported ?
- 1.21. What else should you be aware of ?
- 1.22. What are the features of the documentation generator ?
- 2. News
- 3. Roadmap
- 4. Installation
- 5. Simulators
- 6. User FAQ
- 7. Introduction to the Examples
- 8. Examples
- 8.1. Data Analysis
- 8.2. Diode
- 8.3. Document Generator
- 8.4. Electricity
- 8.5. Filter
- 8.6. Fundamental Laws
- 8.7. Ngspice Shared
- 8.8. Operational Amplifier
- 8.9. Passive
- 8.10. Power Supplies
- 8.11. Relay
- 8.12. Resistor
- 8.13. Spice Parser
- 8.14. Switched Power Supplies
- 8.15. Transformer
- 8.16. Transistor
- 8.17. Transmission Lines
- 9. Example Wish List
- 10. Design Notes
- 11. API Documentation
- 12. Development & Community
- 13. How to Refer to PySpice ?
- 14. How to Help Further ?
- 15. PySpice on the Web
- 16. Related Projects
- 17. Bibliography