Abstract
David Nelson, Gary Roseme  Nelson & Roseme, Inc. / Steve Delk^{1}
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:
 Boiler optimization including dual fuel boilers
 Gas turbine optimization
 Turbo generator optimization (spared pump optimization & single turbine sparing a single motor )
 Multiple pumps with mixed drives in the same service (e.g. cooling tower drives)
 Extractioncondensing turbines (either drive turbines or turbogenerators)
 Steam production excess capacity constraints
 Fuel system constraints
Introduction
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 tradeoff 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 online optimization technology.
What is Visual MESA
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 online 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 online optimization including:
 Data validation
 Steadystate detection
 Online model identification
 Control system interfaces
 Closedloop model and control system reliability and feasibility checks
Optimization Variables
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:
 Continuous variables such as steam production from a fired boiler or steam flow through a steam driven turbogenerator. It is also important to determine if the unit should be shutdown recognizing the minimum operating limit of the unit.
 Discrete variables where the optimizer has to basically decide if a particular piece of equipment will operate or not. The most common occurrence of this kind of optimization in refinery steam system is spared pump optimization where you have to choose which of two pumps to operate, one of which is driven by a steam turbine and one by an electrical motor.
Constrained Variables
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:
 Direct Equipment Constraints. An example of a direct equipment constraint is turbogenerator power output. In a turbogenerator you may optimize the steam flows through the generator within specified flow limits but there will also be a maximum power production limit.
 Abstract Constraints. An abstract constraint is one where the variable is not directly measured in the system or a constraint that is not a function of a single piece of equipment. An example of this type of constraint is steam cushion (or excess steam production capacity). Steam cushion is a measure of the excess capacity in the system. If this kind of constraint were not utilized then an optimizer would usually recommend that the absolute minimum number of steam producers be operated. This is unsafe because the failure of one of the units could shut down the entire facility.
Optimization Examples
This section will describe and discuss several of the important optimizations found in refinery steam systems.
Boiler Optimization
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. B3GAS represents the gas burners and B3OIL represents the oil burners. You are required to specify the duties for each set of burners independently so an online heat duty calculation is required. The steam flow is used to bias the efficiency of B3GAS so the total predicted and measured steam flows match. The efficiency of B3OIL is controlled to be a fixed percent of the efficiency of B3GAS.
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:
 An online method of measuring efficiency.
 A method that independently measures the efficiency of each fuel.
 Accurate costs of the respective fuels.
 A constraint that accurately limits the total consumption of the respective fuels. These limits may be specified by a "have to burn or fuel gas" limit on the lower limit and an emission limit on maximum limit.
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.
 In the upper left is a collector (or tank) component that adds up the total flow of all the boilers. In its specification is the name of each boiler.
 On the right side are three controller inlet pairs. These are the most important items in this problem. The purpose of these items is to calculate each boilers maximum capacity. The capacity is determined by the flow of the boiler. For the boilers in this example the minimum operating flow is 50 and the maximum is 150. The following table of values is used translate the current flow into capacity:

 Boiler Flow
 Boiler Capacity
 0.01 50 10 55 150
 This table is utilized to provide the SQP optimizer derivative (slope) information. If we don't have a continuously increasing values the derivative would be zero and the optimizer would not have any directional information on how to satisfy the constraint.
 The total available capacity is then added up.
 A meter block is used to subtract the current generation from the current capacity.
 The result is the Total Spare Capacity.
 A constraint is used to insist that the spare capacity be above some minimum value. Usually the constraint should allow the bounds to expand so the optimizer is not penalized for current operation outside the limit and also to prevent infeasible solutions when it is impossible to satisfy the minimum limit.
Here is how to select values for the minimum of the Total Spare Capacity constraint.
 This number is basically an insurance policy. The larger the number, the safer the operation. Higher values, however, cost money because it makes you run more equipment then absolutely necessary and typically there are large savings from shutting down your most inefficient steam producers.
 A value of 0.0 indicates no spare capacity. If any boiler trips you cannot supply the steam required by the plant
 A conservative number to use is the maximum capacity of the largest steam generator online. Then, if your largest generator fails, you will be insured that you have enough spare capacity online to service the facility.
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 lowpressure 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 lowpressure 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:
 The drives optimized typically will not be very large (> 100 HP but < 1000 HP) because large process driver like a compressor are two expensive to spare.
 There will be lots of drives to optimize. An older refinery that has small turbine drives might have several hundred in the plant.
 The turbine efficiencies will be pretty low (on the order of 35% isentropic efficiency) and be very hard to determine because of the size of the turbine
 The process will dictate how many drives to operate and the optimizer will only need to select the correct ones.
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 CT1GROUP 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:
 Based on its specification, it specifies the mechanical power for each drive, the optimizer limits and the constraint limits connected to it
 It also has the built in intelligence to simplify the optimization. For example if all the drives in a group were operating it would make the optimizers unavailable because there are no options. You must run all drives.
 The constraint hooked to the CT1GROUP is either an equality or a minimum constraint on the total mechanical power of all operating pumps. In other words, it requires the optimizer to maintain at least as much total mechanical power from all pumps at the end of the optimization as current operation requires.
