analyze#

Q2d.analyze(setup=None, cores=4, tasks=1, gpus=1, acf_file=None, use_auto_settings=True, solve_in_batch=False, machine='localhost', run_in_thread=False, revert_to_initial_mesh=False, blocking=True)[source]#

Solve the active design.

Parameters:
setupstr, optional

Setup to analyze. The default is None, in which case all setups are solved.

coresint, optional

Number of simulation cores. Default is 4 which is the number of cores available in license.

tasksint, optional

Number of simulation tasks. The default is 1. In bach solve, set tasks to -1 to apply auto settings and distributed mode.

gpusint, optional

Number of simulation graphic processing units to use. The default is 0.

acf_filestr, optional

Full path to the custom ACF file.

use_auto_settingsbool, optional

Set True to use automatic settings for HPC. The option is only considered for setups that support automatic settings.

solve_in_batchbool, optional

Whether to solve the project in batch or not. If True the project will be saved, closed, solved and repened.

machinestr, optional

Name of the machine if remote. The default is "localhost".

run_in_threadbool, optional

Whether to submit the batch command as a thread. The default is False.

revert_to_initial_meshbool, optional

Whether to revert to initial mesh before solving or not. Default is False.

blockingbool, optional

Whether to block script while analysis is completed or not. It works from AEDT 2023 R2. Default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.Analyze