Skip to content

← Back to subsystem0

LocalConstraints0

Source: userfiles/SSBJ/subsystem0/LocalConstraints0.py

Local constraints module for Subsystem 0 in the Supersonic Business Jet (SSBJ) problem.

This module defines the LocalConstraints0 class which implements the local equality and inequality constraints specific to Subsystem 0 in the distributed design optimization framework.

Classes

LocalConstraints0

Inherits from: LocalConstraintsInterface

Local constraints class for Subsystem 0 in the Supersonic Business Jet (SSBJ) problem.

Attributes:

None specific to this class; inherits from LocalConstraintsInterface.

Methods

init(self) → None

Initialize the LocalConstraints0 instance.

evaluateEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate equality local constraints for Subsystem 0.

Computes the equality constraint values from the subsystem responses, scales them using the appropriate ScalerConstraint, and stores the result in the subsystem.

Args:

subsystem: The local subsystem instance providing responses
and scaling variables.

evaluate_Jacobian_EqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Jacobian of the local equality constraints.

Args:

subsystem: The local subsystem instance.

evaluate_Hessians_EqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessians of the local equality constraints.

Args:

subsystem: The local subsystem instance.

evaluateInEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate inequality local constraints for Subsystem 0.

Computes the inequality constraint values from the subsystem responses, scales them using the appropriate ScalerConstraint, and stores the result in the subsystem.

Args:

subsystem: The local subsystem instance providing responses
and scaling variables.

evaluate_Jacobian_InEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Jacobian of the local inequality constraints.

Args:

subsystem: The local subsystem instance.

evaluate_Hessians_InEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessians of the local inequality constraints.

Args:

subsystem: The local subsystem instance.