David Nelson, Gary Roseme - Nelson & Roseme, Inc. / Steve Delk1
Visual MESA© is a steam system optimization and management computer program that was originally developed at Chevron and now marketed by Nelson & Roseme, Inc. Visual MESA is currently used at refinery and chemical manufacturing sites to optimize the overall site steam system and the parts of the electrical system that economically trade off with the steam system.
This paper will explore significant optimization variables and constraints commonly encountered in refinery steam system optimization, the strategies Visual MESA uses to deal with them.
The key steam optimization problems to examine include:
Steam systems at oil refineries and other large industrial complexes such as pulp and paper mills or large chemical plants are very large energy users that have many degrees of freedom. Manipulating these degrees of freedom with a cost based optimization program usually can result in significant savings in operating costs for a small investment. This is particularly important with electrical deregulation in the United States. Since the electrical system is the main economic trade-off with a steam system, electrical deregulation provides many new challenges to operating the combined systems at minimum cost.
The extreme swings in electric price have resulted in the following operating scenarios that would rarely have been considered before:
High incremental electric prices found during electric shortages have resulted in economics to shut down some plant production (of product) and replace that production at some other site (with lower incremental electric prices). This results in extreme savings in electric purchases or increases in electric sales.
Low incremental electric prices can result in economics that suggest shutting down gas turbine cogeneration trains, especially at night. In the this paper, Visual MESA will be described and then the meat of the paper will focus on the key optimization variables and constraints in steam system optimization and how they should be handled. This paper will not try to describe all the features of Visual MESA or fully explain on-line optimization technology.
VISUAL MESA is a steam monitoring, modeling, optimization, auditing and accounting program used to manage steam and electricity in refineries, chemical plants and other large or complex facilities. Visual MESA was developed by Chevron Research and Technology in the early 1990's and deployed on-line at the three major domestic Chevron refineries. Visual MESA is now marketed worldwide by Nelson & Roseme, Inc. Visual MESA has four major sets of features:
VISUAL MESA for Monitoring
Visual MESA helps manage your steam system by monitoring all variables and providing alerts on important changes. It tracks key operating parameters including economics. It helps in emergencies with directed load shed advice.
VISUAL MESA for Optimization
Visual MESA find show to run the steam system at minimum operating cost using SQP optimization. The optimization is customized to your facility so no infeasible or unsafe moves are recommended.
VISUAL MESA for "What If?"
Use Visual MESA to predict how your steam system will respond to a proposed change such as a new plant, a plant change, a shutdown or whatever YOUR facility needs to understand.
VISUAL MESA for Accounting and Auditing
Using Visual MESA's data validation techniques, you can accurately account for steam use and track down waste and inefficiencies wherever they exist. In the rest of this paper we will now focus on the optimization features within Visual MESA.
Visual MESA is built on the steam system modeling program MESA (Modular Energy System Analyzer) from the MESA companyi. The SQP (Successive Quadratic Programming) optimizer from L. Lasdonii at the University of Texas at Austin is used for all optimization although it has been significantly tuned and customized for steam system optimization where there are many mixed integer problems.
Visual MESA has the required features implementing on-line optimization including:
Optimization variables are those variables where you have a relatively free choice on what that value might be. For example, the rate a particular boiler operates is a free choice as long as the total steam production is satisfied, thus each boiler flow can be optimized such that the most efficient boilers production is maximized. There are two kinds of optimization variables that must be handled in optimizing a steam system:
Constrained variables are those variables that cannot be freely chosen by the optimizer but must be limited for practical operation. There are two kinds of constraints to handle in steam system optimization:
This section will describe and discuss several of the important optimizations found in refinery steam systems.
Single and dual fuel boilers are optimized in similar ways. Here we will show an example of a dual fuel boiler.
To model a dual fuel boiler requires a single real boiler be broken up into two MESA boiler blocks. A dual fuel boiler that can fire both fuels at the same time is shown at the right. B3-GAS represents the gas burners and B3-OIL represents the oil burners. You are required to specify the duties for each set of burners independently so an on-line heat duty calculation is required. The steam flow is used to bias the efficiency of B3-GAS so the total predicted and measured steam flows match. The efficiency of B3-OIL is controlled to be a fixed percent of the efficiency of B3-GAS.
The two optimizers manipulate the heat duty of the respective fuel burners. The limits should represent the firing limits of the respective burners. The constraint on the meter limits the flow of the boiler within its normal operating range.
When optimizing dual fuel boilers the following factors are important to capture in the model:
These factors are important to capture because dual fuel optimizations are not just controlled by the relative boiler efficiencies but also the costs of the fuels. They are limited by real constraints in the refinery, which specify that so much of a particular fuel must be burned in the refinery because there it is produced as a byproduct in the refinery and can not be sold. It must be burned. In the US refineries this is typically a fuel gas constraint. There may also be a total limit on a cheap internal fuel source as well. The intersection of all these variable provides a very complex optimization that can have very profound economics.
Steam Production Cushion
When a boiler optimization allows boilers to shut down you must deal with a constraint on the steam production spare capacity (sometimes known as steam cushion). If you don't deal with this constraint Visual MESA will tend to aggressively shutdown boilers until you will have very little spare capacity. This may be the minimum operating cost method to operate the steam system but it is not operationally robust. Without some spare capacity built into the system, a small steam failure could cascade into an entire facility shutdown. Here is how to deal with the steam production cushion constraint.
Create a Logic Drawing Using MESA Blocks
In most Visual MESA models, schematics are created that represent the real physical steam system. We can also use the MESA blocks to do logical and arithmetic calculations for other uses. The drawing below is a logic drawing that determines the total and spare steam production capacity for a steam system with three fired boilers.
Here is how to select values for the minimum of the Total Spare Capacity constraint.
Extraction/Condensing Drive Turbines
Optimizing Extraction/Condensing drive turbines is very common especially in ethylene plants. The compressor drives are typically > 10,000 HP. On a drive turbine the mechanical power of the turbine must remain constant (the process is expecting a constant power output). Here is an example:
A single condensing extraction turbine models as two separate turbines. One from throttle pressure to the extraction pressure and one from the extraction to vacuum pressure.
The accumulator component on the far right calculates the total power from the drive turbine. The constraint above it is an equality constraint on mechanical power. This insures that the mechanical power of the unit remains constant at all times during optimization. The correct mechanical power is determined from the simulation results.
In many turbine optimization like this there are two degrees of freedom to optimize but we know all three flows. Selecting which flows to optimize is usually not important for the optimization. In this case we selected the optimization of the high- pressure turbine throttle flow and the low-pressure turbine exhaust flow. The extraction steam is determined by difference and is limited with in its operating limits with the constraint block.
It is very important on condensing turbines like this to know the surface condenser pressure accurately. The amount of power produced in the low-pressure section of the turbine is extremely sensitive to this number.
Good efficiency curves are also important to have especially if there are multiple, parallel drives turbines in the system.
Spared Pump Optimization
Spared Pump optimizations are mixed integer optimizations problems where you must decide which pump to operate for a predetermined process need. The simple and most typical cases is where you have a two identical spared drives, one driven by a steam turbine and one driven by a electric motor and you are trying to select the least cost option. This will not be described here. A more complicated case that will be described is when you have several drives, not necessarily the same size, in a shared service and you have to choose the optimal set of drives to operate. First some general comments about this problem:
Cooling Tower Drives Example
Here is an example of a set of cooling tower pump drives there are four 500 HP pumps. One is driven by a high pressure to medium pressure back pressure turbine, one by a high pressure to condensing turbine and two by motors. Currently, three of the pumps are running (the two turbines and one motor). The optimizer can manipulate the pumps but must maintain three in operation.
Optimizers are connected to each of the drives. These optimizer icons instruct the overall site optimizer to determine if the respective pumps operate.
The CT-1-GROUP icon on the far right is an optimization group accumulator. It is a special kind of accumulator that adds up the mechanical power of each of the drives and then controls the total power during optimization. It does the following:
In this paper Visual MESA, an on-line steam management program was described. We also discussed several of the key optimization problems found in a typical oil refinery steam system such as boiler optimization, extraction-condensing turbine optimization and spared pump optimization and described how those problems are handled in Visual MESA.
i S. Delk, MESA Manual, The MESA Company , 1997
ii Y.Fan, S. Sarkar, and L. Lasdon, "Experiments with Successive Quadratic Programming Algorithms," Journal of Optimization Theory and Applications, Vol. 56, No. 3, March 1998.
NELSON & ROSEME, Inc.
Argentina: +54 (11) 45555703 - Brasil: +55 (11) 55332381 Venezuela: +58 (212) 2641873 - México: +52 (55) 5546-5440 Europe: +34 (93) 3753503 www.soteica.com - email@example.com