Forum Replies Created
-
AuthorPosts
-
Carsten
ParticipantThe c++ code could read the arrays from a textfile, as done for touchstone.
@Michael: Is it possible to share the c++ code of the touchstone-file-component? I suppose its also written in the same c++ environment?
Carsten
ParticipantI created a small example. (see attached .qucs)
It contains only a resistor adjustable by a parameter. However, you should be able to extend it.
It is – however –Β tedious to initialize the array. Maybe its better to switch to C++. The verilog-A-Compiler creates a c++ file, that could be used as a starting point.
Cheers
CarstenEdit: I only read you post now. Seems you figured out already all the obstacles π
-
This reply was modified 3 days, 17 hours ago by
Carsten.
Attachments:
Carsten
ParticipantI think it worked. Juchee!
Carsten
ParticipantHi AntoC,
for S-param simulations, you would use a “power source”. That has 2 ‘pins’, so it is already differential. Or do you mean the S-param-Block for a touchstone file?
Cheers
Carsten
PS: are you working on an MRI RF coil?21. September 2023 at 20:47 in reply to: Model analysis and SPICE parameter extraction with QucsStudio #7722Carsten
ParticipantI’m very impressed with your work.
Carsten
ParticipantI also want to do something like that for the coilcraft aircore inductor series. What inductances are you trying to describe?
It should be relatively easy with a c++ or a verilogA model. There are templates in QS and examples on the website.
I also want to interpolate the descriptive values. That way the model could be more useful in a optimization task.
29. June 2023 at 23:37 in reply to: Can a company get a receipt for a big donation to Qucsstudio? #7403Carsten
Participantcool!
Carsten
ParticipantI found a paper for you here
Abstract: It is impossible to construct an ideal phase shifter, one whose phase shift
and gain is independent of frequency, using a linear circuit……Carsten
ParticipantMmmh. My idea is that the solver cannot calculate the transient response. I assume, the solver works by calculating every time step after another based on the source signals and current currents/voltages.
Positive (or negative, not sure about the definition) phase shifts would be impossible, as the solver would need to predict the future.
What would be the response of a step function? The solver would need to transform the input into frequency domain, apply the phase shift and transform it back to time domain. My guess is that this does not comply with the time-step-by-time-step simulation procedure
Carsten
Participantit does the right thing in an AC simulation
I would guess, that it is not processed in a transient simulation, because an ideal shifter would not make sense here. But I would expect an error message in this case.
AC-Simulation: 90Β° phase shifter transforms Open condition on the right side to a short on the left side. thats why there should be voltage=0 at Pr1
Carsten
Participant>> Now you should have y=1 and a=1.
>Should have or do you have it?
I have. All ok here so far.>> open it again. Add. enter name βbβ. enter value β2β. Apply.
>So you change βyβ to βbβ and β1β to β2β and then press βApplyβ and not βokβ?
No. Add creates a new line. Add name βbβ and value β2β in the empty line.> > name is now automatically change to βaβ , which it should not.
> You mean you are still in the dialog and the βbβ in the line-edit field is changed to βaβ?
yes. As soon as I hit apply.I just confirmed it unter Win10.
28. February 2023 at 23:19 in reply to: oscillations in transient sim bc/ of limited numerical resolution? #7112Carsten
Participantqucs project
Attachments:
Carsten
Participantwhen I select the table with a click, it would also be nice to scroll it with Arrow up/down and Page up/down.
Carsten
ParticipantI Agree
Carsten
ParticipantHi, drahnoel,
> A range is applied to the data and to the dependent variable…..
you probably mean _in_dependent variable, right?>get_dependent(variable, βnameβ)
>Get the dependent of data with given name. Is usually equivalent to using name directly, unless a range was applied.I don’t understand this. Could you elaborate please?
Cheers
Carsten -
This reply was modified 3 days, 17 hours ago by
-
AuthorPosts