SolverOptions#
- class pyedb.dotnet.database.utilities.siwave_cpa_simulation_setup.SolverOptions(pedb, cfg_solver_options=None)#
A class to manage solver options for SIWave CPA simulations.
- Attributes:
mode (str): The extraction mode, either “si” or “pi”. custom_refinement (bool): Whether custom refinement is enabled. extraction_frequency (str): The frequency for extraction, e.g., “10Ghz”. compute_capacitance (bool): Whether to compute capacitance. compute_dc_rl (bool): Whether to compute DC resistance and inductance. compute_dc_parameters (bool): Whether to compute DC parameters. compute_dc_cg (bool): Whether to compute DC capacitance and conductance. compute_ac_rl (bool): Whether to compute AC resistance and inductance. ground_power_nets_for_si (bool): Whether to ground power nets for SI analysis. small_hole_diameter (float or str): The diameter of small holes, or “auto”. adaptive_refinement_cg_max_passes (int): Maximum passes for adaptive refinement of CG. adaptive_refinement_rl_max_passes (int): Maximum passes for adaptive refinement of RL. adaptive_refinement_cg_percent_error (float): Percent error for CG adaptive refinement. adaptive_refinement_rl_percent_error (float): Percent error for RL adaptive refinement. rl_percent_refinement_per_pass (float): Percent refinement per pass for RL. cg_percent_refinement_per_pass (float): Percent refinement per pass for CG. return_path_net_for_loop_parameters (bool): Whether to use return path net for loop parameters.
- Methods:
__init__(pedb, cfg_solver_options=None): Initializes the SolverOptions object. __init_values(): Initializes default values for solver options. _apply_cfg_object(solver_options): Applies configuration from a given solver options object.
Overview#
Get the extraction mode. |
|
Get whether custom refinement is enabled. |
|
Get the extraction frequency. |
|
Get whether capacitance computation is enabled. |
|
Property setter for the compute_dc_parameters attribute. |
|
Get whether DC resistance and inductance computation is enabled. |
|
Get whether DC capacitance and conductance computation is enabled. |
|
Get whether AC resistance and inductance computation is enabled. |
|
Gets the ground power nets for SI analysis setting from the database. |
|
Gets the small hole diameter setting from the database. |
|
Gets the model type setting from the database. |
|
Gets the maximum number of passes for CG adaptive refinement from the database. |
|
Gets the target error percentage for CG adaptive refinement from the database. |
|
Gets the percentage of CG refinement per pass from the database. |
|
Gets the maximum number of passes for RL adaptive refinement from the database. |
|
Gets the target error percentage for RL adaptive refinement from the database. |
|
Gets the percentage of RL refinement per pass from the database. |
|
Gets the return path net setting for loop parameters from the database. |
Import detail#
from pyedb.dotnet.database.utilities.siwave_cpa_simulation_setup import SolverOptions
Property detail#
- property SolverOptions.extraction_mode#
Get the extraction mode.
- Returns:
str: The extraction mode (“si” or “pi”).
- property SolverOptions.custom_refinement#
Get whether custom refinement is enabled.
- Returns:
bool: True if custom refinement is enabled, False otherwise.
- property SolverOptions.extraction_frequency#
Get the extraction frequency.
- Returns:
str: The extraction frequency.
- property SolverOptions.compute_capacitance#
Get whether capacitance computation is enabled.
- Returns:
bool: True if enabled, False otherwise.
- property SolverOptions.compute_dc_parameters#
Property setter for the compute_dc_parameters attribute.
Sets whether the computation of DC parameters is enabled in the SIWave properties.
- Args:
value (bool): True to enable DC parameter computation, False to disable it.
- property SolverOptions.compute_dc_rl#
Get whether DC resistance and inductance computation is enabled.
- Returns:
bool: True if DC resistance and inductance computation is enabled, False otherwise.
- property SolverOptions.compute_dc_cg#
Get whether DC capacitance and conductance computation is enabled.
- Returns:
bool: True if DC capacitance and conductance computation is enabled, False otherwise.
- property SolverOptions.compute_ac_rl#
Get whether AC resistance and inductance computation is enabled.
- Returns:
bool: True if AC resistance and inductance computation is enabled, False otherwise.
- property SolverOptions.ground_power_nets_for_si#
Gets the ground power nets for SI analysis setting from the database.
- Returns:
bool: True if grounding power nets for SI analysis is enabled, False otherwise.
- property SolverOptions.small_hole_diameter#
Gets the small hole diameter setting from the database.
- Returns:
float|str: The small hole diameter as a float, or ‘auto’ if the value is set to -1.
- property SolverOptions.model_type#
Gets the model type setting from the database.
- Returns:
str: The model type. Returns “rlcg” if the model type is set to “0”, otherwise “esd_r”.
- property SolverOptions.adaptive_refinement_cg_max_passes#
Gets the maximum number of passes for CG adaptive refinement from the database.
- Returns:
int: The maximum number of passes for CG adaptive refinement.
- property SolverOptions.adaptive_refinement_cg_percent_error#
Gets the target error percentage for CG adaptive refinement from the database.
- Returns:
float: The target error percentage for CG adaptive refinement.
- property SolverOptions.cg_percent_refinement_per_pass#
Gets the percentage of CG refinement per pass from the database.
- Returns:
float: The percentage of CG refinement per pass.
- property SolverOptions.adaptive_refinement_rl_max_passes#
Gets the maximum number of passes for RL adaptive refinement from the database.
- Returns:
int: The maximum number of passes for RL adaptive refinement.
- property SolverOptions.adaptive_refinement_rl_percent_error#
Gets the target error percentage for RL adaptive refinement from the database.
- Returns:
float: The target error percentage for RL adaptive refinement.
- property SolverOptions.rl_percent_refinement_per_pass#
Gets the percentage of RL refinement per pass from the database.
- Returns:
float: The percentage of RL refinement per pass.
- property SolverOptions.return_path_net_for_loop_parameters#
Gets the return path net setting for loop parameters from the database.
- Returns:
bool: True if the return path net is enabled for loop parameters, False otherwise.