Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
driver_input_translation.InputTranslationDriver Class Reference

Classes

class  InvalidRootStudyPathError
 

Public Member Functions

 __init__ (self, Path input_root, Path input_file, Path output_file)
 
Path get_root_study (self, Path input_root)
 
 get_master_formulation (self)
 
 launch (self)
 

Public Attributes

 input_file = input_root / input_file
 
 input_root = input_root
 
 output_file = output_file
 
 translator = UserInputTranslator(self.input_file)
 
bool input_parsed = False
 

Protected Member Functions

 _parse_input (self)
 

Detailed Description

Drive the verification and translation of the user input file into
the ```master_merger_info.json``` intermediary file.

Member Function Documentation

◆ get_master_formulation()

driver_input_translation.InputTranslationDriver.get_master_formulation ( self)
Returns the formulation parameter entered by the user, has to be either 'integer' or 'relaxed'

◆ get_root_study()

Path driver_input_translation.InputTranslationDriver.get_root_study ( self,
Path input_root )
Returns the absolute path to the root study.
Takes in a path to the root folder containing all the studies.

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