Package empro :: Package toolkit :: Package analysis :: Package ac :: Module pdn
[frames] | no frames]

Module pdn

source code

Classes
  Constraint
Functions
Bunch
optimizeDecap(sipiSetup)
Returns: In case of 'success' the list of the 10 best decap configurations taking into account the specified target, the excluded decaps, the desired constraints and the model prices.
source code
 
saveOptimizationResult(sipiSetup, result) source code
 
loadOptimizationResult(sipiSetup) source code
Bunch
optimizeDecapAssignment(sipiSetup, activeTargetType, targetVector, excludedDecapNames, constraints, priceForModels)
Returns: In case of 'success' the list of decap configurations taking into account the specified target, the excluded decaps, the desired constraints and the model prices.
source code
OptimizationResult
getOptimizedSolutions(sipiSetup, activeTargetType, targetVector, excludedDecapNames)
Returns: object with three member variables: List containing all the possible decap configurations taking into account the specified target and excluded decaps, specified target and excluded decaps
source code
Bunch
applyConstraints(optimizedSolutions, constraints, priceForModels)
Returns: In case of 'success' the list of the 10 best decap configurations for the specified constraints and the model prices, given a set of optimized solutions.
source code
Bunch
getImpedanceGraphOfSolution(solution, targetSpecification, sipiSetup)
Returns: In case of 'success' the graph containing the impedance graph of this specific solution and its improvement wrt the original setup.
source code
Bunch
printDecapAssignmentOfSolution(solution, priceForModels)
Returns: In case of 'success' the detailed overview of the decap assignment for the specified solution.
source code
Variables
  constraintMap = {'Decaps': 0, 'Models': 2, 'Price': 3, 'Vendor...
Function Details

optimizeDecap(sipiSetup)

source code 
Parameters:
  • sipiSetup (sipiSetup) - AC analysis of interest
Returns: Bunch
In case of 'success' the list of the 10 best decap configurations taking into account the specified target, the excluded decaps, the desired constraints and the model prices. Otherwise a detailed 'reasonOfFailure' is available.

optimizeDecapAssignment(sipiSetup, activeTargetType, targetVector, excludedDecapNames, constraints, priceForModels)

source code 
Parameters:
  • sipiSetup (sipiSetup) - AC analysis of interest
  • activeTargetType (string) - the target type
  • targetVector (list) - The target mask by specifying each [freq, Z] couple as a list
  • excludedDecapNames (list) - Names of the decaps that should not be optimized and will thus be placed and enabled in each solution.
  • constraints (list) - List containing the active constraints, together with their maximum value and relative importance, using the Constraints class (Constraints(type,maximum, importance))
  • priceForModels (dictionary) - Overview of the price of each model in the form of a dictionary where (componentModelGroup name, model name) are used as identifier.
Returns: Bunch
In case of 'success' the list of decap configurations taking into account the specified target, the excluded decaps, the desired constraints and the model prices. 'optimizationResult' corresponding OptimizationResult object Otherwise a detailed 'reasonOfFailure' is available.

getOptimizedSolutions(sipiSetup, activeTargetType, targetVector, excludedDecapNames)

source code 
Parameters:
  • sipiSetup (sipiSetup) - AC analysis of interest
  • activeTargetType (string) - the target type
  • targetVector (list) - The target mask by specifying each [freq (Hz), Z (Ohm)] couple as a list
  • excludedDecapNames (list) - Names of the decaps that should not be optimized and will thus be placed and enabled in each solution.
Returns: OptimizationResult
object with three member variables: List containing all the possible decap configurations taking into account the specified target and excluded decaps, specified target and excluded decaps

applyConstraints(optimizedSolutions, constraints, priceForModels)

source code 
Parameters:
  • optimizedSolutions (list) - List of optimized solutions, availabe after calling getOptimizedSolutions
  • constraints (list) - List containing the active constraints, together with their maximum value and relative importance, using the Constraints class (Constraints(type,maximum, importance))
  • priceForModels (dictionary) - Overview of the price of each model in the form of a dictionary where (componentModelGroup name, model name) are used as identifier.
Returns: Bunch
In case of 'success' the list of the 10 best decap configurations for the specified constraints and the model prices, given a set of optimized solutions. Otherwise a detailed 'reasonOfFailure' is available.

getImpedanceGraphOfSolution(solution, targetSpecification, sipiSetup)

source code 
Parameters:
  • solution (Bunch) - Single solution obtained after the optimization.
  • targetSpecification (list) - The target mask by specifying each [freq (Hz), Z (Ohm)] couple as a list
  • sipiSetup (sipiSetup) - AC analysis of interest
Returns: Bunch
In case of 'success' the graph containing the impedance graph of this specific solution and its improvement wrt the original setup. Otherwise a detailed 'reasonOfFailure' is available.

printDecapAssignmentOfSolution(solution, priceForModels)

source code 
Parameters:
  • solution (list) - Solution obtained after the optimization.
  • priceForModels (dictionary) - Overview of the price of each model in the form of a dictionary where (componentModelGroup name, model name) are used as identifier.
Returns: Bunch
In case of 'success' the detailed overview of the decap assignment for the specified solution. Otherwise a detailed 'reasonOfFailure' is available.

Variables Details

constraintMap

Value:
{'Decaps': 0, 'Models': 2, 'Price': 3, 'Vendors': 1}