SlideShare a Scribd company logo
1 of 29
Customization Unit in ROMeo
Refresher for Variable Types
• Free-Dependent: Must equal the number of equations in f(x). Adjusted to satisfy f(x).
»25,000 for crude unit
• Fixed: Do not change.
• Free-Independent: “Optimization” variables. Manipulated to max / min objective.
Usually < 300 for Data Rec, < 50 for $ optimization (crude unit)
Model Specification
• All unit operations are created square
• Number of free vars = number eqns
• Fixed/free depend on unit’s specifications
• You can change var’s fixed/free status
• *It is possible to fix variables in ways that the model can’t be solved
• ROMeo lets you add equations and variables to the flowsheet.
• ROMeo forces you to maintain a square flowsheet:
• E.g., if you free up a variable, you must fix another or add an equation
• Prevents trouble
Overview of Customization Unit
• Change the Fix/Free status of variables
• Add equations and variables
• Must be square to avoid a degree-of-freedom mismatch.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
• Unit Customizations
• Can only access variables in that unit
• Visual indicator on the PFD drawing
• Flowsheet Customizations
• Can access any variable in flowsheet
• Can override unit customizations
The Customization feature lets you create custom specifications in place of the standard unit specifications
that are available in the AVEVA Process Optimization library model windows.
Assumptions and Restrictions
• You may fix only those variables that are currently free. Conversely, you may free only those variables
that are currently fixed.
• Although it is possible to have multiple Flowsheet Customization “units” on a flowsheet, a given variable
(including any unit or stream variable) can be freed only once at the flowsheet level.
• The data entry window of Flowsheet Customisation is similar in appearance to that of Unit
Customization. However, in Flowsheet Customization, the unit and stream variables for the entire
flowsheet are displayed in the left pane, while only the variables for the individual unit are available in
Unit Customization.
• The customization will report an error if you have customized the model in a non-square way
the number of valid independent variables + the number of new equations = the number of valid dependent variables + the number of new variables
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Customization
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Independent ⇔ Dependent
• Changing the status of a free/dependent
variable to fixed/ independent (thus, a
solution variable becomes a fixed
specification variable).
• Changing the status of a fixed/independent
variable to free/ dependent (thus, a variable
that was previously a fixed specification
variable becomes a solution variable).
• The validity of the variable is indicated by its
colour.
• Grey — Variable status is passive and invalid.
• Brown — Variable status is bad and invalid.
• Black — Variable status is active and valid.
• Only those stream properties that have been
selected for inclusion in the Calculated
Properties list are available to be fixed or be
used in equations (eg LHV).
Dimensional Consistency
• When creating user added variables and equations, pay very close attention to the
dimensions.
• If your equations are dimensionally inconsistent your results will be wrong.
• The software will check your equations for dimensional consistency, but will only issue
warnings—not errors.
• The key fact to understand is that the software does all calculations in internal Units of
Measure, which are SI.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Internal UOM
ROMeo internal
Units.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
SI Units
Other Capabilities
• Conditional Equations.
• Mathematical Functions.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Exercise: Practice for Customization Unit
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Exercise
• Create Customization to represent an inferential Calculation in four different ways.
1. Create same as inferential equation.
2. Create inferential using dimensional consistency – Convert to internal UOM.
3. Create inferential using dimensional consistency – Make equation dimensionless.
4. Create using dimensional consistency – specify UOM within equation structure.
• Compare the data
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Create a Customization unit in ROMeo
Inferential Data.
• INF (C) = 0.7 * T101 (C) - 2.1 * P101 (kg/cm2g) - 0.1 * F101 (m3/h)
• INF - 0.7 * T101 (C) - 2.1 * P101 (kg/cm2g) - 0.1 * F101 (m3/h) ==0
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Tag No. Ope. Data (1) UOM Coefficient (2) Internal UOM (1) * (2)
T101 100 C 0.7 K 70
P101 1.1 kg/cm2g -2.1 kPa -2.31
F101 70 m3/hr -0.1 m3/sec -7
Expected Value 60.69
INF1 - Same as inferential equation.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
INF2 - Compensate to internal UOM.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
INF3 - Make equation dimensionless
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
INF4 - Specify UOM within equation structure.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
External Data Interface (EDI)
EDI Refresher
• Interface between ROMeo variables and external data bases
• Data transfer in both directions
• OPC
• OLEDB
• ODBC (Microsoft Open Data Base Connectivity)
• @aGlance - commercial client/server communication software for Historians
• PI (OSI)
• PHD (Honeywell)
• AIM* (Invensys)
• Not just measurements: Almost anything in Model window
• Upper and lower bounds
• Assay data
• Feed, Product, Utility prices
• Equipment On/Off status
• Key Performance Indicators (e.g. HX U and DP)
Most models have multiple data sources
EDI Components
• EDI consists of four components:
• Digital Types
• Digital Converters
• Data Sources
• IO Blocks
I/O Blocks
• Data to be transferred are organized as
• I/O Blocks, Port Groups, Ports
• Ports represents a connection between a database point and a ROMeo variable
• Perform actions on any of these for data transfer options.
Ports
• To connect an EDI port to a variable
• Drag and drop from the EDI window to a model window
• Or… automate the procedure using macros
• Design your EDI configuration based on purpose
T
T
T
T
T
Download same price to all sources
Download price to source
Dilution
Steam
T
T
T
T
T
…Or…
Simple and 1 place to enter prices
More flexible for lineup
changes
Sync. prices by
downloading the same
value to each source
Steps to create EDI port from GUI.
• Depending on desired design, Create a new EDI Port block
and group for OPC connection. Enable export if it an output
block.
• Right-click on the port group you want to add new tags to
and select New Port. Add port name from the table
• Enable export if it an output tag and accept the remaining
defaults. Click OK.
• Open Model window of the variable to which EDI port is to
be connected and then open EDI. You can then drag and
drop newly created EDI ports to model variable of their
respective user variables (Point to remember: To which
attribute will you connect ?)
• You can use this model-window approach to connect any EDI
port to any variable or parameter attribute. For example, you
can connect an EDI port to the Lower bound on a variable.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Macros
Overview of Macro
• A “program” you write to automate a task.
• Can perform some tasks that are not built in to
ROMeo.
• Uses the TCL scripting language.
• Can modify data and make function calls on
models (e.g. GenerateEstimates).
• Can be called by Real Time System.
• Coding can be done via Macro Editor connected
to Notepad++.
• Can be accessed from Macro Manager
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Typical Uses for Macro
• Change the value of a variable
• Change the fix/free status of a variable
• Custom measurement screening
• Troubleshooting
• Set Lower bound on all molar flows to
0.001 lb-mole/hr
• Find all flowrates that have changed by
more than 10%
• Load assay from EDI to Mod Thermo
• Automatically reconfigure flowsheet
like furnace selection, HX bypass etc.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Sample Macro Code
• Set Lower bound on all molar flows to 0.001 lb-mole/hr
set flows [FindVariable * MolarFlow]
foreach i $flows {
SetValue $i LO [ConvertUOMValue Rate lb-mole/hr Internal 0.001]
}
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Exercise: Practice for Macros
• If measurement < 0.01, send all flow to rundown and turn off storage
• In an online environment, the software
runs unattended, so macros must be
automatically executed.
• Configure “Macro” Task in RTS.
• Launch macro from Real time system.
• Allows model to automatically update to
plant lineup changes, switch from Datatec
specification to optimization, etc.
Executing Macros in the Online Environment
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
How to Create and Run Macros from ROMeo Model
• To create a macro, do the following:
• From the Input menu, choose Macro Manager.
• Right-click on Macros and create a
newsubcollection. Right-click on the new
subcollection and create a new macro
• Type the name you want to assign to the macro.
On the definition window, enter the macro code.
• Use “macro Editor for ease of writing large codes.
• Pressing “Execute” will run the macro.
• Pressing OK will save macro. If you cancel macro
will not be saved and executed action will be
reversed.
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.

