element['processingTime']=Dict['M1']#It checks using if...elif syntax if the name is 'Machine1', so the first machine in the Topology10
jsonFile=open('JSON_TwoServers_Output.json',"w")#It opens the JSON file
elifname=='Machine2':
jsonFile.write(json.dumps(data1,indent=True))#It writes the updated data to the JSON file
element['processingTime']=Dict['M2']
jsonFile.close()#It closes the file
else:
continue
jsonFile=open('JSON_TwoServers_Output.json',"w")#It opens the JSON file
jsonFile.write(json.dumps(data,indent=True))#It writes the updated data to the JSON file
jsonFile.close()#It closes the file
#================================ Calling the ExcelOutput object, outputs the outcomes of the statistical analysis in Excel files =============================================#
#================================ Calling the ExcelOutput object, outputs the outcomes of the statistical analysis in Excel files =============================================#