Professional Documents
Culture Documents
IChemE PharmaProducts July2007
IChemE PharmaProducts July2007
Abstract: This article describes how batch process simulators and scheduling tools can be used
to facilitate and expedite development and commercialization of pharmaceutical products.
handle a batch in one cycle), estimate recipe cycle times, and out of the scope of such models. Some of these tools are
so on. quite customizable and third party companies occasionally
Production scheduling tools play an important role in man- use them as platforms to create industry-specific modules.
ufacturing (large scale as well as clinical). They are used to For instance, BioPharm Services, Ltd. (Bucks, UK) have
generate production schedules on an on-going basis in a created a module with emphasis on biopharmaceutical
way that does not violate constraints related to the limited processes that runs on top of Extend.
availability of equipment, labor resources, utilities, inventories MS Excel from Microsoft is another common platform for
of materials, and so on. Production scheduling tools close the creating models for pharmaceutical processes that focus on
gap between ERP/MRP II tools and the plant floor (Plenert material balances, equipment sizing, and cost analysis.
and Kirchmier, 2000). Production schedules generated by Some companies have even developed models in Excel
ERP (Enterprise Resource Planning) and MRPII (Manufac- that capture the time-dependency of batch processes. This
turing Resource Planning) tools are typically based on is typically done by writing extensive code (in the form of
coarse process representations and approximate plant macros and subroutines) in VBA (Visual Basic for Appli-
capacities and, as a result, solutions generated by these cations) that comes with Excel. K-TOPS from Alfa Laval Bio-
tools may not be feasible, especially for multi-product facili- kinetics, Inc. (Philadelphia, PA) belongs to this category.
ties that operate at high capacity utilization. That often In terms of production scheduling, established tools include
leads to late orders that require expediting and/or to large Optiflex from i2 Technologies, Inc. (Irving, TX), SAP APO
inventories in order to maintain customer responsiveness. from SAP AG (Walldorf, Germany), ILOG Plant PowerOps
‘Lean manufacturing’ principles, such as just-in-time pro- from ILOG SA (Gentilly, France), Aspen SCM (formerly
duction, low work-in-progress (WIP), and low product inven- Aspen MIMI) from Aspen Technology, Inc. (Cambridge,
tories cannot be implemented without good production MA), and so on. Their success in the pharmaceutical industry,
scheduling tools that can accurately estimate capacity. however, has been rather limited so far. Their primary focus
on discrete manufacturing (as opposed to batch chemical
manufacturing) and their approach to scheduling from a
COMMERCIALLY AVAILABLE SIMULATION AND
mathematical optimization viewpoint are some of the reasons
SCHEDULING TOOLS
of the limited market penetration.
Process simulation programs, also known as process SchedulePro from Intelligen, Inc. (Scotch Plains, NJ) is a
simulators, have been in use in the chemical and petrochem- new finite capacity scheduling tool that focuses on schedul-
ical industries since the early 1960s. Established simulators ing of batch and semi-continuous chemical and related
for those industries include: Aspen Plus and HYSYS from processes. It is a recipe driven tool with emphasis on gener-
Aspen Technology, Inc. (Cambridge, MA), ChemCAD from ation of feasible solutions that can be readily improved by the
Chemstations, Inc. (Houston, TX), and PRO/II from SimSci- user in an interactive manner.
Esscor, Inc. (Lake Forest, CA). Examples that illustrate the benefits from the use of simu-
The above simulators have been designed to model pri- lation and scheduling tools in the production of pharma-
marily continuous processes and their transient behaviour ceutical products follow.
for process control purposes. Most pharmaceutical products,
however, are produced in batch and semi-continuous mode.
MODELLING AND ANALYSIS OF A TABLET
Such processes are best modeled with batch process simu-
MANUFACTURING PROCESS
lators that account for time-dependency and sequencing of
events. Batches from Batch Process Technologies, Inc. We will use a tablet manufacturing process as a repre-
(West Lafayette, IN) was the first simulator specific to batch sentative example to demonstrate the use of process simu-
processes. It was commercialized in the mid-1980s. All of lation and scheduling tools in the development and
its operation models are dynamic and simulation always manufacturing of finished pharmaceutical products. To
involves integration of differential equations over a period of model an integrated process on the computer using Super-
time. In the mid-1990s, Aspen Technology introduced Batch Pro Designer, the user starts by developing a flowsheet that
Plus, a recipe-driven simulator that targeted batch pharma- represents the overall process. Figure 1, for instance, dis-
ceutical processes. At around the same time, Intelligen, Inc. plays part of the flowsheet of a tablet manufacturing pro-
(Scotch Plains, NJ) introduced SuperPro Designer. The initial cess. The flowsheet is developed by putting together the
focus of SuperPro was on production of APIs (synthetic and required unit procedures (see next paragraph for expla-
biosynthetic) and specialty chemicals. Over the years its nation), and joining them with material flow streams. Next,
scope has been extended to include modeling of processes the user initializes the flowsheet by registering the various
for the production of pharmaceutical and consumer products. materials that are used in the process and specifying
Discrete-event simulators have also found applications in operating conditions and performance parameters for the
the pharmaceutical industries, especially in modeling and various operations.
debottlenecking of packaging operations. Established tools Most pharmaceutical processes operate in batch or semi-
of this type include ProModel from ProModel Corporation continuous mode. This is in contrast to petrochemical and
(Orem, UT), Arena and Witness from Rockwell Automation, other industries that handle large throughputs and use con-
Inc. (Milwaukee, WI), Extend from Imagine That, Inc. (San tinuous processes. In continuous operations, a piece of
Jose, CA), and FlexSim from FlexSim Software Products, equipment performs the same action all the time. In batch
Inc. (Orem, UT). The focus of models developed with such processing, on the other hand, a piece of equipment goes
tools is usually on the minute-by-minute time-dependency through a cycle of operations. For instance, a Slurry Prep-
of events and the animation of the process. Material bal- aration step (P-1 in V-101) includes the following operations
ances, equipment sizing, and cost analysis tasks are usually (see Figure 2): Sanitize, Charge USP Water, Charge
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086– 1097
1088 PAPAVASILEIOU et al.
Sucrose, Charge API, Agitate, Transfer to Mill Recirculation costs). If the equipment size is specified by the user, the simu-
vessel, and Flush (clean equipment). In SuperPro, the set lator checks to make sure that the vessel is not overfilled. In
of operations that comprise a processing step is called a addition, the tool checks to ensure that the vessel contents
‘unit procedure’ (as opposed to a unit operation). The individ- will not fall below a user-specified minimum volume (e.g., a
ual tasks contained in a procedure (e.g., Charge, Heat, minimum stir volume) for applicable operations.
Agitate, and so on) are called operations. A unit procedure In addition to material balances, equipment sizing, and cycle
is represented on the screen with a single equipment-looking time analysis, the simulator can be used to carry out cost-of-
icon. In essence, a unit procedure is the recipe that describes goods analysis and project economic evaluation. The sections
the sequence of actions required to complete a single that follow provide illustrative examples of the above.
processing step. Figure 2 displays the dialogue through Having developed a good model using a process simulator,
which the recipe of a vessel unit procedure is specified. On the user may begin experimenting on the computer with
the left-hand side of that dialogue, the program displays the alternative process setups and operating conditions. This
operations that are available in a vessel procedure; on the has the potential of reducing the costly and time-consuming
right-hand side, it displays the registered operations. The sig- laboratory and pilot plant effort. Of course, the GIGO (gar-
nificance of the unit procedure is that it enables the user to bage-in, garbage-out) principle applies to all computer
describe and model the various activities of batch processing models. If critical assumptions and input data are incorrect,
steps in detail. so will be the outcome of the simulation.
For every operation within a unit procedure the simulator When modelling an existing plant, input data required by
includes a mathematical model that performs material and the model can be extracted from the data recorded by the
energy balance calculations. Based on the material balances, actual process. A communication channel must therefore
it performs equipment-sizing calculations. If multiple oper- be established between the modeller and the plant engin-
ations within a unit procedure dictate different sizes for a cer- eers. The application of some data mining technique is
tain piece of equipment, the software reconciles the different usually required to transform the process data to the form
demands and selects an equipment size that is appropriate required by the model. When designing a new plant, experi-
for all operations. The equipment is sized so that it is large ence from similar projects can be exploited to fill-in the infor-
enough that it will not be overfilled during any operation, but mation gaps. In all cases, a certain level of model verification
it is no larger than necessary (in order to minimize capital is necessary after the model is developed. In its simplest
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086–1097
OPTIMIZE MANUFACTURING OF PHARMACEUTICAL PRODUCTS 1089
Figure 2. The operations associated with the first unit procedure of Figure 1.
form, a review of the results by an experienced engineer can homogenization, the material is transferred into a 2000 L
play the role of verification. Running a sensitivity analysis on tank (V-103) where 70 kg of an excipient and 50 kg of a fla-
key input variables can reveal the parameters with the great- vouring agent are added along with 100 L of USP water.
est impact on the model’s most important outputs. These par- The material is agitated thoroughly for 5 h. Then, the material
ameters would then constitute the focal points in the data is transferred into another 2000 L tank (V-105) that feeds the
acquisition effort in an attempt to estimate their values and granulator. A stabilizer solution is prepared in a 500 L tank (V-
uncertainty limits with the best possible accuracy. 104) by dissolving 80 kg of the stabilizer into 180 L of USP
water. The stabilizer solution is combined with the homogen-
ized solution in V-105.
Process Description
In preparation for the granulation/drying step, mannitol is
The objective of this example is to illustrate how batch pro- added into the bowl of the granulator (GRN-101). Then the
cess simulators can be used to model, visualize, and analyse suspension is sprayed into the chamber of the granulator
fine pharmaceutical processes. It focuses on a process for at a rate of 120 kg h21. Almost all of the water is removed
manufacturing pharmaceutical tablets in an existing facility (final water content 0.005% w/w). The granulated/dried
whose equipment sizes are known. Such tools, however, material is removed from the granulator and stored into
also can be used to size equipment during the design of multiple 50 L mobile containers (MC-101). The granulator
new facilities. handles a batch of homogenized material in two cycles
The entire flowsheet of the process is shown in Figure 1. A because of its limited bowl volume that can hold up to
batch begins by charging 705 L of USP-Water into a 1500 L around 1350 L (or 600 kg) of bulk solids.
mixing tank (V-101), then adding 200 kg of sucrose and The mobile tanks are moved into the tablet press room.
400 kg of API. The suspension is agitated thoroughly for The tablet press (TBP-101) makes 0.5 g tablets at a rate of
8 h. Then the suspension is transferred into another 1500 L 250 000 tablets per hour. The processing of a batch is com-
tank (V-102) that feeds the nano-mill (NM-101). The role of pleted in approximately 9.6 h. The tablets are collected in a
the nano-mill is to homogenize the suspension thoroughly storage bin (DB-101).
and reduce the API particles to nanometer scale. This step Then, a tablet coater (TB-101) is used to coat the tablets
is required because this specific API is insoluble in water. with a material that gives them a sweet taste and a blue
The suspension is pumped through the nano-mill twice colour. A batch is processed in four cycles because the
during a period of 22 h. After the completion of the coater can handle up to around 300 kg of tablets per batch.
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086– 1097
1090 PAPAVASILEIOU et al.
Figure 3. Equipment occupancy chart for four consecutive batches. This figure is available in colour online via www.icheme.org/cherd
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086–1097
OPTIMIZE MANUFACTURING OF PHARMACEUTICAL PRODUCTS 1091
Figure 4. The operations Gantt chart. This figure is available in colour online via www.icheme.org/cherd
operations (synchronized to the two granulation operations in consequences. During design of new facilities or retrofit of
P-7) but for simplicity SuperPro represents that with a single existing ones, the information provided by such charts is
transfer-out operation that has the correct total duration. used for sizing utility systems.
Process scheduling in the context of a simulator is fully pro- In addition to instantaneous demand of resources, the
cess driven and the impact of changes can be analysed in a simulator provides the means to track the volumetric utiliz-
matter of seconds. For instance, the impact of an increase in ation of all vessels throughout the batch cycle. This allows
batch size (that affects the duration of charge, milling, granu- the user to track maximum working volumes over time, and
lation, and other scale-dependent operations) on the recipe ensure that the minimum stir volume is always met at any rel-
cycle time and the number of batches can be evaluated evant point in a process. The volume content of vessels is
instantly. Due to the many interacting factors involved with also used in sizing new vessels. For existing vessels, it deter-
even a relatively simple process, simulation tools that allow mines their capacity utilization by all procedures executed in
users to describe their processes in detail, and to quickly per- them. This, in turn, identifies the equipment-procedure pair
form what-if analyses, can be extremely useful. that constitutes the size bottleneck and determines the maxi-
Another characteristic of batch processing is the variable mum possible batch size that the plant can undertake. Any
demand for resources (e.g., labour, utilities and raw effort to exploit the economy of scale through larger batches
materials) as a function of time. For instance, Figure 5 dis- should first concentrate in removing the size bottleneck.
plays the demand for purified water (USP water) for eight Increasing the number of cycles for the offending procedure
consecutive batches. This demand includes USP water con- (i.e., split the batch in equal portions and process them
sumed for the CIP operations as well as USP water utilized separately through the bottleneck equipment), reshuffling
for preparing the product mixture. The red lines represent equipment between similar-type procedures based on their
the instantaneous demand whereas the green line represents capacity needs or introducing bigger equipment are some
the cumulative demand and corresponds to the y-axis on the of the ways by which a size bottleneck can be removed.
right-hand side. The blue line corresponds to daily demand
(the averaging period can be adjusted by the user). High
Cost Analysis
purity water is a common potential bottleneck in pharma-
ceutical processes. It is frequently used by multiple proces- Cost analysis and project economic evaluation are import-
sing steps simultaneously, in activities such as solution ant for a number of reasons. For a new product, if the com-
preparation and equipment cleaning. If not enough instan- pany lacks a suitable manufacturing facility with available
taneous (or cumulative) capacity is available, one or more capacity, it must decide whether to build a new plant or out-
process steps may be delayed, possibly with severe source the production. Building a new plant is a major capital
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086– 1097
1092 PAPAVASILEIOU et al.
Figure 5. USP-Water demand in eight consecutive batches. This figure is available in colour online via www.icheme.org/cherd
expenditure and a lengthy process. To make a decision, man- $0.14/tablet. Assuming a product selling price of $0.25/
agement must have information on capital investment tablet, the facility generates annual revenues of $160 million
required and time to complete the facility. When production and has an attractive return on investment.
is outsourced, a cost-of-goods analysis serves as a basis Table 3 provides a breakdown of the manufacturing cost,
for negotiation with contract manufacturers. A sufficiently including (two left columns) and excluding (two right col-
detailed computer model can be used as the basis for the dis- umns) the cost of API. A purchasing price of $500/kg
cussion and negotiation of the terms. Contract manufacturers was assumed for the API, resulting in an annual API cost
usually base their estimates on requirements of equipment of $52.2 million. When the cost of API is considered in
utilization and labor per batch, which is information that is the cost-of-goods, then, the cost of raw materials becomes
provided by a good model. SuperPro performs thorough the dominant cost (63% of total). If the cost of API is
cost analysis and project economic evaluation calculations. ignored, then, the facility overhead becomes the dominant
It estimates capital as well as operating cost. The cost of item of the manufacturing cost (75% of total). In the latter
equipment is estimated using built-in cost correlations that case, the unit production cost drops to $0.05/tablet. That
are based on data derived from a number of vendors and lit-
erature sources. The fixed capital investment is estimated
based on equipment cost and using various multipliers,
some of which are equipment specific (e.g., installation Table 2. Key economic evaluation results.
cost) while others are process specific (e.g., cost of piping, Capital investment 144 939 000 $
buildings, and so on). The approach is described in detail Operating cost 86 898 000 $/year
in the literature (Harrison et al., 2003). The rest of this section Production rate 638 960 000 Tablets/year
provides a summary of the cost analysis results for this Unit production cost 0.14 $/tablet
example process. Selling price 0.25 $/tablet
Total revenues 159 740 000 $/year
Table 2 shows the key economic evaluation results for this Gross margin 45.60 %
project. The fixed capital investment for a manufacturing facil- Return on investment 39.28 %
ity of this size is around $145 million. The annual operating Payback time 2.55 Years
cost (assuming the facility is dedicated to a single product) IRR (after taxes) 32.58 %
NPV (at 7.0% interest) 280 709 000 $
is around $87 million, resulting in a unit production cost of
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086–1097
OPTIMIZE MANUFACTURING OF PHARMACEUTICAL PRODUCTS 1093
Table 3. Breakdown of the annual manufacturing cost. (imposed by the granulator). Consequently, the only option
Including cost of API Excluding cost of API for throughput increase is by reducing the cycle time of the
time bottleneck equipment, which is the bin (DB-101) that
Cost item $/year % $/year % supplies material to the tablet coater (TB-101). The avail-
ability of a second bin of the same size (e.g., DB-101b) that
Raw Materials 54 805 000 63.07 2 605 000 7.51 handles alternating batches will eliminate that bottleneck
Labor 4 653 000 5.35 4 653 000 13.41
Facility-Overhead 26 048 000 29.98 26 048 000 75.07 and shorten the recipe cycle time to 27.4 h (the cycle time
Laboratory/QC/QA 1 163 000 1.34 1 163 000 3.35 of the base case is 30 h). The addition of a new bin shifts
Consumables 67 000 0.08 67 000 0.19 the time bottleneck to V-105, the tank that feeds the granula-
Utilities 162 000 0.19 162 000 0.47 tor. Addition of a new tank of the same size (e.g., V-105b)
Total 86 898 000 100.00 34 698 000 100.00
eliminates that bottleneck, reduces the recipe cycle time to
26.5 h, and shifts the bottleneck to V-102 (the tank that
feeds the nano-mill). Finally, addition of a new nano-mill feed-
is representative of the incremental cost of contract ing tank (V-102b) reduces the cycle time to 26 h. Figure 6
manufacturers. shows the equipment occupancy chart after the addition of
the new equipment (DB-101b, V-105b, and V-102b). The
new cycle time is 13.3% shorter than the original. Is it worth
installing two new blending tanks and a bin for a 13.3%
Cycle Time Reduction cycle time reduction? A definite answer to the question can
In a batch manufacturing facility, the annual throughput is be provided by performing a cost-and-benefits analysis
equal to the batch size times the number of batches that using the simulator. Additional information on cycle time
can be processed per year. Consequently, increasing the reduction and debottlenecking approaches and method-
batch size or the number of batches per year increases the ologies can be found in the literature (Petrides et al., 2002b).
annual plant throughput.
Process simulation tools enable users to readily exper-
Uncertainty and Variability Analysis
iment with options that have the potential of increasing the
batch size and/or reducing the cycle time. The base case Process simulation tools typically used for batch process
process already operates at its maximum batch size design, debottlenecking, and cost estimation employ
Figure 6. The equipment occupancy chart after the addition of the new equipment. This figure is available in colour online via www.icheme.org/cherd
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086– 1097
1094 PAPAVASILEIOU et al.
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086–1097
OPTIMIZE MANUFACTURING OF PHARMACEUTICAL PRODUCTS 1095
Figure 8. Calculated probability distribution for the cycle time of the entire process. This figure is available in colour online via www.icheme.org/
cherd
campaigned. Considerable changeover time is often required goes down or when the completion of a task is delayed.
between campaigns of different products. For the latter case, the user simply specifies the new com-
Scheduling tools employed in the pharmaceutical industry pletion time of the delayed operation and adjusts the sche-
must be able to quickly generate feasible solutions that dule to eliminate conflicts. The adjustment can be done
respect all the major constraints. Such tools must be automatically by the tool or manually by the user by drag-
equipped with intuitive interfaces that enable the scheduler ging and dropping activities in an interactive manner. In
to visualize and easily modify the schedule. For instance, if essence the chart becomes an intelligent electronic ‘Lego
a machine goes down or an operation is delayed, the schedu- Board’ whose activities are linked and conflicts are readily
ler must be able to quickly update the state of the system and identified and eliminated. Lego boards and other mechan-
generate a new feasible schedule. isms of manual scheduling are still prevalent in many
Being able to perform ‘what-if’ studies for capacity analysis pharmaceutical manufacturing facilities. Interactive sche-
exercises is another desirable feature. This is typically done duling tools that resemble the look of Lego boards are
by evaluating hypothetical production scenarios over a usually adopted without much resistance by manufacturing
period of months to years. Such analyses can provide justifi- personnel.
cations for facility expansions and/or outsourcing of pro- A production schedule is often constrained not by its main
duction (if the current facility cannot meet the expected equipment, but instead by the availability of labor and other
future demand). resources. For instance, Figure 10 displays the labour
Results of scheduling tools are communicated to stake- demand for line A of the schedule of Figure 9. The blue
holders through various charts and reports that provide lines represent the total instantaneous demand for labour.
information on tasks that must be executed during a certain The red line represents the maximum number of oper-
time period. Figure 9 displays a production schedule in the ators (10 in this case) in that production line. For short
form of a Gantt chart generated by SchedulePro. It corre- periods of time there is a need for a total of eleven oper-
sponds to a tablet manufacturing facility equipped with ators. Scheduling tools enable manufacturing personnel to
two production lines (A and B). The two production lines readily visualize and resolve such conflicts. The resolution
utilize dedicated main equipment but share two cleaning- of such conflicts is accomplished either by the scheduling
in-place (CIP) skids represented by the top two lines of algorithm or the user. It typically involves the delay of
the chart. The CIP skids can be used to clean equipment some operations that contribute to the peaks. If the facility
in either of the two lines. Line A includes a tablet coater, employs few floating operators for lines A and B, such con-
but not line B. Line A operates seven days a week whereas flicts also can be resolved by utilizing the floating operators
line B operates five days a week. The grey columns in line during peak demand periods.
B represent 48-h weekend breaks. A 24-h changeover time Constraints imposed by inventories of raw materials, inter-
is assumed between campaigns of different products to mediates, and final products and waste materials are handled
account for equipment adjustments and facility sanitization. in a similar manner. The tool calculates the level of materials
For instance, the white rectangles between the first and schedules accordingly (to avoid conflicts) or simply
(blue colour rectangles) and second (magenta colour rec- warns the user of conflicts due to inventories and lets him/
tangles) campaigns of line A represent such a 24-h change- her take corrective action.
over time. In summary, scheduling tools enable manufacturing
A production schedule is readily updated through the personnel to maintain a dynamic model of the entire
chart. Updates are required when a piece of equipment facility that evolves with time and facilitates generation of
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086– 1097
1096 PAPAVASILEIOU et al.
Figure 9. Production schedule in Gantt chart format. This figure is available online via www.icheme.org/cherd
Figure 10. Line-A labour demand as a function of time. This figure is available online via www.icheme.org/cherd
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086–1097
OPTIMIZE MANUFACTURING OF PHARMACEUTICAL PRODUCTS 1097
Trans IChemE, Part A, Chemical Engineering Research and Design, 2007, 85(A7): 1086– 1097