We propose a discrete-time formulation for optimization of scheduling in crude-oil refineries considering both the logistics details practiced in industry and the process feed diet and quality calculations. The quantity-logic-quality phenomena (QLQP) involving a non-convex mixed-integer nonlinear (MINLP) problem is decomposed considering first the logistics model containing quantity and logic variables and constraints in a mixed-integer linear (MILP) formulation and, secondly, the quality problem with quantity and quality variables and constraints in a nonlinear programming (NLP) model by fixing the logic results from the logistics problem. Then, stream yields of crude distillation units (CDU), for the feed tank composition found in the quality calculation, are updated iteratively in the following logistics problem until their convergence is achieved. Both local and global MILP results of the logistics model are solved in the NLP programs of the quality and an ad-hoc criteria selects to continue those among a score of the MILP+NLP pairs of solutions. A pre-scheduling reduction to cluster similar quality crude-oils decreases the discrete search space in the possible superstructure of the industrial-sized example that demonstrates our tailor-made decomposition scheme of around 3% gap between the MILP and NLP solutions.
FEEDSTOCK STORAGE ASSIGNMENT IN PROCESS INDUSTRY QUALITY PROBLEMS (Poster)Brenno Menezes
We propose a mixed-integer linear (MILP) model for the design of assignments of various raw materials with different qualities when moving them from external supply sources to shared storages. This is especially important in process industries with limited storage and quality blend programs optimizing a plant feed diet for ongoing operations involving process units, inventory control and product demands, as found in crude-oil, ore/metal and food processing industries. This novel storage assignment problem minimizes the quality deviation when a larger number of feedstocks from marine vessels or ships are clustered into a smaller number of containers or storages in the plant, known as the Pigeonhole Principle, allocating the raw material to a definite place in an orderly system. Although the model only uses raw material quality data and neglects logistics details such as raw material supply amounts, timing and volume available in the storage, the simplification can be partially circumvented by splitting the raw material into two or more species with same qualities in order to fit into the storages. Examples dealing with 5 to 45 different crude-oil feedstocks clustered into 4 storage tanks demonstrate the proposed model, which yields the optimum storage assignment within minutes for industrial-scale problems.
FEEDSTOCK STORAGE ASSIGNMENT IN PROCESS INDUSTRY QUALITY PROBLEMSBrenno Menezes
We propose a mixed-integer linear (MILP) model for the design of assignments of various raw materials with different qualities when moving them from external supply sources to shared storages. This is especially important in process industries with limited storage and quality blend programs optimizing a plant feed diet for ongoing operations involving process units, inventory control and product demands, as found in crude-oil, ore/metal and food processing industries. This novel storage assignment problem minimizes the quality deviation when a larger number of feedstocks from marine vessels or ships are clustered into a smaller number of containers or storages in the plant, known as the Pigeonhole Principle, allocating the raw material to a definite place in an orderly system. Although the model only uses raw material quality data and neglects logistics details such as raw material supply amounts, timing and volume available in the storage, the simplification can be partially circumvented by splitting the raw material into two or more species with same qualities in order to fit into the storages. Examples dealing with 5 to 45 different crude-oil feedstocks clustered into 4 storage tanks demonstrate the proposed model, which yields the optimum storage assignment within minutes for industrial-scale problems.
CRUDE-OIL BLEND SCHEDULING OPTIMIZATION OF AN INDUSTRIAL-SIZED REFINERY: A DI...Brenno Menezes
We propose a discrete-time formulation for optimization of scheduling in crude-oil refineries considering both the logistics details practiced in industry and the process feed diet and quality calculations. The quantity-logic-quality phenomena (QLQP) involving a non-convex mixed-integer nonlinear (MINLP) problem is decomposed considering first the logistics model containing quantity and logic variables and constraints in a mixed-integer linear (MILP) formulation and, secondly, the quality problem with quantity and quality variables and constraints in a nonlinear programming (NLP) model by fixing the logic results from the logistics problem. Then, stream yields of crude distillation units (CDU), for the feed tank composition found in the quality calculation, are updated iteratively in the following logistics problem until their convergence is achieved. Both local and global MILP results of the logistics model are solved in the NLP programs of the quality and an ad-hoc criteria selects to continue those among a score of the MILP+NLP pairs of solutions. A pre-scheduling reduction to cluster similar quality crude-oils decreases the discrete search space in the possible superstructure of the industrial-sized example that demonstrates our tailor-made decomposition scheme of around 3% gap between the MILP and NLP solutions.
Industrial View of Crude-oil Scheduling ProblemsBrenno Menezes
We propose replace the full space MINLP by MILP + NLP decomposition for large problems and the partition of crude scheduling in crude assignment and crude blend scheduling.
As continuous-time model cannot be easily implemented by plant operators, the objective is to explore to the limit discrete-time models:
- 8h-step (shift) for 2-4 weeks (42-84 periods)
- 2h-step for 7 days (84 periods)
- 1h-step for 4 days (48 periods)
Integration Strategies for Multi-scale Optimization in the Oil-refining IndustryBrenno Menezes
We propose a multi-scale optimization involving process design synthesis, supply chain coordination and refinery operations (in planning, scheduling and RTO) considering simultaneous and decomposed strategies for handling the hierarchy between the levels, the relationships among the entities and the nonlinearity inherent to the oil-refining industry.
Enterprise-Wide Optimization for Operations of Crude-Oil Refineries: closing ...Brenno Menezes
We propose a quantitative analysis of an enterprise-wide optimization for operations of crude-oil refineries considering the integration of planning and scheduling to close the decision-making gap between the procurement of raw materials or feedstocks and the operations of the production scheduling. From a month to an hour, re-planning and re-scheduling iterations can better predict the processed crude-oil basket, diet or final composition, reducing the production costs and impacts in the process and product demands with respect to the quality of the raw materials. The goal is to interface planning and scheduling decisions within a time-window of a week with the support of re-optimization steps. Then, the selection, delivery, storage and mixture of crude-oil feeds from the tactical procurement planning up to the blend scheduling operations are made more appropriately. The up-to-down sequence of solutions are integrated in a feedback iteration to both reduce time-grids and as a key performance indicator.
We propose a discrete-time formulation for optimization of scheduling in crude-oil refineries considering both the logistics details practiced in industry and the process feed diet and quality calculations. The quantity-logic-quality phenomena (QLQP) involving a non-convex mixed-integer nonlinear (MINLP) problem is decomposed considering first the logistics model containing quantity and logic variables and constraints in a mixed-integer linear (MILP) formulation and, secondly, the quality problem with quantity and quality variables and constraints in a nonlinear programming (NLP) model by fixing the logic results from the logistics problem. Then, stream yields of crude distillation units (CDU), for the feed tank composition found in the quality calculation, are updated iteratively in the following logistics problem until their convergence is achieved. Both local and global MILP results of the logistics model are solved in the NLP programs of the quality and an ad-hoc criteria selects to continue those among a score of the MILP+NLP pairs of solutions. A pre-scheduling reduction to cluster similar quality crude-oils decreases the discrete search space in the possible superstructure of the industrial-sized example that demonstrates our tailor-made decomposition scheme of around 3% gap between the MILP and NLP solutions.
Crude-Oil Scheduling Technology: moving from simulation to optimizationBrenno Menezes
Scheduling technology either commercial or homegrown in today’s crude-oil refining industries relies on a complex simulation of scenarios where the user is solely responsible for making many different decisions manually in the search for feasible solutions over some limited time-horizon i.e., trial-and-error heuristics. As a normal outcome, schedulers abandon these solutions and then return to their simpler spreadsheet simulators due to: (i) time-consuming efforts to configure and manage numerous scheduling scenarios, and (ii) requirements of updating premises and situations that are constantly changing. Moving to solutions based in optimization rather than simulation, the lecture describes the future steps in the refactoring of the scheduling technology in PETROBRAS considering in separate the graphic user interface (GUI) and data communication developments (non-modeling related), and the modeling and process engineering related in an automated decision-making with built-in problem representation facilities and integrated data handling features among other techniques in a smart scheduling frontline.
FEEDSTOCK STORAGE ASSIGNMENT IN PROCESS INDUSTRY QUALITY PROBLEMS (Poster)Brenno Menezes
We propose a mixed-integer linear (MILP) model for the design of assignments of various raw materials with different qualities when moving them from external supply sources to shared storages. This is especially important in process industries with limited storage and quality blend programs optimizing a plant feed diet for ongoing operations involving process units, inventory control and product demands, as found in crude-oil, ore/metal and food processing industries. This novel storage assignment problem minimizes the quality deviation when a larger number of feedstocks from marine vessels or ships are clustered into a smaller number of containers or storages in the plant, known as the Pigeonhole Principle, allocating the raw material to a definite place in an orderly system. Although the model only uses raw material quality data and neglects logistics details such as raw material supply amounts, timing and volume available in the storage, the simplification can be partially circumvented by splitting the raw material into two or more species with same qualities in order to fit into the storages. Examples dealing with 5 to 45 different crude-oil feedstocks clustered into 4 storage tanks demonstrate the proposed model, which yields the optimum storage assignment within minutes for industrial-scale problems.
FEEDSTOCK STORAGE ASSIGNMENT IN PROCESS INDUSTRY QUALITY PROBLEMSBrenno Menezes
We propose a mixed-integer linear (MILP) model for the design of assignments of various raw materials with different qualities when moving them from external supply sources to shared storages. This is especially important in process industries with limited storage and quality blend programs optimizing a plant feed diet for ongoing operations involving process units, inventory control and product demands, as found in crude-oil, ore/metal and food processing industries. This novel storage assignment problem minimizes the quality deviation when a larger number of feedstocks from marine vessels or ships are clustered into a smaller number of containers or storages in the plant, known as the Pigeonhole Principle, allocating the raw material to a definite place in an orderly system. Although the model only uses raw material quality data and neglects logistics details such as raw material supply amounts, timing and volume available in the storage, the simplification can be partially circumvented by splitting the raw material into two or more species with same qualities in order to fit into the storages. Examples dealing with 5 to 45 different crude-oil feedstocks clustered into 4 storage tanks demonstrate the proposed model, which yields the optimum storage assignment within minutes for industrial-scale problems.
CRUDE-OIL BLEND SCHEDULING OPTIMIZATION OF AN INDUSTRIAL-SIZED REFINERY: A DI...Brenno Menezes
We propose a discrete-time formulation for optimization of scheduling in crude-oil refineries considering both the logistics details practiced in industry and the process feed diet and quality calculations. The quantity-logic-quality phenomena (QLQP) involving a non-convex mixed-integer nonlinear (MINLP) problem is decomposed considering first the logistics model containing quantity and logic variables and constraints in a mixed-integer linear (MILP) formulation and, secondly, the quality problem with quantity and quality variables and constraints in a nonlinear programming (NLP) model by fixing the logic results from the logistics problem. Then, stream yields of crude distillation units (CDU), for the feed tank composition found in the quality calculation, are updated iteratively in the following logistics problem until their convergence is achieved. Both local and global MILP results of the logistics model are solved in the NLP programs of the quality and an ad-hoc criteria selects to continue those among a score of the MILP+NLP pairs of solutions. A pre-scheduling reduction to cluster similar quality crude-oils decreases the discrete search space in the possible superstructure of the industrial-sized example that demonstrates our tailor-made decomposition scheme of around 3% gap between the MILP and NLP solutions.
Industrial View of Crude-oil Scheduling ProblemsBrenno Menezes
We propose replace the full space MINLP by MILP + NLP decomposition for large problems and the partition of crude scheduling in crude assignment and crude blend scheduling.
As continuous-time model cannot be easily implemented by plant operators, the objective is to explore to the limit discrete-time models:
- 8h-step (shift) for 2-4 weeks (42-84 periods)
- 2h-step for 7 days (84 periods)
- 1h-step for 4 days (48 periods)
Integration Strategies for Multi-scale Optimization in the Oil-refining IndustryBrenno Menezes
We propose a multi-scale optimization involving process design synthesis, supply chain coordination and refinery operations (in planning, scheduling and RTO) considering simultaneous and decomposed strategies for handling the hierarchy between the levels, the relationships among the entities and the nonlinearity inherent to the oil-refining industry.
Enterprise-Wide Optimization for Operations of Crude-Oil Refineries: closing ...Brenno Menezes
We propose a quantitative analysis of an enterprise-wide optimization for operations of crude-oil refineries considering the integration of planning and scheduling to close the decision-making gap between the procurement of raw materials or feedstocks and the operations of the production scheduling. From a month to an hour, re-planning and re-scheduling iterations can better predict the processed crude-oil basket, diet or final composition, reducing the production costs and impacts in the process and product demands with respect to the quality of the raw materials. The goal is to interface planning and scheduling decisions within a time-window of a week with the support of re-optimization steps. Then, the selection, delivery, storage and mixture of crude-oil feeds from the tactical procurement planning up to the blend scheduling operations are made more appropriately. The up-to-down sequence of solutions are integrated in a feedback iteration to both reduce time-grids and as a key performance indicator.
We propose a discrete-time formulation for optimization of scheduling in crude-oil refineries considering both the logistics details practiced in industry and the process feed diet and quality calculations. The quantity-logic-quality phenomena (QLQP) involving a non-convex mixed-integer nonlinear (MINLP) problem is decomposed considering first the logistics model containing quantity and logic variables and constraints in a mixed-integer linear (MILP) formulation and, secondly, the quality problem with quantity and quality variables and constraints in a nonlinear programming (NLP) model by fixing the logic results from the logistics problem. Then, stream yields of crude distillation units (CDU), for the feed tank composition found in the quality calculation, are updated iteratively in the following logistics problem until their convergence is achieved. Both local and global MILP results of the logistics model are solved in the NLP programs of the quality and an ad-hoc criteria selects to continue those among a score of the MILP+NLP pairs of solutions. A pre-scheduling reduction to cluster similar quality crude-oils decreases the discrete search space in the possible superstructure of the industrial-sized example that demonstrates our tailor-made decomposition scheme of around 3% gap between the MILP and NLP solutions.
Crude-Oil Scheduling Technology: moving from simulation to optimizationBrenno Menezes
Scheduling technology either commercial or homegrown in today’s crude-oil refining industries relies on a complex simulation of scenarios where the user is solely responsible for making many different decisions manually in the search for feasible solutions over some limited time-horizon i.e., trial-and-error heuristics. As a normal outcome, schedulers abandon these solutions and then return to their simpler spreadsheet simulators due to: (i) time-consuming efforts to configure and manage numerous scheduling scenarios, and (ii) requirements of updating premises and situations that are constantly changing. Moving to solutions based in optimization rather than simulation, the lecture describes the future steps in the refactoring of the scheduling technology in PETROBRAS considering in separate the graphic user interface (GUI) and data communication developments (non-modeling related), and the modeling and process engineering related in an automated decision-making with built-in problem representation facilities and integrated data handling features among other techniques in a smart scheduling frontline.
Smart Process Operations in Fuels Industries: Applications and Opportunities ...Brenno Menezes
The smart revolution, the 4th after the mechanical, electrical and digital ones, increasingly becomes a reality inside the oil and gas industries. Based on six smart fundamentals: 1-) easy to implement, 2-) integrates parts not yet integrated, 3-) uses actual plant data, 4-) reduces the optimization search space, 5-) tries to boost the polyhedral space of optimization and finally 6-) automated-execution for faster and better solutions. We start by identifying the challenges in advanced planning and scheduling inside petroleum refining industries. Specifically, three "smart" process operations around scheduling optimization are explained. The 1st is what we call the crude-oil to tank assignment problem (CTAP) where a mixed-integer linear model determines the design or destination of crude-oils (feedstocks) transferring from terminals to refinery storage tanks in order to minimize the a) deviation of quality of each crude-oil, b) reduce the optimization search space in further crude-oil scheduling optimization and c) boost the polyhedral space of optimization. This is to prepare for the transfers of crude-oil charged to the tanks by considering the most important (key) quality bottleneck constraints that drive the economics, efficiency and emissions of the refinery. The 2nd smart application is a nonlinear optimization integrating the distillation blending and cutpoint temperature optimization using experimental plant data (ASTM or SD) of the atmospheric tower distillation curves to define new initial and final boiling points (cutpoints) of the distillates by considering the market demands of the blend-shops for the final fuel products. The 3rd is a "data-driven" real-time optimization (RTO) implemented using an LP to integrate the multiple continuous-process units in the refinery as a whole using well-known closed-loop parameter estimation techniques in IMPL to estimate steady-state gains or first-order derivatives from routine plant operating data. IMPL is the modeling and solving platform to be introduced and discussed further given that it provides an integrated environment to develop and deploy industrial applications of this nature. In addition, it should be emphasized that these types of applications can be applied to other process industries especially in the oil and gas and related industries.
Quantitative Methods for Strategic Investment Planning in the Oil-Refining In...Brenno Menezes
Unlike traditional process design scenario-based methodologies to construct complex oil-refinery process network, discrete optimization approaches in MINLP and in an iterative MILP+NLP solve the capital investment planning problem to predict unit capacity increments (expansion or installation) for an integrated multi-site refinery problem considering resources such as capital and raw/intermediate material, processing and blending capabilities, market demands and project constraints.
Distillation Blending and Cutpoint Temperature Optimization in Scheduling Ope...Brenno Menezes
In oil refinery manufacturing, final products such as fuels, lubricants and petrochemicals are produced from crude-oil in process units considering their operations in coordination with tanks, pipelines, blenders, etc. In this process, the full range of hydrocarbon components (crude-oil) is transformed (separated, reacted, blended) into smaller boiling-point temperature ranges resulting in intermediate and final products, in which planning, scheduling and real-time optimization using distillation curves of the streams can be used to effectively model the unit-operations and predict yields and properties of their outlet streams.1 The hydrocarbon streams’ characterization or assays of both the crude-oil and its derivatives are decomposed, partitioned or characterized into several temperature cuts based on what are known as True Boiling Point (TBP) temperature distribution or distillation curves.2,3 These are one-dimensional representations of how quantity (yields) and quality (properties) data of hydrocarbon streams are distributed or profiled over its TBP temperatures where each cut is also referred to as a component, pseudocomponent or hypothetical in process simulation and optimization technology.4
To improve efficiency, effectiveness and economy of mixing/blending, reacting/converting and separating/fractionating inside the oil-refinery, we proposed a new technique to optimize the blending of several streams’ distillation curves with also shifting or adjusting cutpoint temperatures of distilled streams, i.e, their initial boiling point (IBP) and final boiling point (FBP), in order to manipulate their TBP curves in either off-line or on-line environment. By shifting or adjusting the front-end and back-end of the TBP curve for one or more distillate blending streams, it allows for improved control and optimization of the final product demand quantity and quality, affording better maneuvering closer and around downstream bottlenecks such as tight property specifications and volatile demand flow and timing constrictions. This shifting or adjusting of the TBP curve’s IBP and FBP (front- and back-end respectively) ultimately requires that the unit-operation has sufficient handles or controls to allow this type of cutpoint variation where the solution from this higher-level optimization would provide set points or targets to a lower-level advanced process control systems, which are now commonplace in oil refineries.
By optimizing both the recipes of the blended material and its blending component distillation curves, very significant benefits can be achieved especially given the global push towards ultralow sulfur fuels (ULSF) due to the increase in natural gas plays reducing the demand for other oil distillates. One example is provided to highlight and demonstrate the technique.
Improved Swing-Cut Modeling for Planning and Scheduling of Oil-Refinery Disti...Alkis Vazacopoulos
Nonlinear planning and scheduling models for crude-oil atmospheric and vacuum distillation units are essential to manage increased complexities and narrow margins present in the petroleum industry. Traditionally, conventional swing-cut modeling is based on fixed yields with fixed properties for the hypothetical cuts that swing between adjacent light and heavy distillates and can subsequently lead to inaccuracies in the predictions of both its quantity and quality. A new extension is proposed to better predict quantities and qualities for the distilled products by taking into consideration that we require corresponding light and heavy swing-cuts with appropriately varying qualities. By computing interpolated qualities relative to its light and heavy swing-cut quantities, we can show an improvement in the accuracy of the blended or pooled quality predictions. Additional nonlinear variables and constraints are necessary in the model but it is shown that these are relatively easy to deal with in the nonlinear optimization.
Economic Excavator Configuration for Earthwork Schedulingcoreconferences
Excavating processes performed frequently in building, civil and infrastructure projects are critical and costly. To define a cost-effective excavator configuration, an earthwork planner depends mostly on experience and intuition. This paper presents a computational system called the Economic Excavator Configuration System, which selects the most favorable configuration of a heavy-duty excavator according to the earthwork package and its job conditions. This system instructs the earthwork manager in the best-fit excavator configuration for profitable operation by considering the implicit constraints and conditions exhaustively. The system identifies the best-fit PDFs of the process completion time and that of the total profit, given an excavator configuration. A test case, which was performed at a building basement excavating project, confirmed the usability and validity of the method.
Advances In Digital Automation Within RefiningJim Cahill
Emerson's Tim Olsen presents to Argentinean refiners on the changes in automation technologies and how they are being applied to improve efficiency and reduce costs.
Eric Milavickas: Pervasive Sensing, A Strategy That’s Changing the Fundamenta...360mnbsu
What is Pervasive Sensing and how does it tie in to the Internet of Things? Eric will explain the connection and discuss the strategies companies can take to use familiar devices in new ways to improve process, reliability, energy efficiency and safety. These strategies are available today with immediate financial returns that allow companies to scale growth without scaling problems and driving global competitiveness.
From the 2014 Taking Shape Summit: The Internet of Things & the Future of Manufacturing.
Crude-Oil Blend Scheduling Optimization: An Application with Multi-Million D...Alkis Vazacopoulos
The economic and operability benefits associated with better crude-oil blend scheduling are numerous and significant. The crude-oils that arrive at the oil-refinery to be processed into the various refined-oils must be carefully handled and mixed before they are charged to the atmospheric and vacuum distillation unit or pipestill. The intent of this article is to highlight the importance and details of optimizing the scheduling of an oil-refinery’s crude-oil feedstocks from the receipt to the charging of the pipestills.
Smart Process Operations in Fuels Industries: Applications and Opportunities ...Brenno Menezes
The smart revolution, the 4th after the mechanical, electrical and digital ones, increasingly becomes a reality inside the oil and gas industries. Based on six smart fundamentals: 1-) easy to implement, 2-) integrates parts not yet integrated, 3-) uses actual plant data, 4-) reduces the optimization search space, 5-) tries to boost the polyhedral space of optimization and finally 6-) automated-execution for faster and better solutions. We start by identifying the challenges in advanced planning and scheduling inside petroleum refining industries. Specifically, three "smart" process operations around scheduling optimization are explained. The 1st is what we call the crude-oil to tank assignment problem (CTAP) where a mixed-integer linear model determines the design or destination of crude-oils (feedstocks) transferring from terminals to refinery storage tanks in order to minimize the a) deviation of quality of each crude-oil, b) reduce the optimization search space in further crude-oil scheduling optimization and c) boost the polyhedral space of optimization. This is to prepare for the transfers of crude-oil charged to the tanks by considering the most important (key) quality bottleneck constraints that drive the economics, efficiency and emissions of the refinery. The 2nd smart application is a nonlinear optimization integrating the distillation blending and cutpoint temperature optimization using experimental plant data (ASTM or SD) of the atmospheric tower distillation curves to define new initial and final boiling points (cutpoints) of the distillates by considering the market demands of the blend-shops for the final fuel products. The 3rd is a "data-driven" real-time optimization (RTO) implemented using an LP to integrate the multiple continuous-process units in the refinery as a whole using well-known closed-loop parameter estimation techniques in IMPL to estimate steady-state gains or first-order derivatives from routine plant operating data. IMPL is the modeling and solving platform to be introduced and discussed further given that it provides an integrated environment to develop and deploy industrial applications of this nature. In addition, it should be emphasized that these types of applications can be applied to other process industries especially in the oil and gas and related industries.
Quantitative Methods for Strategic Investment Planning in the Oil-Refining In...Brenno Menezes
Unlike traditional process design scenario-based methodologies to construct complex oil-refinery process network, discrete optimization approaches in MINLP and in an iterative MILP+NLP solve the capital investment planning problem to predict unit capacity increments (expansion or installation) for an integrated multi-site refinery problem considering resources such as capital and raw/intermediate material, processing and blending capabilities, market demands and project constraints.
Distillation Blending and Cutpoint Temperature Optimization in Scheduling Ope...Brenno Menezes
In oil refinery manufacturing, final products such as fuels, lubricants and petrochemicals are produced from crude-oil in process units considering their operations in coordination with tanks, pipelines, blenders, etc. In this process, the full range of hydrocarbon components (crude-oil) is transformed (separated, reacted, blended) into smaller boiling-point temperature ranges resulting in intermediate and final products, in which planning, scheduling and real-time optimization using distillation curves of the streams can be used to effectively model the unit-operations and predict yields and properties of their outlet streams.1 The hydrocarbon streams’ characterization or assays of both the crude-oil and its derivatives are decomposed, partitioned or characterized into several temperature cuts based on what are known as True Boiling Point (TBP) temperature distribution or distillation curves.2,3 These are one-dimensional representations of how quantity (yields) and quality (properties) data of hydrocarbon streams are distributed or profiled over its TBP temperatures where each cut is also referred to as a component, pseudocomponent or hypothetical in process simulation and optimization technology.4
To improve efficiency, effectiveness and economy of mixing/blending, reacting/converting and separating/fractionating inside the oil-refinery, we proposed a new technique to optimize the blending of several streams’ distillation curves with also shifting or adjusting cutpoint temperatures of distilled streams, i.e, their initial boiling point (IBP) and final boiling point (FBP), in order to manipulate their TBP curves in either off-line or on-line environment. By shifting or adjusting the front-end and back-end of the TBP curve for one or more distillate blending streams, it allows for improved control and optimization of the final product demand quantity and quality, affording better maneuvering closer and around downstream bottlenecks such as tight property specifications and volatile demand flow and timing constrictions. This shifting or adjusting of the TBP curve’s IBP and FBP (front- and back-end respectively) ultimately requires that the unit-operation has sufficient handles or controls to allow this type of cutpoint variation where the solution from this higher-level optimization would provide set points or targets to a lower-level advanced process control systems, which are now commonplace in oil refineries.
By optimizing both the recipes of the blended material and its blending component distillation curves, very significant benefits can be achieved especially given the global push towards ultralow sulfur fuels (ULSF) due to the increase in natural gas plays reducing the demand for other oil distillates. One example is provided to highlight and demonstrate the technique.
Improved Swing-Cut Modeling for Planning and Scheduling of Oil-Refinery Disti...Alkis Vazacopoulos
Nonlinear planning and scheduling models for crude-oil atmospheric and vacuum distillation units are essential to manage increased complexities and narrow margins present in the petroleum industry. Traditionally, conventional swing-cut modeling is based on fixed yields with fixed properties for the hypothetical cuts that swing between adjacent light and heavy distillates and can subsequently lead to inaccuracies in the predictions of both its quantity and quality. A new extension is proposed to better predict quantities and qualities for the distilled products by taking into consideration that we require corresponding light and heavy swing-cuts with appropriately varying qualities. By computing interpolated qualities relative to its light and heavy swing-cut quantities, we can show an improvement in the accuracy of the blended or pooled quality predictions. Additional nonlinear variables and constraints are necessary in the model but it is shown that these are relatively easy to deal with in the nonlinear optimization.
Economic Excavator Configuration for Earthwork Schedulingcoreconferences
Excavating processes performed frequently in building, civil and infrastructure projects are critical and costly. To define a cost-effective excavator configuration, an earthwork planner depends mostly on experience and intuition. This paper presents a computational system called the Economic Excavator Configuration System, which selects the most favorable configuration of a heavy-duty excavator according to the earthwork package and its job conditions. This system instructs the earthwork manager in the best-fit excavator configuration for profitable operation by considering the implicit constraints and conditions exhaustively. The system identifies the best-fit PDFs of the process completion time and that of the total profit, given an excavator configuration. A test case, which was performed at a building basement excavating project, confirmed the usability and validity of the method.
Advances In Digital Automation Within RefiningJim Cahill
Emerson's Tim Olsen presents to Argentinean refiners on the changes in automation technologies and how they are being applied to improve efficiency and reduce costs.
Eric Milavickas: Pervasive Sensing, A Strategy That’s Changing the Fundamenta...360mnbsu
What is Pervasive Sensing and how does it tie in to the Internet of Things? Eric will explain the connection and discuss the strategies companies can take to use familiar devices in new ways to improve process, reliability, energy efficiency and safety. These strategies are available today with immediate financial returns that allow companies to scale growth without scaling problems and driving global competitiveness.
From the 2014 Taking Shape Summit: The Internet of Things & the Future of Manufacturing.
Crude-Oil Blend Scheduling Optimization: An Application with Multi-Million D...Alkis Vazacopoulos
The economic and operability benefits associated with better crude-oil blend scheduling are numerous and significant. The crude-oils that arrive at the oil-refinery to be processed into the various refined-oils must be carefully handled and mixed before they are charged to the atmospheric and vacuum distillation unit or pipestill. The intent of this article is to highlight the importance and details of optimizing the scheduling of an oil-refinery’s crude-oil feedstocks from the receipt to the charging of the pipestills.
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...AI Frontiers
The edge is the domain of the Internet of Things, of personal medical devices, of cars that understand the world, of machines that self-regulate and more. These devices share a common constraint: they can't send full data to the cloud for processing. This talk will review the changing needs for AI at the edge, the demands of learning networks on small cores and changing hardware being provided to meet these demands.
These slides discusses the SWOT behind the Exxon and Mobil merger. It starts with the history and background including its mission, vision, principles, culture and operations as well as some controversies. It proceeds with identifying some of the competitors for ExxonMobil. The SWOT prior to the merger is also presented together with some risks, issues and criticisms. Finally the current competitive advantages are also presented.
Social Media Crisis Management: Three Case StudiesElisha Tan
Social media has drastically changed the landscape of crisis management. With close to 23% of the time spent on the internet on social networks and Google providing three-quarters of a billion search results a day, the internet is a giant public library where users have the ease of discovering and spreading information around.
What does this mean to companies facing a crisis? It means that when information released is not contained and acted upon quickly, it can spiral out of control.
This ebook looks at three case studies and explore what we can learn from them for maximum effectiveness in social media crisis management.
How do APIs and IoT relate? The answer is not as simple as merely adding an API on top of a dumb device, but rather about understanding the architectural patterns for implementing an IoT fabric. There are typically two or three trends:
Exposing the device to a management framework
Exposing that management framework to a business centric logic
Exposing that business layer and data to end users.
This last trend is the IoT stack, which involves a new shift in the separation of what stuff happens, where data lives and where the interface lies. For instance, it's a mix of architectural styles between cloud, APIs and native hardware/software configurations.
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...Alkis Vazacopoulos
The processing of a raw material is a phenomenon that varies its quantity and quality along a specific network and logics and logistics to transform it into final products. To capture the production framework in a mathematical programming model, a full space formulation integrating discrete design variables and quantity-quality relations gives rise to large scale non-convex mixed-integer nonlinear models, which are often difficult to solve. In order to overcome this problem, we propose a phenomenological decomposition heuristic to solve separately in a first stage the quantity and logic variables in a mixed-integer linear model, and in a second stage the quantity and quality variables in a nonlinear programming formulation. By considering different fuel demand scenarios, the problem becomes a two-stage stochastic programming model, where nonlinear models for each demand scenario are iteratively restricted by the process design results. Two examples demonstrate the tailor-made decomposition scheme to construct the complex oil-refinery process design in a quantitative manner.
PRODUCTION PLANNING OF OIL-REFINERY UNITS FOR THE FUTURE FUEL MARKET IN BRAZILAlkis Vazacopoulos
The oil industry in Brazil has accounted for US$ 300 billion in investments over the last 10 years and further expansions are planned in order to supply the needs of the future fuel market in terms of both quantity and quality. This work analyzes the Brazilian fuel production and market scenarios considering the country’s planned investments to prevent fuel deficit of around 30% in 2020. A nonlinear (NLP) operational planning model and a mixed-integer nonlinear (MINLP) investment planning model are proposed to predict the national overall capacity for different oil-refinery units aggregated in one hypothetical large refinery considering four possible future market scenarios. For the multi-refinery case, a phenomenological decomposition heuristic (PDH) method solves separated the quantity and logic variables in a mixed-integer linear (MILP) model, and the quantity and quality variables in an NLP model. Iteratively, the NLP model is restricted by the MILP results.
Generalized capital investment planning of oil-refineries using MILP and sequ...optimizatiodirectdirect
Abstract
Performing capital investment planning (CIP) is traditionally done using linear (LP) or nonlinear (NLP) models whereby a gamut of scenarios are generated and manually searched to make expand and/or install decisions. Though mixed-integer nonlinear (MINLP) solvers have made significant advancements, they are often slow for industrial expenditure optimizations. We propose a more tractable approach using mixed-integer linear (MILP) model and input-output (Leontief) models whereby the nonlinearities are approximated to linearized operations, activities, or modes in large-scaled flowsheet problems. To model the different types of CIP's known as revamping, retrofitting, and repairing, we unify the modeling by combining planning balances with the scheduling concepts of sequence-dependent changeovers to represent the construction, commission, and correction stages explicitly. Similar applications can be applied to process design synthesis, asset allocation and utilization, and turnaround and inspection scheduling. Two motivating examples illustrate the modeling, and a retrofit example and an oil-refinery investment planning are highlighted.
Tuning the model predictive control of a crude distillation unitISA Interchange
Tuning the parameters of the Model Predictive Control (MPC) of an industrial Crude Distillation Unit (CDU) is considered here. A realistic scenario is depicted where the inputs of the CDU system have optimizing targets, which are provided by the Real Time Optimization layer of the control structure. It is considered the nominal case, in which both the CDU model and the MPC model are the same. The process outputs are controlled inside zones instead of at fixed set points. Then, the tuning procedure has to define the weights that penalize the output error with respect to the control zone, the weights that penalize the deviation of the inputs from their targets, as well as the weights that penalize the input moves. A tuning approach based on multi-objective optimization is proposed and applied to the MPC of the CDU system. The performance of the controller tuned with the proposed approach is compared through simulation with the results of an existing approach also based on multi-objective optimization. The simulation results are similar, but the proposed approach has a computational load significantly lower than the existing method. The tuning effort is also much lower than in the conventional practical approaches that are usually based on ad-hoc procedures.
Due to limited availability of coal and gases, optimization plays an important factor in thermal
generation problems. The economic dispatch problems are dynamic in nature as demand varies with time.
These problems are complex since they are large dimensional, involving hundreds of variables, and have
a number of constraints such as spinning reserve and group constraints. Particle Swarm Optimization
(PSO) method is used to solve these challenging optimization problems. Three test cases are studied
where PSO technique is successfully applied.
Generalized capital investment planning of oil-refineries using CPLEX-MILP an...Alkis Vazacopoulos
Performing capital investment planning (CIP) is traditionally done using linear (LP) or nonlinear (NLP) models whereby a gamut of scenarios are generated and manually searched to make expand and/or install decisions. Though mixed-integer nonlinear (MINLP) solvers have made significant advancements, they are often slow for industrial expenditure optimizations. We propose a more tractable approach using mixed-integer linear (MILP) model and input-output (Leontief) models whereby the nonlinearities are approximated to linearized operations, activities, or modes in large-scaled flowsheet problems. To model the different types of CIP's known as revamping, retrofitting, and repairing, we unify the modeling by combining planning balances with the scheduling concepts of sequence-dependent changeovers to represent the construction, commission, and correction stages explicitly. Similar applications can be applied to process design synthesis, asset allocation and utilization, and turnaround and inspection scheduling. Two motivating examples illustrate the modeling, and a retrofit example and an oil-refinery investment planning are highlighted.
Recent Advances in Fuel Chemistry Permit Novel Design ApproachesReaction Design
Today’s combustion equipment market poses significant challenges with the rapidly changing fuels landscape, stricter emissions regulations and tight economic constraints. In the first paper of this series, we discussed how Computational Fluid Dynamics (CFD) alone is not providing the combustion simulation value required in today’s business environment because of CFD’s inherent limitations in handling complex combustion chemistry. In this paper, we will describe how the simulation of real fuel behavior has been achieved through recent advances in our understanding of detailed combustion chemistry and pollutant emissions formation.
Stochastic fractal search based method for economic load dispatchTELKOMNIKA JOURNAL
This paper presents a nature-inspired meta-heuristic, called a stochastic fractal search based
method (SFS) for coping with complex economic load dispatch (ELD) problem. Two SFS methods are
introduced in the paper by employing two different random walk generators for diffusion process in which
SFS with Gaussian random walk is called SFS-Gauss and SFS with Levy Flight random walk is called
SFS-Levy. The performance of the two applied methods is investigated comparing results obtained from
three test system. These systems with 6, 10, and 20 units with different objective function forms and
different constraints are inspected. Numerical result comparison can confirm that the applied approach has
better solution quality and fast convergence time when compared with some recently published standard,
modified, and hybrid methods. This elucidates that the two SFS methods are very favorable for solving
the ELD problem.
Distillation Blending and Cutpoint Temperature Optimization using Monotonic I...Alkis Vazacopoulos
A novel technique using monotonic interpolation to blend and cut distillation temperatures and evaporations for petroleum fuels in an optimization environment is proposed. Blending distillation temperatures is well known in simulation whereby cumulative evaporations at specific temperatures are mixed together then these data points are used in piece-wise cubic spline interpolations to revert back to the distillation temperatures. Our method replaces the splines with monotonic splines to eliminate Runge's phenomenon and to allow the distillation curve itself to be adjusted by optimizing its initial and final boiling points known as cutpoints. By optimizing both the recipes of the blended material and its blending component distillation curves, very significant benefits can be achieved especially given the global push towards ultra low sulfur fuels (ULSF) due to the increase in natural gas plays reducing the demand for other oil distillates. Two examples are provided to highlight and demonstrate the technique.
Presented in this short document is a description of how to model and solve multi-utility scheduling optimization (MUSO) problems in IMPL. Multi-utility systems (co/tri-generation) are typically found in petroleum refineries and petrochemical plants (multi-commodity systems) especially when fuel-gas (i.e., off-gases of methane and ethane) is a co- or by-product of the production from which multi-pressure heating-, motive- and process-steam are generated on-site. Other utilities include hydrogen, electricity, water, cooling media, air, nitrogen, chemicals, etc. where a multi-utility system is shown in Figure 1 with an intermediate or integrated utility (both produced and consumed) such as fuel-gas, steam or electricity. Itemized benefit areas just for better management of an integrated steam network can be found in Pelham (2013) where his sample multi-pressure steam utility flowsheet is found in Figure 2.
Improve Yield Accounting by including Density Measurements ExplicitlyAlkis Vazacopoulos
Today the growing standard in oil-refining yield accounting is to use statistical data reconciliation to assist in detecting and diagnosing malfunctioning flow and inventory meters and possible mis-specified oil movements. However, as we demonstrate in this article, potentially harmful and undetectable gross-errors can occur which may distort the yield accounting results and the overall health of the production balance. The solution is to reconcile both mass and volume simultaneously instead of reconciling mass or volume separately as is currently done. It is made possible by explicitly including density measurements into the reconciliation process and solving a bi-linear data reconciliation problem using off-the-shelf commercial software.
Cfd Studies of Two Stroke Petrol Engine ScavengingIJERA Editor
This project deals with the numerical analysis of 2 stroke engine scavenging in two cases. One with an existing condition (Flat headed pistons) and another with a new design (Dome headed piston) .The numerical analysis is done with help of CFD software ANSYS FLUENT 14.5. Here, the modeling of engine piston with flat headed type and with dome headed types was done in workbench. In ANSYS FLUENT after the geometrical design, for the dynamic motion meshing is used and set up species transport model also. At first the scavenging effect of flat headed piston is analyzed. Later the simulation of piston with dome headed type was also checked. Analyzing the variations from each and selected the best method for scavenging. Finally the scavenging efficiency is calculated for both type arrangements.
A New Solution to Improve Power Quality of Renewable Energy Sources Smart Gri...iosrjce
This particular article reveals a prototyped interface current control protocol which is ideal for
multilevel converters and it’s utilization with a three-phase cascaded H-bridge inverter. This kind of
administration approach utilizes a discrete-time type of the device to estimate the longer term benefit from the
current for many voltage vectors, as well as decides on the vector which in turn decreases an expense purpose.
A result of the multitude of voltage vectors obtainable in a multilevel inverter, numerous computations are
expected, producing challenging execution with this strategy in a typical control program. A new improved
strategic approach with the demonstration using physical framework as well as Matlab system significantly
decreases the number of computations without influencing the actual system’s effectiveness is suggested.
Experimental outcomes intended for five-level inverters confirm the suggested strategy. Additionally, author
considered the socio-environmental effects occurring due to carbon foot printing as per KYOTO protocol and
demonstrates the implementation of prototype carbon foot printing control sub-protocol for minimization of
carbon foot printing occurring due to microbial fuel cell micro-grid setup. Hence this will help to manage
attitudinal goals to improve electricity resource quality and efficiency.
Similar to CRUDE-OIL BLEND SCHEDULING OPTIMIZATION OF AN INDUSTRIAL-SIZED REFINERY: A DISCRETE-TIME BENCHMARK (20)
Using recycled concrete aggregates (RCA) for pavements is crucial to achieving sustainability. Implementing RCA for new pavement can minimize carbon footprint, conserve natural resources, reduce harmful emissions, and lower life cycle costs. Compared to natural aggregate (NA), RCA pavement has fewer comprehensive studies and sustainability assessments.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
HEAP SORT ILLUSTRATED WITH HEAPIFY, BUILD HEAP FOR DYNAMIC ARRAYS.
Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to the selection sort where we first find the minimum element and place the minimum element at the beginning. Repeat the same process for the remaining elements.
CRUDE-OIL BLEND SCHEDULING OPTIMIZATION OF AN INDUSTRIAL-SIZED REFINERY: A DISCRETE-TIME BENCHMARK
1. * corresponding author: brennocm@andrew.cmu.edu
CRUDE-OIL BLEND SCHEDULING OPTIMIZATION
OF AN INDUSTRIAL-SIZED REFINERY: A
DISCRETE-TIME BENCHMARK
JD Kelly,a
BC Menezes,*b
F Engineerc
and IE Grossmannb
a
Industrial Algorithms
Toronto, ON MIP-4C3
b
Carnegie Mellon University
Pittsburgh, PA 15213
c
SK-Innovation
Seoul, Jongno-gu
Abstract
We propose a discrete-time formulation for optimization of scheduling in crude-oil refineries considering
both the logistics details practiced in industry and the process feed diet and quality calculations. The
quantity-logic-quality phenomena (QLQP) involving a non-convex mixed-integer nonlinear (MINLP)
problem is decomposed considering first the logistics model containing quantity and logic variables and
constraints in a mixed-integer linear (MILP) formulation and, secondly, the quality problem with quantity
and quality variables and constraints in a nonlinear programming (NLP) model by fixing the logic results
from the logistics problem. Then, stream yields of crude distillation units (CDU), for the feed tank
composition found in the quality calculation, are updated iteratively in the following logistics problem
until their convergence is achieved. Both local and global MILP results of the logistics model are solved
in the NLP programs of the quality and an ad-hoc criteria selects to continue those among a score of the
MILP+NLP pairs of solutions. A pre-scheduling reduction to cluster similar quality crude-oils decreases
the discrete search space in the possible superstructure of the industrial-sized example that demonstrates
our tailor-made decomposition scheme of around 3% gap between the MILP and NLP solutions.
Keywords
Scheduling optimization, Crude-oil blend-shops, Phenomenological decomposition heuristic
Introduction
An enterprise-wide optimization (EWO) problem involving
scheduling operations in crude-oil refineries integrates
quantity, logic and quality variables and constraints, starting
in the unloading of crude-oil and ending with the delivery
of fuels as schematically shown in Figure 1. However, as
this is a highly complex problem to be solved,
decompositions in space and in terms of solution strategies
are proposed to handle such complex problem where the
benefits of doing so can be in the multi-millions of dollars
(Kelly and Mann, 2003a; 2003b).
Previous literature in crude-oil scheduling
optimization considered models covering crude-oil
unloading to the products of distillation units (Lee et al.,
1996; Jia et al., 2003; Mouret et al., 2008, Castro and
Grossmann, 2014). They commonly use continuous-time
formulations, except for Lee et al. (1996) who solved small
instances of a discrete-time approach in an MILP model
using a relaxation of the bilinear blending constraints that is
the major drawback as there is no guarantee of quality
conservation between different outlet streams from the
same crude-oil quality tank.
Advance in MILP solvers have reduced the CPU
time by two orders of magnitude in comparison with the
1990’s as a consequence of progress in processing speeds
and more efficient optimization algorithms. Despite this, the
modeling and solution aspects of the NP-hard problems
2. related to the crude-oil scheduling in both continuous- and
discrete-time formulations have moved away the efforts
from the latter by its combinatorial complexity, and since
then, a series of works have covered mostly the more
compact continuous-time approaches.
Figure 1. Crude-oil refining scheduling: from crude-oils to fuels.
Today, powerful computer memory and new
modeling and algorithm structures, as those proposed in this
work, enable us to address a discrete-time formulation for
crude-oil blend scheduling that uses a clustering procedure
to reduce the size of the scheduling problems integrated
with the so-called phenomenological decomposition
heuristic (PDH) that partitions MINLP models into two
simpler submodels namely logistics (quantity and logic) and
quality (quantity and quality) problems in an iterative
strategy until convergence of both solutions (Menezes et al.,
2015).
An example in crude-oil scheduling demonstrated
that for industrial-sized problems the full space MINLP
solution becomes intractable, although it is solved using an
MILP-NLP decomposition for a gap lower than 4% between
both solutions (Mouret et al., 2009). Castro and Grossmann
(2014) test several problems from the mentioned literature
using the Resource-Task Network (RTN) superstructure for
MINLP models that are solved to near global optimality by
adopting the two-step MILP-NLP algorithm, where the
mixed-integer linear relaxation is derived from
multiparametric disaggregation, greatly reducing the
optimality gap, although the increase in the number of
variables by the method limits its application to small-sized
instances.
In the crude-oil refining industry, most common
concerns are about the difficulties to coordinate the
execution of continuous-time scheduling by the operators
and how to define a priori which points to select in the
future for the continuous-time calculation. Therefore,
discrete-time approaches using small time-steps to solve
optimization of scheduling operations in industrial-sized
problems are the desired representation among 635 crude-
oil refining plants in operation around the world (Oil & Gas
Research Center, 2015). Concern about the possible
overflow in tanks by the discretization of the time can be
easily circumvented in the field by the numerous alarms and
measurements that operators and schedulers have in hand in
real-time typically found in the Distributed Control Systems
(DCS’s).
Problem Algorithm and Pre-Scheduling Reduction
Scheduling models integrating quantity, logic, and
quality variables and constraints give rise to non-convex
MINLP models. Limitations in the solution of large-scale
problems mainly occurs in the relaxed NLP steps. Hence,
the proposed model uses the PDH algorithm as seen in Fig.
2 that resembles Benders decomposition where the logic
variables from the logistics problem, by neglecting the
nonlinear blending constraints, are fixed such that a simpler
program may be solved in the quality problem. Then, CDU
stream yields for the crude-oil feed diet are found in the
NLP model and updated in the following MILP solution in
a new PDH iteration until their convergence within a PDH
gap tolerance and similar logic results in consecutive
iterations.
To decrease the discrete search space, there are
two layers of clustering to segregate crude-oils with similar
quality (Kelly et al., 2017). This is especially needed in
industrial-sized problems. Besides, the crude-oil
composition in initial inventories for the current selection of
feed tanks generates initial CDU yields for the logistics
problem using ±5% tolerance between the main distillates
as in this stage the yields are the same despite the quality of
the crude-oils.
Figure 2. Proposed Reductions and PDH Algorithm.
Crude-Oil Blend Scheduling Optimization
The problem consists of determining the crude-oil
blend scheduling involving crude-oil supply, storage and
feed tank operations and the CDU production. Figure 3
shows a pair of marine vessels or feedstock tanks (CR1 and
CR2) supplying a crude-oil refinery with different quality
raw materials to produce the main CDU distillates: fuel gas
(FG), liquid petroleum gas (LPG), light naphtha (LN),
heavy naphtha (HN), kerosene (K), light diesel (LD), heavy
diesel (HD) and atmospheric residuum (AR).
A swing-cut unit (SW) is modeled to give a certain
degree of fractionation for LN and HN applying not only a
quantity variation, but including quality recalculation since
the lighter and heavier SW splits have different qualities
with respect to their amounts and blended crude-oil
distillation curve (Menezes et al., 2013; Kelly et al., 2014).
Storage tanks (S1 to S4) are connected to the feed tanks (F1
3. to F3) using a crude-oil blender (COB) as indicated for
improved performance of CDU operations by minimizing
crude-oil composition disturbances in further real-time
optimization and model predictive control.
Figure 3. Crude-Oil Blend Scheduling.
The network in Figure 3 is constructed using the
unit-operation-port-state superstructure (UOPSS)
formulation (Kelly, 2005; Zyngier and Kelly, 2012)
composed by the following objects: a) unit-operations m for
perimeters ( ), continuous-processes (⊠) and tanks ( ),
and b) their connectivity involving arrows ( ), in-ports i
( ) and out-ports j ( ). Unit-operations and arrows have
binary y and continuous x variables, and the ports hold the
states for the relationships among the objects, adding more
continuous variables if necessary by the semantic and
meaningfully configuration of the programs.
In problem (P), the objective function (1)
maximizes the gross margin from fuels revenues subtracting
the performance of the CDU throughputs, giving by the
deviation from the quantity in the previous time-period
against the current time-period, minimizing the 1-norm or
linear deviation of the flow in consecutive time-periods.
This performance term smooths the CDU throughputs
considering the lower 𝑥 𝑚,𝑡
𝐿𝑂𝐷
and upper 𝑥 𝑚,𝑡
𝑈𝑃𝐷
deviation of
their adjacent amounts (mMCDU). If 𝑥 𝑚,𝑡+1 ≤ 𝑥 𝑚,𝑡 ⟹
𝑥 𝑚,𝑡
𝐿𝑂𝐷
= 𝑥 𝑚,𝑡 − 𝑥 𝑚,𝑡+1 and 𝑥 𝑚,𝑡
𝑈𝑃𝐷
= 0. If 𝑥 𝑚,𝑡+1 ≥ 𝑥 𝑚,𝑡 ⟹
𝑥 𝑚,𝑡
𝑈𝑃𝐷
= 𝑥 𝑚,𝑡+1 − 𝑥 𝑚,𝑡 and 𝑥 𝑚,𝑡
𝐿𝑂𝐷
= 0. These deviation
variables are set as the same as the bounds of the CDU
throughputs, i.e., 0 ≤ 𝑥 𝑚,𝑡
𝐿𝑂𝐷
≤ 𝑥̅ 𝑚,𝑡
𝑈
and 0 ≤ 𝑥 𝑚,𝑡
𝑈𝑃𝐷
≤ 𝑥̅ 𝑚,𝑡
𝑈
.
The smoothing relationship for the CDU flow in Eq. (2) is
satisfied if 𝑥 𝑚,𝑡+1 = 𝑥 𝑚,𝑡; then 𝑥 𝑚,𝑡
𝐿𝑂𝐷
= 𝑥 𝑚,𝑡
𝑈𝑃𝐷
= 0. Unit-
operations m for tanks, blenders and fuels belong,
respectively, to the following sets: MTK, MBL and MFU. The
UOPSS formulation given by the objects and their
connectivity as in Figure 3 are specified in Eqs. (3) to (14).
In the summations involving ports in Eqs. (6) to (9), (12)
and (13), j’ and i’’ represent upstream and downstream ports
connected, respectively, to the in-port i and out-port j of
unit-operations m. The set Um represents the unit-operations
m within the same physical unit. For 𝑥 ∈ ℝ+
and 𝑦 = {0,1}:
(𝑃) 𝑀𝑎𝑥 𝑍 = ∑ ( ∑ 𝑝𝑟𝑖𝑐𝑒 𝑚,𝑡
𝑚∈𝑀 𝐹𝑈
𝑥 𝑚,𝑡
𝑡
− ∑ 𝑤𝑒𝑖𝑔ℎ𝑡(𝑥 𝑚,𝑡
𝐿𝑂𝐷
+ 𝑥 𝑚,𝑡
𝑈𝑃𝐷
)
𝑚∈𝑀 𝐶𝐷𝑈
) (1)
s.t.
𝑥 𝑚,𝑡+1 − 𝑥 𝑚,𝑡 + 𝑥 𝑚,𝑡
𝐿𝑂𝐷
− 𝑥 𝑚,𝑡
𝑈𝑃𝐷
= 0 ∀ 𝑚 ∈ 𝑀 𝐶𝐷𝑈, 𝑡 (2)
𝑥̅𝑗,𝑖,𝑡
𝐿
𝑦𝑗,𝑖,𝑡 ≤ 𝑥𝑗,𝑖,𝑡 ≤ 𝑥̅𝑗,𝑖,𝑡
𝑈
𝑦𝑗,𝑖,𝑡 ∀ (𝑗, 𝑖), 𝑡 (3)
𝑥̅ 𝑚,𝑡
𝐿
𝑦 𝑚,𝑡 ≤ 𝑥 𝑚,𝑡 ≤ 𝑥̅ 𝑚,𝑡
𝑈
𝑦 𝑚,𝑡 ∀ 𝑚 ∉ 𝑀 𝑇𝐾, 𝑡 (4)
𝑥ℎ̅̅̅ 𝑚,𝑡
𝐿
𝑦 𝑚,𝑡 ≤ 𝑥ℎ 𝑚,𝑡 ≤ 𝑥ℎ̅̅̅ 𝑚,𝑡
𝑈
𝑦 𝑚,𝑡 ∀ 𝑚 ∈ 𝑀 𝑇𝐾, 𝑡 (5)
1
𝑥̅ 𝑚,𝑡
𝑈 ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
≤ 𝑦 𝑚,𝑡 ≤
1
𝑥̅ 𝑚,𝑡
𝐿 ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
∀ (𝑖, 𝑚) ∉ 𝑀 𝑇𝐾, 𝑡 (6)
1
𝑥̅ 𝑚,𝑡
𝑈 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
≤ 𝑦 𝑚,𝑡 ≤
1
𝑥̅ 𝑚,𝑡
𝐿 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
∀ (𝑚, 𝑗) ∉ 𝑀 𝑇𝐾, 𝑡 (7)
1
𝑟̅𝑖,𝑡
𝑈 ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
≤ 𝑥 𝑚,𝑡 ≤
1
𝑟̅𝑖,𝑡
𝐿 ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
∀ (𝑖, 𝑚) ∉ 𝑀 𝑇𝐾, 𝑡 (8)
1
𝑟̅𝑗,𝑡
𝑈 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
≤ 𝑥 𝑚,𝑡 ≤
1
𝑟̅𝑗,𝑡
𝐿 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
∀ (𝑚, 𝑗) ∉ 𝑀 𝑇𝐾, 𝑡 (9)
𝑦 𝑚′,𝑡 + 𝑦 𝑚,𝑡 ≥ 2𝑦𝑗,𝑖,𝑡 ∀ (𝑚′
, 𝑗, 𝑖, 𝑚), 𝑡 (10)
∑ 𝑦 𝑚,𝑡
𝑚∈𝑈 𝑚
≤ 1 ∀ 𝑡 (11)
𝑥ℎ 𝑚,𝑡 = 𝑥ℎ 𝑚,𝑡−1 + ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
− ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
∀ (𝑖, 𝑚, 𝑗)
∈ 𝑀 𝑇𝐾, 𝑡 (12)
∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
= ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
∀ (𝑖, 𝑚, 𝑗) ∈ 𝑀 𝐶𝐷𝑈 ⋀ 𝑀 𝐵𝐿, 𝑡 (13)
𝑥 𝑚,𝑡, 𝑥𝑗,𝑖,𝑡, 𝑥ℎ 𝑚,𝑡 𝑥 𝑚,𝑡
𝐿𝑂𝐷
, 𝑥 𝑚,𝑡
𝑈𝑃𝐷
≥ 0; 𝑦𝑗,𝑖,𝑡, 𝑦 𝑚,𝑡 = {0,1} (14)
The semi-continuous constraints to control the
quantity-flows of the arrows xj,i,t , the throughputs of the
unit-operations xm,t (except tanks) and tank holdups or
inventory levels xhm,t are given by Eqs. (3) to (5). If the
binary variable of the arrows yj,i,t is true, the quantity-flow
of its streams varies between bounds ( 𝑥̅𝑗,𝑖,𝑡
𝐿
and 𝑥̅𝑗,𝑖,𝑡
𝑈
) as in
Eq. (3). It is the same for the unit-operations in Eq. (4) with
respect to their bounds ( 𝑥̅ 𝑚,𝑡
𝐿
and 𝑥̅ 𝑚,𝑡
𝑈
) and in Eq. (5) for
holdups xhm,t of tanks ( 𝑥ℎ̅̅̅ 𝑚,𝑡
𝐿
and 𝑥ℎ̅̅̅ 𝑚,𝑡
𝑈
). Equations (6) and
(7) represent, respectively, the sum of the arrows arriving in
the in-ports i (or mixers) or leaving from the out-ports j (or
splitters) and their summation must be between the bounds
of the unit-operation m (mMTK) connected to them.
Equations (8) and (9) consider bounds on yields,
both inverse (𝑟̅𝑖,𝑡
𝐿
and 𝑟̅𝑖,𝑡
𝑈
) and direct (𝑟̅𝑗,𝑡
𝐿
and 𝑟̅𝑗,𝑡
𝑈
), since the
unit-operations m (mMTK) can have more than one stream
arriving in or leaving from their connected ports. Equation
(10) is the structural transition constraint to facilitate the
setup of unit-operations of different units interconnected by
streams within out-ports j and in-ports i. If the binary
variable of interconnected unit-operations m and m’ are
true, the binary variable yj,i,t of the arrow stream between
them are implicitly turned-on. It is a logic valid cut that
reduces the tree search in branch-and-bound methods,
forming a group of 4 objects (m’, j, i, m). In Eq. (11), for all
physical units, at most one unit-operation m (as ym,t for
procedures, modes or tasks) is permitted in Um at a time.
4. Equations (12) is the quantity balance to control
the inventory or holdup for unit-operations of tanks
(mMTK). The equality constraint calculates the current
holdup amount xhm,t considering the material left in the past
time-period (heels) plus and minus the summation of,
respectively, the upstream and downstream connections to
the tanks. Equation (13) is a material balance in
fractionation columns MCDU and blenders MBL to ensure that
there is no accumulation of material in these types of units.
It should be mentioned that quantity balances for
in- and out-port-states is guaranteed because the UOPSS
formulation does not perform explicit material balances for
port-states, but only for unit-operations, so the flow of
connected port-states are bounded by their lower and upper
bounds. Stream flows involving ports are only for unit-
operation-port-state to unit-operation-port-state (arrow
streams). For quality balances, only in-port-states have
explicit material balances since these are uncontrolled
mixers. For out-port-states, which are uncontrolled splitters,
the UOPSS does not create explicit splitter equations for the
qualities because these are redundant with the value of the
intensive property of upstream-connected unit-operations.
Logistics Problem: MILP Crude-Oil Blend Scheduling
The logistics problem includes Eqs. (1) to (14) and
Eqs. (15) to (29) that involves: a) unit-operations in
temporal transitions of sequence-dependent cycles, multi-
use of objects and uptime or minimal time of their using,
and zero downtime of an equipment, and b) tanks in fill-
draw delay and fill-to-full and draw-to-empty operations.
The operation of the semi-continuous blender
COB in Figure 3 is controlled by the temporal transition
constraints (13) to (15) from Kelly and Zyngier (2007). The
setup or binary variable ym,t manages the dependent start-up,
switch-over-to-itself and shut-down variables (zsum,t, zswm,t
and zsdm,t, respectively) that are relaxed in the interval [0,1]
instead of considering them as logic variables. Equation
(17) is necessary to guarantee the integrality of the relaxed
variables.
𝑦 𝑚,𝑡 − 𝑦 𝑚,𝑡−1 − 𝑧𝑠𝑢 𝑚,𝑡 + 𝑧𝑠𝑑 𝑚,𝑡 = 0 ∀ 𝑚 ∈ 𝑀 𝐵𝐿, 𝑡 (15)
𝑦 𝑚,𝑡 + 𝑦 𝑚,𝑡−1 − 𝑧𝑠𝑢 𝑚,𝑡 − 𝑧𝑠𝑑 𝑚,𝑡 − 2𝑧𝑠𝑤 𝑚,𝑡 = 0
∀ 𝑚 ∈ 𝑀 𝐵𝐿, 𝑡 (16)
𝑧𝑠𝑢 𝑚,𝑡 + 𝑧𝑠𝑑 𝑚,𝑡 + 𝑧𝑠𝑤 𝑚,𝑡 ≤ 1 ∀ 𝑚 ∈ 𝑀 𝐵𝐿, 𝑡 (17)
In the multi-use procedure in Eq. (18), the lower
and upper parameters 𝑈𝑆𝐸𝑗,𝑡
𝐿
and 𝑈𝑆𝐸𝑗,𝑡
𝑈
coordinate the use of
the out-ports (jJUSE) by their connected downstream in-
ports i’’. This occurs in blenders to avoid the split of a
mixture to different feed tanks at the same time. Eq. (19)
imposes 𝑈𝑆𝐸𝑖,𝑡
𝐿
and 𝑈𝑆𝐸𝑖,𝑡
𝑈
in the in-ports (iIUSE) by their
connected upstream out-ports j’. It controls the maximum
number of transfers within the same time-period to CDU.
Equations (20) to (22) model the run-length or uptime
considering UPTU
as the upper bound of using and tend as
the end of the time horizon with ∆t as time-step, where Eq.
(22) is the unit-operation uptime temporal aggregation cut
constraint and number of period is np; more details on these
constraints can be found in Kelly and Zyngier (2007) and
Zyngier and Kelly (2009). Equation (23) is the zero
downtime constraint for the CDU to select at least one mode
of operation m to be continuously operating.
1
𝑈𝑆𝐸𝑗,𝑡
𝐿 ∑ 𝑦𝑗,𝑖′′,𝑡
𝑖′′
≤ 𝑦 𝑚,𝑡 ≤
1
𝑈𝑆𝐸𝑗,𝑡
𝑈 ∑ 𝑦𝑗,𝑖′′,𝑡
𝑖′′
∀ 𝑗 ∈ 𝐽 𝑈𝑆𝐸, 𝑡 (18)
1
𝑈𝑆𝐸𝑖,𝑡
𝐿 ∑ 𝑦𝑗′,𝑖,𝑡
𝑗′
≤ 𝑦 𝑚,𝑡 ≤
1
𝑈𝑆𝐸𝑖,𝑡
𝑈 ∑ 𝑦𝑗′,𝑖,𝑡
𝑗′
∀ 𝑖 ∈ 𝐼 𝑈𝑆𝐸, 𝑡 (19)
𝑧𝑠𝑢 𝑚,𝑡 + 𝑧𝑠𝑢 𝑚,𝑡−1 ≤ 𝑦 𝑚,𝑡+1 ∀ 𝑚 ∈ 𝑀 𝐵𝐿, 𝑡 > 1 (20)
∑ 𝑦 𝑚,𝑡
𝑈𝑃𝑇 𝑈
∆𝑡
𝑡′′=𝑡
≤
𝑈𝑃𝑇 𝑈
∆𝑡
∀ 𝑚 ∈ 𝑀 𝐵𝐿, 𝑡 < 𝑡 𝑒𝑛𝑑 − 𝑈𝑃𝑇 𝑈 (21)
∆𝑡 ∑ 𝑧𝑠𝑢 𝑚,𝑡
𝑡
≤ 𝑛 𝑝 ∀ 𝑚 ∈ 𝑀 𝐵𝐿 (22)
∑ 𝑦 𝑚,𝑡
𝑚∈𝑀 𝐶𝐷𝑈
≥ 1 ∀ 𝑡 (23)
For the operation of tanks in Eqs. (24) to (28), the
formulation is found in Zyngier and Kelly (2009). The fill-
draw delay constraints (24) and (25) controls, respectively,
the minimum and maximum time between the last filling
and the following drawing operations for the upstream j’
and downstream i’’ connections of a tank. The minimum
and maximum fill-draw delays are ∆𝐷 𝑚𝑖𝑛 and ∆𝐷 𝑚𝑎𝑥,
respectively, and the in- and out-ports i and j are connected
to the tank (IJMTK).
𝑦𝑗′,𝑖,𝑡 + 𝑦𝑗,𝑖′′,𝑡+𝑡𝑡 ≤ 1 ∀ (𝑗′
, 𝑖, 𝑗, 𝑖′′) such that 𝐼𝐽𝑀 𝑇𝐾,
𝑡𝑡 = 0. . ∆𝐷 𝑚𝑖𝑛, 𝑡 = 1. . 𝑡|𝑡 + 𝑡𝑡 < 𝑡 𝑒𝑛𝑑 (24)
𝑦𝑗′,𝑖,𝑡−1 − 𝑦𝑗′,𝑖,𝑡 − ∑ 𝑦𝑗,𝑖′′,𝑡−1
∆𝐷 𝑚𝑎𝑥
𝑡𝑡=1
≤ 0 ∀ (𝑗′
, 𝑖, 𝑗, 𝑖′′)
such that 𝐼𝐽𝑀 𝑇𝐾, 𝑡 = 1. . 𝑡 − ∆𝐷 𝑚𝑎𝑥|𝑡 + 𝑡𝑡 < 𝑡 𝑒𝑛𝑑 (25)
The remaining tank operations are the fill-to-full
and draw-to-empty constraints. They add the logic variable
ydm,t, representing the filling and drawing operations, which
are equal to zero if the pool is filling and one if it is drawing,
avoiding the use of two logic variables. The coefficients
𝑥ℎ̅̅̅ 𝑚,𝑡
𝐹𝑈𝐿𝐿
and 𝑥ℎ̅̅̅ 𝑚,𝑡
𝐸𝑀𝑃𝑇𝑌
are, respectively, the fill-to-full and
draw-to-empty to force the tank to be filled and drawn to
their values.
𝑦𝑗′,𝑖,𝑡 + 𝑦𝑑 𝑚,𝑡 ≤ 1 ∀ (𝑗′
, 𝑖, 𝑚) for 𝑚 ∈ 𝑀 𝑇𝐾, 𝑡 (26)
𝑦𝑗,𝑖′′,𝑡 ≤ 𝑦𝑑 𝑚,𝑡 ∀ (𝑚, 𝑗, 𝑖′′) for 𝑚 ∈ 𝑀 𝑇𝐾, 𝑡 (27)
𝑥ℎ 𝑚,𝑡 − 𝑥ℎ̅̅̅ 𝑚,𝑡
𝑈
( 𝑦𝑑 𝑚,𝑡 − 𝑦𝑑 𝑚,𝑡−1) + (𝑥ℎ̅̅̅ 𝑚,𝑡
𝑈
− 𝑥ℎ̅̅̅ 𝑚,𝑡
𝐹𝑈𝐿𝐿
) ≥ 0
∀ 𝑚 ∈ 𝑀 𝑇𝐾, 𝑡 (28)
𝑥ℎ 𝑚,𝑡 + 𝑥ℎ̅̅̅ 𝑚,𝑡
𝑈
( 𝑦𝑑 𝑚,𝑡−1 − 𝑦𝑑 𝑚,𝑡) − (𝑥ℎ̅̅̅ 𝑚,𝑡
𝑈
+ 𝑥ℎ̅̅̅ 𝑚,𝑡
𝐸𝑀𝑃𝑇𝑌
) ≤ 0
∀ 𝑚 ∈ 𝑀 𝑇𝐾, 𝑡 (29)
5. Quality Problem: NLP Crude-Oil Blend Scheduling
The quality problem includes Eqs. (1) to (9) (by
fixing the binary results from the logistics), Eq. (12) for
quantity balances in tanks, Eq. (13)., the continuous part of
Eq. (14) and the nonlinear Eqs. (30) to (35). The blending
or pooling constraints involves volume-based quality
balances in crude-oil components and specific gravity
(density) and weight-based for sulfur concentration. They
apply for: a) flow in unit-operations (except for
fractionators) and in-ports; and b) holdup in tanks. The other
nonlinear constraints are the transformations from crude-oil
components to compounds (distillate amounts and
properties) in fractionators as in Eqs. (33) to (35). See Kelly
and Zyngier (2016) for the case of nonlinear equations.
Considering p as the component-property (crude-
oil component, specific gravity or sulfur concentration) and
𝑣 and 𝑤, respectively, volume- and weight-based properties,
Eqs. (30) calculates the volume-based balance in unit-
operations (in the case, only for blenders) and Eq. (31) in
in-ports. When the in-ports are connected to tanks, their
quality balances are redundant to Eq. (32) valid only for
tanks, so that Eq. (31) is only true for in-ports not connected
to tanks. It should be mentioned that there is no need of a
quality variable for out-ports of a unit-operation. Instead we
can use the quality of their unit-operation m’ itself.
𝑣 𝑚,𝑝,𝑡 ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
= ∑ 𝑣 𝑚′,𝑝,𝑡 𝑥𝑗′,𝑖,𝑡
𝑗′
∀ 𝑚, 𝑝, 𝑡 (30)
𝑣𝑖,𝑝,𝑡 ∑ 𝑥𝑗′,𝑖,𝑡
𝑗′
= ∑ 𝑣 𝑚′,𝑝,𝑡 𝑥𝑗′,𝑖,𝑡
𝑗′
∀ 𝑖, 𝑝, 𝑡 (31)
𝑣 𝑚,𝑝,𝑡 𝑥ℎ 𝑚,𝑡 = 𝑣 𝑚,𝑝,𝑡−1 𝑥ℎ 𝑚,𝑡−1 + ∑ 𝑣 𝑚′,𝑝,𝑡 𝑥 𝑗′,𝑖,𝑡
𝑗′
−𝑣 𝑚,𝑝,𝑡 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
∀ (𝑖, 𝑚, 𝑗) ∈ 𝑀 𝑇𝐾, 𝑡 (32)
The weight-based balances are skipped as they are
similar to Eqs. (30) to (32) only replacing 𝑣 by the product
𝑣𝑤. Finally, Eq. (33) converts CDU throughputs in amounts
or yields of distillates (jJDIS). Equations (34) and (35)
calculate, respectively, the volume- and weight-based
properties for JDIS considering the assay or renderings of
each crude-oil c with respect to their defined cuts. The
renderings for yields and properties are 𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑦𝑖𝑒
and 𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑝
and SG means specific gravity in Eq. (35). Reformulating
Eqs. (34) and (35), Eq. (33) can be substituted to cancel the
term ∑ 𝑥𝑗′,𝑖 𝐶𝐷𝑈,𝑡𝑗′ and reduces both the nonlinearities and
the number of non-zeros in these equations.
∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
= ∑ 𝑥𝑗′,𝑖 𝐶𝐷𝑈,𝑡
𝑗′
∑ ∑ 𝑣𝑖 𝐶𝐷𝑈,𝑝=𝑐,𝑡 𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑦𝑖𝑒
𝑐𝑢𝑡𝑐
∀ 𝑗 ∈ 𝐽 𝐷𝐼𝑆, 𝑡 (33)
𝑣𝑗,𝑝,𝑡 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
= ∑ 𝑥𝑗′,𝑖 𝐶𝐷𝑈,𝑡
𝑗′
∑ ∑ 𝑣𝑖 𝐶𝐷𝑈,𝑝=𝑐,𝑡 𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑦𝑖𝑒
𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑝
𝑐𝑢𝑡𝑐
∀ 𝑗 ∈ 𝐽 𝐷𝐼𝑆, 𝑡 (34)
𝑣𝑗,𝑝=𝑠𝑔,𝑡 𝑤𝑗,𝑝,𝑡 ∑ 𝑥𝑗,𝑖′′,𝑡
𝑖′′
= ∑ 𝑥𝑗′,𝑖 𝐶𝐷𝑈,𝑡
𝑗′
∑ ∑ 𝑣𝑖 𝐶𝐷𝑈,𝑝=𝑐,𝑡 𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑦𝑖𝑒
𝑐𝑢𝑡
𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑝=𝑠𝑔
𝑟𝑒𝑗,𝑐,𝑐𝑢𝑡
𝑝
𝑐
∀ 𝑗 ∈ 𝐽 𝐷𝐼𝑆, 𝑡 (35)
Illustrative Example
The examples use the structural-based unit-
operation-port-state superstructure (UOPSS) found in the
semantic-oriented platform IMPL (Industrial Modeling and
Programming Language) using Intel Core i7 machine at 2.7
Hz with 16GB of RAM. Figure 4 shows the unit-operation
Gantt chart for the entire problem found in Figure 3. The
past/present time-horizon has a duration of 24-hours and the
future time-horizon is 336-hours discretized into 2-hour
time-period durations (168 time-periods). The logistics
problem has 8,333 continuous and 3,508 binary variables
and 3,957 equality and 15,810 inequality constraints and it
is solved in 176.0 seconds using 8 threads in CPLEX 12.6.
The quality problem has 19,400 continuous variables and
14,862 equality and 696 inequality constraints and lasts 16.8
seconds in the IMPL’ SLP engine linked to CPLEX 12.6.
The MILP-NLP gap between the two solutions is within
0.09% with only one PDH iteration.
The crude-oil blend header COB has an up-time or
run-length of between 6 to 18-hours and this is clearly
followed by the semi-continuous nature of the blender (i.e.,
see the 20 blends or batches of crude-oil mixes). The storage
tanks have a lower fill-draw-delay of 6-hours which means
that if there is a fill into the tank then there must be at least
a 6-hour delay or hold before the draw out of the tank can
occur. This is typical of receiving tanks in an oil-refinery
when they receive crude-oil cargos from marine vessels that
contain a significant amount of ballast water that needs to
be decanted before it charges the desalter, preflash, furnace
and CDU.
Figure 4. Illustrative example Gantt chart.
The feed tanks have draw-to-empty (DTE) and fill-
to-full (FTF) quantities of 10.0 to 190.0 Kbbl respectively.
The DTE logistic requires that there cannot be a fill into the
tank unless the holdup quantity in the tank is equal to or
below 10.0 Kbbl. The FTF logistic requires that there
cannot be a draw out of the tank unless the holdup is equal
6. to or above 190.0 Kbbl. This is necessary for managing tank
inventories so that they have a well-defined fill-hold-draw
profile. These restrictions are also necessary to minimize
the crude-oil swings or runs to the CDU given that during
the draw out of a single feed tank to a CDU, there are no
crude-oil disturbances; i.e., between one to three days
depending on the CDU charge rate and the inventory
capacity of the charge tank.
Figure 5 plots the composition of crude-oils
entering the feed tank F1 on its in-port. As can be easily
seen, the compositions change when the blender charge
crude-oil from the storage tanks.
Figure 5. F1 in-port component plots.
Industrial-Sized Example
The proposed model is applied in an industrial-
sized refinery including 5 crude-oil distillation units (CDU)
in 9 modes of operation and around 35 tanks among storage
and feed tanks. The past/present time-horizon has a duration
of 48-hours and the future time-horizon is 168-hours
discretized into 2-hour time-period durations (84 time-
periods). The logistics problem has 30,925 continuous and
29,490 binary variables and 6,613 equality and 79,079
inequality constraints (degrees-of-freedom = 53,802) and it
is solved in 128.8 seconds using 8 threads in CPLEX 12.6.
The quality problem has 102,539 continuous variables and
58,019 equality and 768 inequality constraints (degrees-of-
freedom = 44,520) and lasts 10.3 minutes in the IMPL’ SLP
engine linked to CPLEX 12.6. The MILP-NLP gap between
the two solutions is within 3.5% after two PDH iterations.
Conclusion
In summary, we have highlighted a benchmark
application of crude-oil blend scheduling optimization
using a discrete, nonlinear and dynamic optimization with a
uniform time-grid (see Menezes et. al. 2015 for more
details). The fine points of the MINLP formulation are
highlighted where a phenomenological decomposition of
logistics and quality is applied to solve industrial-sized
problems to feasibility. An illustrative example is modeled
and solved to demonstrate the theory in practice.
References
Castro, P., Grossmann, I. E. (2014). Global Optimal Scheduling of
Crude Oil Blending Operations with RTN Continuous-
time and Multiparametric Disaggregation. Ind. Eng.
Chem. Res., 53, 15127.
Jia, Z., Ierapetritou, M., Kelly, J. D. (2003). Refinery Short-Term
Scheduling Using Continuous Time Formulation:
Crude-Oil Operations. Ind. Eng. Chem. Res., 42, 3085.
Kelly, J. D. (2005). The Unit-Operation-Stock Superstructure
(UOSS) and the Quantity-Logic-Quality Paradigm
(QLQP) for Production Scheduling in The Process
Industries. In Multidisciplinary International
Scheduling Conference Proceedings: New York,
United States, 327.
Kelly, J. D., Mann, J. M. (2003a). Crude-Oil Blend Scheduling
Optimization: An Application with Multi-Million Dollar
Benefits. Hydro. Proces., June, 47.
Kelly, J. D., Mann, J. M. (2003b). Crude-Oil Blend Scheduling
Optimization: An Application with Multi-Million Dollar
Benefits. Hydro. Proces., July, 72.
Kelly, J. D., Zyngier, D. (2007). An Improved MILP Modeling of
Sequence-Dependent Switchovers for Discrete-Time
Scheduling Problems. Ind. Eng. Chem. Res., 46, 4964.
Kelly, J. D., Menezes, B. C., Grossmann, I. E. (2014). Distillation
Blending and Cutpoint Optimization using Monotonic
Interpolation. Ind. Eng. Chem. Res., 53, 15146.
Kelly, J. D., Zyngier, D. (2016). Unit-Operation Nonlinear
Modeling for Planning and Scheduling Applications.
Optim. Eng., 16, 1.
Kelly, J. D., Menezes, B. C., Grossmann, I. E., Engineer, F.
(2017). Feedstock Storage Assignment in Process
Industry Quality Problems. In Foundations of Computer
Aided Process Operations: Tucson, United States.
Lee, H., Pinto, J. M, Grossmann, I. E., Park, S. (1996). Mixed-
integer Linear Programming Model for Refinery Short-
Term Scheduling of Crude Oil Unloading with
Inventory Management. Ind. Eng. Chem. Res., 35, 1630.
Menezes, B. C., Kelly, J. D., Grossmann, I. E. (2013). Improved
Swing-Cut Modeling for Planning and Scheduling of
Oil-Refinery Distillation Units. Ind. Eng. Chem. Res.,
52, 18324.
Menezes, B. C., Kelly, J. D., Grossmann, I. E. (2015).
Phenomenological Decomposition Heuristic for Process
Design Synthesis in the Oil-Refining Industry. Comput.
Aided Chem. Eng., 32, 241.
Mouret, S., Grossmann, I. E., Pestiaux, P. (2009). A Novel
Priority-Slot Based Continuous-Time Formulation for
Crude-Oil Scheduling Problems. Ind. Eng. Chem. Res.,
48, 8515.
Oil & Gas Research Center. (2016). Worldwide Refinery Survey.
Oil & Gas Journal.
Zyngier, D., Kelly, J. D. (2009). Multi-product Inventory Logistics
Modeling in The Process Industries. In: Wanpracha
Chaovalitwongse, Kevin C. Furman, Panos M. Pardalos
(Eds.) Optimization and logistics challenges in the
enterprise. Springer optimization and its applications,
30, Part 1, 61.
Zyngier, D., Kelly, J. D. (2012). UOPSS: A New Paradigm for
Modeling Production Planning and Scheduling Systems.
In European Symposium in Computer Aided Process
Engineering: London, United Kingdom.