Skip to content

← Back to innerloop_iterationscheme

SequentialForward

Source: Distributed_Design_Optimizer/coordination/innerloop_iterationscheme/SequentialForward.py

Top-down sequential iteration scheme module.

This module provides an iteration scheme where subsystems are executed sequentially from highest to lowest hierarchical level.

Classes

SequentialForward

Inherits from: IterationSchemeBasis

Iteration scheme that executes subsystems sequentially in top-down order.

This scheme runs subsystems one at a time, starting from the highest level and working down to the lowest level.

Methods

init(self) → None

Initialize the SequentialForward iteration scheme.

run_innerloop_jobs_multiprocessing(self, subsystemsIn: List[SubSystemInterface]) → Tuple[List[SubSystemInterface], List[int]]

Execute inner loop jobs sequentially in top-down order using multiprocessing.

Subsystems are processed one at a time in order (top-down), using a process pool with blocking apply calls.

Args:

subsystemsIn: List of subsystems to execute.

Returns:

Tuple containing the list of executed subsystems and their indices.

print_startup_summary(self) → None

Nothing to print.

print_termination_summary(self) → None

Nothing to print.

print_beginning_of_run_innerloop_jobs_multiprocessing(self) → None

Print a banner before executing inner loop jobs with multiprocessing.