More Related Content

Similar to Customization in ROMeo (CU,EDI,MAcro).pptx

Introducing RTView Enterprise Monitor 1.5
Introducing RTView Enterprise Monitor 1.5 Introducing RTView Enterprise Monitor 1.5
Introducing RTView Enterprise Monitor 1.5 SL Corporation
 
SAP FICO Interview Questions By Garudatrainings
SAP FICO Interview Questions By GarudatrainingsSAP FICO Interview Questions By Garudatrainings
SAP FICO Interview Questions By Garudatrainingspiyushchawala
 
apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...
apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...
apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...apidays
 
EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...
EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...
EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...eprentise
 
Crystal Reports Review
Crystal Reports ReviewCrystal Reports Review
Crystal Reports ReviewJustin R. Rue
 
FDMEE: No Brainer or Risk?
FDMEE: No Brainer or Risk?FDMEE: No Brainer or Risk?
FDMEE: No Brainer or Risk?Emtec Inc.
 
Odoo Migration Services from Pragmatic: Helps your Business become more Effic...
Odoo Migration Services from Pragmatic: Helps your Business become more Effic...Odoo Migration Services from Pragmatic: Helps your Business become more Effic...
Odoo Migration Services from Pragmatic: Helps your Business become more Effic...NajmuddinMerchant
 
