Importing spice models to qucs user library #792
-
I want to import the following simple spice model ty my user library:
Is there any automated method to do this, och should I create .... manually by studying existing library entries? I tried qucsconv, but it was not helpful. BN |
Beta Was this translation helpful? Give feedback.
Replies: 17 comments 3 replies
-
You have to wrap the model in |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
I think you misunderstand me.
I simply need instructions how to get the latest tarball.
The rest of the build I have done before.
2 juli 2024 kl. 13:37 skrev Vadim Kuznetsov ***@***.***>:
I cannot suggest anything about how to build Qucs-S on Mac platform, because I have no access to Mac hardware. You may refer to CI build script https://github.com/ra3xdh/qucs_s/blob/current/.github/workflows/macos.yml and #181 <#181> to find some info. The git is a version control system that clones the source repository. The git tool must be installed on your OS. Probably it may be better to wait the next release in your case.
—
Reply to this email directly, view it on GitHub <#792 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAZXLDXPKKJUOV43NT2SXLDZKKGHZAVCNFSM6AAAAABKHJVVTWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMZVG4ZDE>.
You are receiving this because you authored the thread.
Bengt Nilsson
Ansåsvägen 8
43853 Hindås
Sweden
***@***.***
|
Beta Was this translation helpful? Give feedback.
-
Ok, back on track with the SPICE model import to qucs-s. The only issue was that I could not find any suitable symbol template. |
Beta Was this translation helpful? Give feedback.
-
I will upload a diode symbol pattern in the next release. Use File->New symbol to draw a symbol. Then use Symbol from file and specify the user file. The symbol file has the |
Beta Was this translation helpful? Give feedback.
-
Tried it, and it did not work as expected. |
Beta Was this translation helpful? Give feedback.
-
I have fixed the reported problems with user symbol for SpiceLibComp by #802 Please update to the latest continuous release. |
Beta Was this translation helpful? Give feedback.
-
Thanks, it is now working. I am fully aware the I am sometimes hard to understand when I try to explain things but I hope you can follow my description. |
Beta Was this translation helpful? Give feedback.
-
It is not a bug. Just clear assignment (assign NC pin) and then reassign the pin. This is made to prevent the duplicate pin assignment. |
Beta Was this translation helpful? Give feedback.
-
Not working.As I wrote, assigning all pins to NC initially do not make all pins available in the new assignment attempt.MvhBengt NilssonSkickat från min iPhone4 juli 2024 kl. 18:52 skrev Vadim Kuznetsov ***@***.***>:
the "remaining pins" logic do not release the available pins as it should.
It is not a bug. Just clear assignment (assign NC pin) and then reassign the pin. This is made to prevent the duplicate pin assignment.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Everything works as expected on my machine. See the attached video. The pins are released. Screencast_20240704_200738.webm |
Beta Was this translation helpful? Give feedback.
-
Looks fine at your site, maybe it is a macos qt issue, it has happened before. Or something else.I will send you a project where I have the problem.MvhBengt NilssonSkickat från min iPhone4 juli 2024 kl. 19:10 skrev Vadim Kuznetsov ***@***.***>:
Everything works as expected on my machine. See the attached video. The pins are released.
Screencast_20240704_200738.webm
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Looks fine at your site, maybe it is a macos qt issue, it has happened before. Or something else. Please note that this sim is not working properly, I don't know why. Mvh |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks, the obvious errors are sometimes most difficult to see.
If I had drawn the symbol as a zener I probably wouldn’t have made this mistake.
Good that the cell selection problem is identified.
5 juli 2024 kl. 08:18 skrev Vadim Kuznetsov ***@***.***>:
Looks fine at your site, maybe it is a macos qt issue
Yes, it seems to be a macos issue. The selection of the table cells works differently on MacOS.
Please note that this sim is not working properly
You have an obvious error in schematic. The anode and cathode of the LM335 are flipped. The simulation works correctly after flipping the device vertically.
image.png (view on web) <https://github.com/ra3xdh/qucs_s/assets/4920080/5b587f33-2d39-409a-b162-889bed26380e>
—
Reply to this email directly, view it on GitHub <#792 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAZXLDQ26OSMLDJQEINFREDZKY3C3AVCNFSM6AAAAABKHJVVTWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNRUG43TI>.
You are receiving this because you authored the thread.
Bengt Nilsson
Ansåsvägen 8
43853 Hindås
Sweden
***@***.***
|
Beta Was this translation helpful? Give feedback.
-
I saw a new release today, tried it and there was no improvement in the menu cell handling. |
Beta Was this translation helpful? Give feedback.
-
The latest snapshot doesn't contain an update related to this issue. I have created #808. It's need to wait for developer using MacOS to fix this. I am unable to provide fix myself. |
Beta Was this translation helpful? Give feedback.
You have to wrap the model in
SpiceFile
device and subcircuit. See this article: https://habr.com/ru/articles/805963/ Sorry, there is no english version, but it is possible to understand what is happening from the screenshots in the article. The newest version has introduced a special Spice Library Device. See #679, #775, and #781 for details. No sibcircuit wrapper required anymore. You may try to build Qucs-S from Git and use the new device.