SpiceSharp

SpiceSharp - Spice# electronic circuit simulator - Messages

#1 Posted: 11/22/2024 7:14:57 AM
Вячеслав Мезенцев

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

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 11/23/2024 12:03:00 PM
#2 Posted: 11/22/2024 7:30:22 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

For experts only.

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

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

SpiceSharp-0.1.9092.9246.zip (10 MiB) downloaded 64 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Alvaro Diaz Falconi 11/22/2024 12:54:00 PM, francesco rapuano 11/22/2024 7:42:00 PM
#3 Posted: 11/25/2024 12:45:27 PM
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 65 time(s).
spice# and MNA.pdf (1 MiB) downloaded 79 time(s).

Best regards.
Alvaro.
1 users liked this post
Вячеслав Мезенцев 11/25/2024 1:05:00 PM
#4 Posted: 11/25/2024 1:05:39 PM
Вячеслав Мезенцев

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

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: 11/25/2024 1:23:12 PM
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
Вячеслав Мезенцев 11/25/2024 3:22:00 PM
#6 Posted: 11/25/2024 3:21:40 PM
Вячеслав Мезенцев

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

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 59 time(s).

Links:

1. NextGenSpice/Program.cs
2. NextGenSpice/plot.ps1
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Alvaro Diaz Falconi 11/25/2024 11:42:00 PM
#7 Posted: 12/1/2024 10:51:11 AM
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 55 time(s).

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

Best regards.
Alvaro.
1 users liked this post
Вячеслав Мезенцев 12/1/2024 11:52:00 AM
#8 Posted: 12/10/2024 1:23:50 AM
Вячеслав Мезенцев

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

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: 1/11/2025 4:41:49 PM
Вячеслав Мезенцев

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

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 1/11/2025 5:00:00 PM, Oscar Campo 1/11/2025 5:46:00 PM, Davide Carpi 1/11/2025 7:57:00 PM, Alvaro Diaz Falconi 1/12/2025 3:48:00 PM
  • New Posts New Posts
  • No New Posts No New Posts