Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • in reply to: Model analysis and SPICE parameter extraction with QucsStudio #7715
    zhu
    Participant

    …and the SCH

    Attachments:
    in reply to: Model analysis and SPICE parameter extraction with QucsStudio #7711
    zhu
    Participant

    This is a v4.3.1 simulation trial with the QucsStudio implemented hicumL2V2p33 (same result with v4.4.2). There are 3 filter boxes on the schematic but neither works. Eqn. filter3 runs fine with the updated v3.3.2 EXE file of Michael.

    in reply to: Model analysis and SPICE parameter extraction with QucsStudio #7710
    zhu
    Participant

    Apparently, named node variables can not be used in equations. E.g. U=1-VBE.V-VBE.V and similar throws error in the new revisions therefore we are restricted to use v3.3.2. Originally, the same issue existed in v3.3.2 as well until we were sent an updated EXE file (to D. Celi) by Michael. Hopefully, the issue would be fixed from the next release on.

    in reply to: Octave blocks #7077
    zhu
    Participant

    Such an extension would really be a contribution to convenience. Admittedly somewhat more laborious, the present link to Octave is quite powerful. One can easliy read and write data with the provided *.m functions.

    Until this proposal is considered it can also be suggested to utillize the log.txt file which can contain even more data. For example the output of the $strobe() functions placed in a VA code is piped to this file. One can access its content by an Octave routine constructed by the User. The reader can collect the data to a *.CSV file which can be converted to a standard *.DAT file by qucsconv.exe. An additional strong link provided by the tool.

    in reply to: sweep including optimizing task #6949
    zhu
    Participant

    Hi Carsten,

    The task has a minimum of Re(Z)=0.2 at c1=0 independent of L1. It is confirmed by plotting the analythical result. However computing with real(Z) form simulations a totally different (noisy) plot is obtained. It is not a QucsStudio issue: the same results arise from Octave and Matlab as well. The oscillating optimization results may also have the same origin.

    Any idea?

    in reply to: sweep including optimizing task #6879
    zhu
    Participant

    Resent in *.png

    Attachments:
    in reply to: sweep including optimizing task #6878
    zhu
    Participant

    Modify the *.txt extension to *.pdf. This is a weakly determined task.

    in reply to: sweep including optimizing task #6875
    zhu
    Participant

    QucsStudio is able to optimize several parameters at a time.

    in reply to: parameter sweep with >1 Parameters #6822
    zhu
    Participant

    Today, vectors do not accept symbolic arguments. I reported it some times ago in the Forum.

    in reply to: How to add components to a user library? #6805
    zhu
    Participant

    Hi,

    This would really be useful option. Now we have to remake the whole library by adding all previous PLUS the new component(s).

    in reply to: Importing simple spice models #3031
    zhu
    Participant

    See Chapter 5.3, Tutorial Part 1.

    http://www.gunthard-kraus.de/

    Download: qucsstudio Tutorial part 1 (Time and Frequency simulation) as pdf-File, status quo = 230 pages from March 9th, 2016

    Download: qucsstudio Tutorial part 2 (Harmonic Balance simulations) as pdf-File, status quo = 51 pages from January 1st,2016

    in reply to: How can I run SCH schematic simulation from Octave? #2998
    zhu
    Participant

    fgsolve.m (*.txt renamed) is an example Octave routine for running a Qucsstudio simulation and importing the results in the Octave domain. The netlist.txt to be invoked must be prepared by the User. The simplest way is to draw the scematic and running it. netlist.txt is automatically placed in the user directory. Next, qucssim.exe is invoked in DOS with the specified input and output files. The results are made available for Octave by the standard function loadQucsVariable.m.

    in reply to: Schematic fails to load in version 4.2.2 #1035
    zhu
    Participant

    I had similar a problem when the SCH included blank (empty) lines.

    – copy the SCH to an arbitrary folder outside qucs_home.

    – open the SCH file and delete all blank lines.

    – save, close and copy it bact to the prj folder of the v4.2.2 environment.

     

    in reply to: How can I run SCH schematic simulation from Octave? #1011
    zhu
    Participant

    To my knowledge there is no such command (yet) in QucsStudio. However there is a possibility to run SCH-s from, and return data to Octave.

    %outfile=fullfile(‘”C:\Documents and Settings\zhu\qucs3\model_prj”‘,’model.dat’);
    %outfile=fullfile(‘C:\Documents and Settings\zhu\qucs3\model_prj’,’model.dat’);
    outfile=’model.dat’;

    Neither of the commented lines work for resolving the problem of spaces in paths. Interestingly,

    infile=fullfile(‘”C:\Documents and Settings\zhu\qucs3″‘,’netlist.txt’);

    works for the input file.

    There must exist a solution I do not know of.

    in reply to: Run circuit in the command line? #1010
    zhu
    Participant

    qs_bin=getenv(‘qucs3_bin’); %environmental variable
    qs_prj=getenv(‘qs_prj’);      %environmental variable
    qsfun=fullfile(qs_bin,’qucssim.exe’);
    infile=fullfile(qs_prj,’netlist.txt’);
    outfile=fullfile(qs_prj,’model.dat’);
    %call Qucssim simulator
    dostxt=[qsfun,’ -a ‘,infile,’ ‘,outfile, ‘>nul’];
    dos(dostxt);

     

    The following error message appears:

    Error: Wrong netlist line format ‘QucsData’ (line 1).

     

    Using the original netlist created by QucsStudio the following error message appears:

    Error: Wrong netlist line format ‘QucsData’ (line 1).

     

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