iqm-finland / KQCircuits

KLayout Python library for integrated quantum circuit design.
GNU General Public License v3.0
142 stars 73 forks source link

Ansys export issue #100

Open SimonTheRocketGuy opened 4 months ago

SimonTheRocketGuy commented 4 months ago

What happened? What you expected to happen?

Screenshot 2024-07-11 115410 Cant export to ansys always throws error even after editing code

Versions

KQcircuits 4.8.2 Klayout0.29.3 WIN10

Issue Severity

High: blocks me from doing my work

qpavsmi commented 4 months ago

Hi! Is this reproducible by running one of the scripts under klayout_package/python/scripts/simulations?

SimonTheRocketGuy commented 4 months ago

image running example create capacitive pi model

qpavsmi commented 4 months ago

At least scripts under klayout_package/python/scripts/simulations/ansys like klayout_package/python/scripts/simulations/ansys/create_capacitive_pi_model.py are not intended to be run directly by user, but by other scripts or by the Ansys executable.

I noticed that the exception is being caught in the KLayout window, are these attempted to be run by KLayout Macro editor? Instead of running the scripts as a macro, we currently recommend using a terminal or command prompt to run kqc sim <script name>, instructions here: https://iqm-finland.github.io/KQCircuits/user_guide/simulation/export_and_run.html

You can use kqc sim ls to see which simulation scripts are available for running.

Before using kqc sim, make sure that KQC is installed in standalone following this guide: https://iqm-finland.github.io/KQCircuits/developer/standalone.html#basic-installation

And make sure simulations is included as a dependency extension.

qpavsmi commented 4 months ago

Hi @SimonTheRocketGuy , just wanted to follow up if you are still experiencing problems with exporting simulations to Ansys?

SimonTheRocketGuy commented 3 months ago

Hello, I tried everything. But I was unable to fix it. Maybe it is bug. Can we connect on linkedin and chat a bit please?

qpavsmi commented 3 months ago

Sure, my LinkedIn https://www.linkedin.com/in/pavel-smirnov-a7597a151/

Or if you have discord: _pavelsmirnov

SimonTheRocketGuy commented 3 months ago

Already send connection request