@@ -267,7 +267,7 @@ def __init__(self):
267267 """Initialize the Communicate class for handling InteractiveAI API communication."""
268268 logging .info ("COMMUNICATIONS' SETUP FOR THIS SESSION : \n " )
269269 try :
270- self .outputsConfig = toml .load ("API_POWERGRID_CAB.toml" )
270+ self .outputsConfig = toml .load ("config/ API_POWERGRID_CAB.toml" )
271271 if self .outputsConfig ['Outputs' ]['activate' ] == 'yes' :
272272 self .CAB_API_on = True
273273 else :
@@ -581,8 +581,8 @@ def send_event_online(self,
581581 payload_dict = {}
582582 payload_dict = {
583583 "criticality" : "ROUTINE" ,
584- "title" : f"Ligne { line_name } déconnectée " ,
585- "description" : f"La ligne { line_name } est déconnectée " ,
584+ "title" : f"Line { line_name } disconnected " ,
585+ "description" : f"Line { line_name } is disconnected " ,
586586 "start_date" : f"{ context_date } " ,
587587 "end_date" : f"{ context_date + timedelta (minutes = float (5 ))} " ,
588588 "data" : {
@@ -961,7 +961,7 @@ def run_simulator():
961961
962962 try :
963963 # Load simulation configuration
964- config = toml .load ("CONFIG.toml" )
964+ config = toml .load ("config/ CONFIG.toml" )
965965
966966 forecasts_horizons = [5 , 10 , 15 , 20 , 25 , 30 ]
967967
0 commit comments