Week#6
Week#6
FACULTY OF ENGINEERING
CAIRO UNIVERSITY
Contents
I. Introduction to Data-driven modeling
II. Preparing and using data in Data-driven modeling
III. Database in AnyLogic
IV. Utilizing database in AnyLogic
V. Manufacturing system model
utilized 1 Eqm _A
2 Eqm _B
1
1
1.3 weibull(10,5,0)
1 weibull(8,6,0)
weibull(1,2.5,0)
weibull(2,2.3,0)
3 Eqm _C 1 1.3 weibull(10,4,0) weibull(1.2,1.5,0)
• Each equipment has a speed factor, 4 Eqm _D
5 Eqm _E
2
1
0.95 weibull(7.5,3,0)
1.3 weibull(6,4.2,0)
weibull(3,2.5,0)
weibull(1.6,2.8,0)
making the process faster or slower 6 Eqm _F
7 Eqm _G
1
1
1 weibull(12,6.5,0)
1 weibull(14,4,0)
weibull(1.7,2.4,0)
weibull(3.6,1.5,0)
than the normal standard processing 8 Eqm _H
9 Eqm _I
1
1
1.05 weibull(6,3,0)
1 weibull(7,4,0)
weibull(1.5,3,0)
weibull(4,1.9,0)
time. 10 Eqm _J
11 Eqm _K
2
1
0.7 weibull(3,2.5,0)
1 weibull(15,4.5,0)
weibull(3.7,1.3,0)
weibull(3.2,1.8,0)
if (unit.par_productID==1){
processID=selectFrom(process_flow)
.where(process_flow.step_id.eq(unit.par_stepID))
.uniqueResult(process_flow.p1_process_id);}
Agent_EqmStation AgentEqm;
AgentEqm=findFirst(main.agent_EqmStations,
a -> a.par_EqmID ==agent.par_eqmID);
AgentEqm.enterTransferToEqm.take(agent);
String processExp=
selectFrom(process_information).where(process_information
.process_id.eq(agent.par_processID)).uniqueResult(process
_information.process_time_hr);
double processTime=executeExpression(double.class,
processExp);
return processTime;
From “process_information” table
Execute the >> the specific row that has the
Return the value expression to get a processID got from the agent_product
where the function specific value from according to its current processing step
is called the distribution got >> the corresponding process time from
(in the delay block) in the previous line the “process_time_hr” column
Questions