SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
Petro-SIM use at Marathon Petroleum Company
Thomas L. Bowman
Refining Operations Research
Topics
 Introduction
 Petro-SIM use for flowsheet modeling
 Conversion of FCC models to v6.2
 LP submodel development
 Refinery-wide modelling
 Crude assays from Spiral Assay
 Tips/ Tricks
2
Introduction
3
 MPC is the second-largest crude oil refiner in the U.S. and the largest in the
Midwest.
 MPC has 6 refineries located in the Midwest and Gulf Coast regions of the U.S.
 These refineries collectively have approximately 1,881,000 bpcd of crude oil
throughput capacity.
 This presentation shows some of the ways MPC uses Petro-SIM to model these
refineries.
 The focus will be on the work done by our Operations Research team using
Petro-SIM.
Petro-SIM use for flowsheet modeling
4
 Transitioned refinery Technical Service team models to Petro-SIM
– Operations Research team converted ~500 models
– Training classes led by KBC consultants were held at each refinery
– Some models were modified to include kinetic reactor models and feed synthesis
 Project models
– Some contractors have begun to provide Petro-SIM models
– Detailed design models have been built from refinery wide model subflowsheets
– Other models have not been converted due to extensive use of rigorous exchangers
• Awaiting v7 with improved HTRI integration
FCC-SIM models to v6.2
5
 Have been using v3.2 FCC-SIM models for years
– v4.1 through v6.0 flowsheet based models did not optimize properly
– With double precision reactor modeling, the v6.2 model optimizers worked much better
 Converted all our models to v6.2
– Use meters connected to the PI Historian instead of Excel generated flat files
– Using real plant data as calibration input instead of calculated yields improves the unit
engineer’s understanding of the operating state used for calibration
 KBC Explorer is now used to run predict versus measured cases
– Test the robustness of the model calibration and tuning over time
– Identify plant data issues
– Testing automatic optimization runs
LP submodel development
6
 FCC-SIM, HXX-SIM and REF-SIM commonly used to update LP submodels
 LP Utility is used to run sets of cases to export to Excel
– Often utilize a spreadsheet operation to capture the results used by the LP Utility
– This keeps the LP Utility results in the order that we want
 The Petro-SIM reactor model results are then used to build the LP model
– Simple step out cases for base delta LP models
– Or, many cases are run for data regressions (linear or non-linear models)
Refinery-wide modelling
7
 MPC Refinery-wide models
– Use FCC-SIM, HXX-SIM, REF-SIM, CKR-SIM, ISOM, and ALKY reactor models
– Naphtha HT (incl. FCC naph), Sulfolane, RHU, Asphaltene Extraction, etc.
• Custom representations using spreadsheet units or component splitters with custom VB script
 Two additional Refinery-wide models built since last presentation
– Robinson, IL and Catlettsburg, KY
 Both models were built in-house
– Major project team did use KBC consultants to verify some reactor model responses
 Catlettsburg model uses component splitters instead of column models
– Uses shortcut distillation with adjusters to hit product targets
– Much faster than our other refinery-wide models and very robust
Crude assays from Spiral Assay
8
 Spiral Assay has three options for exporting xml files to be read by Petro-SIM
 Results from the Petro-SIM streams do not match the original assay
 Built a new input dataset within Petro-SIM using Spiral-SDK and Excel
– Transfer three chunks of data: Light ends, Naphtha GC, and Distillate cuts
– Utilizes 49 “Distillate” cuts to match full yield and property curves
 Updated Synthesis settings
– Naphtha modification: Scope = “Modify properties over measured range only”
– Heavy Naphtha / Kerosene range yields match Spiral much better
Tips/ Tricks
9
 Using Spreadsheet for Logic switches
– Refinery-wide models are simulations: user is required to specify how intermediates
are routed to downstream units
– Our models tend to have flowrate specifications that “flow” backwards through tees
and/or mixers to fill up a process unit to a desired capacity
– Works well until your “incremental” feed runs out or is driven to zero
– Must change flow specifications to allow another feed to be the “incremental” feed
– Another example would be shutting down a portion of the flowsheet
 Spreadsheets can pass “empty” values to flow specifications
– Note: insert/ deleting rows or columns affects “=empty” cells
 Export from Spreadsheets to “Ignore” buttons
Tips/ Tricks
10
Logic Switches
Tips/ Tricks
11
Logic Switches
Tips/ Tricks
12
Spreadsheets for CSTR reactors
 CSTR reactor in Petro-SIM works for chemical applications but not for refining
units with hypothetical components
 Require reactions for properties of components as well
 Made new hypos that matched desired kinetic lumps
 Added user properties to track property lumps
 CSTR reactors are well mixed resulting in the kinetics being driven by the
