User:Casilett

From Wikipedia, the free encyclopedia

Work in progress

Batch Production Scheduling[edit]

Background[edit]

Batch production scheduling is the practice of planning and scheduling of batch manufacturing processes. See Batch production. Although, scheduling may apply to traditionally continuous processes, such as refining [1][2], it is especially important for batch processes such as those for pharmaceutical active ingredients, biotechnology processes and many specialty chemical processes [Petrides refs]. Batch production scheduling shares some concepts and techniques with finite capacity scheduling which has been applied to many manufacturing problems [3]. The specific issues of scheduling batch manufacturing processes have generated considerable industrial and academic interest.

Scheduling in the Batch Processing Environment[edit]

A batch process can be described in terms of a recipe which comprises a bill of materials and operating instructions which describe how to make the product. [4] The ISA S88 batch process control standard [5] provides a framework for describing a batch process recipe. The standard provides a procedural hierarchy for a recipe. A recipe may be organized into a series of unit-procedures or major steps. Unit-procedures are organized into operations, and operations may be further organized into phases.

The following text-book recipe [6] illustrates the organization.

  • Charge and Mix materials A and B in a heated reactor, heat to 80C and react 4 hours to form C.
  • Transfer to blending tank, add solvent D, Blend 1hour. Solid C precipitates.
  • Centrifuge for 2 hours to separate C.
  • Dry in a tray dryer for 1 hour.

Example Batch Process

A simplified S88-style procedural organization of the recipe might appear as follows:

  • Unit Procedure 1: Reaction
    • Operation 1: Charge A & B (0.5 hours)
    • Operation 3: Blend / Heat (1 hour)
    • Operation 4: Hold at 80C for 4 hours
    • Operation 5: Pump solution through cooler to blend tank (0.5 hours)
    • Operation 5: Clean (1 hour)
  • Unit Procedure 2: Blending Precipitation
    • Operation 1: Receive solution from reactor
    • Operation 2: Add solvent, D (0.5 hours)
    • Operation 3: Blend for 2 hours
    • Operation 4: Pump to centrifuge for 2 hours
    • Operation 5: Clean up (1 hour)
  • Unit Procedure 3: Centrifugation
    • Operation 1: Centrifuge solution for 2 hours
    • Operation 2: Clean
  • Unit Procedure 4: Tote
    • Operation 1: Receive material from centrifuge
    • Operation 2: Load dryer (15 min)
  • Unit Procedure 5: Dry
    • Operation 1: Load
    • Operation 2: Dry (1 hour)

Note that the organization here is intended to capture the entire process for scheduling. A recipe for process-control purposes may have a more narrow scope.

Most of the constraints and restrictions described by Pinedo[7] are applicable in batch processing. The various operations in a recipe are subject to timing or precedence constraints that describe when they start and or end with respect to each other. Furthermore, because materials may be perishable or unstable, waiting between successive operations may be limited or impossible. Operation durations may be fixed or they may depend on the durations of other operations.

In addition to process equipment, batch process activities may require labor, materials, utilities and extra equipment.

Cycle-Time Analysis[edit]

In some simple cases, an analysis of the recipe can reveal the maximum production rate and the rate limiting unit. In the process example above if a number of batches or lots of Product C are to be produced, it is useful to calculate the minimum time between consecutive batch starts (cycle-time). If a batch is allowed to start before the end of the prior batch the minimum cycle-time is given by the following relationship [8]:

Where CTmin is the shortest possible cycle time for a process with M unit-procedures and τj is the total duration for the jth unit-procedure. The unit-procedure with the maximum duration is sometimes referred to as the bottleneck. This relationship applies when each unit-procedure has a single dedicated equipment unit.
Cycle-Time (CT) for a Batch Process with Dedicated Equipment- Two Consecutive Batches

If redundant equipment units are available for at least one unit-procedure, the minimum cycle-time becomes:<br\>

Where Nj is the number of redundant equipment for unit procedure j.

Cycle-Time with Two Reactors – Four Consecutive Batches

If equipment is reused within a process, the minimum cycle-time becomes more dependent on particular process details. For example, if the drying procedure in the current example is replaced with another reaction in the reactor, the minimum cycle time depends on the operating policy and on the relative durations of other procedures. In the cases below, and increase in the hold time in the tote can decrease the average minimum cycle time.
Example with Two Reaction Steps – One Hour Hold in Tote CTmin = 12h 45 min
with a Four Hour Hold in the Tote, Avg. CTmin = 10h 30min. (6 Batches)

