3.3.2.14. lekkersim.Solver.put

Solver.put(source_pin: str | Pin = None, target_pin: tuple[Structure, Pin] = None, param_mapping: Dict[str, str] = None) Structure

Function for putting a Solver in another Solver object, and eventually specify connections

This function creates a Structure object for the Solver and place it in the current active Solver If both pins and pint are provided, the connection also is made.

Parameters:
  • source_pin (str) – pin of model to be connected

  • target_pin (tuple) – tuple (structure (Structure) , pin (str)) existing structure and pin to which to connect pins of model

  • param_mapping (dict) – dictionary of {oldname (str) : newname (str)} containing the mapping of the names of the parameters

Returns:

the Structure instance created from the Solver

Return type:

Structure