element['processingTime']=Dict['M1']#It checks using if...elif syntax if the name is 'Machine1', so the first machine in the Topology10
elifname=='Machine2':
element['processingTime']=Dict['M2']
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
jsonFile=open('JSON_TwoServers_Output.json',"w")#It opens the JSON file
jsonFile.write(json.dumps(data1,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 =============================================#