SweepHFSS#

class pyaedt.modules.SolveSweeps.SweepHFSS(setup, name, sweep_type='Interpolating', props=None)[source]#

Initializes, creates, and updates sweeps in HFSS.

Parameters:
setup:class ‘pyaedt.modules.SolveSetup.Setup’

Setup to use for the analysis.

namestr

Name of the sweep.

sweep_typestr, optional

Type of the sweep. Options are "Fast", "Interpolating", and "Discrete". The default is "Interpolating".

propsdict, optional

Dictionary of the properties. The default is None, in which case the default properties are retrieved.

Examples

>>> hfss = Hfss(specified_version=version, projectname=proj, designname=gtemDesign, solution_type=solutiontype,
                setup_name=setup_name, new_desktop_session=False, close_on_exit=False)
>>> hfss_setup = hfss.setups[0]
>>> hfss_sweep = SweepHFSS(hfss_setup, 'Sweep', sweep_type ='Interpolating', props=None)

Methods

SweepHFSS.add_subrange(range_type, start[, ...])

Add a range to the sweep.

SweepHFSS.create()

Create a sweep.

SweepHFSS.update()

Update a sweep.

Attributes

SweepHFSS.basis_frequencies

List of all frequencies that have fields available.

SweepHFSS.frequencies

List of all frequencies of the active sweep.

SweepHFSS.is_solved

Verify if solutions are available for the sweep.