pathsim.optim.booster module¶
- class pathsim.optim.booster.ConnectionBooster(connection)[source]¶
Bases:
objectWraps a Connection instance and injects a fixed point accelerator.
This class is part of the solver structure and intended to improve the algebraic loop solver of the simulation.
- Parameters:
connection (Connection) – connection instance to be boosted with an algebraic loop accelerator
- reset()[source]¶
Reset the internal fixed point accelerator and update the history to the most recent value
- update()[source]¶
Wraps the Connection.update method for data transfer from source to targets and injects a solver step of the fixed point accelerator, updates the history required for the next solver step, returns the fixed point residual.
- Returns:
res – fixed point residual of internal lixed point accelerator
- Return type: