Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
driver_resolution.TrajectoryResolutionDriver Class Reference

Public Member Functions

 __init__ (self, TrajectoryResolutionData data)
 
 prepare_resolution_options_file (self)
 
 launch (self)
 

Public Attributes

 data = data
 
 logger = step_logger(__name__, __class__.__name__)
 
 benders_driver
 

Protected Member Functions

Dict[str, Path] _read_node_to_studies (self)
 
 _clean_all_nodes_lp_directories (self)
 

Detailed Description

A wrapper around the BendersDriver class to adapt it to the trajectory workflow

Member Function Documentation

◆ _clean_all_nodes_lp_directories()

driver_resolution.TrajectoryResolutionDriver._clean_all_nodes_lp_directories ( self)
protected
Clean the lp directory of each node/study after resolution
Similar to the standard memory workflow

◆ _read_node_to_studies()

Dict[str, Path] driver_resolution.TrajectoryResolutionDriver._read_node_to_studies ( self)
protected
Read the user input file to get the mapping of node names to study paths

◆ prepare_resolution_options_file()

driver_resolution.TrajectoryResolutionDriver.prepare_resolution_options_file ( self)
Settings from the setting.ini file of the root study are used
Most settings are commented out, not needed in the current simple version

Member Data Documentation

◆ benders_driver

driver_resolution.TrajectoryResolutionDriver.benders_driver
Initial value:
= BendersDriver(
SolversExe(data.benders_exe, data.frontal_exe, data.outer_loop_exe),
data.benders_options_file.resolve(),
data.mpi_exe,
)

The documentation for this class was generated from the following file: