Please enable JavaScript to view this site.

Knowledge Base

Adds a parameter sweep/optimization/Monte Carlo/S-parameter sweep item as the top-most analysis item.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

addsweep(type);

adds a parameter sweep/optimization/Monte Carlo/S-parameter sweep item as the top-most analysis item.

 

'type' = 0 for sweep

'type' = 1 for optimization

'type' = 2 for yield

'type' = 3 for S-parameter matrix sweep (in FDTD Solutions only)

 

Example

Type = 0, for adding a sweep analysis:

addsweep(0);

?setsweep("sweep");

 

> Result:

name

type

number of points

resave files after analysis

 

Type = 1, for adding an optimization analysis:

addsweep(1);

?setsweep("optimization");

 

> Result:

name

type

algorithm

maximum generations

reset random generator

type

generation size

tolerance

first generation script

next generation script

use figure of merit script

figure of merit script

 

Type = 2, for adding a Monte Carlo analysis:

> addsweep(2);

?setsweep("Monte Carlo analysis");

 

> Result:

name

type

number of trials

variation

seed

enable seed

individual trial

enable individual trial

 

Type = 3, for adding an S-parameter sweep analysis:

>addsweep(3);

>?setsweep("s-parameter sweep");

 

> Result:

name

index

port

mode

 

See Also

Measurements, deletesweep, copysweep, pastesweep, insertsweep, getsweep, setsweep, addsweepparameter, addsweepresult, removesweepparameter, removesweepresult

Copyright Lumerical Inc. | Privacy | Site Map