ra3xdh / qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI
https://ra3xdh.github.io/
GNU General Public License v2.0
853 stars 109 forks source link

Qucsconv_rf issues #910

Closed tomhajjar closed 1 month ago

tomhajjar commented 1 month ago

It's been a long time since you made the new version of Qucsconv #647.

I thought I tested exporting s-parameters but I cannot get the Touchstone file to have all 4 parameters, S11, S21, S12, S22. I can only choose 1.

Am I missing something? I made a simple test file "BFP193W_stable_spar.sch" which only generates s-parameters.

Qucsconv_rf will also export all data including formulas but again only 1 item at a time. "BFP193W_spar_stable_analysis.sch' shows this.

Qucsconv_rf supports multiple output file formats but one must add the suffix since the files generated won't have one.

For reference is a screenshot of Qucsconv in Qucs 0.0.20. By default it only outputs the s-parameters not the other data like Group Delay. Unsure what the "Output Data" line is used for. Qucsconv automatically appends .dat to every file which is wrong. One has to edit it.

TODO

2024-08-24_154207 2024-08-24_160107 2024-08-24_162804

BFP193W_amplifier_prj.zip

ra3xdh commented 1 month ago

I can only choose 1.

Yes, this is a bug in GUI. This selection list should be disabled if qucsdat is exported to touchstone. Run Qucsconv from CLI as the workaround. Please keep in mind that Qucsconv cannot recognize S-parameter data from Ngspice simulation.

Unsure what the "Output Data" line is used for.

It is used for export from DAT to CSV. Qucsconv can export only one trace at time. This limitation was always present. Please submit proposals for Qucsconv itself extension at Qucsator_rf repository: https://github.com/ra3xdh/qucsator_rf/issues So I can assign the actions.

ra3xdh commented 1 month ago

Fixed by #916.