← Back to subsystem2
Analysis2¶
Source: userfiles/GeometricProgramming/subsystem2/Analysis2.py
Analysis module for Subsystem 2 in the Geometric Programming Top-Down Hierarchic problem.
This module defines the Analysis2 class which implements the physics-based analysis computations and response mapping for Subsystem 2 in the distributed design optimization framework.
Classes¶
Analysis2¶
Inherits from: AnalysisInterface
Analysis class for Subsystem 2.
Implements the AnalysisInterface to compute physical responses and map coupling variables for Subsystem 2 in the Geometric Programming problem. This subsystem operates at level 1 in the hierarchical decomposition.
Attributes:
None specific to this class; inherits from AnalysisInterface.
Methods¶
init(self) → None
Initialize the Analysis2 instance.
evaluateLocalResponses(self, subsystem: LocalSubSystemBasis) → None
Evaluate the physical responses of Subsystem 2.
Computes the subsystem responses based on the current design variables. The responses include geometric programming formulas involving powers, inverse powers, and square root operations.
Args:
subsystem: The LocalSubSystemBasis instance containing design variables
and where computed responses will be stored.
mapLocalResponsesDesignVariables_to_CouplingParameters(self, subsystem: LocalSubSystemBasis) → None
Map responses and design variables for inter-subsystem coupling.
Maps the mapped response to Subsystem 0 and the target shared design variable to Subsystem 1 for coordination between subsystems.
Args:
subsystem: The LocalSubSystemBasis instance containing responses
and design variables to be mapped.
mapLocalResponsesDesignVariables_to_CouplingParameters_Jacobians(self, subsystem: LocalSubSystemBasis) → None
Map the Jacobians of the mapped responses.
Args:
subsystem: The subsystem for which the Jacobians are mapped.
mapLocalResponsesDesignVariables_to_CouplingParameters_Hessian(self, subsystem: LocalSubSystemBasis) → List[List[List[List[float | None]]]] | None
Map the Hessians of the mapped responses, if known a priori.
Args:
subsystem: The subsystem for which the Hessians are mapped.
Returns:
Hessian tensor indexed by [local-to-local coupling][mapped response
component][n_design][n_design], or None to fall back to a BFGS /
finite-difference approximation.