Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.47 KB

index.md

File metadata and controls

22 lines (15 loc) · 1.47 KB

Home

SpiceSharp

SpiceSharp is a circuit simulator originally based on Spice 3f5 by Berkeley University - hence the resemblance of the logo. This is also the ancestor for a lot of modern commercially available electronics simulators (PSpice, HSpice, SmartSpice, T-Spice, etc.). Spice-based simulators still remain the industry standard for circuit simulation today.

These simulators have typically been continued in C++. This had the following unfortunate consequences:

  • Some obsolete/buggy code from the original Berkeley Spice can sometimes still be found in for example ngSpice, although this is rarely a problem.
  • It is not intrinsically object-oriented.
  • The code is not easily understood and expanded.
  • The code is usually not cross-platform and multiple binaries are needed, or you need to compile it yourself.

I originally wanted to learn more about circuit simulation and its techniques. Transforming the original Spice project to a completely managed, completely object-oriented piece of software definitely proved to be a challenge. Overall, the project has evolved quite nicely into something that I'm pretty proud of.

Tutorial

You can find a guide for getting started using Spice# here.

The structure

More information on the inner workings of Spice# can be found here.

API

The API can be found here.