Managing Setups and Sweeps #488
Devin-Crawford
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 Welcome!
The solution setups and sweeps (i.e. frequency sweep) are very powerful, flexible, but still complicated to use and access. Is there a better way to do this in PyAedt? Here are some thoughts and it would be great to get feeback:
__setitem__
method for the sweeps dict. That way the sweep is added to the HFSS project without explicitly callingudpate()
For example
Creates a setup that can be accessed by the key "this_setup"
hfss.setup["this_setup"]
creates a sweep associated with the setup:
hfss.setup["this_setup"].sweep["sweep1"]
. Now the sweep knows the adapt frequency so the automatic sweep setup can be assigned correctly be default. Another sweep can also be added by key and arguments like sweep type passed as arguments. Again, default sweep values are based on known properties of the application:Beta Was this translation helpful? Give feedback.
All reactions