worksheet_ProcessingTimes=worksheets[0]#It defines the worksheet_ProcessingTimes as the first sheet of the Excel file
worksheet_ProcessingTimes=worksheets[0]#It defines the worksheet_ProcessingTimes as the first sheet of the Excel file
A=Import_Excel()#Call the Import_Excel object
A=Import_Excel()#Call the Import_Excel object
B=DistFittest()#Call the Distribution Fitting object
B=DistFittest()#Call the Distribution Fitting object
ProcessingTimes=A.Input_data(worksheet_ProcessingTimes,workbook)#Create a dictionary with the imported data from the Excel file
ProcessingTimes=A.Input_data(worksheet_ProcessingTimes,workbook)#Create a dictionary with the imported data from the Excel file
data=parameter_dict#It loads the file
data=parameter_dict#It loads the file
nodes=data['nodes']
nodes=data['nodes']
lista=[]
lista=[]
for(element_id,element)innodes.iteritems():#This loop appends in a list the id's of the json file
for(element_id,element)innodes.iteritems():#This loop appends in a list the id's of the json file
element['id']=element_id
element['id']=element_id
lista.append(element['id'])
lista.append(element['id'])
forelementinProcessingTimes:#This loop searches the elements of the Excel imported data and if these elements exist in json file append the distribution fitting results in a dictionary
forelementinProcessingTimes:#This loop searches the elements of the Excel imported data and if these elements exist in json file append the distribution fitting results in a dictionary