Professional Documents
Culture Documents
Release 410
Notices and Trademarks
While this information is presented in good faith and believed to be accurate, Honeywell disclaims
the implied warranties of merchantability and fitness for a particular purpose and makes no
express warranties except as may be stated in its written agreement with and for its customers.
In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The
information and specifications in this document are subject to change without notice.
Honeywell, PlantScape, Experion PKS, and TotalPlant are registered trademarks of Honeywell
International Inc.
ii Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
About This Document
Contacts
World Wide Web
The following Honeywell web sites may be of interest to Process Solutions customers.
Corporate http://www.honeywell.com
Process Solutions http://www.acs.honeywell.com/ps
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts iii
01/12
About This Document
Symbol Definitions
Telephone
Contact us by telephone at the numbers listed below.
Symbol Definitions
The following table lists those symbols used in this document to denote certain conditions.
Symbol Definition
iv Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
About This Document
Symbol Definitions
Symbol Definition
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts v
01/12
About This Document
Symbol Definitions
Symbol Definition
vi Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
Contents
2.1 Overview.................................................................................................... 21
2.2 Profit Toolkit Functions that can be purchased ...................................... 22
2.3 Common Features in ProfitToolkit Functions Purchased from Honeywell23
Filtering .......................................................................................................................... 23
Last Good Value Holding ................................................................................................ 23
Biasing ........................................................................................................................... 23
Engineering Unit Conversion ........................................................................................... 24
Engineering Units ........................................................................................................... 24
Error Messages Raised by Profit Toolkit .......................................................................... 27
Return Status Parameters ............................................................................................... 28
Message Source Files..................................................................................................... 28
Return Status Table ........................................................................................................ 29
Examples Table .............................................................................................................. 32
viii Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
Contents
Tables
Table 2-1 Engineering Unit in Functions ..................................................................... 24
Table 2-2 Return Status .............................................................................................28
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts ix
01/12
This page is intentionally left blank
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts x
01/12
1. General Profit Toolkit Concepts
1.1 Configuring and Deploying Profit Toolkit Application
Profit Suite Runtime Studio
Configuring a Profit Toolkit application requires the following steps in Profit Suite
Runtime Studio:
Step Action
1 In Profit Suite Runtime Studio – create and name the toolkit application.
2 Add the necessary toolkit function blocks; typically a toolkit application
consists of many functions connected together.
3 Function order is extremely important, functions execute top down (I.e. the
function at the top of the tree executes, following by the next function below it
and so on.
4 Configure function connections. Typically configure a functions (Fn1) input
parameter to have an INPUT connection which pulls from another function’s
(Fn2) output parameter. Typically too, Fn1 should be ordered above Fn2. I.e.
you want Fn1 to execute before Fn2.
5 Configure OPC connections for any I/O. Typically an INPUT OPC connection
is set for function inputs, and OUTPUT OPC connections are set for function
outputs.
6 Save the application to an .urt file. The .urt file contains all scheduler, function
and connection information.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 11
01/12
1. General Profit Toolkit Concepts
1.2. Deploying Profit Toolkit on Runtime Computer
12 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
1. General Profit Toolkit Concepts
1.3. Loading an Application via PSOS
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 13
01/12
1. General Profit Toolkit Concepts
1.4. Activating/Inactivating an Application via PSOS
14 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
1. General Profit Toolkit Concepts
1.5. Reloading or Terminating an Application via PSOS
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 15
01/12
1. General Profit Toolkit Concepts
1.6. Removing a Profit Toolkit Application from a Runtime Computer
16 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
1. General Profit Toolkit Concepts
1.7. Overview of Functions
Function Order
Function order is extremely important for toolkits particularly when a functions input(s)
is pulled from another functions output. Toolkit ordering is discussed in detail in
subsequent sections.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 17
01/12
1. General Profit Toolkit Concepts
1.8. Overview of Parameters
Input Parameters
The user has to configure the function inputs in order for the function to work properly.
The input parameters may be configured as follows:
User entered constant value
Connect the input parameter to get its value from a DCS or other external source by
using an OPC connection.
Connect the input parameter to get its value from another toolkit functions output by
using a URT connection.
Depending on the parameter and the default value assigned some parameters may not
require input. The user can ignore these inputs.
InOut Parameters
A typical InOut parameter is a counter like LGV_Count (number of intervals last good
value has been held).
For a counter the parameter is input into the function, incremented by the function and
then the output value is used as input on subsequent executions – thus its both an input
and an output parameter.
Typically InOut parameters do not need to be configured by the user, but in some cases it
is possible that an initial value is required.
Output Parameters
Output parameters can be configured as follows:
Connect the output parameter to push its value to a DCS or other external source by
using an OPC connection.
18 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
1. General Profit Toolkit Concepts
1.8. Overview of Parameters
Connect the output parameter to push its value to another toolkit functions input by using
an URT connection.
Rather than connect a tookit output parameter to push its value to another
toolkit functions input by using a URT connection. It is recommended to pull
the output parameter from the input parameter (I.e. setup an input connection
on the input parameter).
Checkpointing
All input, output and inout parameters values are checkpointed to the application’s
checkpoint file, but output values are not loaded when the application is loaded as it
improves the time it takes to load the platform.
Arrays
There are two types of array parameters. Fixed size arrays and dynamically sized arrays
that are dimensioned based on an associated input parameter’s value.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 19
01/12
1. General Profit Toolkit Concepts
1.9. Overview of Connections
20 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.1 Overview
ProfitTookit functions can be purchased from Honeywell. The functions are then
configured and typically functions are connected together to create an application:
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 21
01/12
2. Specific Profit Toolkit Functions
2.2. Profit Toolkit Functions that can be purchased
22 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Filtering
Filtering is applied to reduce noise and to ramp a value from its previous value to its
current value as smoothly as possible. Currently the filter types available are a first order
lag filter and a first order lag filter with deadtime. These filters are invoked by selecting a
filter type of 1 or 2 (several additional parameters also have to be filled in). Other filter
types will be available in the future. If filtering is not required for a specific function,
then a filter type of 0 should be selected. Biasing and conversion are sequenced
immediately after the filtering.
For the first order lag filter types, in order to filter from a previous value to the current
value, it is required to store the previous values. When the user sets up a function, a
storage parameter for the previous value is automatically created. The user does not need
to manipulate this parameter, but should be aware of its existence. This parameter is an
array named Filter_Shift.
For several functions, when an intermediate calculated value is being biased, the bias
itself is filtered. This prevents a bumping the output value, when the user enters a new
bias.
Biasing
Most Fractionator functions allow biasing of the final output value. The bias value is to
be input in user units.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 23
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
WARNING
For the convenience of the user the bias is supplied in user units. Most other
inputs are expected in toolkit units.
ATTENTION
Use the process functions to supply inputs to Fractionator functions in toolkit
units.
WARNING
Generally, the conversion factors in the functions are not used to convert
input parameters to toolkit units, as the functions expect these values to be
supplied in toolkit units.
Rather conversion factors in the function are used to convert output values to
user units.
Engineering Units
The following table defines the engineering units handled by the functions:
24 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Gauge Kpa
Pressure –
Most functions
require input in
these units
Local pressure
(usually around
14.696 psi)
should be
provided in
these units.
This allows
functions to
convert an
input pressure
in psig to psia.
Does not
support any
other
temperature
units.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 25
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
26 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 27
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
28 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
The xml file includes a msg file, which contains the message text. In the example below
the file that contains the message text is: HSTool_Frac_HS_D86_EFV_Pt.msg.
Status
value
0 No error occurred
2 Stream flow is a bad value. Stream number ____ is the stream in error.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 29
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Return Status
Status
value
12 The difference between the critical temperature must and the overhead
temperature is negligible or zero.
21 Internal liquid and vapor conversion (flow) factor is less than or equal to
zero.
101 - 104 An error occurred in the Press_PC function. Details of the error can be
found by looking up the resulting status value in the Profit Toolkit
Functions Reference
30 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Return Status
Status
value
105 - 108 An error occurred in the Temp_PC function. Details of the error can be
found by looking up the resulting status value in the Profit Toolkit
Functions Reference
155 - 160 An error occurred in the Filter function. Details of the error can be found
by looking up the resulting status value in the Profit Toolkit Functions
Reference
179 - 182 An error occurred in the Mol_WT function. Details of the error can be
found by looking up the resulting status value in the Profit Toolkit
Functions Reference
183 - 192 An error occurred in the Enth_HC function. Details of the error can be
found by looking up the resulting status value in the Profit Toolkit
Functions Reference
193 - 197 An error occurred in the Enth_Stm function. Details of the error can be
found by looking up the resulting status value in the Profit Toolkit
Functions Reference
198 - 205 An error occurred in the Enth_Gas function. Details of the error can be
found by looking up the resulting status value in the Profit Toolkit
Functions Reference
Negative Last good value holding is active. The error that is causing the bad value
errors can be determined by looking up the positive of the error value.
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 31
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Examples Table
The following table shows example calculations (showing settings for the main inputs
and outputs) for the Top_LandV function.
Top_LandV function
Stream_Num I 2 2
Stream_Flow\2 I 80 80
Stream_In_or_Out\1 I 1 1
Stream_In_or_Out\2 I -1 -1
Stream_Molwt\1 I 0 0
Stream_Molwt\2 I 0 0
Norm_Boil_Pt_Tempe I
rature 0 212
Latent_Ht_Norm_Boil I
_Pt 13.6 13.6
32 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Top_LandV function
Example 2 – Exponent
Expon_Type 0 1 calculated
Filter_Type I 0 0
Filter_Coeff_Num I 1 1
Filter_Coeff\1 I 5 5
Filter_Shift_Num I 1 1
Filter_Shift\1 I 0 0
Etime I 1 1
Flow_Conv_Fact I 1 1
User_V_or_M I 1 1
LGV_Num I 0 0
Liq_LGV_Count I 0 0
Vap_LGV_Count I 0 0
Liq_LGV_Values\1 I 0 0
Liq_LGV_Values\2 I 0 0
Liq_LGV_Values\3 I 0 0
Liq_LGV_Values\4 I 0 0
Liq_LGV_Values\5 I 0 0
Vap_LGV_Values\1 I 0 0
Vap_LGV_Values\2 I 0 0
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 33
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Top_LandV function
Vap_LGV_Values\3 I 0 0
Vap_LGV_Values\4 I 0 0
Vap_LGV_Values\5 I 0 0
RetNum I 10 10
Ret_Status O 0 0
Liq_Value_User_ O
Units 400.9955 342.4225
Vap_Value_User_ O
Units 600.9955 542.4225
Liq_Molwt O 0 0
Vap_Molwt O 0 0
Example 2 – Exponent
Expon 0.38 0.276608 calculated.
Latent_Heat_Vaporiz O
ation 10.76651 13.1696
34 Advanced Process Control Profit Toolkit General Toolkit Function Concepts R410
01/12
2. Specific Profit Toolkit Functions
2.3. Common Features in ProfitToolkit Functions Purchased from Honeywell
Top_LandV function
Stream_in_Error O 0 0
Liq_LGV_Count O 0 0
Vap_LGV_Count O 0 0
Liq_LGV_Values\3 O 0 0
Vap_LGV_Values\3 O 0 0
R410 Advanced Process Control Profit Toolkit General Toolkit Function Concepts 35
01/12
Honeywell International
Process Solutions
1860 W Rose Garden Lane
Phoenix, AZ 8502