SweepHFSS#

class ansys.aedt.core.modules.solve_sweeps.SweepHFSS(setup, name, sweep_type='Interpolating', props=None)[source]#

Initializes, creates, and updates sweeps in HFSS.

Parameters:
setup:class ‘from ansys.aedt.core.modules.solve_setup.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(version=version, project=proj, design=gtemDesign, solution_type=solutiontype,
                name=name, new_desktop=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.