Skip to content

Commit

Permalink
Adding print statements in start_execution.py (to debug macos script)
Browse files Browse the repository at this point in the history
  • Loading branch information
asra-naseem authored Sep 18, 2023
1 parent 39dc549 commit a59b5a8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions start_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@
from control_strategy_C import control_strategy_C

#================================================

print("Line 39")
if __name__ == '__main__':

#print
print("In Line 43")

grid_timestep_sec = 60
start_simulation_unix_time = 6*3600
Expand Down Expand Up @@ -89,10 +92,10 @@
num_of_federates += 1 # control_strategy_A
num_of_federates += 1 # control_strategy_B
num_of_federates += 1 # control_strategy_C

print("In Line 95")
broker = subprocess.Popen(['helics_broker', '--loglevel=no_print', '-f{}'.format(num_of_federates)])
#broker = subprocess.Popen(['helics_broker', '-f{}'.format(num_of_federates)])

print("In Line 98")
#---------------------

processes = []
Expand Down

0 comments on commit a59b5a8

Please sign in to comment.