effluent composition
– Normally requires an iterative approach performed by computer code
– Utilized a recycle block with a spreadsheet unit to handle the calculations
 Used assay adjustors to change the feed into the effluent
– Requires two steps because composition is set by volume so the gravity must be
applied first
Tips/ Tricks
13
Spreadsheets for CSTR reactors
 The recycle stream gives the basis to calculate the reaction rates
 The feed stream is modified accordingly to become the effluent stream
 The recycle stream is updated and the process repeats
Tips/ Tricks
14
User Code
 VB Script code can be added to a User Variable
 Can pull in other User Variables or data from the object as input
– X0 = getuservariable(“X”).variable
– Note: user variables are global and must have unique names
 Can export results to the object
 Select a variable in the flowsheet, right-click and “Send details to clipboard” to
see the name to use in the code to link to that variable
– Set mbd = MyBackDoor
– NBP = mbd.BackDoorVariable(“:Temperature.503.1”).Variable.GetValue(“F”)
– Mbd.BackDoorVariable(“:MoleFraction.503.0.0”).Variable.Value = 1
Summary
15
 MPC is using Petro-SIM reactor models and flowsheets in many areas
– Technical Service process models
– Detailed project models
– LP Submodel development
– Refinery-wide simulation models
– Kinetic model benchmarking
 User properties, script properties, user variables, and user code give sufficient
flexibility to model anything we need

Mais conteúdo relacionado

Mais procurados

Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Chemical Engineering Guy
 
Diesel Particulate Filters Control Systems
Diesel Particulate Filters Control SystemsDiesel Particulate Filters Control Systems
Diesel Particulate Filters Control Systems
michaeljmack
 

Mais procurados (20)

Various ammonia technology
Various ammonia technologyVarious ammonia technology
Various ammonia technology
 
Steam Reforming - Types of Reformer Design
Steam Reforming - Types of Reformer DesignSteam Reforming - Types of Reformer Design
Steam Reforming - Types of Reformer Design
 
Cost and Inventory Management
Cost and Inventory ManagementCost and Inventory Management
Cost and Inventory Management
 
SRU Troubleshooting
SRU TroubleshootingSRU Troubleshooting
SRU Troubleshooting
 
Equipment sizing and costing using Petro-SIM
Equipment sizing and costing using Petro-SIMEquipment sizing and costing using Petro-SIM
Equipment sizing and costing using Petro-SIM
 
Introduction to Pre-reformer Flowsheet Options
Introduction to Pre-reformer Flowsheet OptionsIntroduction to Pre-reformer Flowsheet Options
Introduction to Pre-reformer Flowsheet Options
 
Primary Reforming Flowsheets
Primary Reforming FlowsheetsPrimary Reforming Flowsheets
Primary Reforming Flowsheets
 
Adnoc and masdar project may 2013
Adnoc and masdar project   may 2013Adnoc and masdar project   may 2013
Adnoc and masdar project may 2013
 
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
 
Carbon Capture and Storage
Carbon Capture and StorageCarbon Capture and Storage
Carbon Capture and Storage
 
Diesel Particulate Filters Control Systems
Diesel Particulate Filters Control SystemsDiesel Particulate Filters Control Systems
Diesel Particulate Filters Control Systems
 
Calculation of an Ammonia Plant Energy Consumption:
Calculation of an Ammonia Plant Energy Consumption:  Calculation of an Ammonia Plant Energy Consumption:
Calculation of an Ammonia Plant Energy Consumption:
 
Thyssenkrupp uhde advanced ammonia processes dual pressure
Thyssenkrupp uhde advanced ammonia processes dual pressureThyssenkrupp uhde advanced ammonia processes dual pressure
Thyssenkrupp uhde advanced ammonia processes dual pressure
 
Pumps presentation on Types, Classification and governing Equations
Pumps presentation on Types, Classification and governing EquationsPumps presentation on Types, Classification and governing Equations
Pumps presentation on Types, Classification and governing Equations
 
Plant Performance Monitoring
Plant Performance Monitoring Plant Performance Monitoring
Plant Performance Monitoring
 
Ammonia CO2 Removal Systems
Ammonia CO2 Removal SystemsAmmonia CO2 Removal Systems
Ammonia CO2 Removal Systems
 
Air Cooled Heat Exchanger Design
Air Cooled Heat Exchanger DesignAir Cooled Heat Exchanger Design
Air Cooled Heat Exchanger Design
 
Carbon Capture & Storage
Carbon Capture & StorageCarbon Capture & Storage
Carbon Capture & Storage
 