Single vs. multi tenant cost comparison
Single vs. multi tenant cost comparisonSingle vs. multi tenant cost comparison
Single vs. multi tenant cost comparisonkanimozhin
 
IBM iSeries Terminal Based Performance Testing with Rational Performance Tester
IBM iSeries Terminal Based Performance Testing with Rational Performance TesterIBM iSeries Terminal Based Performance Testing with Rational Performance Tester
IBM iSeries Terminal Based Performance Testing with Rational Performance TesterWinton Winton
 
Hybrid Automation Framework Developement
Hybrid Automation Framework DevelopementHybrid Automation Framework Developement
Hybrid Automation Framework DevelopementGlasdon Falcao
 
Creative Automation with Galen Framework
Creative Automation with Galen FrameworkCreative Automation with Galen Framework
Creative Automation with Galen Framework'Ashmeet Sehgal'
 
Single vs. Multi Tenant Cost Comparison
Single vs. Multi Tenant Cost ComparisonSingle vs. Multi Tenant Cost Comparison
Single vs. Multi Tenant Cost ComparisonTechcello
 
Top Seven Steps for Optimizing Cross-Validation Rules in General Ledger
Top Seven Steps for Optimizing Cross-Validation Rules in General LedgerTop Seven Steps for Optimizing Cross-Validation Rules in General Ledger
Top Seven Steps for Optimizing Cross-Validation Rules in General Ledgereprentise
 
RDz for DevOps Webcast Series: Implementing Continuous Integration with RDz
RDz for DevOps Webcast Series: Implementing Continuous Integration with RDzRDz for DevOps Webcast Series: Implementing Continuous Integration with RDz
RDz for DevOps Webcast Series: Implementing Continuous Integration with RDzSusan Yoskin
 
Common Project Mistakes (And How to Avoid Them)
Common Project Mistakes (And How to Avoid Them)Common Project Mistakes (And How to Avoid Them)
Common Project Mistakes (And How to Avoid Them)Inductive Automation
 

Similar to Customization in ROMeo (CU,EDI,MAcro).pptx (20)

Introducing RTView Enterprise Monitor 1.5
Introducing RTView Enterprise Monitor 1.5 Introducing RTView Enterprise Monitor 1.5
Introducing RTView Enterprise Monitor 1.5
 
Maximize o valor do z/OS
Maximize o valor do z/OSMaximize o valor do z/OS
Maximize o valor do z/OS
 