Visualization[edit]

Various charts are used to help schedulers visually manage schedules and constraints. The Gantt chart is a display that shows activities on a horizontal bar graph in which the bars represent the time of the activity. Below is an example of a Gantt chart for the process in the example described above.
Gantt Chart for a Batch Process
Another time chart which also sometime called a Gantt chart[9] shows the time during which key resources, e.g. equipment, are occupied. The previous figures show this occupancy-style Gantt chart.

Resources that are consumed on a rate basis, e.g. electrical power, steam or labor, are generally displayed as consumption rate vs time plots.
Example Labor vs Time Chart

Algorithmic Methods[edit]

When scheduling situations become more complicated, for example when two or more processes share resources, it may be difficult to find the best schedule. A number of common scheduling problems, including variations on the example described above, fall into a class of problems that become very difficult to solve as their size (number of procedures and operations) grows[10].<br\>

A wide variety of algorithms and approaches have been applied to batch process scheduling. Early methods, which were implemented in some MRP systems assumed infinite capacity and depended only on the batch time. Such methods did not account for any resources would produce infeasible schedules.[11]<br\>

Mathematical programming methods involve formulating the scheduling problem as an optimization problem where some objective, e.g. total duration, must be minimized (or maximized) subject to a series of constraints which are generally stated as a set of inequalities and equalities. The objective and constraints may involve zero-or-one (integer) variables as well as nonlinear relationships. An appropriate solver is applied for the resulting mixed-integer linear or nonlinear programming (MILP/MINLP) problem. The approach is theoretically guaranteed to find an optimal solution if one exists. The disadvantage is that the solver algorithm may take an unreasonable amount of time. Practitioners may use problem-specific simplifications in the formulation to get faster solutions without eliminating critical components of the scheduling model. [12]

Constraint programming is a similar approach except that the problem is formulated only as a set of constraints and the goal is to arrive at a feasible solution rapidly. Multiple solutions are possible with this method.[13][14]

Notes[edit]

  1. ^ Marcus V. Magalhaes and Nilay Shah, “Crude Oil Scheduling,” Foundations of Computer-Aided Operations (FOCAPO) 2003,pp 323-325.
  2. ^ Zhenya Jia and Marianthi Ierapetritou, “Efficient Short-Term Scheduling of Refinery Operation Based on a Continuous Time Formulation,” Foundations of Computer-Aided Operations (FOCAPO) 2003, pp 327-330
  3. ^ Michael Pinedo, Scheduling Theory, Algorithms, and Systems,Prentice Hall, 2002,pp 1-6.
  4. ^ T. F. Edgar, C.L. Smith, F. G. Shinskey, G. W. Gassman, P. J. Schafbuch, T. J. McAvoy, D. E. Seborg, Process Control, Perry’s Chemical Engineer’s Handbook, R. Perry and D. W. Green eds.,McGraw Hill, 1997,p 8-41.
  5. ^ Charlotta Johnsson, S88 for Beginners, World Batch Forum, 2004.
  6. ^ L.T. Biegler, I. E. Grossman and A. W. Westerberg, Systematic Methods of Chemical Process Design, Prentice Hall, 1999 p181.
  7. ^ M. Pinedo, 2002, pp 14-22.
  8. ^ Biegler et al. 1999, p187
  9. ^ M. Pinedo, 2002, p430
  10. ^ M. Pinedo, 2002, p28
  11. ^ G. Plenert and G/ Kirchmier, 2000, pp38-41
  12. ^ C. Mendez, J. Cerda, I. Grossman, I. Harjunkoski, M. Fahl, State of the art Review of Optimization Methods for Short Term Scheduling of Batch Processes, Computers and Chemical Engineering, 30 (2006), pp 913-946
  13. ^ I. Lustig, Progress in Linear and Integer Programming and Emergence of Constraint Programming, Foundations of Computer-Aided Operations (FOCAPO) 2003, 133-151
  14. ^ L. Zeballos and G.P. Henning, A Constraint Programming Approach to the Multi-Stage Batch Scheduling Problem, Foundations of Computer-Aided Operations (FOCAPO), 2003, 343-346