Improving Performance of Coker Heaters
Improving Performance of Coker HeatersImproving Performance of Coker Heaters
Improving Performance of Coker Heaters
 
Process Optimization for Small-Scale LNG Plants
Process Optimization for Small-Scale LNG PlantsProcess Optimization for Small-Scale LNG Plants
Process Optimization for Small-Scale LNG Plants
 

Semelhante a Marathon Petro-SIM use at Marathon

APC implementation on CCR Plant 2009
APC implementation on CCR Plant 2009APC implementation on CCR Plant 2009
APC implementation on CCR Plant 2009
Pranob Banerjee
 
Plant data for energy audit
Plant data for energy auditPlant data for energy audit
Plant data for energy audit
Utpal SenGupta
 
Czero Engineering - Feb 2017
Czero Engineering  - Feb 2017Czero Engineering  - Feb 2017
Czero Engineering - Feb 2017
Czero
 

Semelhante a Marathon Petro-SIM use at Marathon (20)

APC implementation on CCR Plant 2009
APC implementation on CCR Plant 2009APC implementation on CCR Plant 2009
APC implementation on CCR Plant 2009
 
Kbc Petro-SIM
Kbc Petro-SIMKbc Petro-SIM
Kbc Petro-SIM
 
Europe User Conference: Neste FCC-SIM model usage
Europe User Conference: Neste FCC-SIM model usageEurope User Conference: Neste FCC-SIM model usage
Europe User Conference: Neste FCC-SIM model usage
 
Plant data for energy audit
Plant data for energy auditPlant data for energy audit
Plant data for energy audit
 
Virtual Commissioning and Real-Time Training for Increasing Performance
Virtual Commissioning and Real-Time Training for Increasing PerformanceVirtual Commissioning and Real-Time Training for Increasing Performance
Virtual Commissioning and Real-Time Training for Increasing Performance
 
Modelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation SolutionModelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation Solution
 
Czero Engineering - Feb 2017
Czero Engineering  - Feb 2017Czero Engineering  - Feb 2017
Czero Engineering - Feb 2017
 
Rajiv Kumar
Rajiv KumarRajiv Kumar
Rajiv Kumar
 
Folheto Petro-SIM
Folheto Petro-SIMFolheto Petro-SIM
Folheto Petro-SIM
 
Hafiz Muhammad Bilal
Hafiz Muhammad BilalHafiz Muhammad Bilal
Hafiz Muhammad Bilal
 
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
 
M2T Starter Model - A Rethink of How to Get New Users Going
M2T Starter Model - A Rethink of How to Get New Users GoingM2T Starter Model - A Rethink of How to Get New Users Going
M2T Starter Model - A Rethink of How to Get New Users Going
 
Prosper part 1.pdf
Prosper part 1.pdfProsper part 1.pdf
Prosper part 1.pdf
 
Case Study: Modelling Refinery Processes
Case Study: Modelling Refinery ProcessesCase Study: Modelling Refinery Processes
Case Study: Modelling Refinery Processes
 
Reverse converter design via parallel prefix adders novel components, methodo...
Reverse converter design via parallel prefix adders novel components, methodo...Reverse converter design via parallel prefix adders novel components, methodo...
Reverse converter design via parallel prefix adders novel components, methodo...
 
Engine Dynamics Library - Overview
Engine Dynamics Library - OverviewEngine Dynamics Library - Overview
Engine Dynamics Library - Overview
 
Summer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterSummer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy Center
 
Introduction to CMG Reservoir Simulator.pdf
Introduction to CMG Reservoir Simulator.pdfIntroduction to CMG Reservoir Simulator.pdf
Introduction to CMG Reservoir Simulator.pdf
 
OpenPOWER Webinar
OpenPOWER Webinar OpenPOWER Webinar
OpenPOWER Webinar
 
Spark Summit EU talk by Mikhail Semeniuk Hollin Wilkins
Spark Summit EU talk by Mikhail Semeniuk Hollin WilkinsSpark Summit EU talk by Mikhail Semeniuk Hollin Wilkins
Spark Summit EU talk by Mikhail Semeniuk Hollin Wilkins
 

Mais de KBC (A Yokogawa Company)

Mais de KBC (A Yokogawa Company) (20)

Digitalization assuring your plant achieves its full potential Larson
Digitalization assuring your plant achieves its full potential LarsonDigitalization assuring your plant achieves its full potential Larson
Digitalization assuring your plant achieves its full potential Larson
 
Energy Optimization with Pinch Analysis McMullan
Energy Optimization with Pinch Analysis McMullanEnergy Optimization with Pinch Analysis McMullan
Energy Optimization with Pinch Analysis McMullan
 
