ControlFileSetup#

class pyedb.grpc.database.control_file.ControlFileSetup(name: str)#

Represents a simulation setup.

Parameters:
namestr

Setup name.

Overview#

Import detail#

from pyedb.grpc.database.control_file import ControlFileSetup

Attribute detail#

ControlFileSetup.name: str#
ControlFileSetup.enabled: bool = True#
ControlFileSetup.save_fields: bool = False#
ControlFileSetup.save_rad_fields: bool = False#
ControlFileSetup.frequency: str = '1GHz'#
ControlFileSetup.maxpasses: int = 10#
ControlFileSetup.max_delta: float = 0.02#
ControlFileSetup.union_polygons: bool = True#
ControlFileSetup.small_voids_area: int = 0#
ControlFileSetup.mode_type: str = 'IC'#
ControlFileSetup.ic_model_resolution: str = 'Auto'#
ControlFileSetup.order_basis: str = 'FirstOrder'#
ControlFileSetup.solver_type: str = 'Auto'#
ControlFileSetup.low_freq_accuracy: bool = False#
ControlFileSetup.mesh_operations: List[ControlFileMeshOp] = []#
ControlFileSetup.sweeps: List[ControlFileSweep] = []#

Method detail#

ControlFileSetup.add_sweep(name: str, start: str, stop: str, step: str, sweep_type: str = 'Interpolating', step_type: str = 'LinearStep', use_q3d: bool = True) ControlFileSweep#

Add a frequency sweep.

Parameters:
namestr

Sweep name.

startstr

Start frequency.

stopstr

Stop frequency.

stepstr

Frequency step/count.

sweep_typestr, optional

Sweep type (“Discrete” or “Interpolating”). Default is “Interpolating”.

step_typestr, optional

Step type (“LinearStep”, “DecadeCount”, or “LinearCount”). Default is “LinearStep”.

use_q3dbool, optional

Whether to use Q3D for DC point. Default is True.

Returns:
ControlFileSweep

Created sweep object.

ControlFileSetup.add_mesh_operation(name: str, region: str, type: str, nets_layers: Dict[str, str]) ControlFileMeshOp#

Add a mesh operation.

Parameters:
namestr

Operation name.

regionstr

Region name.

typestr

Operation type (“MeshOperationLength” or “MeshOperationSkinDepth”).

nets_layersdict

Dictionary of nets and layers.

Returns:
ControlFileMeshOp

Created mesh operation object.