Skip to content

← Back to subsystem1

LocalObjective1

Source: userfiles/SpeedReducer/subsystem1/LocalObjective1.py

Local objective module for Speed Reducer subsystem 1.

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

Classes

LocalObjective1

Inherits from: LocalObjectiveInterface

Local objective class for Speed Reducer subsystem 1.

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

Attributes:

None specific to this class; inherits from LocalObjectiveInterface.

Methods

init(self) → None

Initialize LocalObjective1 instance.

evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the local objective function for subsystem 1.

Computes the shaft 1 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.