Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transient model for microstrp lines #7

Open
10 tasks
ra3xdh opened this issue Jul 3, 2024 · 9 comments · May be fixed by #16
Open
10 tasks

Add transient model for microstrp lines #7

ra3xdh opened this issue Jul 3, 2024 · 9 comments · May be fixed by #16
Assignees
Labels
help wanted Extra attention is needed new feature

Comments

@ra3xdh
Copy link
Owner

ra3xdh commented Jul 3, 2024

See ra3xdh/qucs_s#681 for context. The ideal transmission line has TRAN model. It's need to implement similar for miscrostrips. Contribution is welcome here. Could be a good BS or MS thesis project for someone.

The following devices need to add transient model:

@ra3xdh ra3xdh changed the title Add transient model for microstrp lines. Add transient model for microstrp lines Jul 3, 2024
@ra3xdh ra3xdh added the help wanted Extra attention is needed label Jul 3, 2024
@ra3xdh ra3xdh pinned this issue Jul 3, 2024
@tomhajjar
Copy link

By placing this issue under qucsator-rf are you not hiding it from those who look at qucs-s issues?

@ra3xdh
Copy link
Owner Author

ra3xdh commented Jul 10, 2024

I am placing this at QucsatorRF repository, because it is related to simulator engine, but not related to GUI. I may duplicate this at Discussion/Ideas section of the main repository. No work is required at GUI side to implement microstrip transient models. Everything should be done at QucsatorRF side.

@ra3xdh ra3xdh linked a pull request Jul 13, 2024 that will close this issue
@ra3xdh
Copy link
Owner Author

ra3xdh commented Jul 13, 2024

I have started implementation of the transient models for microstrip lines in #16.

@ra3xdh ra3xdh self-assigned this Sep 3, 2024
@felix-salfelder
Copy link
Contributor

Hi Vadim.

In case you didn't know, or maybe forgot. Missing models in Qucsator was one of the motivations behind Gnucsator.

(It seems QucsatorRF is essentially Qucsator. Is this going to change? I gave up on Qucsator long time ago, and I thought you did so too.)

We have the features ready needed to represent and simulate transmission lines (Using Verilog-A). As it now looks like you intend to keep supporting Qucsator netlists, there should be room for collaboration on models.

Everything should be done at QucsatorRF side.

There is more than one transmission line model, multiple ways to represent it and multiple simulation techniques. It would be nice if Qucs-S had a mechanism to choose a model behind a symbol. I remember the original Qucs had hardwired all the symbols/names/parameters back in the days. A user specified device type (better: user specified parameters, basically the way gEDA did it) would be very useful.

cheers
felix

@felix-salfelder
Copy link
Contributor

Could be a good BS or MS thesis project for someone.

Maybe you underestimate the complexity. Some ground work was already done but in a PhD thesis [1]. It gives some clues about what commercial tools do nowadays, and what may work.

[1] https://sedemos.blogspot.com/2024/04/phd-transient-simulation-of-frequency.html

@ra3xdh
Copy link
Owner Author

ra3xdh commented Sep 24, 2024

Hello Felix,

Thanks for interest.

Missing models in Qucsator was one of the motivations behind Gnucsator.

What missing models? Could you remember or provide a link?

It seems QucsatorRF is essentially Qucsator. Is this going to change?

Yes, QucsatorRF inherits a code from Qucsator-0.0.20. I have no intention to change the netlist syntax etc.

I gave up on Qucsator long time ago, and I thought you did so too.

The user feedback show that there exists a need in RF simulation engine and Qucsator still be in use. The SPICE cannot resolve this task. The development of the original Qucsator has been stalled, and I decided to make this fork. See also #1

We have the features ready needed to represent and simulate transmission lines (Using Verilog-A).

This may be not a straightforward task. Prof. Mike Brinson has tried to implement MS line mode using Ngspice+OpenVAF about two years ago and failed. He didn't contact me regarding this question in the last year. This also was a motivation to continue support Qucsator. It has many unique RF simulation feature and I am not sure if this could be implemented using SPICE.

I remember the original Qucs had hardwired all the symbols/names/parameters back in the days.

Qucs-S still inherit hardcoded C++ system devices library from old Qucs. The redesign of these devices is technically possible (need something like Qucs/qucs#659), but I don't consider this to be done in the near future. This task requires a huge amount of coding. This is beyond of the scope of this issue.

Maybe you underestimate the complexity. Some ground work was already done but in a PhD thesis [1].

The QucsStudio project has transient model for transmission line for a long time. So, the underlying mathematics should be well known. I am intending at least to reproduce the features implemented in QucsStudio. Unfortunately the developer of QucsStudio has closed the source.

@felix-salfelder
Copy link
Contributor

felix-salfelder commented Sep 25, 2024 via email

@ra3xdh
Copy link
Owner Author

ra3xdh commented Sep 25, 2024

Qucsator had a few baked-in models, and it needs a fork to add another one.

The OSDI interface looks "production-ready" and may resolve this issue. I have a little interest in implementing OSDI interface for QucsatorRF myself, but I would accept the patch containing the implementation. This question is beyond the scope of this issue.

Did OpenVAF exist 2 years ago?

Yes, the OpenVAF developer provided an interface for Ngspice by the end of 2022.

Have you asked him to publish it? To my knowledge QS has been discontinued.

The QucsStudio still be alive. The developer has recently posted some intention about preparing a new release. I didn't contact with the developer personally, but there were many requests to make QucsStudio open-source or at least cross-platform. The answer from the developer was "no". For example look here: https://qucsstudio.de/forums/topic/linux-support/

P.S.: these questions are beyond the scope of this particular issue. You may open a new discussion here: https://github.com/ra3xdh/qucsator_rf/discussions

@felix-salfelder
Copy link
Contributor

Yes, the OpenVAF developer provided an interface for Ngspice by the end of 2022.

Oh, true. Time flies :/

The QucsStudio still be alive.

Really unfortunate that QucsStudio is closed. It might save some time, or at least remove some doubts.

Anyway, I am unsure what you are after here. The "help needed" tag and title suggested that you need help with a model implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants