zlatko-minev / pyEPR

Powerful, automated analysis and design of quantum microwave chips & devices [Energy-Participation Ratio and more]
https://pyepr-docs.readthedocs.io
Other
165 stars 231 forks source link

Fix report v2022 #151

Closed dmtvanzanten closed 1 year ago

dmtvanzanten commented 1 year ago

This PR fixes the issue that arising in 'hfss_report_full_convergence' when using Ansys Electronic Desktop version 2022+. This issue is caused by a change in trace-name which includes the full variation string (but formatted) in version 2022+. Additionally, there are a couple commits that allows the used to select which Ansys ED version to use in case there are multiple version installed.

zlatko-minev commented 1 year ago

You wanted to close this?

dmtvanzanten commented 1 year ago

Yes, the problem with the new versions of Ansys is more sinister than I initially realized. This PR only solve the issue of the trace-names that changed. In the new versions of Ansys it seems the data (Q,frequency,etc) per pass is only stored for the first point of the optimetrics setpoints when Optimietrics is instructed to reuse/improve the mesh. I'm looking whether this is some configurable in Ansys, or whether we need to manually tell Ansys to store some data per pass. For now I bypassing the problem by setting pinfo.options.save_mesh_stats = False