3.2 Information Collection
4.1.3 Testing with Simulated Data
87
Figure 3.10, shows the sequence diagram for the agent based job shop scheduling. Order arrival to the order agent is a stochastic process.
When an agent does a job that is not forwarded to another agent, the arrow showing that process points back to the agents itself. When the outcome of an agent‟s process is communicated to another agent the arrow indicating that process points forward to the receiving agent. The processes carried out by an agent are placed under that agent in the order in which they are done (figure 3.10).
Before the customer receives an order, he is expected to have paid for the order. It is the responsibility of the order release agent to notify each customer of their order completion and at the same time to send to them a demand notice for the cost.
88
the one that can be used for sorting. For example, one may sort an order according to ID or according to finishing type.
Table 3.5: Unsorted Customer Order Table Field Name Field Type Field
Width Description Primary Key
Order ID Integer 4 Identifies an order Yes
Order Date Date 8 Order date No
Order Size (kg) Integer 3 Size of order (Kg) No Finishing Type Integer 1 Type of finish Yes
Table 3.6: Sorted Customer Order Table Field Name Field Type Field
Width Description Primary Key
Order ID Integer 4 Identifies an order Yes
Order Date Date 8 Order date No
Order Size (kg) Integer 3 Size of order (Kg) No Order level Integer 1 How big an order
is No
Finishing Type Integer 1 Type of finish Yes
Field Name Field
Type Field
Width Description Primary
Key Order Month Integer 2 Month order was placed Yes
Finishing Type Integer 1 Type of Finish Yes
Bf1 (days) Integer 3 Days to Finish order Type with
Bunching Factor 1 No
Bf2 (days) Integer 3 Days to Finish order Type with
Bunching Factor 2 No
Bf3 (days) Integer 3 Days to Finish order Type with Bunching Factor 3
No
Best Bf Integer 1 Best Bunching Factor No
89
Table 3.7: Simulated Result for Ten (10) Different Order with Bf1, Bf2 and Bf3
Table 3.8: Scheduling Result for the Best Bunching Factor
Table 3.9: Release Date for Unsorted Order 1-10 Field Name Field
Type
Field Width
Description Primary
Key
Order Day Integer 2 Order Day (1 to 30) Yes
Order Month Integer 2 Month of Order Yes
Best Bf Integer 1 Best Bunching Factor No
Finishing Type Integer 1 Type of Finish Yes
Order Size (kg) Integer 3 Size of Order (kg) No Release Days Integer 3 How Long it takes to Release
Order
No Earliest Event
Date Character 8 Earliest Time for Release No
Latest Event
Date Character 8 Latest Time for Release No
Field Name Field
Type Field
Width Description Primary Key
Order Day Integer 3 Day Order was Placed No
Order Release
Days for Month 1 Integer 3 Order Release Day in Month
1 Yes
Order Release
Days for Month 2 Integer 1 Order Release Day in Month
2 Yes
Order Release
Days for Month 3 Integer 1 Order Release Day in Month
3 Yes
Order Release
Days for Month 4 Integer 3 Order Release Day in Month
4 Yes
Order Release Days for Month 5
Integer 3 Order Release Day in Month 5
Yes Order Release
Days for Month 6 Integer 3 Order Release Day in Month
6 Yes
90
Table 3.10: Release Date for sorted Order 1-10 Order Release
Days for Month 7 Integer 3 Order Release Day in Month
7 Yes
Order Release
Days for Month 8 Integer 3 Order Release Day in Month
8 Yes
Order Release
Days for Month 9 Integer 3 Order Release Day in Month
9 Yes
Order Release
Days for Month 10 Integer 3 Order Release Day in Month
10 Yes
Field Name Field
Type Field
Width Description Primary Key
Order Day Integer 3 Day Order was Placed No
Order Release Days for Month 1
Integer 3 Order Release Day in Month 1
Yes Order Release
Days for Month 2 Integer 1 Order Release Day in Month
2 Yes
Order Release Days for Month 3
Integer 1 Order Release Day in Month 3
Yes Order Release
Days for Month 4 Integer 3 Order Release Day in Month
4 Yes
Order Release Days for Month 5
Integer 3 Order Release Day in Month 5
Yes Order Release
Days for Month 6 Integer 3 Order Release Day in Month
6 Yes
Order Release Days for Month 7
Integer 3 Order Release Day in Month 7
Yes Order Release
Days for Month 8 Integer 3 Order Release Day in Month
8 Yes
Order Release Days for Month 9
Integer 3 Order Release Day in Month 9
Yes Order Release
Days for Month 10 Integer 3 Order Release Day in Month
10 Yes
91
CHAPTER FOUR
RESULTS AND DISCUSSION 4.0 Preamble
This chapter presents the implementation of the proposed agent-based job shop schedulingmodel to achieve the aim and stated objectives. The analysis was done using ten (10) monthorder obtained from the case study companyto achieve a model result as conceived. The model result agreed with the classical model during validation.