subsystems

Classes

ParamSweeper(n_scenario, input_values[, ...])

This class enables setting values of variables/parameters according to a provided sequence.

TemporarySubsystemManager([to_fix, ...])

This class is a context manager for cases when we want to temporarily fix or deactivate certain variables or constraints in order to perform some solve or calculation with the resulting subsystem.

Functions

add_local_external_functions(block)

create_subsystem_block(constraints[, ...])

This function creates a block to serve as a subsystem with the specified variables and constraints.

generate_subsystem_blocks(subsystems[, ...])

Generates blocks that contain subsystems of variables and constraints.

identify_external_functions(expr)