Skip to content

← Back to subsystem2

LocalObjective2

Source: userfiles/SpeedReducer/subsystem2/LocalObjective2.py

Local objective module for Speed Reducer subsystem 2.

Defines the local objective function contribution from shaft 2 to the total weight objective.

Classes

LocalObjective2

Inherits from: LocalObjectiveInterface

Local objective class for Speed Reducer subsystem 2.

Evaluates the shaft 2 weight contribution to the total reducer weight.

Attributes:

None specific to this class; inherits from LocalObjectiveInterface.

Methods

init(self) → None

Initialize LocalObjective2 instance.

evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the local objective function for subsystem 2.

Computes the shaft 2 weight contribution to total reducer weight.

Args:

subsystem: The local subsystem basis containing state information.

evaluate_Gradient_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the gradient of the local objective function.

Args:

subsystem: The local subsystem basis containing state information.

evaluate_Hessian_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessian of the local objective function.

Args:

subsystem: The local subsystem basis containing state information.