Skip to content

← Back to innerloop_iterationscheme

ParallelLocal_SequentialController

Source: Distributed_Design_Optimizer/coordination/innerloop_iterationscheme/ParallelLocal_SequentialController.py

Parallel local, sequential controller iteration scheme module.

This module provides an iteration scheme where local subsystems execute in parallel while the controller subsystem executes sequentially.

Classes

ParallelLocal_SequentialController

Inherits from: IterationSchemeBasis

Iteration scheme with parallel local subsystems and sequential controller.

Executes local subsystems in parallel while running the controller subsystem sequentially to ensure proper coordination.

Methods

init(self) → None

Initialize the iteration scheme.

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

Execute inner loop jobs using multiprocessing.

Args:

subsystemsIn: List of subsystems to execute.

Returns:

Tuple containing the list of executed subsystems and their original 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.