Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
launch Namespace Reference

Variables

str conf_file = Path(os.path.abspath(__file__)).parent / "config.yaml"
 
 config_parser = ConfigFileParser(conf_file)
 
 configuration_data = config_parser.get_config_parameters()
 
str TRAJECTORY_FLAG = "--trajectory"
 
 t_parser = TrajectoryArgsParser()
 
 t_params = t_parser.parse_args()
 
dict step_info = {"step": "Pre Antares Trajectory"}
 
 logger = get_logger(__name__)
 
dict simple_message = {"simple": True}
 
 extra
 
 start_time = datetime.now()
 
 locker = StudyLocker(Path(t_params.input_root))
 
 t_config = TrajectoryConfig(t_params, configuration_data)
 
 t_driver = TrajectoryInvestmentDriver(t_config)
 
 end_time = datetime.now()
 
 xpansion_total_duration = end_time - start_time
 
dict end_info = {"step": "Post Xpansion Trajectory"}
 
tuple user_exc_types
 
 file
 
 parser = InputParser()
 
 input_parameters = parser.parse_args()
 
 CONFIG = XpansionConfig(input_parameters, configuration_data)
 
 config_loader = ConfigLoader(CONFIG)
 
 DRIVER = XpansionDriver(config_loader)
 

Detailed Description

    launches the execution of the antares xpansion c++ module
    Unified launcher: classic and trajectory modes

Variable Documentation

◆ user_exc_types

tuple launch.user_exc_types
Initial value:
1= (
2 UserInputTranslator.InvalidCandidates,
3 UserInputTranslator.InvalidTreeStructure,
4 UserInputTranslator.InvalidTrajectoryConstraint,
5 )