Conclusions
In this paper Visual MESA, an online 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, extractioncondensing 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) 55465440 Europe: +34 (93) 3753503 www.soteica.com  info@soteica.com
업종

기초화학
Yokogawa는 세계적으로 벌크 화학 시장에 서비스를 제공해 왔으며 이 시장에서 인정받는 선두 주자입니다. Yokogawa는 제품, 솔루션 및 업계 전문 기술을 통해 시장 및 생산 요구 사항을 이해하고 플랜트의 라이프 사이클을 통해 안정적이고 효율적인 솔루션을 제공하기 위해 협력합니다.

석유화학
석유화학 업종 고객사의 요구는 매우 다양합니다. 경쟁이 치열한 오늘날의 시장에서 앞서 나간다면, 생산자는 품질과 생산성을 향상시키기 위해 노력하고 있습니다. Yokogawa는 이 분야에서의 오랜 기간의 광범위한 경험을 바탕으로 이러한 요구에 맞는 맞춤 솔루션을 제공합니다.

오일 및 가스관련 다운스트림
석유 및 가스 산업은 최근 몇 년간 어려움이 커지고 있습니다. 여기에는 처리할 원료의 변화하는 특성, 공정 설비 및 장비의 고령화, 에너지 비용의 상승, 정유 공장을 안전하고 효율적으로 운영할 수 있는 숙련 된 플랜트 운영자의 부족, 그리고 시장과 시장의 끊임없이 변화하는 요구 사항이 포함됩니다.
지난 수년간 Yokogawa와는 많은 어려움을 겪고 있는 산업 솔루션을 제공하기 위해 여러 다운스트림 회사와 파트너 관계를 맺어 왔습니다. Yokogawa의 VigilantPlant 솔루션은 플랜트 소유자가 플랜트 내에서 최대한의 수익성과 지속 가능한 안전을 달성하도록 도왔습니다.

정유
끊임없이 변화하는 시장에서 정유설비는 원유 처리 장치뿐만 아니라 이익센터로도 인식됩니다. 동시에 그러한 시설에서 안전의 필요성에 대한 각별한 인식이 있습니다. 계획, 스케줄링, 관리 및 제어를 포함하는 총 생산 솔루션은 수익성, 효율성 및 환경 보호를 위한 장기 목표를 달성하는 데 필요합니다. Yokogawa는 자동화 분야에서 수년간 축적 된 전문성을 바탕으로 보다 향상된 작업성 및 보다 깨끗한 세상을위한 효율적인 솔루션을 제공합니다.

제지 및 펄프
제지 및 펄프 산업에서는 경쟁이 심하고 끊임없이 변화하는 시장 요구를 충족시켜야 합니다. Yokogawa는 이러한 시장 환경에서 전 세계적으로 지속 가능한 에너지 효율적 플랜트를 실현하는 데 도움을 줍니다.

화학
화학 플랜트는 연속 및 Batch 생산 공정에 의존하며, 각각은 제어 시스템에 대한 다양한 요구 사항을 제시합니다. 연속 공정은 실패하지 않고 생산 라인을 중단시키는 견고하고 안정적인 제어 시스템을 필요로하는 반면, Batch 공정의 중요성은 수식, 절차 및 공정을 조정하는 데 있어 큰 유연성을 허용하는 제어 시스템을 갖추는 데 있습니다. 두 종류의 시스템 모두 제품의 사용 가능한 품질 내역에서 관리되어야 하며 비일상적인 작업을 수행할 수 있어야 합니다. Yokogawa는 광범위한 제품 포트폴리오, 숙련된 시스템 엔지니어 및 글로벌 영업 및 서비스 네트워크를 통해 모든 공장 공정에 대한 솔루션을 제공합니다.