Technology for Profitable Tracking and Optimization Rogers
Technology for Profitable Tracking and Optimization RogersTechnology for Profitable Tracking and Optimization Rogers
Technology for Profitable Tracking and Optimization Rogers
 
Digital Twin: A value creator
Digital Twin: A value creatorDigital Twin: A value creator
Digital Twin: A value creator
 
Digitalization of Engineering Silos Howell
Digitalization of Engineering Silos HowellDigitalization of Engineering Silos Howell
Digitalization of Engineering Silos Howell
 
What will happen to the Bottom of the Barrel Knight
What will happen to the Bottom of the Barrel KnightWhat will happen to the Bottom of the Barrel Knight
What will happen to the Bottom of the Barrel Knight
 
Asia Downstream 2019 Simon Rogers
Asia Downstream 2019 Simon RogersAsia Downstream 2019 Simon Rogers
Asia Downstream 2019 Simon Rogers
 
KBC Proven Application of Digital Twin
KBC Proven Application of Digital TwinKBC Proven Application of Digital Twin
KBC Proven Application of Digital Twin
 
KBC scheduling hydrocarbon supply chain
KBC scheduling hydrocarbon supply chainKBC scheduling hydrocarbon supply chain
KBC scheduling hydrocarbon supply chain
 
Motiva online monitoring and optimization energy system
Motiva online monitoring and optimization energy systemMotiva online monitoring and optimization energy system
Motiva online monitoring and optimization energy system
 
KBC decision making tool optimal planning scheduling utility
KBC decision making tool optimal planning scheduling utilityKBC decision making tool optimal planning scheduling utility
KBC decision making tool optimal planning scheduling utility
 
Using HTRI technology within Petro-SIM
Using HTRI technology within Petro-SIM Using HTRI technology within Petro-SIM
Using HTRI technology within Petro-SIM
 
Valero Petro-SIM simple tools
Valero Petro-SIM simple toolsValero Petro-SIM simple tools
Valero Petro-SIM simple tools
 
KBC unit monitoring Petro-SIM and PI-AF
KBC unit monitoring Petro-SIM and PI-AFKBC unit monitoring Petro-SIM and PI-AF
KBC unit monitoring Petro-SIM and PI-AF
 
KBC roadmap
KBC roadmapKBC roadmap
KBC roadmap
 
Valero solving reactor models via alternate specs
Valero solving reactor models via alternate specsValero solving reactor models via alternate specs
Valero solving reactor models via alternate specs
 
Albemarle using user variables scripts triggers
Albemarle using user variables scripts triggersAlbemarle using user variables scripts triggers
Albemarle using user variables scripts triggers
 
Earliest days SIM reactor suite models
Earliest days SIM reactor suite modelsEarliest days SIM reactor suite models
Earliest days SIM reactor suite models
 
Europe User Conference: BPT - Transforming data into insight
Europe User Conference: BPT - Transforming data into insightEurope User Conference: BPT - Transforming data into insight
Europe User Conference: BPT - Transforming data into insight
 
