SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Lubricants
LubricantsLubricants
Lubricants
Gerard B. Hawkins
 
Hydrogen production in refinery
Hydrogen production in refineryHydrogen production in refinery
Hydrogen production in refinery
Anupam Basu
 

Tendances (20)

Lubricants
LubricantsLubricants
Lubricants
 
Liquefied Natural Gas (LNG) Life Cycle
Liquefied Natural Gas (LNG) Life CycleLiquefied Natural Gas (LNG) Life Cycle
Liquefied Natural Gas (LNG) Life Cycle
 
Oil and gas industry overview
Oil and gas industry overviewOil and gas industry overview
Oil and gas industry overview
 
LNG
LNGLNG
LNG
 
CNG Presentation
CNG PresentationCNG Presentation
CNG Presentation
 
Hydrogen production in refinery
Hydrogen production in refineryHydrogen production in refinery
Hydrogen production in refinery
 
Hydrotreating process
Hydrotreating processHydrotreating process
Hydrotreating process
 
Introduction to petroleum industry
Introduction to petroleum industryIntroduction to petroleum industry
Introduction to petroleum industry
 
Training report Oil India Limited LPG, Duliajan by upal jb
Training report Oil India Limited LPG, Duliajan by upal jbTraining report Oil India Limited LPG, Duliajan by upal jb
Training report Oil India Limited LPG, Duliajan by upal jb
 
Fired Heater Efficiency Guide
Fired Heater Efficiency GuideFired Heater Efficiency Guide
Fired Heater Efficiency Guide
 
NATURAL GAS DEHYDRATION
NATURAL GAS DEHYDRATION NATURAL GAS DEHYDRATION
NATURAL GAS DEHYDRATION
 
Cracking process
Cracking processCracking process
Cracking process
 
Oil 101 - Introduction to Refining
Oil 101 - Introduction to RefiningOil 101 - Introduction to Refining
Oil 101 - Introduction to Refining
 
ONGC HAZIRA PROJECT REPORT
ONGC HAZIRA PROJECT REPORTONGC HAZIRA PROJECT REPORT
ONGC HAZIRA PROJECT REPORT
 
Introduction to oil & gas industry for economic student
Introduction to oil & gas industry for economic studentIntroduction to oil & gas industry for economic student
Introduction to oil & gas industry for economic student
 
Safety tips for lpg tank installation
Safety tips for lpg tank installationSafety tips for lpg tank installation
Safety tips for lpg tank installation
 
Making the CNG Virtual Pipeline a Reality for Transportation Natural Gas (TNG)
Making the CNG Virtual Pipeline a Reality for Transportation Natural Gas (TNG)Making the CNG Virtual Pipeline a Reality for Transportation Natural Gas (TNG)
Making the CNG Virtual Pipeline a Reality for Transportation Natural Gas (TNG)
 
Oil Industry Powerpoint Template
Oil Industry Powerpoint TemplateOil Industry Powerpoint Template
Oil Industry Powerpoint Template
 
Compressors presentation on Types, Classification and governing Equations
Compressors presentation on Types, Classification and governing EquationsCompressors presentation on Types, Classification and governing Equations
Compressors presentation on Types, Classification and governing Equations
 
Guide to base oils Ver 2
Guide to base oils Ver 2Guide to base oils Ver 2
Guide to base oils Ver 2
 

Similaire à 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
 

Similaire à 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
 
Plant Performance Monitoring
Plant Performance Monitoring Plant Performance Monitoring
Plant Performance Monitoring
 
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
 

Plus de KBC (A Yokogawa Company)

Plus 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
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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...
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

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