Pro-II API Layer.pdf
-
Upload
jose-antonio-perez -
Category
Documents
-
view
230 -
download
0
Transcript of Pro-II API Layer.pdf
-
7/24/2019 Pro-II API Layer.pdf
1/68
IPS Confidential
PRO/II Updates & Modeling Tips
-
7/24/2019 Pro-II API Layer.pdf
2/68
IPS Confidential 2
Agenda
Introduction
PRO/II Modeling Tips
PRO/II New Functionality
New Features
Liquid viscosity prediction improvements for heavy oils
SIM4ME Thermo 3.2 with PROPRED
OLI Mixed Solvent Electrolytes (MSE)
Architecture/Infrastructure Updates
SIM4ME Portal
-
7/24/2019 Pro-II API Layer.pdf
3/68
IPS Confidential
Introduction
-
7/24/2019 Pro-II API Layer.pdf
4/68
IPS Confidential 4
Invensys Overview
Global automation, controls and solutions company $5 billion in sales with ~35,000 employees, listed on London Stock Exchange
SimSci part of Invensys Process Systems ($1.3 billion business)
SimSci record of 40 years in simulation for refining and chemicals industries
Sao Paulo
Lake Forest
Foxboro
Montreal
Mexico City
Houston
Toronto
Irvine Philadelphia
Baarn
Hyderabad
Shanghai Tokyo
Sydney
Rome
Seoul
Singapore
Crawley
Paris
Chennai
Buenos Aires
Abu Dhabi
Melbourne
Milan
Dsseldorf
-
7/24/2019 Pro-II API Layer.pdf
5/68
IPS Confidential 5
Who Is SimSci?
Provider of software and services to the Hydrocarbon,Chemical and Power industries that allow for efficient
design operate
optimize
Steady state & dynamicsimulation
PRO/II, Hextran, VisualFlow, Inplant Pipephase,Dynsim, Tacite, Comos
Plant start-up, operationand operator trainingwith modeling, dynamicsimulation and control
emulation
PRO/II, Datacon, ARPM,
OTS, Dynsim, Fsim
Advisory and closed loop
process optimization
ROMeo, ARPM, Connoisseur,PRO/II, Netopt
increasedprofitability
-
7/24/2019 Pro-II API Layer.pdf
6/68
IPS Confidential 6
SimSci Solution Overview
-
7/24/2019 Pro-II API Layer.pdf
7/68
IPS Confidential 7
Pipephase
NetoptTacite
Oil and GasProduction
SimSci Solution Suites
PRO/II
Hextran
Visual Flow SuiteInplant
Datacon
ProcessEngineering
ROMeo
ConnoisseurARPM
On-LinePerformance
Dynsim
Fsim
Trisim
OTS
DynamicSimulation
Products fall into one of five
olution uitesolution uites
Comos
iFEED
Introduction
-
7/24/2019 Pro-II API Layer.pdf
8/68
IPS Confidential 8
Process Engineering Suite (PES)
PRO/II Process Flowsheet Simulator for Design, Operational Analysis,and Optimization
Hextran Heat Exchanger Network Simulator for Design, Operational Analysis,and Optimization
Datacon Data Reconcil iation Program for Heat/Mass/Composition balanceon plant data
Inplant Plant Piping and Utility Systems Flow Simulator
Visual Flow Flare Network & Regulatory Compliance Simulator
A consistent set of technically superior tools for process engineeringdesign and operations decision support. PES products interface withother applications commonly used by process engineers - MS Office forProcess Engineers
-
7/24/2019 Pro-II API Layer.pdf
9/68
IPS Confidential 9
On-Line Performance Suite (OPS)
On-line Performance Suite (OPS) delivers the latest generation ofAdvanced Process Control (APC) and On-line Optimization applicationsto help users obtain peak performance from their operating units.
ROMeo A fully integrated, on-line plant modeling/optimizationand off-line operational analysis tool.
ARPM A complete solution for monitoring the performance ofyour equipment and processes by using real-time plant
data and rigorous simulation models to extract validatedprocess and equipment performance information.
Connoisseur A comprehensive suite of APC software thatsimultaneously controls several process variablesvia the plant's distributed control system.
-
7/24/2019 Pro-II API Layer.pdf
10/68
IPS Confidential 10
Dynamic Simulation Suite (DSS)
Dynamic Simulation Suite provides the full power of rigorous dynamicsimulation and high-fidelity control system emulation for plant engineers,operators, and managers to use in optimizing plant design, operations,and performance management.
Dynsim Uses first principles equipment models and thermodynamic data toproduce highly accurate, reliable results to all your dynamic simulationproblems. Same model for process design, control evaluation,operator training, and operational analysis applications.
Fsim Plus A comprehensive Foxboro I/A Series control system checkout andsimulation tool.
Trisim Plus A comprehensive Triconex control system checkout and simulationtool.
-
7/24/2019 Pro-II API Layer.pdf
11/68
IPS Confidential 11
Technical Support Services
Technical support Phone: (800) SimSci1 (746-7241)
E-mail: [email protected]
Technical support requests Over 90% solved by primary support
Development staff as secondary support
Training Multiple public sessions annually
Private training
Manuals START/PROGRAMS/SIMSCI/PROII 8.2/PROII 8.2 Documentation
On harddrive, e. g., C:\SIMSCI\PROII82\Manual
On the same CD-ROM as program
mailto:[email protected]:[email protected] -
7/24/2019 Pro-II API Layer.pdf
12/68
IPS Confidential
PRO/II Modeling TipsProductivity
GeneralColumn Convergence
-
7/24/2019 Pro-II API Layer.pdf
13/68
IPS Confidential 13
Custom Stream and Unit Property Table
Unit and Stream Data Review Window
Spreadsheet Tools for Excel reporting
Tooltip view of stream properties
Toggle stream ID to show properties SIM4ME Report Module
Productivity: Reviewing Results
-
7/24/2019 Pro-II API Layer.pdf
14/68
IPS Confidential 14
Option to View Results in Text or Tabular Format Icons on the Toolbar
View Results in Text Form (View Results)
View Results in Tabular Form (Data Review Window)
Data Review Window is interactive
Change of units
Change listed properties
Productivity: Data Review Window
-
7/24/2019 Pro-II API Layer.pdf
15/68
IPS Confidential 15
Productivity: Spreadsheet Tools
Optimizer Report
Stream List
Rigorous HX
Compressor
Line Sizing
Heating Curves
Pumps
Flashes
-
7/24/2019 Pro-II API Layer.pdf
16/68
IPS Confidential 16
Productivity: Toggle Stream ID
-
7/24/2019 Pro-II API Layer.pdf
17/68
IPS Confidential 17
Productivity: Tooltip View
-
7/24/2019 Pro-II API Layer.pdf
18/68
IPS Confidential 18
D101(Column Plo t) : Temperature
0
5
10
15
20
25
0 100 200 300 400 500
Temperature(K)
Tray
Temperature
D101(Column Plot) : Rates
0
5
10
15
20
25
0 200 400 600 800
Liquid Rate(KG-MOL/HR) / Vapor Rate(KG-MOL/HR)
Tray
0
5
10
15
20
25
0 100 200 300 400 500 600
Liquid Rate Vapor Rate
Customizable reports generatedin Excel
Productivity: SIM4ME Report module
-
7/24/2019 Pro-II API Layer.pdf
19/68
IPS Confidential
General Tips
-
7/24/2019 Pro-II API Layer.pdf
20/68
IPS Confidential 20
Copy/Paste of a Unit Operation
Support Copy/Paste of Assay Stream
Allow paste special of components of Assay Stream intoanother stream for analysis
Copy/Paste Stream Data to and from Excel
Copy/Paste stream composition and assay data to orfrom Excel
General: Copy/Paste
-
7/24/2019 Pro-II API Layer.pdf
21/68
IPS Confidential 21
General: Hotkeys
Hotkey - One ClickAccess
Hydrate
Used to predict the formationof Methane-Water Hydrates
Heat Curve
Allows for quick generation ofa Heating/Cooling curve forthe selected stream
Distillation Curve
Generation of Assay Curve forthe selected steam
-
7/24/2019 Pro-II API Layer.pdf
22/68
IPS Confidential 22
General: Containerized Zipped File
PRZ File Containerized
Custom tables stay with the flowsheet
Stream Property Table
Unit Operation Property Table
Back-up keyword file automatically contained in PRZ
-
7/24/2019 Pro-II API Layer.pdf
23/68
IPS Confidential 23
General: Reinitialization Tips
Input/Restore Input Data (Ctrl+R)
Update Initial Estimates on User Demand
Input/Update recycle estimates Input/Update column estimates
Export Results to Keyword File
Flowsheet layout retention (SFD File) when export/import
Include the stream and column solutions by the click of a check box
-
7/24/2019 Pro-II API Layer.pdf
24/68
IPS Confidential 24
General: Export Results to Keyword File
Include the stream and
column solutions forfaster convergence
-
7/24/2019 Pro-II API Layer.pdf
25/68
IPS Confidential
Column Convergence Tips
-
7/24/2019 Pro-II API Layer.pdf
26/68
IPS Confidential 26
Column Convergence: Common Problems
Most convergence problems are due to the following reasons:
Improper or infeasible specifications
Unsuitable column algorithm
Initial estimates too far from solution
Free water on the trays
Non-ideal thermodynamics
Not enough iterations
-
7/24/2019 Pro-II API Layer.pdf
27/68
IPS Confidential 27
Column Convergence: Initial Estimate Generator(IEG)
What do I have to provide ? Generates good initial estimates for all column variables
P1 P2PN LN x* y* T*
P V* L*
Q*R Q*
C
x0 y0 T0
P V
0
L
0
Q0R Q0
CIEG Solver
You supply columnspecs and guesses
for a few variables...
IEG calculatesinitial estimates for
all column variables...
Solver (I/O, Chemdist)converges on solution
Column
Specs
-
7/24/2019 Pro-II API Layer.pdf
28/68
IPS Confidential 28
Column Convergence: Four IEGs
SIMPLE: Simple columns, e. g., absorbers
Only choice for liquid-liquid extraction
CONVENTIONAL: Works well with most columns Default for columns with 2 products
Based on shortcut methods
Strongly dependent on your product rate estimates
REFINING: Complex refinery columns (e.g., crude, vacuum, FCCmain fractionator, coker)
CHEMICAL: Nonideal thermodynamics (e.g., azeotropic andextractive distillation)
-
7/24/2019 Pro-II API Layer.pdf
29/68
IPS Confidential 29
Column Convergence: User Guesses
Molar reflux ratio (default =3) or reflux rate
Product or draw rate estimates for all but one product
Estimate water draw rate at the condenser
Add-up all the steam input and water in the feed streams
Estimate condenser, top temperatures on the high side
-
7/24/2019 Pro-II API Layer.pdf
30/68
IPS Confidential 30
Column Convergence: What Is Alpha?
Length of correction: Xn+1 = Xn + n n 0< |
| < 1
If = 1, PRO/II is proceeding to solution
PRO/II decreases if full step increases error
Unknown 2
Unknown 1
X1
X3
X2
Solution
3
1 = .7
2 = 1
Reject: full step
increases error
-
7/24/2019 Pro-II API Layer.pdf
31/68
IPS Confidential 31
Column Convergence: Use DAMPING
DAMPING reduces iteration step and suppressesoscillation of +error, -error, etc.
Conventional Columns: DAMP = 1.0 (default) Columns with Steam: DAMP = 0.6 - 0.8
Highly Non-ideal: DAMP = 0.4 - 0.6
If Oscillation Persists, Use Chemdist
If you use DAMP, increase the number of I/O Iterations
from 15 to, say, 50
-
7/24/2019 Pro-II API Layer.pdf
32/68
IPS Confidential 32
Column Convergence: Initial Column Status
Fixed quantit ies remain at their current values unless you declarethem as variables.
If no specs/variables provided, default status used:
Q U A N T IT Y S T A TU S
O v er h ea d a n d B o t to m s R at es
S id e D r aw R a te s
D u t i e sF e e d R a t e s
T r ay T e m p e r at u r e s
T r ay P r es s u r e s
V ap o r an d L i q u id R a te sP r o d u c t P r o p e r t i es (e .g . V i s c o s i t y )
T r ay V ap o r o r L i q u i d P r o p e r t ie s
C a l c u l a t e d
F i x e d
F i x e dF i x e d
C a l c u l a t e d
F i x e d
C a l c u l a t e dC a l c u l a t e d
C a l c u l a t e d
-
7/24/2019 Pro-II API Layer.pdf
33/68
IPS Confidential 33
Column Convergence: Specifications
Recovery usually safer than composition specs
Moles propane in overhead / moles propane in feed
Spec reflux ratio and product rate Spec reflux rate and component recovery
Crude columns
Good product draw rates
Overflash spec (% liquid flow from tray above feed / feed)
Reflux ratio spec
Condenser temp spec for partial condenser
-
7/24/2019 Pro-II API Layer.pdf
34/68
IPS Confidential 34
Column Convergence: Specifications
Set as Active by checkbox next to specification
Allows the user to saveor quickly change columnspecifications
-
7/24/2019 Pro-II API Layer.pdf
35/68
IPS Confidential 35
Column Convergence: I/O Supersaturation
** WARNING ** UNIT 5 - WATER SUPERSATURATION DETECTED on 13trays. Column solution is l ikely to be erroneous. Rerun using the SUREcolumn with the FREEWATER (DECANT) option enabled.
If Water condenses in column:
Increase temperature estimates to keep water in vapor
Reduce steam flow:
0.1 lb/Gallon bottoms in main column
0.1--0.2 lb/Gallon sidestripper product
-
7/24/2019 Pro-II API Layer.pdf
36/68
IPS Confidential 36
Column Convergence: Condenser
Not much vapor is produced in crude column
Typically from Cracking
Condenser may not produce vapor product Run simulation using Bubble Point Condenser or Fixed Temperature
Subcooled Condenser
If simulation fails and top tray temperature looks unreasonably low,non-condensable vapors are present
Change to Mixed Condenser
Fix temperature and allow simulation to vary liquid product rate
-
7/24/2019 Pro-II API Layer.pdf
37/68
IPS Confidential 37
Column Convergence: Pumparounds
Pumparounds solve best when you:
Fix rate and duty, calculate return temperature.
Excess cooling cause drying above PA return Remedy: Specify liquid flow above return tray and calculate
pumparound duty.
Specify Tray
Liquid rate
Declare Duty
as a Variable
-
7/24/2019 Pro-II API Layer.pdf
38/68
IPS Confidential 38
Column Convergence: Pumparounds
Pumparounds are a means of reducing the cooling dutyin the condenser
Also reduces column traffic by reducing reflux
All cooling duty can be taken up by the condenser forpreliminary run
Start simulation of complex column by adding in pumparounds with
fixed rates and zero duties. Solution will report total required cooling duty as condenser duty
Later distribute cooling duty to pumparounds, based on plant data
(should be about 60% of total)
-
7/24/2019 Pro-II API Layer.pdf
39/68
IPS Confidential 39
Column Convergence: Restarting
PRO/II remembers product flowrates from previoussolutions, and uses those to restart the IEG
In general, this speeds up overall flowsheet convergence
Can also Input/Update column estimates
If the previous run did not converge, product flowrates may be verybad, and throw off the IEG for subsequent runs
Uncheck the box labeled Use Previous Solution for Initial Estimatein the Column Initial Estimates Data Entry Window
Click on ctrl-R (Input/Restore Input Data)
-
7/24/2019 Pro-II API Layer.pdf
40/68
IPS Confidential
PRO/II new functionality
-
7/24/2019 Pro-II API Layer.pdf
41/68
IPS Confidential 41
Column Enhancement
Normalize Product Rates & Scale Traffic Profiles
When the feed rate to a column does not match the total productestimates
PRO/II will scale the initial estimates of the column traffic
Improves convergence speed and robustness
-
7/24/2019 Pro-II API Layer.pdf
42/68
IPS Confidential 42
Column Enhancement
Ability to view column results in mass units
-
7/24/2019 Pro-II API Layer.pdf
43/68
IPS Confidential 43
SIM4ME Thermo Data Manager (TDM) 3.2
PROPRED Available via the TDM
Generate pure component properties with PROPRED, write theproperties and correlations into a databank using TDM, and use those
properties in the databank in PRO/II Pure component property estimation based on a multilevel group-
contribution method
Property estimation automatically performed based on molecularstructure drawn by the user
-
7/24/2019 Pro-II API Layer.pdf
44/68
IPS Confidential 44
Additional pure component correlations
Latent Heat
Liquid Enthalpy
SIM4ME Thermo
-
7/24/2019 Pro-II API Layer.pdf
45/68
IPS Confidential 45
New Refinery Inspection Property (RIP) methods
Refractive Index at 20 oC by API 2B5.1
Flash Point by API 2B7.1
Pour Point by API 2B8.1
Aniline Point by API 2B9.1
Smoke Point by API 2B10.1 Freeze Point by API 2B11.1
Cloud Point by API 2B12.1
Cetane Index by API 2B13.1
SIM4ME Thermo
-
7/24/2019 Pro-II API Layer.pdf
46/68
IPS Confidential 46
Heavy Oil Liquid Viscosity
Developed by Dr. Twu while at SimSci Twu, C. H. Internally Consistent Correlation for Predicting Liquid
Viscosities of Petroleum Fractions Ind. Eng. Chem. Process Des.Dev. 24, 1287-1293 (1985)
Recommended by Murray R. Gray
Upgrading Petroleum Residues and Heavy Oils by Murray R. Gray,
Marcel Dekker, New York (1994). Uses Mehrotra mixing rules
Mehrotra, A.K., Eastick, R.R. and Svrcek, W.Y., Viscosity of Cold Lake
Bitumen and its Fractions, Can. J. Chem. Eng. 67: 1004-1009 (1989)
-
7/24/2019 Pro-II API Layer.pdf
47/68
IPS Confidential 47
New liquid viscosity prediction for heavy oils based onthe boiling point of the lumped pseudocomponents
Heavy Oil Liquid Viscosity
-
7/24/2019 Pro-II API Layer.pdf
48/68
IPS Confidential 48
OLI MSE
What is MSE?
The Mixed Solvent Electrolyte model is the most advanced,predictive framework for electrolytes, aqueous as well as mixed
solvents produced by OLI Systems
Capable of reproducing speciation, chemical, and phase equilibria,applicable to water-organic-salt systems and aqueous solutions
from dilute solutions to the fused salt limit OLI Systems
Electrolyte simulation experts since 1971
www.olisystems.com
http://www.olisystems.com/http://www.olisystems.com/ -
7/24/2019 Pro-II API Layer.pdf
49/68
IPS Confidential 49
OLI MSE
How is MSE different?
Used the Helgeson equation of state
Added a more complex activity model Debye-Huckel long-range term
Ionic interaction middle-range term
UNIQUAC model interaction short-range term
Speciation based on solvated protons (e. g., H3O+)
-
7/24/2019 Pro-II API Layer.pdf
50/68
IPS Confidential 50
OLI MSE: H2SO4 SO3 H2O
1.0E-08
1.0E-07
1.0E-06
1.0E-05
1.0E-04
1.0E-03
1.0E-02
1.0E-01
1.0E+00
1.0E+01
1.0E+02
1.0E+03
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
x SO3
P,atm
0C
200C
100C
50C
25C
500C 400C300C
The model works well up to a reduced temperature=0.9
-
7/24/2019 Pro-II API Layer.pdf
51/68
IPS Confidential 51
Thermo Enhancement
GUI support for user-entered alpha coefficients
-
7/24/2019 Pro-II API Layer.pdf
52/68
IPS Confidential 52
Compiler Upgrade
Upgrade PRO/II compiler to Intel FORTRAN v10 andVisual Studio .NET 2003
ALL PRO/II 8.2 UAS & PDTS application will REQUIRE the use of the
Intel Visual FORTRAN compiler v10 and the Visual Studio .NET 2003development environment
Some of the UAS & PDTS applications built with the earlier CompaqVisual FORTRAN compiler may require minor code modifications
-
7/24/2019 Pro-II API Layer.pdf
53/68
IPS Confidential 53
Vista Support
PRO/II 8.2 will support Vista Enterprise and Vista Businessoperating systems
PRO/II 8.2 w/ not support FLEXLM 7.2
PRO/II 8.2 will support FLEXLM 9.5 & 9.2 FLEXLM 9.5 & 9.2 Clients are Vista compliant
FLEXLM 9.5 & 9.2 Servers are NOT Vista Compliant
-
7/24/2019 Pro-II API Layer.pdf
54/68
IPS Confidential 54
Microsoft Office 2007 Support
PRO/II 8.2 wil l support Microsoft Office 2007 using 2003File Formats
PRO/II 8.3 wil l support Microsoft Office 2007 using 2007
and 2003 File Formats
Release scheduled for 2009
-
7/24/2019 Pro-II API Layer.pdf
55/68
IPS Confidential 55
.msi Install
The new .msi install of PRO/II 8.2 uses the MicrosoftWindows Installer which is an engine for theinstallation, maintenance, and removal of software on
modern Microsoft Windows systems Streamlines installation
Standardizes installation
Makes custom scripting of an installation easier
-
7/24/2019 Pro-II API Layer.pdf
56/68
IPS Confidential
SIM4ME Portal in PRO/II 8.2
-
7/24/2019 Pro-II API Layer.pdf
57/68
IPS Confidential 57
An easily configured Excel interface for an existing,complete PRO/II simulation
Configuring Excel from PRO/II
-
7/24/2019 Pro-II API Layer.pdf
58/68
IPS Confidential 58
Utilizing Your Intellectual Property
Typically not available to operators, maintenance personnel,and business management
Limits the return on investments of the process model
The SIM4ME Portal extends this intellectual propertyto everyone who can utilize it
Process models contain a large amount of intellectual
property that is only available to the simulation experts
-
7/24/2019 Pro-II API Layer.pdf
59/68
IPS Confidential 59
Create Custom Interfaces
-
7/24/2019 Pro-II API Layer.pdf
60/68
IPS Confidential 60
Product Detail
Modes to launch SIM4ME Portal From PRO/II toolbar/menu option
From Start menu
Creations options for an SIM4ME Portal Create a new one
Use an existing workbook, and enable Portal within it
Modes of operation
Connected: PRO/II with PROVISION concurrently open with SIM4MEPortal
Stand-alone: Only SIM4ME Portal open Disconnected: Reverts back to be a simple workbook
-
7/24/2019 Pro-II API Layer.pdf
61/68
IPS Confidential 61
Software Requirements
PRO/II 8.2
Microsoft Office 2003, Professional, SP2 or later
Limitations
The SIM4ME Portal does not issue an error if the PRZ file isincomplete
Data entered and saved from Portal will appear in an already openPRZ file only on re-opening the same
PRO/II GUI and Portal are two independent options interacting with
PRO/II database, so user should use only one interface at a time toupdate / modify user data
Can not change specification types, e. g., Duty to Temperature, onlythe values
-
7/24/2019 Pro-II API Layer.pdf
62/68
IPS Confidential 62
Limitations
A security license is required to run the SIM4ME Portal
Drag & drop one-by-one onto the spreadsheet Vector attributes require two cells above the drop cell for the vector
heading and UOM
Only the PRO/II Output UOM slate is supported Cant open a PRO/II file if stand-alone SIM4ME Portal is connected
to it already
Software Requirements
-
7/24/2019 Pro-II API Layer.pdf
63/68
IPS Confidential 63
How to Create a Portal
D d D
-
7/24/2019 Pro-II API Layer.pdf
64/68
IPS Confidential 64
Drag and Drop
Drag and drop variables
From Flowsheet Explorer
to a cell.
The first value is stored in
the cell where you drop the link.
Color Coding
-
7/24/2019 Pro-II API Layer.pdf
65/68
IPS Confidential 65
Color Coding
Blue
inputfield
Green isread-only
output field
Click
UOM to
Convert
values
Parameter Details
-
7/24/2019 Pro-II API Layer.pdf
66/68
IPS Confidential 66
Right Click
description
And select
View
Parameters
Refresh when PRZ File Changes
-
7/24/2019 Pro-II API Layer.pdf
67/68
IPS Confidential 67
g
Click Refresh if
change PRZ file
-
7/24/2019 Pro-II API Layer.pdf
68/68
Available afterthe Presentationfor Questions