analyze#
- MaxwellCircuit.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:
- setup
str
,optional
Setup to analyze. The default is
None
, in which case all setups are solved.- cores
int
,optional
Number of simulation cores. Default is
4
which is the number of cores available in license.- tasks
int
,optional
Number of simulation tasks. The default is
1
. In bach solve, settasks
to-1
to apply auto settings and distributed mode.- gpus
int
,optional
Number of simulation graphic processing units to use. The default is
0
.- acf_file
str
,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.- machine
str
,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
.
- setup
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oDesign.Analyze