Forum Replies Created

Viewing 15 posts - 1 through 15 (of 62 total)
  • Author
    Posts
  • in reply to: yvalue() and xvalue() don’t work in subcircuits #7729
    Carsten
    Participant

    The 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?

    in reply to: yvalue() and xvalue() don’t work in subcircuits #7726
    Carsten
    Participant

    I 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
    Carsten

    Edit: 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.
    in reply to: Junk Messages #7724
    Carsten
    Participant

    I think it worked. Juchee!

    in reply to: Differential S-Parameter Port #7723
    Carsten
    Participant

    Hi 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?

    in reply to: Model analysis and SPICE parameter extraction with QucsStudio #7722
    Carsten
    Participant

    I’m very impressed with your work.

    in reply to: yvalue() and xvalue() don’t work in subcircuits #7721
    Carsten
    Participant

    I 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.

    Carsten
    Participant

    cool!

    in reply to: Phase shifter #7140
    Carsten
    Participant

    I found a paper for you here

    https://www.researchgate.net/publication/230914367_A_versatile_phase_shifter_for_NMR_experiments_and_other_applications

    Abstract: It is impossible to construct an ideal phase shifter, one whose phase shift
    and gain is independent of frequency, using a linear circuit……

    in reply to: Phase shifter #7139
    Carsten
    Participant

    Mmmh. 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

     

    in reply to: Phase shifter #7137
    Carsten
    Participant

    it 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

    in reply to: equation block auto-renaming variable #7133
    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.

    Carsten
    Participant

    qucs project

    in reply to: mouse scroll inside tabular plot #7110
    Carsten
    Participant

    when I select the table with a click, it would also be nice to scroll it with Arrow up/down and Page up/down.

    in reply to: 2D Arrays #7106
    Carsten
    Participant

    I Agree

    in reply to: Functions for multi-dimensional data #7105
    Carsten
    Participant

    Hi, 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

Viewing 15 posts - 1 through 15 (of 62 total)