Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
antares_xpansion.antares_driver.AntaresDriver Class Reference

Classes

class  AntaresExecutionError
 
class  Error
 

Public Member Functions

None __init__ (self, Path antares_exe_path)
 
bool launch (self, antares_study_path, int antares_n_cpu, bool use_xpress=False)
 
 antares_output_dir (self)
 

Public Attributes

 antares_exe_path = antares_exe_path
 
str data_dir = ""
 
bool use_xpress = False
 
str output = 'output'
 
str ANTARES_N_CPU_OPTION = "--force-parallel"
 
int antares_n_cpu = 1
 
str zip_option = "-z"
 
 logger = step_logger(__name__, __class__.__name__)
 
str FIRST_VERSION_WITH_NAMED_PROBLEMS = "8.7"
 
str simulation_name
 

Protected Member Functions

 _set_antares_n_cpu (self, int antares_n_cpu)
 
bool _launch (self, antares_study_path)
 
 _clear_old_log (self)
 
bool _run_antares (self)
 
 _set_simulation_name (self)
 
 _get_antares_cmd (self)
 

Detailed Description

    Initialize Antares Driver with given binary path to Antares solver

Member Function Documentation

◆ antares_output_dir()

antares_xpansion.antares_driver.AntaresDriver.antares_output_dir ( self)
    returns path to antares output data directory

Member Data Documentation

◆ simulation_name

str antares_xpansion.antares_driver.AntaresDriver.simulation_name
Initial value:
= filter(lambda x: os.path.isdir(os.path.join(self.antares_output_dir(), x)),
os.listdir(self.antares_output_dir()))

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