Skip to content

← Back to subsystem0

LocalObjective0

Source: userfiles/SpeedReducer/subsystem0/LocalObjective0.py

Local objective module for Speed Reducer subsystem 0.

Defines the local objective function contribution from the gear subsystem to the total weight objective.

Classes

LocalObjective0

Inherits from: LocalObjectiveInterface

Local objective class for Speed Reducer subsystem 0.

Evaluates the gear weight contribution to the total speed reducer weight.

Attributes:

None specific to this class; inherits from LocalObjectiveInterface.

Methods

init(self) → None

Initialize LocalObjective0 instance.

evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the local objective function for subsystem 0.

Computes the gear 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.