Europe User Conference: The importance of life of field in flow assurance
Europe User Conference: The importance of life of field in flow assuranceEurope User Conference: The importance of life of field in flow assurance
Europe User Conference: The importance of life of field in flow assurance
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Marathon Petro-SIM use at Marathon

  • 1. Petro-SIM use at Marathon Petroleum Company Thomas L. Bowman Refining Operations Research
  • 2. Topics  Introduction  Petro-SIM use for flowsheet modeling  Conversion of FCC models to v6.2  LP submodel development  Refinery-wide modelling  Crude assays from Spiral Assay  Tips/ Tricks 2
  • 3. Introduction 3  MPC is the second-largest crude oil refiner in the U.S. and the largest in the Midwest.  MPC has 6 refineries located in the Midwest and Gulf Coast regions of the U.S.  These refineries collectively have approximately 1,881,000 bpcd of crude oil throughput capacity.  This presentation shows some of the ways MPC uses Petro-SIM to model these refineries.  The focus will be on the work done by our Operations Research team using Petro-SIM.
  • 4. Petro-SIM use for flowsheet modeling 4  Transitioned refinery Technical Service team models to Petro-SIM – Operations Research team converted ~500 models – Training classes led by KBC consultants were held at each refinery – Some models were modified to include kinetic reactor models and feed synthesis  Project models – Some contractors have begun to provide Petro-SIM models – Detailed design models have been built from refinery wide model subflowsheets – Other models have not been converted due to extensive use of rigorous exchangers • Awaiting v7 with improved HTRI integration
  • 5. FCC-SIM models to v6.2 5  Have been using v3.2 FCC-SIM models for years – v4.1 through v6.0 flowsheet based models did not optimize properly – With double precision reactor modeling, the v6.2 model optimizers worked much better  Converted all our models to v6.2 – Use meters connected to the PI Historian instead of Excel generated flat files – Using real plant data as calibration input instead of calculated yields improves the unit engineer’s understanding of the operating state used for calibration  KBC Explorer is now used to run predict versus measured cases – Test the robustness of the model calibration and tuning over time – Identify plant data issues – Testing automatic optimization runs
  • 6. LP submodel development 6  FCC-SIM, HXX-SIM and REF-SIM commonly used to update LP submodels  LP Utility is used to run sets of cases to export to Excel – Often utilize a spreadsheet operation to capture the results used by the LP Utility – This keeps the LP Utility results in the order that we want  The Petro-SIM reactor model results are then used to build the LP model – Simple step out cases for base delta LP models – Or, many cases are run for data regressions (linear or non-linear models)
  • 7. Refinery-wide modelling 7  MPC Refinery-wide models – Use FCC-SIM, HXX-SIM, REF-SIM, CKR-SIM, ISOM, and ALKY reactor models – Naphtha HT (incl. FCC naph), Sulfolane, RHU, Asphaltene Extraction, etc. • Custom representations using spreadsheet units or component splitters with custom VB script  Two additional Refinery-wide models built since last presentation – Robinson, IL and Catlettsburg, KY  Both models were built in-house – Major project team did use KBC consultants to verify some reactor model responses  Catlettsburg model uses component splitters instead of column models – Uses shortcut distillation with adjusters to hit product targets – Much faster than our other refinery-wide models and very robust
  • 8. Crude assays from Spiral Assay 8  Spiral Assay has three options for exporting xml files to be read by Petro-SIM  Results from the Petro-SIM streams do not match the original assay  Built a new input dataset within Petro-SIM using Spiral-SDK and Excel – Transfer three chunks of data: Light ends, Naphtha GC, and Distillate cuts – Utilizes 49 “Distillate” cuts to match full yield and property curves  Updated Synthesis settings – Naphtha modification: Scope = “Modify properties over measured range only” – Heavy Naphtha / Kerosene range yields match Spiral much better
  • 9. Tips/ Tricks 9  Using Spreadsheet for Logic switches – Refinery-wide models are simulations: user is required to specify how intermediates are routed to downstream units – Our models tend to have flowrate specifications that “flow” backwards through tees and/or mixers to fill up a process unit to a desired capacity – Works well until your “incremental” feed runs out or is driven to zero – Must change flow specifications to allow another feed to be the “incremental” feed – Another example would be shutting down a portion of the flowsheet  Spreadsheets can pass “empty” values to flow specifications – Note: insert/ deleting rows or columns affects “=empty” cells  Export from Spreadsheets to “Ignore” buttons
  • 12. Tips/ Tricks 12 Spreadsheets for CSTR reactors  CSTR reactor in Petro-SIM works for chemical applications but not for refining units with hypothetical components  Require reactions for properties of components as well  Made new hypos that matched desired kinetic lumps  Added user properties to track property lumps  CSTR reactors are well mixed resulting in the kinetics being driven by the effluent composition – Normally requires an iterative approach performed by computer code – Utilized a recycle block with a spreadsheet unit to handle the calculations  Used assay adjustors to change the feed into the effluent – Requires two steps because composition is set by volume so the gravity must be applied first
  • 13. Tips/ Tricks 13 Spreadsheets for CSTR reactors  The recycle stream gives the basis to calculate the reaction rates  The feed stream is modified accordingly to become the effluent stream  The recycle stream is updated and the process repeats
  • 14. Tips/ Tricks 14 User Code  VB Script code can be added to a User Variable  Can pull in other User Variables or data from the object as input – X0 = getuservariable(“X”).variable – Note: user variables are global and must have unique names  Can export results to the object  Select a variable in the flowsheet, right-click and “Send details to clipboard” to see the name to use in the code to link to that variable – Set mbd = MyBackDoor – NBP = mbd.BackDoorVariable(“:Temperature.503.1”).Variable.GetValue(“F”) – Mbd.BackDoorVariable(“:MoleFraction.503.0.0”).Variable.Value = 1
  • 15. Summary 15  MPC is using Petro-SIM reactor models and flowsheets in many areas – Technical Service process models – Detailed project models – LP Submodel development – Refinery-wide simulation models – Kinetic model benchmarking  User properties, script properties, user variables, and user code give sufficient flexibility to model anything we need