:class:`SolverOptions` ====================== .. py: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. .. !! processed by numpydoc !! .. py:currentmodule:: SolverOptions Overview -------- .. tab-set:: .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~extraction_mode` - Get the extraction mode. * - :py:attr:`~custom_refinement` - Get whether custom refinement is enabled. * - :py:attr:`~extraction_frequency` - Get the extraction frequency. * - :py:attr:`~compute_capacitance` - Get whether capacitance computation is enabled. * - :py:attr:`~compute_dc_parameters` - Property setter for the `compute_dc_parameters` attribute. * - :py:attr:`~compute_dc_rl` - Get whether DC resistance and inductance computation is enabled. * - :py:attr:`~compute_dc_cg` - Get whether DC capacitance and conductance computation is enabled. * - :py:attr:`~compute_ac_rl` - Get whether AC resistance and inductance computation is enabled. * - :py:attr:`~ground_power_nets_for_si` - Gets the ground power nets for SI analysis setting from the database. * - :py:attr:`~small_hole_diameter` - Gets the small hole diameter setting from the database. * - :py:attr:`~model_type` - Gets the model type setting from the database. * - :py:attr:`~adaptive_refinement_cg_max_passes` - Gets the maximum number of passes for CG adaptive refinement from the database. * - :py:attr:`~adaptive_refinement_cg_percent_error` - Gets the target error percentage for CG adaptive refinement from the database. * - :py:attr:`~cg_percent_refinement_per_pass` - Gets the percentage of CG refinement per pass from the database. * - :py:attr:`~adaptive_refinement_rl_max_passes` - Gets the maximum number of passes for RL adaptive refinement from the database. * - :py:attr:`~adaptive_refinement_rl_percent_error` - Gets the target error percentage for RL adaptive refinement from the database. * - :py:attr:`~rl_percent_refinement_per_pass` - Gets the percentage of RL refinement per pass from the database. * - :py:attr:`~return_path_net_for_loop_parameters` - Gets the return path net setting for loop parameters from the database. Import detail ------------- .. code-block:: python from pyedb.dotnet.database.utilities.siwave_cpa_simulation_setup import SolverOptions Property detail --------------- .. py:property:: extraction_mode Get the extraction mode. Returns: str: The extraction mode ("si" or "pi"). .. !! processed by numpydoc !! .. py:property:: custom_refinement Get whether custom refinement is enabled. Returns: bool: True if custom refinement is enabled, False otherwise. .. !! processed by numpydoc !! .. py:property:: extraction_frequency Get the extraction frequency. Returns: str: The extraction frequency. .. !! processed by numpydoc !! .. py:property:: compute_capacitance Get whether capacitance computation is enabled. Returns: bool: True if enabled, False otherwise. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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". .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !! .. py:property:: 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. .. !! processed by numpydoc !!