# TODO: really run knowledge extraction and change values:
workbook=xlrd.open_workbook('dream/KnowledgeExtraction/Mockup_ProcessingTimes.xls')#Using xlrd library opens the Excel document with the input data
worksheets=workbook.sheet_names()
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
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
data=parameter_dict#It loads the file
nodes=data['nodes']
lista=[]
for(element_id,element)innodes.iteritems():#This loop appends in a list the id's of the json file
element['id']=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
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
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
data=parameter_dict#It loads the file
nodes=data['nodes']
lista=[]
for(element_id,element)innodes.iteritems():#This loop appends in a list the id's of the json file
element['id']=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