SpiceSharp

SpiceSharp - Spice# electronic circuit simulator - Messages

#1 Posted: 5 months ago
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

SpiceSharp (Spice#) - electronic circuit simulator

SMath Studio compatibility Sources


Based on SpiceSharpParser (.NET library that allows to parse SPICE netlists and to simulate them using SpiceSharp library).

This plugin requires .Net Framework 4.7.2 to be installed for it to work.

I managed to run the first test example on my PC. The plugin is not available on the server yet.

spicesharp-first-example.jpg

Links:

1. SpiceSharpParser
2. SpiceSharp Home Page
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Alvaro Diaz Falconi 5 months ago
#2 Posted: 5 months ago
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

For experts only.

spice#.sm (5 KiB) downloaded 42 time(s).

Plugins folder: C:\Users\User\AppData\Roaming\SMath\extensions\plugins

SpiceSharp-0.1.9092.9246.zip (10 MiB) downloaded 44 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Alvaro Diaz Falconi 5 months ago, francesco rapuano 5 months ago
#3 Posted: 5 months ago
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. A preview for exploring this powerful plugin.

spice# and MNA.sm (577 KiB) downloaded 43 time(s).
spice# and MNA.pdf (1 MiB) downloaded 59 time(s).

Best regards.
Alvaro.
1 users liked this post
#4 Posted: 5 months ago
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

I haven't even tried these features myself yet. Support for all types of analysis hasn't been tested. There's still a lot of work to do. Maybe I'll do a direct insertion of values ​​into the circuit description. I wanted to try making a circuit with an amplitude detector. The authors have recently added the ability to specify an amplitude-modulated signal. They have a shell (GUI) in which you can also test circuits.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 5 months ago
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Viacheslav. As far as I could see, the plugin you created works very well, it just has some very minor details, like not recognizing either "u" or "μ" for micro. By the way, handling that is a configurable option in ltspice. So you shouldn't be the first one to have problems with that.

As for the analyses that spice# has, it's just a matter of discovering them, since the documentation they have is very little, and for example, I don't know what convention they followed to enumerate the nodes of the controlled sources. I took the one they use in the Qucs simulator, but there is no standard for that.

I saw the GUI for windows that you mention on github, except that they didn't compile it... or at least I didn't find it, only the source code.

Best regards.
Alvaro.
1 users liked this post
#6 Posted: 5 months ago
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Similar project. I assembled it, but I haven't tried it in work.

NextGenSpice_20241125.zip (321 KiB) downloaded 38 time(s).

Links:

1. NextGenSpice/Program.cs
2. NextGenSpice/plot.ps1
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Alvaro Diaz Falconi 5 months ago
#7 Posted: 5 months ago
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

New version, more compatible with spice# sintaxis.

spice# and MNA v2.sm (636 KiB) downloaded 42 time(s).

spice# and MNA v2.pdf (1 MiB) downloaded 58 time(s).

Best regards.
Alvaro.
1 users liked this post
#8 Posted: 4 months ago
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

A task for implementation in the future:

Практический расчет параметров индуктивности
https://forum.cxem.net/index.php?/topic/270218-практический-расчет-параметров-индуктивности/
Russia ☭ forever, Viacheslav N. Mezentsev
#9 Posted: 3 months ago
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility Changes

Plugin updated.

Changes:

- Plugin adopted to a new SMath Studio Core infrastructure;
- Folders removed from the output artefacts.
Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
Andrey Ivashov 3 months ago, Oscar Campo 3 months ago, Davide Carpi 3 months ago, Alvaro Diaz Falconi 3 months ago
  • New Posts New Posts
  • No New Posts No New Posts