SAP FICO Interview Questions By Garudatrainings
SAP FICO Interview Questions By GarudatrainingsSAP FICO Interview Questions By Garudatrainings
SAP FICO Interview Questions By Garudatrainings
 
FRC Reporting Beginner Course
FRC Reporting Beginner CourseFRC Reporting Beginner Course
FRC Reporting Beginner Course
 
Oracle Fusion Financial Report Centre Reporting Beginner course
Oracle Fusion Financial Report Centre Reporting Beginner courseOracle Fusion Financial Report Centre Reporting Beginner course
Oracle Fusion Financial Report Centre Reporting Beginner course
 
apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...
apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...
apidays LIVE Paris - Break up Monoliths and lay them to REST! by Arun Narayan...
 
EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...
EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...
EBS Answers Webinar Series - Tricks for Optimizing Cross-Validation Rules in ...
 
Crystal Reports Review
Crystal Reports ReviewCrystal Reports Review
Crystal Reports Review
 
FDMEE: No Brainer or Risk?
FDMEE: No Brainer or Risk?FDMEE: No Brainer or Risk?
FDMEE: No Brainer or Risk?
 
Odoo Migration Services from Pragmatic: Helps your Business become more Effic...
Odoo Migration Services from Pragmatic: Helps your Business become more Effic...Odoo Migration Services from Pragmatic: Helps your Business become more Effic...
Odoo Migration Services from Pragmatic: Helps your Business become more Effic...
 
Single vs. multi tenant cost comparison
Single vs. multi tenant cost comparisonSingle vs. multi tenant cost comparison
Single vs. multi tenant cost comparison
 
IBM iSeries Terminal Based Performance Testing with Rational Performance Tester
IBM iSeries Terminal Based Performance Testing with Rational Performance TesterIBM iSeries Terminal Based Performance Testing with Rational Performance Tester
IBM iSeries Terminal Based Performance Testing with Rational Performance Tester
 
Hybrid Automation Framework Developement
Hybrid Automation Framework DevelopementHybrid Automation Framework Developement
Hybrid Automation Framework Developement
 
Creative Automation with Galen Framework
Creative Automation with Galen FrameworkCreative Automation with Galen Framework
Creative Automation with Galen Framework
 
Improve Your Requirements With Visual Models
Improve Your Requirements With Visual ModelsImprove Your Requirements With Visual Models
Improve Your Requirements With Visual Models
 
Single vs. Multi Tenant Cost Comparison
Single vs. Multi Tenant Cost ComparisonSingle vs. Multi Tenant Cost Comparison
Single vs. Multi Tenant Cost Comparison
 
Oracle APEX
Oracle APEXOracle APEX
Oracle APEX
 
Top Seven Steps for Optimizing Cross-Validation Rules in General Ledger
Top Seven Steps for Optimizing Cross-Validation Rules in General LedgerTop Seven Steps for Optimizing Cross-Validation Rules in General Ledger
Top Seven Steps for Optimizing Cross-Validation Rules in General Ledger
 
RDz for DevOps Webcast Series: Implementing Continuous Integration with RDz
RDz for DevOps Webcast Series: Implementing Continuous Integration with RDzRDz for DevOps Webcast Series: Implementing Continuous Integration with RDz
RDz for DevOps Webcast Series: Implementing Continuous Integration with RDz
 
Common Project Mistakes (And How to Avoid Them)
Common Project Mistakes (And How to Avoid Them)Common Project Mistakes (And How to Avoid Them)
Common Project Mistakes (And How to Avoid Them)
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 

