Replies: 2 comments 36 replies
-
Hi! The
I would recommend to study the method that we support more at this time, which is to define the element in code that you wish to simulate, then running the Here is an example of simulating the SingleXmons chip. We define a simulation class that uses this chip and defines ports for it, and removes elements that are not relevant for simulation. Finally, we have the simulation script where we define Ansys configuration. Not present in this script, but you are also able to sweep different properties of the chip using functions sweep_simulation or cross_sweep_simulation. For example the readout resonator lengths ( For single element simulations like ConcentricTransmon coupling simulation you can skip defining a simulation class and just use the function get_single_element_sim_class. More information on the current methods of running simulations can be found here and feel free to ask me for more info. |
Beta Was this translation helpful? Give feedback.
-
Hi thanks for the response! So, I tried that script, and it worked however I ran into other problems as well. For example, I had to change the geometry.py file to allow the import of the geometries since there was a syntax error: This is what fixed it for me:
This fixes it because fstrings like f"" in python only started in version 3.6 I believe, so you have to use the older .format('') fstring for it not to be a syntax error. I only ran into these issues once I was in the ANSYS HFSS software, so I think there must be some compatibility issues that are causing the problem. Also, I am using the latest version of ANSYS HFSS 2024 version. I would be able to import some of my designs and others it would not, and many times port and materials were not assigned either so there seems to be many issues at the moment with getting the simulation started. Any help will be greatly appreciated. Thanks in Advance. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am having trouble with exporting design to ANSYS with kqcircuits. Using the ansys_export.py to export my design I will get an error which will say: "export_ansys_json() got an unexpected keyword argument 'ansys_tool'". The reason is because this line of code in ansys_export.lym: "json = export_ansys_json(simulation, path, ansys_tool='hfss') # Alternatively choose ansys_tool='q3d' for Q3D export". However, if you go back to the ansys_export.py you will find this function has no parameter "ansys_tool" in the function. These are the parameters that ansys_export.py has for this function: "def export_ansys_json(simulation: Union[Simulation, CrossSectionSimulation], solution: AnsysSolution, path: Path):". This must have not been updated on the GitHub because there is no way to do export in ANSYS HFSS.
Beta Was this translation helpful? Give feedback.
All reactions