Skip to content

← Back to subsystem0

Analysis0

Source: userfiles/NewUseCase_Template/subsystem0/Analysis0.py

Analysis module for Subsystem 0 in the new use-case.

This module defines the Analysis0 class which implements the physics-based analysis computations and response mapping for Subsystem 0 in the distributed design optimization framework.

Classes

Analysis0

Inherits from: AnalysisInterface

Analysis class for Subsystem 0 in the new use-case.

Methods

init(self) → None

Initialize the Analysis0 instance.

evaluateLocalResponses(self, subsystem: LocalSubSystemBasis) → None

Evaluate the physical responses of Subsystem 0.

Computes the subsystem responses based on the current design variables. The responses are calculated using geometric programming formulas involving powers and inverse powers of design variables.

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 computed responses and shared/target design variables to neighboring 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) → None

Map the Hessians of the mapped responses, if known a priori.

Args:

subsystem: The subsystem for which the Hessians are mapped.