Customization in ROMeo (CU,EDI,MAcro).pptx

  • 2. Refresher for Variable Types • Free-Dependent: Must equal the number of equations in f(x). Adjusted to satisfy f(x). »25,000 for crude unit • Fixed: Do not change. • Free-Independent: “Optimization” variables. Manipulated to max / min objective. Usually < 300 for Data Rec, < 50 for $ optimization (crude unit)
  • 3. Model Specification • All unit operations are created square • Number of free vars = number eqns • Fixed/free depend on unit’s specifications • You can change var’s fixed/free status • *It is possible to fix variables in ways that the model can’t be solved • ROMeo lets you add equations and variables to the flowsheet. • ROMeo forces you to maintain a square flowsheet: • E.g., if you free up a variable, you must fix another or add an equation • Prevents trouble
  • 4. Overview of Customization Unit • Change the Fix/Free status of variables • Add equations and variables • Must be square to avoid a degree-of-freedom mismatch. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved. • Unit Customizations • Can only access variables in that unit • Visual indicator on the PFD drawing • Flowsheet Customizations • Can access any variable in flowsheet • Can override unit customizations The Customization feature lets you create custom specifications in place of the standard unit specifications that are available in the AVEVA Process Optimization library model windows.
  • 5. Assumptions and Restrictions • You may fix only those variables that are currently free. Conversely, you may free only those variables that are currently fixed. • Although it is possible to have multiple Flowsheet Customization “units” on a flowsheet, a given variable (including any unit or stream variable) can be freed only once at the flowsheet level. • The data entry window of Flowsheet Customisation is similar in appearance to that of Unit Customization. However, in Flowsheet Customization, the unit and stream variables for the entire flowsheet are displayed in the left pane, while only the variables for the individual unit are available in Unit Customization. • The customization will report an error if you have customized the model in a non-square way the number of valid independent variables + the number of new equations = the number of valid dependent variables + the number of new variables © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 6. Customization © 2019 AVEVA Group plc and its subsidiaries. All rights reserved. Independent ⇔ Dependent • Changing the status of a free/dependent variable to fixed/ independent (thus, a solution variable becomes a fixed specification variable). • Changing the status of a fixed/independent variable to free/ dependent (thus, a variable that was previously a fixed specification variable becomes a solution variable). • The validity of the variable is indicated by its colour. • Grey — Variable status is passive and invalid. • Brown — Variable status is bad and invalid. • Black — Variable status is active and valid. • Only those stream properties that have been selected for inclusion in the Calculated Properties list are available to be fixed or be used in equations (eg LHV).
  • 7. Dimensional Consistency • When creating user added variables and equations, pay very close attention to the dimensions. • If your equations are dimensionally inconsistent your results will be wrong. • The software will check your equations for dimensional consistency, but will only issue warnings—not errors. • The key fact to understand is that the software does all calculations in internal Units of Measure, which are SI. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved. Internal UOM
  • 8. ROMeo internal Units. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved. SI Units
  • 9. Other Capabilities • Conditional Equations. • Mathematical Functions. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 10. Exercise: Practice for Customization Unit © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 11. Exercise • Create Customization to represent an inferential Calculation in four different ways. 1. Create same as inferential equation. 2. Create inferential using dimensional consistency – Convert to internal UOM. 3. Create inferential using dimensional consistency – Make equation dimensionless. 4. Create using dimensional consistency – specify UOM within equation structure. • Compare the data © 2019 AVEVA Group plc and its subsidiaries. All rights reserved. Create a Customization unit in ROMeo
  • 12. Inferential Data. • INF (C) = 0.7 * T101 (C) - 2.1 * P101 (kg/cm2g) - 0.1 * F101 (m3/h) • INF - 0.7 * T101 (C) - 2.1 * P101 (kg/cm2g) - 0.1 * F101 (m3/h) ==0 © 2019 AVEVA Group plc and its subsidiaries. All rights reserved. Tag No. Ope. Data (1) UOM Coefficient (2) Internal UOM (1) * (2) T101 100 C 0.7 K 70 P101 1.1 kg/cm2g -2.1 kPa -2.31 F101 70 m3/hr -0.1 m3/sec -7 Expected Value 60.69
  • 13. INF1 - Same as inferential equation. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 14. INF2 - Compensate to internal UOM. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 15. INF3 - Make equation dimensionless © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 16. INF4 - Specify UOM within equation structure. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 18. EDI Refresher • Interface between ROMeo variables and external data bases • Data transfer in both directions • OPC • OLEDB • ODBC (Microsoft Open Data Base Connectivity) • @aGlance - commercial client/server communication software for Historians • PI (OSI) • PHD (Honeywell) • AIM* (Invensys) • Not just measurements: Almost anything in Model window • Upper and lower bounds • Assay data • Feed, Product, Utility prices • Equipment On/Off status • Key Performance Indicators (e.g. HX U and DP) Most models have multiple data sources
  • 19. EDI Components • EDI consists of four components: • Digital Types • Digital Converters • Data Sources • IO Blocks
  • 20. I/O Blocks • Data to be transferred are organized as • I/O Blocks, Port Groups, Ports • Ports represents a connection between a database point and a ROMeo variable • Perform actions on any of these for data transfer options.
  • 21. Ports • To connect an EDI port to a variable • Drag and drop from the EDI window to a model window • Or… automate the procedure using macros • Design your EDI configuration based on purpose T T T T T Download same price to all sources Download price to source Dilution Steam T T T T T …Or… Simple and 1 place to enter prices More flexible for lineup changes Sync. prices by downloading the same value to each source
  • 22. Steps to create EDI port from GUI. • Depending on desired design, Create a new EDI Port block and group for OPC connection. Enable export if it an output block. • Right-click on the port group you want to add new tags to and select New Port. Add port name from the table • Enable export if it an output tag and accept the remaining defaults. Click OK. • Open Model window of the variable to which EDI port is to be connected and then open EDI. You can then drag and drop newly created EDI ports to model variable of their respective user variables (Point to remember: To which attribute will you connect ?) • You can use this model-window approach to connect any EDI port to any variable or parameter attribute. For example, you can connect an EDI port to the Lower bound on a variable. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 24. Overview of Macro • A “program” you write to automate a task. • Can perform some tasks that are not built in to ROMeo. • Uses the TCL scripting language. • Can modify data and make function calls on models (e.g. GenerateEstimates). • Can be called by Real Time System. • Coding can be done via Macro Editor connected to Notepad++. • Can be accessed from Macro Manager © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 25. Typical Uses for Macro • Change the value of a variable • Change the fix/free status of a variable • Custom measurement screening • Troubleshooting • Set Lower bound on all molar flows to 0.001 lb-mole/hr • Find all flowrates that have changed by more than 10% • Load assay from EDI to Mod Thermo • Automatically reconfigure flowsheet like furnace selection, HX bypass etc. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 26. Sample Macro Code • Set Lower bound on all molar flows to 0.001 lb-mole/hr set flows [FindVariable * MolarFlow] foreach i $flows { SetValue $i LO [ConvertUOMValue Rate lb-mole/hr Internal 0.001] } © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 27. Exercise: Practice for Macros • If measurement < 0.01, send all flow to rundown and turn off storage
  • 28. • In an online environment, the software runs unattended, so macros must be automatically executed. • Configure “Macro” Task in RTS. • Launch macro from Real time system. • Allows model to automatically update to plant lineup changes, switch from Datatec specification to optimization, etc. Executing Macros in the Online Environment © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
  • 29. How to Create and Run Macros from ROMeo Model • To create a macro, do the following: • From the Input menu, choose Macro Manager. • Right-click on Macros and create a newsubcollection. Right-click on the new subcollection and create a new macro • Type the name you want to assign to the macro. On the definition window, enter the macro code. • Use “macro Editor for ease of writing large codes. • Pressing “Execute” will run the macro. • Pressing OK will save macro. If you cancel macro will not be saved and executed action will be reversed. © 2019 AVEVA Group plc and its subsidiaries. All rights reserved.