SlideShare a Scribd company logo
1 of 15
Download to read offline
Advanced Production Accounting of an Olefins Plant
Industrial Modeling Framework (APA-OP-IMF)
i n d u s t r IAL g o r i t h m s LLC. (IAL)
www.industrialgorithms.com
August 2014
Introduction to Advanced Production Accounting, UOPSS and QLQP
Presented in this short document is a description of what we call "Advanced" Production
Accounting (APA) applied to a small Olefins Plant found in Sanchez and Romagnoli (1996).
APA is the term given to the technique of vetting, screening or cleaning the past production data
using statistical data reconciliation and regression (DRR) when continuous-processes are
assumed to be at steady-state (Kelly and Hedengren, 2013) i.e., there is no significant material
accumulation. For this case, the model and data define a simultaneous mass or volume linear
DRR problem. Figure 1a shows the Olefins Plant using simple number indices for both the
nodes and streams where Figure 1b depicts the same problem configured in our unit-operation-
port-state superstructure (UOPSS) (Kelly, 2004, 2005; Zyngier and Kelly, 2012).
Figure 1a. Olefins Plant Flowsheet (Sanchez and Romagnoli, 1996).
Figure 1b. Olefins Plant UOPSS Flowsheet.
The diamond shapes or objects are the sources and sinks known as perimeters, the rectangle
shapes with the cross-hairs are continuous-process units and as mentioned these units should
have a steady-state detection algorithm (SSD) installed to determine if the units are steady or
stationary. The circle shapes with no cross-hairs are in-ports which can accept one or more
inlet flows and are considered to be simple or uncontrolled mixers. The cross-haired circles are
out-ports which can allow one or more outlet flows and are considered to be simple or
uncontrolled splitters. The lines, arcs or edges in between the various shapes are known as
internal and external streams and represent in this context the flows of materials from one
shape to another. This example and its data are taken directly from Sanchez and Romagnoli
(1996) as mentioned but is mapped to our UOPSS modeling framework which includes only one
time-period typically defined for one business or calendar day.
Unfortunately, more detailed information on the types of unit-operations and the overall process
is not available. However, as can be seen from the flowsheet, the complexity of the Olefins
Plant network in terms of its stream inter-connectivity is quite involved and includes several
recycle streams or loops which poses no issue for our modeling and solving techniques.
Industrial Modeling Framework (IMF), IMPL and SSIIMPLE
To implement the mathematical formulation of this and other systems, IAL offers a unique
approach and is incorporated into our Industrial Modeling Programming Language we call IMPL.
IMPL has its own modeling language called IML (short for Industrial Modeling Language) which
is a flat or text-file interface as well as a set of API's which can be called from any computer
programming language such as C, C++, Fortran, C#, VBA, Java (SWIG), Python (CTYPES)
and/or Julia (CCALL) called IPL (short for Industrial Programming Language) to both build the
model and to view the solution. Models can be a mix of linear, mixed-integer and nonlinear
variables and constraints and are solved using a combination of LP, QP, MILP and NLP solvers
such as COINMP, GLPK, LPSOLVE, SCIP, CPLEX, GUROBI, LINDO, XPRESS, CONOPT,
IPOPT, KNITRO and WORHP as well as our own implementation of SLP called SLPQPE
(Successive Linear & Quadratic Programming Engine) which is a very competitive alternative to
the other nonlinear solvers and embeds all available LP and QP solvers.
In addition and specific to DRR problems, we also have a special solver called SECQPE
standing for Sequential Equality-Constrained QP Engine which computes the least-squares
solution and a post-solver called SORVE standing for Supplemental Observability, Redundancy
and Variability Estimator to estimate the usual DRR statistics. SECQPE also includes a
Levenberg-Marquardt regularization method for nonlinear data regression problems and can be
presolved using SLPQPE i.e., SLPQPE warm-starts SECQPE. SORVE is run after the
SECQPE solver and also computes the well-known "maximum-power" gross-error statistics
(measurement and nodal/constraint tests) to help locate outliers, defects and/or faults i.e., mal-
functions in the measurement system and mis-specifications in the logging system.
The underlying system architecture of IMPL is called SSIIMPLE (we hope literally) which is short
for Server, Solvers, Interfacer (IML), Interacter (IPL), Modeler, Presolver Libraries and
Executable. The Server, Solvers, Presolver and Executable are primarily model or problem-
independent whereas the Interfacer, Interacter and Modeler are typically domain-specific i.e.,
model or problem-dependent. Fortunately, for most industrial planning, scheduling,
optimization, control and monitoring problems found in the process industries, IMPL's standard
Interfacer, Interacter and Modeler are well-suited and comprehensive to model the most difficult
of production and process complexities allowing for the formulations of straightforward
coefficient equations, ubiquitous conservation laws, rigorous constitutive relations, empirical
correlative expressions and other necessary side constraints.
User, custom, adhoc or external constraints can be augmented or appended to IMPL when
necessary in several ways. For MILP or logistics problems we offer user-defined constraints
configurable from the IML file or the IPL code where the variables and constraints are
referenced using unit-operation-port-state names and the quantity-logic variable types. It is also
possible to import a foreign *.ILP file (row-based MPS file) which can be generated by any
algebraic modeling language or matrix generator. This file is read just prior to generating the
matrix and before exporting to the LP, QP or MILP solver. For NLP or quality problems we offer
user-defined formula configuration in the IML file and single-value and multi-value function
blocks writable in C, C++ or Fortran. The nonlinear formulas may include intrinsic functions
such as EXP, LN, LOG, SIN, COS, TAN, MIN, MAX, IF, NOT, EQ, NE, LE, LT, GE, GT and CIP,
LIP, SIP and KIP (constant, linear and monotonic spline interpolations) as well as user-written
extrinsic functions (XFCN). It is also possible to import another type of foreign file called the
*.INL file where both linear and nonlinear constraints can be added easily using new or existing
IMPL variables.
Industrial modeling frameworks or IMF's are intended to provide a jump-start to an industrial
project implementation i.e., a pre-project if you will, whereby pre-configured IML files and/or IPL
code are available specific to your problem at hand. The IML files and/or IPL code can be
easily enhanced, extended, customized, modified, etc. to meet the diverse needs of your project
and as it evolves over time and use. IMF's also provide graphical user interface prototypes for
drawing the flowsheet as in Figure 1 and typical Gantt charts and trend plots to view the solution
of quantity, logic and quality time-profiles. Current developments use Python 2.3 and 2.7
integrated with open-source Dia and Matplotlib modules respectively but other prototypes
embedded within Microsoft Excel/VBA for example can be created in a straightforward manner.
However, the primary purpose of the IMF's is to provide a timely, cost-effective, manageable
and maintainable deployment of IMPL to formulate and optimize complex industrial
manufacturing systems in either off-line or on-line environments. Using IMPL alone would be
somewhat similar (but not as bad) to learning the syntax and semantics of an AML as well as
having to code all of the necessary mathematical representations of the problem including the
details of digitizing your data into time-points and periods, demarcating past, present and future
time-horizons, defining sets, index-sets, compound-sets to traverse the network or topology,
calculating independent and dependent parameters to be used as coefficients and bounds and
finally creating all of the necessary variables and constraints to model the complex details of
logistics and quality industrial optimization problems. Instead, IMF's and IMPL provide, in our
opinion, a more elegant and structured approach to industrial modeling and solving so that you
can capture the benefits of advanced decision-making faster, better and cheaper.
Olefins Plant "Advanced" Production Accounting Synopsis
At this point we explore further the purpose of "advanced" production accounting in terms of its
diagnostic capability of aiding in the detection, identification and elimination of "bad" production
data where "bad" really implies inconsistent data. The major advantage of DRR is its ability to
use redundant data which is sometimes referred to as over-determined or over-specified
problems. The redundancy primarily occurs because of the inclusion of a model i.e., equations
or equality constraints relating all of the flow variables together including the laws of
conservation of matter (i.e., a mass, volume or mole basis).
Some of these variables are measured or reconciled, some are unmeasured or regressed while
others can be fixed or rigid. Measured variables include a raw and known (finite) variance, as
shown in Table 1, unmeasured variables have a large and unknown (infinite) variance and fixed
variables have no or zero variance. The DRR objective function is to minimize the weighted
sum of squares of the raw measurements minus its reconciled estimate where the weights are
simply determined as the inverse of its raw variance (Kelly, 1998; Kelly and Zyngier, 2008). At a
converged DRR solution using SECQPE we have estimates of the reconciled and unmeasured
or regressed variables and after running SORVE we have new variance estimates for the
reconciled and unmeasured or regressed variables as well as redundancy and observability
estimates for each measured and unmeasured variable respectively. Furthermore, using these
variances we can compute individual gross-error detection statistics for the measured variables
and equality constraints as well as confidence intervals for each unmeasured variable using the
Student-t tables to determine statistical threshold or critical values. In addition, we can also
compute a global or overall Hotelling statistic on the objective function value to detect if at least
one gross-error exists.
Table 1. Olefins Plant’s Measurements (Sanchez and Romagnoli, 1996).
After solving this linear DRR problem in two (2) iterations using SECQPE, we arrive at the same
solution as found in Table 1 with an objective function of 26.12 which has a Hotelling statistic of
3.94 at 95% confidence and 31 – 23 = 8 degrees-of-freedom indicating at least one gross-error
is present. There are thirty-one (31) equations (i.e., 31 nodes), twenty-nine (29) measured
variables and thirty-four (34) unmeasured variables for a total of sixty-three (63) variables.
SECQPE identifies that eleven (11) of the unmeasured variables are dependent leaving twenty-
three (23) independent variables (Sanchez and Romagnoli,1996; Kelly, 1998). And, of the 23
independent unmeasured variables only five (5) are observable or determinable (i.e., streams
24, 34, 35, 36 and 49). Unobservable variables cannot be uniquely determined from the model
and data or information provided and hence their values are unusable. In order to increase the
observability of the system, extra measurements would need to be installed on the process
(Kelly and Zyngier, 2008). The lack of observability also reduces the amount or degree of
redundancy in the system. A redundant measured variable means that if the measurement is
not available for some reason then it can be uniquely determined from the model and other
data.
Table 2. Olefins Plant’s Measurement Statistics.
Stream Statistic
1 -1.36E-01
2 -1.36E-01
7 -7.96E-01
8 7.96E-01
9 2.35E-01
12 -6.80E-01
13 -1.21E-01
14 -1.26E-01
15 -3.22E+00
16 -9.27E-01
17 -9.27E-01
18 -9.20E-01
19 -1.43E-01
20 1.71E+00
21 3.26E+00
22 1.71E+00
23 1.71E+00
25 -9.27E-01
26 -9.26E-01
27 4.29E+00
28 1.49E+00
29 1.49E+00
30 -1.17E+00
31 2.32E+00
32 2.33E+00
33 2.32E+00
37 3.59E+00
46 3.59E+00
53 3.59E+00
Table 2 displays the Student-t measurement statistics (sometimes called the maximum-power
statistic) with a critical or threshold value of 3.44 at 95% confidence. The violated
measurements are shown in bold with stream 27’s as the worst violator. If we remove or delete
stream 27’s measurement, by setting its objective function weight to zero (0) or setting its
variance to infinity, and re-solve with SECQPE, the objective function is now 7.74. This is
consistent with the well-known observation that the change in the objective function if we delete
one measurement is equal to the square of the statistic i.e., 26.124 – 4.29^2 = 7.72. Table 3
displays the new Student-t measurement statistics.
Table 3. Olefins Plant’s Measurement Statistics with Stream 27 Removed/Deleted.
Stream Statistic
1 -4.01E-02
2 -4.00E-02
7 -7.85E-01
8 7.85E-01
9 3.97E-01
12 -7.16E-01
13 -3.57E-01
14 -3.72E-01
15 2.50E-02
16 -2.12E-01
17 -2.12E-01
18 -2.11E-01
19 -9.05E-01
20 8.37E-01
21 -2.12E-01
22 8.36E-01
23 8.37E-01
25 -2.12E-01
26 -2.12E-01
27 N/A
28 -1.70E+00
29 -1.70E+00
30 -2.18E+00
31 7.45E-01
32 7.46E-01
33 7.46E-01
37 1.70E+00
46 1.70E+00
53 1.71E+00
As can be seen from Table 3, there are no individual measurement Student-t statistic violations
even though the objective function of 7.74 is greater that its Hotelling statistic threshold value.
At this point it is not possible to further detect and identify more gross-errors or defects in the
model and/or data.
In summary, we have highlighted the advanced production accounting of a small Olefins Plant
where the mass or volume data has at least one gross-error identified. At this point if we were
at site or in the field we would ask for the flow measurement on stream 27 to be re-calibrated
i.e., zero and spanned and then we would re-run the production accounting balance tomorrow
for example to see if stream 27’s flow is no longer suspect. This forms the basis of APA as an
intelligent problem solving or systematic troubleshooting methodology to help reduce variability
or uncertainty in your production data before it is used in planning and scheduling decision-
making i.e., you do not want to run your business on noise or bad data!
References
Sanchez, M., Romagnoli, J., “use of orthogonal transformations in data classification-
reconciliation”, Computers & Chemical Engineering, 20, 483-493, (1996).
Kelly, J.D., "A regularization approach to the reconciliation of constrained data sets", Computers
& Chemical Engineering, 1771, (1998).
Kelly, J.D., "Production modeling for multimodal operations", Chemical Engineering Progress,
February, 44, (2004).
Kelly, J.D., "The unit-operation-stock superstructure (UOSS) and the quantity-logic-quality
paradigm (QLQP) for production scheduling in the process industries", In: MISTA 2005
Conference Proceedings, 327, (2005).
Kelly, J.D., Zyngier, D., "A new and improved MILP formulation to optimize observability,
redundancy and precision for sensor network problems", American Institute of Chemical
Engineering Journal, 54, 1282, (2008).
Zyngier, D., Kelly, J.D., "UOPSS: a new paradigm for modeling production planning and
scheduling systems", ESCAPE 22, June, (2012).
Kelly, J.D., Hedengren, J.D., "A steady-state detection (SDD) algorithm to detect non-stationary
drifts in processes", Journal of Process Control, 23, 326, (2013).
Appendix A – APA-OP-IMF.UPS (UOPSS) File
i M P l (c)
Copyright and Property of i n d u s t r I A L g o r i t h m s LLC.
checksum,537
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Unit-Operation-Port-State-Superstructure (UOPSS) *.UPS File.
! (This file is automatically generated from the Python program IALConstructer.py)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
&sUnit,&sOperation,@sType,@sSubtype,@sUse
0,,perimeter,,
1,,processc,blackbox%,
10,,processc,blackbox%,
11,,processc,blackbox%,
12,,processc,blackbox%,
13,,processc,blackbox%,
14,,processc,blackbox%,
15,,processc,blackbox%,
16,,processc,blackbox%,
17,,processc,blackbox%,
18,,processc,blackbox%,
19,,processc,blackbox%,
2,,processc,blackbox%,
20,,processc,blackbox%,
21,,processc,blackbox%,
22,,processc,blackbox%,
23,,processc,blackbox%,
24,,processc,blackbox%,
25,,processc,blackbox%,
26,,processc,blackbox%,
27,,processc,blackbox%,
28,,processc,blackbox%,
29,,processc,blackbox%,
3,,processc,blackbox%,
30,,processc,blackbox%,
31,,processc,blackbox%,
32,,perimeter,,
4,,processc,blackbox%,
5,,processc,blackbox%,
6,,processc,blackbox%,
7,,processc,blackbox%,
8,,processc,blackbox%,
9,,processc,blackbox%,
&sUnit,&sOperation,@sType,@sSubtype,@sUse
! Number of UO shapes = 33
&sAlias,&sUnit,&sOperation
ALLPARTS,0,
ALLPARTS,1,
ALLPARTS,10,
ALLPARTS,11,
ALLPARTS,12,
ALLPARTS,13,
ALLPARTS,14,
ALLPARTS,15,
ALLPARTS,16,
ALLPARTS,17,
ALLPARTS,18,
ALLPARTS,19,
ALLPARTS,2,
ALLPARTS,20,
ALLPARTS,21,
ALLPARTS,22,
ALLPARTS,23,
ALLPARTS,24,
ALLPARTS,25,
ALLPARTS,26,
ALLPARTS,27,
ALLPARTS,28,
ALLPARTS,29,
ALLPARTS,3,
ALLPARTS,30,
ALLPARTS,31,
ALLPARTS,32,
ALLPARTS,4,
ALLPARTS,5,
ALLPARTS,6,
ALLPARTS,7,
ALLPARTS,8,
ALLPARTS,9,
&sAlias,&sUnit,&sOperation
&sUnit,&sOperation,&sPort,&sState,@sType,@sSubtype
0,,1,,out,
0,,2,,out,
1,,1,,in,
1,,3,,out,
1,,4,,out,
10,,23,,out,
10,,24,,out,
10,,25,,out,
10,,36,,in,
11,,21,,out,
11,,22,,out,
11,,24,,in,
11,,26,,out,
12,,19,,out,
12,,20,,in,
12,,22,,in,
12,,23,,in,
13,,16,,in,
13,,17,,in,
13,,18,,in,
13,,25,,in,
13,,26,,in,
13,,27,,out,
13,,28,,out,
13,,29,,out,
13,,30,,out,
14,,30,,in,
14,,31,,out,
14,,32,,out,
14,,33,,out,
15,,28,,in,
15,,29,,in,
15,,31,,in,
15,,32,,in,
15,,33,,in,
15,,37,,out,
15,,61,,out,
15,,63,,in,
16,,38,,in,
16,,55,,out,
16,,61,,in,
17,,48,,out,
17,,54,,in,
17,,55,,in,
18,,54,,out,
18,,56,,in,
18,,57,,out,
18,,58,,out,
19,,59,,out,
19,,60,,in,
2,,3,,in,
2,,5,,out,
2,,6,,out,
20,,56,,out,
20,,57,,in,
20,,59,,in,
20,,62,,in,
21,,47,,out,
21,,48,,in,
21,,49,,out,
22,,44,,out,
22,,45,,out,
22,,47,,in,
23,,49,,in,
23,,50,,out,
23,,51,,in,
24,,50,,in,
24,,52,,out,
25,,51,,out,
25,,52,,in,
25,,53,,out,
26,,42,,out,
26,,44,,in,
26,,63,,out,
27,,43,,out,
27,,45,,in,
27,,46,,out,
28,,41,,out,
28,,42,,in,
28,,43,,in,
29,,38,,out,
29,,40,,out,
29,,41,,in,
3,,2,,in,
3,,4,,in,
3,,5,,in,
3,,6,,in,
3,,7,,in,
3,,8,,out,
3,,9,,out,
30,,39,,out,
30,,40,,in,
30,,62,,out,
31,,39,,in,
31,,58,,in,
31,,60,,out,
32,,12,,in,
32,,13,,in,
32,,14,,in,
32,,19,,in,
32,,21,,in,
32,,27,,in,
32,,37,,in,
32,,46,,in,
32,,53,,in,
4,,10,,in,
4,,11,,out,
4,,12,,out,
4,,8,,in,
5,,10,,out,
5,,11,,in,
5,,7,,out,
6,,13,,out,
6,,14,,out,
6,,15,,out,
6,,9,,in,
7,,15,,in,
7,,16,,out,
7,,34,,out,
8,,17,,out,
8,,34,,in,
8,,35,,out,
9,,18,,out,
9,,20,,out,
9,,35,,in,
9,,36,,out,
&sUnit,&sOperation,&sPort,&sState,@sType,@sSubtype
! Number of UOPS shapes = 126
&sAlias,&sUnit,&sOperation,&sPort,&sState
ALLINPORTS,1,,1,
ALLINPORTS,10,,36,
ALLINPORTS,11,,24,
ALLINPORTS,12,,20,
ALLINPORTS,12,,22,
ALLINPORTS,12,,23,
ALLINPORTS,13,,16,
ALLINPORTS,13,,17,
ALLINPORTS,13,,18,
ALLINPORTS,13,,25,
ALLINPORTS,13,,26,
ALLINPORTS,14,,30,
ALLINPORTS,15,,28,
ALLINPORTS,15,,29,
ALLINPORTS,15,,31,
ALLINPORTS,15,,32,
ALLINPORTS,15,,33,
ALLINPORTS,15,,63,
ALLINPORTS,16,,38,
ALLINPORTS,16,,61,
ALLINPORTS,17,,54,
ALLINPORTS,17,,55,
ALLINPORTS,18,,56,
ALLINPORTS,19,,60,
ALLINPORTS,2,,3,
ALLINPORTS,20,,57,
ALLINPORTS,20,,59,
ALLINPORTS,20,,62,
ALLINPORTS,21,,48,
ALLINPORTS,22,,47,
ALLINPORTS,23,,49,
ALLINPORTS,23,,51,
ALLINPORTS,24,,50,
ALLINPORTS,25,,52,
ALLINPORTS,26,,44,
ALLINPORTS,27,,45,
ALLINPORTS,28,,42,
ALLINPORTS,28,,43,
ALLINPORTS,29,,41,
ALLINPORTS,3,,2,
ALLINPORTS,3,,4,
ALLINPORTS,3,,5,
ALLINPORTS,3,,6,
ALLINPORTS,3,,7,
ALLINPORTS,30,,40,
ALLINPORTS,31,,39,
ALLINPORTS,31,,58,
ALLINPORTS,32,,12,
ALLINPORTS,32,,13,
ALLINPORTS,32,,14,
ALLINPORTS,32,,19,
ALLINPORTS,32,,21,
ALLINPORTS,32,,27,
ALLINPORTS,32,,37,
ALLINPORTS,32,,46,
ALLINPORTS,32,,53,
ALLINPORTS,4,,10,
ALLINPORTS,4,,8,
ALLINPORTS,5,,11,
ALLINPORTS,6,,9,
ALLINPORTS,7,,15,
ALLINPORTS,8,,34,
ALLINPORTS,9,,35,
ALLOUTPORTS,0,,1,
ALLOUTPORTS,0,,2,
ALLOUTPORTS,1,,3,
ALLOUTPORTS,1,,4,
ALLOUTPORTS,10,,23,
ALLOUTPORTS,10,,24,
ALLOUTPORTS,10,,25,
ALLOUTPORTS,11,,21,
ALLOUTPORTS,11,,22,
ALLOUTPORTS,11,,26,
ALLOUTPORTS,12,,19,
ALLOUTPORTS,13,,27,
ALLOUTPORTS,13,,28,
ALLOUTPORTS,13,,29,
ALLOUTPORTS,13,,30,
ALLOUTPORTS,14,,31,
ALLOUTPORTS,14,,32,
ALLOUTPORTS,14,,33,
ALLOUTPORTS,15,,37,
ALLOUTPORTS,15,,61,
ALLOUTPORTS,16,,55,
ALLOUTPORTS,17,,48,
ALLOUTPORTS,18,,54,
ALLOUTPORTS,18,,57,
ALLOUTPORTS,18,,58,
ALLOUTPORTS,19,,59,
ALLOUTPORTS,2,,5,
ALLOUTPORTS,2,,6,
ALLOUTPORTS,20,,56,
ALLOUTPORTS,21,,47,
ALLOUTPORTS,21,,49,
ALLOUTPORTS,22,,44,
ALLOUTPORTS,22,,45,
ALLOUTPORTS,23,,50,
ALLOUTPORTS,24,,52,
ALLOUTPORTS,25,,51,
ALLOUTPORTS,25,,53,
ALLOUTPORTS,26,,42,
ALLOUTPORTS,26,,63,
ALLOUTPORTS,27,,43,
ALLOUTPORTS,27,,46,
ALLOUTPORTS,28,,41,
ALLOUTPORTS,29,,38,
ALLOUTPORTS,29,,40,
ALLOUTPORTS,3,,8,
ALLOUTPORTS,3,,9,
ALLOUTPORTS,30,,39,
ALLOUTPORTS,30,,62,
ALLOUTPORTS,31,,60,
ALLOUTPORTS,4,,11,
ALLOUTPORTS,4,,12,
ALLOUTPORTS,5,,10,
ALLOUTPORTS,5,,7,
ALLOUTPORTS,6,,13,
ALLOUTPORTS,6,,14,
ALLOUTPORTS,6,,15,
ALLOUTPORTS,7,,16,
ALLOUTPORTS,7,,34,
ALLOUTPORTS,8,,17,
ALLOUTPORTS,8,,35,
ALLOUTPORTS,9,,18,
ALLOUTPORTS,9,,20,
ALLOUTPORTS,9,,36,
&sAlias,&sUnit,&sOperation,&sPort,&sState
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState
0,,1,,1,,1,
0,,2,,3,,2,
1,,3,,2,,3,
1,,4,,3,,4,
10,,23,,12,,23,
10,,24,,11,,24,
10,,25,,13,,25,
11,,21,,32,,21,
11,,22,,12,,22,
11,,26,,13,,26,
12,,19,,32,,19,
13,,27,,32,,27,
13,,28,,15,,28,
13,,29,,15,,29,
13,,30,,14,,30,
14,,31,,15,,31,
14,,32,,15,,32,
14,,33,,15,,33,
15,,37,,32,,37,
15,,61,,16,,61,
16,,55,,17,,55,
17,,48,,21,,48,
18,,54,,17,,54,
18,,57,,20,,57,
18,,58,,31,,58,
19,,59,,20,,59,
2,,5,,3,,5,
2,,6,,3,,6,
20,,56,,18,,56,
21,,47,,22,,47,
21,,49,,23,,49,
22,,44,,26,,44,
22,,45,,27,,45,
23,,50,,24,,50,
24,,52,,25,,52,
25,,51,,23,,51,
25,,53,,32,,53,
26,,42,,28,,42,
26,,63,,15,,63,
27,,43,,28,,43,
27,,46,,32,,46,
28,,41,,29,,41,
29,,38,,16,,38,
29,,40,,30,,40,
3,,8,,4,,8,
3,,9,,6,,9,
30,,39,,31,,39,
30,,62,,20,,62,
31,,60,,19,,60,
4,,11,,5,,11,
4,,12,,32,,12,
5,,10,,4,,10,
5,,7,,3,,7,
6,,13,,32,,13,
6,,14,,32,,14,
6,,15,,7,,15,
7,,16,,13,,16,
7,,34,,8,,34,
8,,17,,13,,17,
8,,35,,9,,35,
9,,18,,13,,18,
9,,20,,12,,20,
9,,36,,10,,36,
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState
! Number of UOPSPSUO shapes = 63
&sAlias,&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState
ALLPATHS,0,,1,,1,,1,
ALLPATHS,9,,36,,10,,36,
ALLPATHS,10,,24,,11,,24,
ALLPATHS,9,,20,,12,,20,
ALLPATHS,11,,22,,12,,22,
ALLPATHS,10,,23,,12,,23,
ALLPATHS,7,,16,,13,,16,
ALLPATHS,8,,17,,13,,17,
ALLPATHS,9,,18,,13,,18,
ALLPATHS,10,,25,,13,,25,
ALLPATHS,11,,26,,13,,26,
ALLPATHS,13,,30,,14,,30,
ALLPATHS,13,,28,,15,,28,
ALLPATHS,13,,29,,15,,29,
ALLPATHS,14,,31,,15,,31,
ALLPATHS,14,,32,,15,,32,
ALLPATHS,14,,33,,15,,33,
ALLPATHS,26,,63,,15,,63,
ALLPATHS,29,,38,,16,,38,
ALLPATHS,15,,61,,16,,61,
ALLPATHS,18,,54,,17,,54,
ALLPATHS,16,,55,,17,,55,
ALLPATHS,20,,56,,18,,56,
ALLPATHS,31,,60,,19,,60,
ALLPATHS,1,,3,,2,,3,
ALLPATHS,18,,57,,20,,57,
ALLPATHS,19,,59,,20,,59,
ALLPATHS,30,,62,,20,,62,
ALLPATHS,17,,48,,21,,48,
ALLPATHS,21,,47,,22,,47,
ALLPATHS,21,,49,,23,,49,
ALLPATHS,25,,51,,23,,51,
ALLPATHS,23,,50,,24,,50,
ALLPATHS,24,,52,,25,,52,
ALLPATHS,22,,44,,26,,44,
ALLPATHS,22,,45,,27,,45,
ALLPATHS,26,,42,,28,,42,
ALLPATHS,27,,43,,28,,43,
ALLPATHS,28,,41,,29,,41,
ALLPATHS,0,,2,,3,,2,
ALLPATHS,1,,4,,3,,4,
ALLPATHS,2,,5,,3,,5,
ALLPATHS,2,,6,,3,,6,
ALLPATHS,5,,7,,3,,7,
ALLPATHS,29,,40,,30,,40,
ALLPATHS,30,,39,,31,,39,
ALLPATHS,18,,58,,31,,58,
ALLPATHS,4,,12,,32,,12,
ALLPATHS,6,,13,,32,,13,
ALLPATHS,6,,14,,32,,14,
ALLPATHS,12,,19,,32,,19,
ALLPATHS,11,,21,,32,,21,
ALLPATHS,13,,27,,32,,27,
ALLPATHS,15,,37,,32,,37,
ALLPATHS,27,,46,,32,,46,
ALLPATHS,25,,53,,32,,53,
ALLPATHS,5,,10,,4,,10,
ALLPATHS,3,,8,,4,,8,
ALLPATHS,4,,11,,5,,11,
ALLPATHS,3,,9,,6,,9,
ALLPATHS,6,,15,,7,,15,
ALLPATHS,7,,34,,8,,34,
ALLPATHS,8,,35,,9,,35,
&sAlias,&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState
Appendix B – APA-OP-IMF.IML File
i M P l (c)
Copyright and Property of i n d u s t r I A L g o r i t h m s LLC.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Calculation Data (Parameters)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
&sCalc,@sValue
!Miscellaneous Constants.
LARGENUMBER,1E+20
LARGEBOUND,1E+9
!Horizon and Period Times.
START,-1.0
BEGIN,0.0
END,1.0
PERIOD,1.0
!Measured Stream Flows.
F1_V , 70.49
F2_V , 7.103
F7_V , 13.04
F8_V , 35.38
F9_V , 53.21
F12_V, 23.90
F13_V, 0.00
F14_V, 0.0765
F15_V, 54.59
F16_V, 12.78
F17_V, 23.42
F18_V, 0.2378
F19_V, 8.657
F20_V, 5.087
F21_V, 1.74
F22_V, 0.0255
F23_V, 3.113
F25_V, 5.407
F26_V, 2.898
F27_V, 11.83
F28_V, 8.197
F29_V, 1.364
F30_V, 20.94
F31_V, 1.051
F32_V, 12.58
F33_V, 4.999
F37_V, 5.73
F46_V, 4.25
F53_V, 16.34
!Measured Stream Flow Variances.
F1_W , 10.87
F2_W , 0.2030
F7_W , 2.624
F8_W , 0.3970
F9_W , 5.76
F12_W, 0.922
F13_W, 0.608
F14_W, 5.76
F15_W, 0.23
F16_W, 1.44
F17_W, 0.7060
F18_W, 0.017
F19_W, 0.13
F20_W, 0.09
F21_W, 0.014
F22_W, 0.0002
F23_W, 0.018
F25_W, 0.09
F26_W, 0.014
F27_W, 0.36 !LARGENUMBER
F28_W, 0.563
F29_W, 0.023
F30_W, 1.103
F31_W, 0.008
F32_W, 0.397
F33_W, 0.152
F37_W, 0.09
F46_W, 0.13
F53_W, 1.232
&sCalc,@sValue
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Chronological Data (Periods)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@rPastTHD,@rFutureTHD,@rTPD
START,END,PERIOD
@rPastTHD,@rFutureTHD,@rTPD
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Construction Data (Pointers)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Include-@sFile_Name
APA-OP-IMF.ups
Include-@sFile_Name
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Capacity Data (Prototypes)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
&sUnit,&sOperation,@rRate_Lower,@rRate_Upper
ALLPARTS,0,LARGEBOUND
&sUnit,&sOperation,@rRate_Lower,@rRate_Upper
&sUnit,&sOperation,@rHoldup_Lower,@rHoldup_Upper
ALLPARTS,0,LARGEBOUND
&sUnit,&sOperation,@rHoldup_Lower,@rHoldup_Upper
&sUnit,&sOperation,&sPort,&sState,@rTeeRate_Lower,@rTeeRate_Upper
ALLINPORTS,0,LARGEBOUND
ALLOUTPORTS,0,LARGEBOUND
&sUnit,&sOperation,&sPort,&sState,@rTeeRate_Lower,@rTeeRate_Upper
&sUnit,&sOperation,&sPort,&sState,@rTotalRate_Lower,@rTotalRate_Upper
ALLINPORTS,0,LARGEBOUND
ALLOUTPORTS,0,LARGEBOUND
&sUnit,&sOperation,&sPort,&sState,@rTotalRate_Lower,@rTotalRate_Upper
&sUnit,&sOperation,&sPort,&sState,@rYield_Lower,@rYield_Upper,@rYield_Fixed
ALLINPORTS,0,LARGEBOUND
ALLOUTPORTS,0,LARGEBOUND
&sUnit,&sOperation,&sPort,&sState,@rYield_Lower,@rYield_Upper,@rYield_Fixed
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Cost Data (Pricing)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,
@rFlowPro_Weight,@rFlowPer1_Weight,@rFlowPer2_Weight,@rFlowPen_Weight
ALLPATHS,,,0.0,
0,,1,,1,,1,,,,1.0/F1_W
0,,2,,3,,2,,,,1.0/F2_W
5,,7,,3,,7,,,,1.0/F7_W
3,,8,,4,,8,,,,1.0/F8_W
3,,9,,6,,9,,,,1.0/F9_W
4,,12,,32,,12,,,,1.0/F12_W
6,,13,,32,,13,,,,1.0/F13_W
6,,14,,32,,14,,,,1.0/F14_W
6,,15,,7,,15,,,,1.0/F15_W
7,,16,,13,,16,,,,1.0/F16_W
8,,17,,13,,17,,,,1.0/F17_W,
9,,18,,13,,18,,,,1.0/F18_W
12,,19,,32,,19,,,,1.0/F19_W
9,,20,,12,,20,,,,1.0/F20_W
11,,21,,32,,21,,,,1.0/F21_W
11,,22,,12,,22,,,,1.0/F22_W
10,,23,,12,,23,,,,1.0/F23_W
10,,25,,13,,25,,,,1.0/F25_W
11,,26,,13,,26,,,,1.0/F26_W
13,,27,,32,,27,,,,1.0/F27_W
13,,28,,15,,28,,,,1.0/F28_W
13,,29,,15,,29,,,,1.0/F29_W
13,,30,,14,,30,,,,1.0/F30_W
14,,31,,15,,31,,,,1.0/F31_W
14,,32,,15,,32,,,,1.0/F32_W
14,,33,,15,,33,,,,1.0/F33_W
15,,37,,32,,37,,,,1.0/F37_W
27,,46,,32,,46,,,,1.0/F46_W
25,,53,,32,,53,,,,1.0/F53_W
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,
@rFlowPro_Weight,@rFlowPer1_Weight,@rFlowPer2_Weight,@rFlowPen_Weight
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Content Data (Past, Present Provisos)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Command Data (Future Provisos)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
&sUnit,&sOperation,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time
ALLPARTS,1,1,BEGIN,END
&sUnit,&sOperation,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time
ALLPATHS,1,1,BEGIN,END
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,
@rRate_Lower,@rRate_Upper,@rRate_Target,@rBegin_Time,@rEnd_Time
ALLPATHS,0.0,LARGEBOUND,0.0,BEGIN,END
0,,1,,1,,1,,0.0,LARGEBOUND,F1_V,BEGIN,END
0,,2,,3,,2,,0.0,LARGEBOUND,F2_V,BEGIN,END
5,,7,,3,,7,,0.0,LARGEBOUND,F7_V,BEGIN,END
3,,8,,4,,8,,0.0,LARGEBOUND,F8_V,BEGIN,END
3,,9,,6,,9,,0.0,LARGEBOUND,F9_V,BEGIN,END
4,,12,,32,,12,,0.0,LARGEBOUND,F12_V,BEGIN,END
6,,13,,32,,13,,0.0,LARGEBOUND,F13_V,BEGIN,END
6,,14,,32,,14,,0.0,LARGEBOUND,F14_V,BEGIN,END
6,,15,,7,,15,,0.0,LARGEBOUND,F15_V,BEGIN,END
7,,16,,13,,16,,0.0,LARGEBOUND,F16_V,BEGIN,END
8,,17,,13,,17,,0.0,LARGEBOUND,F17_V,BEGIN,END
9,,18,,13,,18,,0.0,LARGEBOUND,F18_V,BEGIN,END
12,,19,,32,,19,,0.0,LARGEBOUND,F19_V,BEGIN,END
9,,20,,12,,20,,0.0,LARGEBOUND,F20_V,BEGIN,END
11,,21,,32,,21,,0.0,LARGEBOUND,F21_V,BEGIN,END
11,,22,,12,,22,,0.0,LARGEBOUND,F22_V,BEGIN,END
10,,23,,12,,23,,0.0,LARGEBOUND,F23_V,BEGIN,END
10,,25,,13,,25,,0.0,LARGEBOUND,F25_V,BEGIN,END
11,,26,,13,,26,,0.0,LARGEBOUND,F26_V,BEGIN,END
13,,27,,32,,27,,0.0,LARGEBOUND,F27_V,BEGIN,END
13,,28,,15,,28,,0.0,LARGEBOUND,F28_V,BEGIN,END
13,,29,,15,,29,,0.0,LARGEBOUND,F29_V,BEGIN,END
13,,30,,14,,30,,0.0,LARGEBOUND,F30_V,BEGIN,END
14,,31,,15,,31,,0.0,LARGEBOUND,F31_V,BEGIN,END
14,,32,,15,,32,,0.0,LARGEBOUND,F32_V,BEGIN,END
14,,33,,15,,33,,0.0,LARGEBOUND,F33_V,BEGIN,END
15,,37,,32,,37,,0.0,LARGEBOUND,F37_V,BEGIN,END
27,,46,,32,,46,,0.0,LARGEBOUND,F46_V,BEGIN,END
25,,53,,32,,53,,0.0,LARGEBOUND,F53_V,BEGIN,END
&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,
@rRate_Lower,@rRate_Upper,@rRate_Target,@rBegin_Time,@rEnd_Time

More Related Content

What's hot

Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...
Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...
Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...Alkis Vazacopoulos
 
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...Alkis Vazacopoulos
 
Impl reference manual_for_quantities
Impl reference manual_for_quantitiesImpl reference manual_for_quantities
Impl reference manual_for_quantitiesAlkis Vazacopoulos
 
Advanced Modeling of Industrial Optimization Problems
Advanced Modeling of Industrial Optimization ProblemsAdvanced Modeling of Industrial Optimization Problems
Advanced Modeling of Industrial Optimization ProblemsAlkis Vazacopoulos
 
Quick Development and Deployment of Industrial Applications using Excel/VBA, ...
Quick Development and Deployment of Industrial Applications using Excel/VBA, ...Quick Development and Deployment of Industrial Applications using Excel/VBA, ...
Quick Development and Deployment of Industrial Applications using Excel/VBA, ...Alkis Vazacopoulos
 
Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...
Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...
Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...Alkis Vazacopoulos
 
Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...
Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...
Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...Alkis Vazacopoulos
 
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)Alkis Vazacopoulos
 
The Database Environment Chapter 8
The Database Environment Chapter 8The Database Environment Chapter 8
The Database Environment Chapter 8Jeanie Arnoco
 
Enhancing an atl transformation
Enhancing an atl transformationEnhancing an atl transformation
Enhancing an atl transformationcsandit
 
Oracle I/O Supply and Demand
Oracle I/O Supply and DemandOracle I/O Supply and Demand
Oracle I/O Supply and DemandBob Sneed
 
Raminder kaur presentation_two
Raminder kaur presentation_twoRaminder kaur presentation_two
Raminder kaur presentation_tworamikaurraminder
 
UML2SAN: Toward A New Software Performance Engineering Approach
UML2SAN: Toward A New Software Performance Engineering ApproachUML2SAN: Toward A New Software Performance Engineering Approach
UML2SAN: Toward A New Software Performance Engineering Approachijseajournal
 
Comparison of the Formal Specification Languages Based Upon Various Parameters
Comparison of the Formal Specification Languages Based Upon Various ParametersComparison of the Formal Specification Languages Based Upon Various Parameters
Comparison of the Formal Specification Languages Based Upon Various ParametersIOSR Journals
 

What's hot (17)

Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...
Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...
Time Series Estimation of Gas Furnace Data in IMPL and CPLEX Industrial Model...
 
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
 
Impl reference manual_for_quantities
Impl reference manual_for_quantitiesImpl reference manual_for_quantities
Impl reference manual_for_quantities
 
Advanced Modeling of Industrial Optimization Problems
Advanced Modeling of Industrial Optimization ProblemsAdvanced Modeling of Industrial Optimization Problems
Advanced Modeling of Industrial Optimization Problems
 
Quick Development and Deployment of Industrial Applications using Excel/VBA, ...
Quick Development and Deployment of Industrial Applications using Excel/VBA, ...Quick Development and Deployment of Industrial Applications using Excel/VBA, ...
Quick Development and Deployment of Industrial Applications using Excel/VBA, ...
 
Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...
Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...
Advanced Process Monitoring for Startups, Shutdowns & Switchovers Industrial ...
 
Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...
Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...
Server-Solvers-Interacter-Interfacer-Modeler-Presolver Libraries and Executab...
 
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)
 
The Database Environment Chapter 8
The Database Environment Chapter 8The Database Environment Chapter 8
The Database Environment Chapter 8
 
8
88
8
 
Enhancing an atl transformation
Enhancing an atl transformationEnhancing an atl transformation
Enhancing an atl transformation
 
Oracle I/O Supply and Demand
Oracle I/O Supply and DemandOracle I/O Supply and Demand
Oracle I/O Supply and Demand
 
Raminder kaur presentation_two
Raminder kaur presentation_twoRaminder kaur presentation_two
Raminder kaur presentation_two
 
UML2SAN: Toward A New Software Performance Engineering Approach
UML2SAN: Toward A New Software Performance Engineering ApproachUML2SAN: Toward A New Software Performance Engineering Approach
UML2SAN: Toward A New Software Performance Engineering Approach
 
I012255862
I012255862I012255862
I012255862
 
ACaclchr
ACaclchrACaclchr
ACaclchr
 
Comparison of the Formal Specification Languages Based Upon Various Parameters
Comparison of the Formal Specification Languages Based Upon Various ParametersComparison of the Formal Specification Languages Based Upon Various Parameters
Comparison of the Formal Specification Languages Based Upon Various Parameters
 

Viewers also liked

Viewers also liked (20)

Mem bhee1
Mem bhee1Mem bhee1
Mem bhee1
 
植物生理学第8回
植物生理学第8回植物生理学第8回
植物生理学第8回
 
Back To Basics CEO
Back To Basics CEOBack To Basics CEO
Back To Basics CEO
 
Bab34 modulskalajarak
Bab34 modulskalajarakBab34 modulskalajarak
Bab34 modulskalajarak
 
Education and the new literacies studies
Education and the new literacies studiesEducation and the new literacies studies
Education and the new literacies studies
 
Carlos carolinajessica
Carlos carolinajessicaCarlos carolinajessica
Carlos carolinajessica
 
Stock Decomposition Heuristic for Scheduling: A Priority Dispatch Rule Approach
Stock Decomposition Heuristic for Scheduling: A Priority Dispatch Rule ApproachStock Decomposition Heuristic for Scheduling: A Priority Dispatch Rule Approach
Stock Decomposition Heuristic for Scheduling: A Priority Dispatch Rule Approach
 
Quality peer advising getting a return on your investment
Quality peer advising getting a return on your investmentQuality peer advising getting a return on your investment
Quality peer advising getting a return on your investment
 
Too 1 9
Too 1 9Too 1 9
Too 1 9
 
Springley - Water Case Study
Springley - Water Case StudySpringley - Water Case Study
Springley - Water Case Study
 
Guilcapi mis imagenes
Guilcapi mis imagenesGuilcapi mis imagenes
Guilcapi mis imagenes
 
cec2013
cec2013cec2013
cec2013
 
Edgemont in ph
Edgemont in phEdgemont in ph
Edgemont in ph
 
3
33
3
 
Science ideas in context 2012
Science ideas in context 2012Science ideas in context 2012
Science ideas in context 2012
 
E marketing assessment 1
E marketing assessment 1E marketing assessment 1
E marketing assessment 1
 
Word by word saba and carla
Word by word saba and carlaWord by word saba and carla
Word by word saba and carla
 
Ph detailed dry district maps
Ph detailed dry district mapsPh detailed dry district maps
Ph detailed dry district maps
 
TRABAJO DE INFORMÁTICA
TRABAJO DE INFORMÁTICATRABAJO DE INFORMÁTICA
TRABAJO DE INFORMÁTICA
 
Techniques In Logo Design
Techniques In Logo DesignTechniques In Logo Design
Techniques In Logo Design
 

Similar to Advanced Production Accounting of an Olefins Plant Industrial Modeling Framework (APA-OP-IMF)

Maritime Industrial Modeling Framework - IMPRESS
Maritime Industrial Modeling Framework - IMPRESSMaritime Industrial Modeling Framework - IMPRESS
Maritime Industrial Modeling Framework - IMPRESSAlkis Vazacopoulos
 
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)Alkis Vazacopoulos
 
Advanced Production Control Using Julia & IMPL
Advanced Production Control Using Julia & IMPLAdvanced Production Control Using Julia & IMPL
Advanced Production Control Using Julia & IMPLAlkis Vazacopoulos
 
Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...
Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...
Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...Alkis Vazacopoulos
 
Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...
Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...
Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...Alkis Vazacopoulos
 
Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)Alkis Vazacopoulos
 
SUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAIN
SUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAINSUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAIN
SUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAINAlkis Vazacopoulos
 
Pipeline optimization Industrial Modeling Framework
Pipeline optimization Industrial Modeling FrameworkPipeline optimization Industrial Modeling Framework
Pipeline optimization Industrial Modeling FrameworkAlkis Vazacopoulos
 
Developing the next generation of Real Time Optimization Technologies (Blend ...
Developing the next generation of Real Time Optimization Technologies (Blend ...Developing the next generation of Real Time Optimization Technologies (Blend ...
Developing the next generation of Real Time Optimization Technologies (Blend ...Alkis Vazacopoulos
 
Hybrid Knowledge Bases for Real-Time Robotic Reasoning
Hybrid Knowledge Bases for Real-Time Robotic ReasoningHybrid Knowledge Bases for Real-Time Robotic Reasoning
Hybrid Knowledge Bases for Real-Time Robotic ReasoningHassan Rifky
 
OLAP in Data Warehouse
OLAP in Data WarehouseOLAP in Data Warehouse
OLAP in Data WarehouseSOMASUNDARAM T
 
Lecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of HalleLecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of HalleTobias Trapp
 
Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3John Determan
 

Similar to Advanced Production Accounting of an Olefins Plant Industrial Modeling Framework (APA-OP-IMF) (20)

Maritime Industrial Modeling Framework - IMPRESS
Maritime Industrial Modeling Framework - IMPRESSMaritime Industrial Modeling Framework - IMPRESS
Maritime Industrial Modeling Framework - IMPRESS
 
Ial impl-imf-book-1-0
Ial impl-imf-book-1-0Ial impl-imf-book-1-0
Ial impl-imf-book-1-0
 
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
 
Advanced Production Control Using Julia & IMPL
Advanced Production Control Using Julia & IMPLAdvanced Production Control Using Julia & IMPL
Advanced Production Control Using Julia & IMPL
 
Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...
Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...
Partitioning and Positioning (to Solve MINLP Problems) Industrial Modeling Fr...
 
Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...
Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...
Generalized Capital Investment Planning w/ Sequence-Dependent Setups Industri...
 
oracle-complex-event-processing-066421
oracle-complex-event-processing-066421oracle-complex-event-processing-066421
oracle-complex-event-processing-066421
 
Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)
 
SUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAIN
SUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAINSUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAIN
SUPPLY CHAIN OPTIMIZATIONL: JET FUEL SUPPLY CHAIN
 
Jet fuelsupplychaindesign
Jet fuelsupplychaindesignJet fuelsupplychaindesign
Jet fuelsupplychaindesign
 
Pipeline optimization Industrial Modeling Framework
Pipeline optimization Industrial Modeling FrameworkPipeline optimization Industrial Modeling Framework
Pipeline optimization Industrial Modeling Framework
 
Developing the next generation of Real Time Optimization Technologies (Blend ...
Developing the next generation of Real Time Optimization Technologies (Blend ...Developing the next generation of Real Time Optimization Technologies (Blend ...
Developing the next generation of Real Time Optimization Technologies (Blend ...
 
Hybrid Knowledge Bases for Real-Time Robotic Reasoning
Hybrid Knowledge Bases for Real-Time Robotic ReasoningHybrid Knowledge Bases for Real-Time Robotic Reasoning
Hybrid Knowledge Bases for Real-Time Robotic Reasoning
 
Impl slpqp ev-sqp
Impl slpqp ev-sqpImpl slpqp ev-sqp
Impl slpqp ev-sqp
 
IMPL Data Analysis
IMPL Data AnalysisIMPL Data Analysis
IMPL Data Analysis
 
RakeshDhanani
RakeshDhananiRakeshDhanani
RakeshDhanani
 
Project Report on SAP
Project Report on SAPProject Report on SAP
Project Report on SAP
 
OLAP in Data Warehouse
OLAP in Data WarehouseOLAP in Data Warehouse
OLAP in Data Warehouse
 
Lecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of HalleLecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of Halle
 
Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3
 

More from Alkis Vazacopoulos

Automatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIPAutomatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIPAlkis Vazacopoulos
 
Amazing results with ODH|CPLEX
Amazing results with ODH|CPLEXAmazing results with ODH|CPLEX
Amazing results with ODH|CPLEXAlkis Vazacopoulos
 
Bia project poster fantasy football
Bia project poster  fantasy football Bia project poster  fantasy football
Bia project poster fantasy football Alkis Vazacopoulos
 
NFL Game schedule optimization
NFL Game schedule optimization NFL Game schedule optimization
NFL Game schedule optimization Alkis Vazacopoulos
 
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...Alkis Vazacopoulos
 
Very largeoptimizationparallel
Very largeoptimizationparallelVery largeoptimizationparallel
Very largeoptimizationparallelAlkis Vazacopoulos
 
Optimization Direct: Introduction and recent case studies
Optimization Direct: Introduction and recent case studiesOptimization Direct: Introduction and recent case studies
Optimization Direct: Introduction and recent case studiesAlkis Vazacopoulos
 
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX Alkis Vazacopoulos
 
Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL Alkis Vazacopoulos
 
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...Alkis Vazacopoulos
 
Distillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic InterpolationDistillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic InterpolationAlkis Vazacopoulos
 
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...Alkis Vazacopoulos
 
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...Alkis Vazacopoulos
 
Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...
Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...
Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...Alkis Vazacopoulos
 

More from Alkis Vazacopoulos (20)

Automatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIPAutomatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIP
 
Data mining 2004
Data mining 2004Data mining 2004
Data mining 2004
 
Amazing results with ODH|CPLEX
Amazing results with ODH|CPLEXAmazing results with ODH|CPLEX
Amazing results with ODH|CPLEX
 
Bia project poster fantasy football
Bia project poster  fantasy football Bia project poster  fantasy football
Bia project poster fantasy football
 
NFL Game schedule optimization
NFL Game schedule optimization NFL Game schedule optimization
NFL Game schedule optimization
 
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
 
Posters 2017
Posters 2017Posters 2017
Posters 2017
 
Very largeoptimizationparallel
Very largeoptimizationparallelVery largeoptimizationparallel
Very largeoptimizationparallel
 
Retail Pricing Optimization
Retail Pricing Optimization Retail Pricing Optimization
Retail Pricing Optimization
 
Optimization Direct: Introduction and recent case studies
Optimization Direct: Introduction and recent case studiesOptimization Direct: Introduction and recent case studies
Optimization Direct: Introduction and recent case studies
 
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
 
ODHeuristics
ODHeuristicsODHeuristics
ODHeuristics
 
Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL
 
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
 
Xmr im
Xmr imXmr im
Xmr im
 
Distillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic InterpolationDistillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic Interpolation
 
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
 
Benefits of using IMPL
Benefits of using IMPLBenefits of using IMPL
Benefits of using IMPL
 
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...
Phenomenological Decomposition Heuristics for Process Design Synthesis of Oil...
 
Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...
Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...
Sparse Observability using LP Presolve and LTDL Factorization in IMPL (IMPL-S...
 

Advanced Production Accounting of an Olefins Plant Industrial Modeling Framework (APA-OP-IMF)

  • 1. Advanced Production Accounting of an Olefins Plant Industrial Modeling Framework (APA-OP-IMF) i n d u s t r IAL g o r i t h m s LLC. (IAL) www.industrialgorithms.com August 2014 Introduction to Advanced Production Accounting, UOPSS and QLQP Presented in this short document is a description of what we call "Advanced" Production Accounting (APA) applied to a small Olefins Plant found in Sanchez and Romagnoli (1996). APA is the term given to the technique of vetting, screening or cleaning the past production data using statistical data reconciliation and regression (DRR) when continuous-processes are assumed to be at steady-state (Kelly and Hedengren, 2013) i.e., there is no significant material accumulation. For this case, the model and data define a simultaneous mass or volume linear DRR problem. Figure 1a shows the Olefins Plant using simple number indices for both the nodes and streams where Figure 1b depicts the same problem configured in our unit-operation- port-state superstructure (UOPSS) (Kelly, 2004, 2005; Zyngier and Kelly, 2012). Figure 1a. Olefins Plant Flowsheet (Sanchez and Romagnoli, 1996).
  • 2. Figure 1b. Olefins Plant UOPSS Flowsheet. The diamond shapes or objects are the sources and sinks known as perimeters, the rectangle shapes with the cross-hairs are continuous-process units and as mentioned these units should have a steady-state detection algorithm (SSD) installed to determine if the units are steady or stationary. The circle shapes with no cross-hairs are in-ports which can accept one or more inlet flows and are considered to be simple or uncontrolled mixers. The cross-haired circles are out-ports which can allow one or more outlet flows and are considered to be simple or uncontrolled splitters. The lines, arcs or edges in between the various shapes are known as internal and external streams and represent in this context the flows of materials from one shape to another. This example and its data are taken directly from Sanchez and Romagnoli (1996) as mentioned but is mapped to our UOPSS modeling framework which includes only one time-period typically defined for one business or calendar day.
  • 3. Unfortunately, more detailed information on the types of unit-operations and the overall process is not available. However, as can be seen from the flowsheet, the complexity of the Olefins Plant network in terms of its stream inter-connectivity is quite involved and includes several recycle streams or loops which poses no issue for our modeling and solving techniques. Industrial Modeling Framework (IMF), IMPL and SSIIMPLE To implement the mathematical formulation of this and other systems, IAL offers a unique approach and is incorporated into our Industrial Modeling Programming Language we call IMPL. IMPL has its own modeling language called IML (short for Industrial Modeling Language) which is a flat or text-file interface as well as a set of API's which can be called from any computer programming language such as C, C++, Fortran, C#, VBA, Java (SWIG), Python (CTYPES) and/or Julia (CCALL) called IPL (short for Industrial Programming Language) to both build the model and to view the solution. Models can be a mix of linear, mixed-integer and nonlinear variables and constraints and are solved using a combination of LP, QP, MILP and NLP solvers such as COINMP, GLPK, LPSOLVE, SCIP, CPLEX, GUROBI, LINDO, XPRESS, CONOPT, IPOPT, KNITRO and WORHP as well as our own implementation of SLP called SLPQPE (Successive Linear & Quadratic Programming Engine) which is a very competitive alternative to the other nonlinear solvers and embeds all available LP and QP solvers. In addition and specific to DRR problems, we also have a special solver called SECQPE standing for Sequential Equality-Constrained QP Engine which computes the least-squares solution and a post-solver called SORVE standing for Supplemental Observability, Redundancy and Variability Estimator to estimate the usual DRR statistics. SECQPE also includes a Levenberg-Marquardt regularization method for nonlinear data regression problems and can be presolved using SLPQPE i.e., SLPQPE warm-starts SECQPE. SORVE is run after the SECQPE solver and also computes the well-known "maximum-power" gross-error statistics (measurement and nodal/constraint tests) to help locate outliers, defects and/or faults i.e., mal- functions in the measurement system and mis-specifications in the logging system. The underlying system architecture of IMPL is called SSIIMPLE (we hope literally) which is short for Server, Solvers, Interfacer (IML), Interacter (IPL), Modeler, Presolver Libraries and Executable. The Server, Solvers, Presolver and Executable are primarily model or problem- independent whereas the Interfacer, Interacter and Modeler are typically domain-specific i.e., model or problem-dependent. Fortunately, for most industrial planning, scheduling, optimization, control and monitoring problems found in the process industries, IMPL's standard Interfacer, Interacter and Modeler are well-suited and comprehensive to model the most difficult of production and process complexities allowing for the formulations of straightforward coefficient equations, ubiquitous conservation laws, rigorous constitutive relations, empirical correlative expressions and other necessary side constraints. User, custom, adhoc or external constraints can be augmented or appended to IMPL when necessary in several ways. For MILP or logistics problems we offer user-defined constraints configurable from the IML file or the IPL code where the variables and constraints are referenced using unit-operation-port-state names and the quantity-logic variable types. It is also possible to import a foreign *.ILP file (row-based MPS file) which can be generated by any algebraic modeling language or matrix generator. This file is read just prior to generating the matrix and before exporting to the LP, QP or MILP solver. For NLP or quality problems we offer user-defined formula configuration in the IML file and single-value and multi-value function blocks writable in C, C++ or Fortran. The nonlinear formulas may include intrinsic functions such as EXP, LN, LOG, SIN, COS, TAN, MIN, MAX, IF, NOT, EQ, NE, LE, LT, GE, GT and CIP,
  • 4. LIP, SIP and KIP (constant, linear and monotonic spline interpolations) as well as user-written extrinsic functions (XFCN). It is also possible to import another type of foreign file called the *.INL file where both linear and nonlinear constraints can be added easily using new or existing IMPL variables. Industrial modeling frameworks or IMF's are intended to provide a jump-start to an industrial project implementation i.e., a pre-project if you will, whereby pre-configured IML files and/or IPL code are available specific to your problem at hand. The IML files and/or IPL code can be easily enhanced, extended, customized, modified, etc. to meet the diverse needs of your project and as it evolves over time and use. IMF's also provide graphical user interface prototypes for drawing the flowsheet as in Figure 1 and typical Gantt charts and trend plots to view the solution of quantity, logic and quality time-profiles. Current developments use Python 2.3 and 2.7 integrated with open-source Dia and Matplotlib modules respectively but other prototypes embedded within Microsoft Excel/VBA for example can be created in a straightforward manner. However, the primary purpose of the IMF's is to provide a timely, cost-effective, manageable and maintainable deployment of IMPL to formulate and optimize complex industrial manufacturing systems in either off-line or on-line environments. Using IMPL alone would be somewhat similar (but not as bad) to learning the syntax and semantics of an AML as well as having to code all of the necessary mathematical representations of the problem including the details of digitizing your data into time-points and periods, demarcating past, present and future time-horizons, defining sets, index-sets, compound-sets to traverse the network or topology, calculating independent and dependent parameters to be used as coefficients and bounds and finally creating all of the necessary variables and constraints to model the complex details of logistics and quality industrial optimization problems. Instead, IMF's and IMPL provide, in our opinion, a more elegant and structured approach to industrial modeling and solving so that you can capture the benefits of advanced decision-making faster, better and cheaper. Olefins Plant "Advanced" Production Accounting Synopsis At this point we explore further the purpose of "advanced" production accounting in terms of its diagnostic capability of aiding in the detection, identification and elimination of "bad" production data where "bad" really implies inconsistent data. The major advantage of DRR is its ability to use redundant data which is sometimes referred to as over-determined or over-specified problems. The redundancy primarily occurs because of the inclusion of a model i.e., equations or equality constraints relating all of the flow variables together including the laws of conservation of matter (i.e., a mass, volume or mole basis). Some of these variables are measured or reconciled, some are unmeasured or regressed while others can be fixed or rigid. Measured variables include a raw and known (finite) variance, as shown in Table 1, unmeasured variables have a large and unknown (infinite) variance and fixed variables have no or zero variance. The DRR objective function is to minimize the weighted sum of squares of the raw measurements minus its reconciled estimate where the weights are simply determined as the inverse of its raw variance (Kelly, 1998; Kelly and Zyngier, 2008). At a converged DRR solution using SECQPE we have estimates of the reconciled and unmeasured or regressed variables and after running SORVE we have new variance estimates for the reconciled and unmeasured or regressed variables as well as redundancy and observability estimates for each measured and unmeasured variable respectively. Furthermore, using these variances we can compute individual gross-error detection statistics for the measured variables and equality constraints as well as confidence intervals for each unmeasured variable using the Student-t tables to determine statistical threshold or critical values. In addition, we can also
  • 5. compute a global or overall Hotelling statistic on the objective function value to detect if at least one gross-error exists. Table 1. Olefins Plant’s Measurements (Sanchez and Romagnoli, 1996). After solving this linear DRR problem in two (2) iterations using SECQPE, we arrive at the same solution as found in Table 1 with an objective function of 26.12 which has a Hotelling statistic of 3.94 at 95% confidence and 31 – 23 = 8 degrees-of-freedom indicating at least one gross-error is present. There are thirty-one (31) equations (i.e., 31 nodes), twenty-nine (29) measured variables and thirty-four (34) unmeasured variables for a total of sixty-three (63) variables. SECQPE identifies that eleven (11) of the unmeasured variables are dependent leaving twenty- three (23) independent variables (Sanchez and Romagnoli,1996; Kelly, 1998). And, of the 23 independent unmeasured variables only five (5) are observable or determinable (i.e., streams 24, 34, 35, 36 and 49). Unobservable variables cannot be uniquely determined from the model and data or information provided and hence their values are unusable. In order to increase the observability of the system, extra measurements would need to be installed on the process (Kelly and Zyngier, 2008). The lack of observability also reduces the amount or degree of redundancy in the system. A redundant measured variable means that if the measurement is not available for some reason then it can be uniquely determined from the model and other data. Table 2. Olefins Plant’s Measurement Statistics.
  • 6. Stream Statistic 1 -1.36E-01 2 -1.36E-01 7 -7.96E-01 8 7.96E-01 9 2.35E-01 12 -6.80E-01 13 -1.21E-01 14 -1.26E-01 15 -3.22E+00 16 -9.27E-01 17 -9.27E-01 18 -9.20E-01 19 -1.43E-01 20 1.71E+00 21 3.26E+00 22 1.71E+00 23 1.71E+00 25 -9.27E-01 26 -9.26E-01 27 4.29E+00 28 1.49E+00 29 1.49E+00 30 -1.17E+00 31 2.32E+00 32 2.33E+00 33 2.32E+00 37 3.59E+00 46 3.59E+00 53 3.59E+00 Table 2 displays the Student-t measurement statistics (sometimes called the maximum-power statistic) with a critical or threshold value of 3.44 at 95% confidence. The violated measurements are shown in bold with stream 27’s as the worst violator. If we remove or delete stream 27’s measurement, by setting its objective function weight to zero (0) or setting its variance to infinity, and re-solve with SECQPE, the objective function is now 7.74. This is consistent with the well-known observation that the change in the objective function if we delete one measurement is equal to the square of the statistic i.e., 26.124 – 4.29^2 = 7.72. Table 3 displays the new Student-t measurement statistics. Table 3. Olefins Plant’s Measurement Statistics with Stream 27 Removed/Deleted.
  • 7. Stream Statistic 1 -4.01E-02 2 -4.00E-02 7 -7.85E-01 8 7.85E-01 9 3.97E-01 12 -7.16E-01 13 -3.57E-01 14 -3.72E-01 15 2.50E-02 16 -2.12E-01 17 -2.12E-01 18 -2.11E-01 19 -9.05E-01 20 8.37E-01 21 -2.12E-01 22 8.36E-01 23 8.37E-01 25 -2.12E-01 26 -2.12E-01 27 N/A 28 -1.70E+00 29 -1.70E+00 30 -2.18E+00 31 7.45E-01 32 7.46E-01 33 7.46E-01 37 1.70E+00 46 1.70E+00 53 1.71E+00 As can be seen from Table 3, there are no individual measurement Student-t statistic violations even though the objective function of 7.74 is greater that its Hotelling statistic threshold value. At this point it is not possible to further detect and identify more gross-errors or defects in the model and/or data. In summary, we have highlighted the advanced production accounting of a small Olefins Plant where the mass or volume data has at least one gross-error identified. At this point if we were at site or in the field we would ask for the flow measurement on stream 27 to be re-calibrated i.e., zero and spanned and then we would re-run the production accounting balance tomorrow for example to see if stream 27’s flow is no longer suspect. This forms the basis of APA as an intelligent problem solving or systematic troubleshooting methodology to help reduce variability or uncertainty in your production data before it is used in planning and scheduling decision- making i.e., you do not want to run your business on noise or bad data! References
  • 8. Sanchez, M., Romagnoli, J., “use of orthogonal transformations in data classification- reconciliation”, Computers & Chemical Engineering, 20, 483-493, (1996). Kelly, J.D., "A regularization approach to the reconciliation of constrained data sets", Computers & Chemical Engineering, 1771, (1998). Kelly, J.D., "Production modeling for multimodal operations", Chemical Engineering Progress, February, 44, (2004). Kelly, J.D., "The unit-operation-stock superstructure (UOSS) and the quantity-logic-quality paradigm (QLQP) for production scheduling in the process industries", In: MISTA 2005 Conference Proceedings, 327, (2005). Kelly, J.D., Zyngier, D., "A new and improved MILP formulation to optimize observability, redundancy and precision for sensor network problems", American Institute of Chemical Engineering Journal, 54, 1282, (2008). Zyngier, D., Kelly, J.D., "UOPSS: a new paradigm for modeling production planning and scheduling systems", ESCAPE 22, June, (2012). Kelly, J.D., Hedengren, J.D., "A steady-state detection (SDD) algorithm to detect non-stationary drifts in processes", Journal of Process Control, 23, 326, (2013). Appendix A – APA-OP-IMF.UPS (UOPSS) File i M P l (c) Copyright and Property of i n d u s t r I A L g o r i t h m s LLC. checksum,537 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Unit-Operation-Port-State-Superstructure (UOPSS) *.UPS File. ! (This file is automatically generated from the Python program IALConstructer.py) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &sUnit,&sOperation,@sType,@sSubtype,@sUse 0,,perimeter,, 1,,processc,blackbox%, 10,,processc,blackbox%, 11,,processc,blackbox%, 12,,processc,blackbox%, 13,,processc,blackbox%, 14,,processc,blackbox%, 15,,processc,blackbox%, 16,,processc,blackbox%, 17,,processc,blackbox%, 18,,processc,blackbox%, 19,,processc,blackbox%, 2,,processc,blackbox%, 20,,processc,blackbox%, 21,,processc,blackbox%, 22,,processc,blackbox%, 23,,processc,blackbox%, 24,,processc,blackbox%, 25,,processc,blackbox%, 26,,processc,blackbox%, 27,,processc,blackbox%, 28,,processc,blackbox%, 29,,processc,blackbox%, 3,,processc,blackbox%, 30,,processc,blackbox%, 31,,processc,blackbox%, 32,,perimeter,, 4,,processc,blackbox%, 5,,processc,blackbox%, 6,,processc,blackbox%, 7,,processc,blackbox%, 8,,processc,blackbox%, 9,,processc,blackbox%, &sUnit,&sOperation,@sType,@sSubtype,@sUse
  • 9. ! Number of UO shapes = 33 &sAlias,&sUnit,&sOperation ALLPARTS,0, ALLPARTS,1, ALLPARTS,10, ALLPARTS,11, ALLPARTS,12, ALLPARTS,13, ALLPARTS,14, ALLPARTS,15, ALLPARTS,16, ALLPARTS,17, ALLPARTS,18, ALLPARTS,19, ALLPARTS,2, ALLPARTS,20, ALLPARTS,21, ALLPARTS,22, ALLPARTS,23, ALLPARTS,24, ALLPARTS,25, ALLPARTS,26, ALLPARTS,27, ALLPARTS,28, ALLPARTS,29, ALLPARTS,3, ALLPARTS,30, ALLPARTS,31, ALLPARTS,32, ALLPARTS,4, ALLPARTS,5, ALLPARTS,6, ALLPARTS,7, ALLPARTS,8, ALLPARTS,9, &sAlias,&sUnit,&sOperation &sUnit,&sOperation,&sPort,&sState,@sType,@sSubtype 0,,1,,out, 0,,2,,out, 1,,1,,in, 1,,3,,out, 1,,4,,out, 10,,23,,out, 10,,24,,out, 10,,25,,out, 10,,36,,in, 11,,21,,out, 11,,22,,out, 11,,24,,in, 11,,26,,out, 12,,19,,out, 12,,20,,in, 12,,22,,in, 12,,23,,in, 13,,16,,in, 13,,17,,in, 13,,18,,in, 13,,25,,in, 13,,26,,in, 13,,27,,out, 13,,28,,out, 13,,29,,out, 13,,30,,out, 14,,30,,in, 14,,31,,out, 14,,32,,out, 14,,33,,out, 15,,28,,in, 15,,29,,in, 15,,31,,in, 15,,32,,in, 15,,33,,in, 15,,37,,out, 15,,61,,out, 15,,63,,in, 16,,38,,in, 16,,55,,out, 16,,61,,in, 17,,48,,out, 17,,54,,in, 17,,55,,in, 18,,54,,out, 18,,56,,in, 18,,57,,out, 18,,58,,out, 19,,59,,out, 19,,60,,in, 2,,3,,in, 2,,5,,out, 2,,6,,out, 20,,56,,out, 20,,57,,in, 20,,59,,in,
  • 10. 20,,62,,in, 21,,47,,out, 21,,48,,in, 21,,49,,out, 22,,44,,out, 22,,45,,out, 22,,47,,in, 23,,49,,in, 23,,50,,out, 23,,51,,in, 24,,50,,in, 24,,52,,out, 25,,51,,out, 25,,52,,in, 25,,53,,out, 26,,42,,out, 26,,44,,in, 26,,63,,out, 27,,43,,out, 27,,45,,in, 27,,46,,out, 28,,41,,out, 28,,42,,in, 28,,43,,in, 29,,38,,out, 29,,40,,out, 29,,41,,in, 3,,2,,in, 3,,4,,in, 3,,5,,in, 3,,6,,in, 3,,7,,in, 3,,8,,out, 3,,9,,out, 30,,39,,out, 30,,40,,in, 30,,62,,out, 31,,39,,in, 31,,58,,in, 31,,60,,out, 32,,12,,in, 32,,13,,in, 32,,14,,in, 32,,19,,in, 32,,21,,in, 32,,27,,in, 32,,37,,in, 32,,46,,in, 32,,53,,in, 4,,10,,in, 4,,11,,out, 4,,12,,out, 4,,8,,in, 5,,10,,out, 5,,11,,in, 5,,7,,out, 6,,13,,out, 6,,14,,out, 6,,15,,out, 6,,9,,in, 7,,15,,in, 7,,16,,out, 7,,34,,out, 8,,17,,out, 8,,34,,in, 8,,35,,out, 9,,18,,out, 9,,20,,out, 9,,35,,in, 9,,36,,out, &sUnit,&sOperation,&sPort,&sState,@sType,@sSubtype ! Number of UOPS shapes = 126 &sAlias,&sUnit,&sOperation,&sPort,&sState ALLINPORTS,1,,1, ALLINPORTS,10,,36, ALLINPORTS,11,,24, ALLINPORTS,12,,20, ALLINPORTS,12,,22, ALLINPORTS,12,,23, ALLINPORTS,13,,16, ALLINPORTS,13,,17, ALLINPORTS,13,,18, ALLINPORTS,13,,25, ALLINPORTS,13,,26, ALLINPORTS,14,,30, ALLINPORTS,15,,28, ALLINPORTS,15,,29, ALLINPORTS,15,,31, ALLINPORTS,15,,32, ALLINPORTS,15,,33, ALLINPORTS,15,,63, ALLINPORTS,16,,38, ALLINPORTS,16,,61,
  • 11. ALLINPORTS,17,,54, ALLINPORTS,17,,55, ALLINPORTS,18,,56, ALLINPORTS,19,,60, ALLINPORTS,2,,3, ALLINPORTS,20,,57, ALLINPORTS,20,,59, ALLINPORTS,20,,62, ALLINPORTS,21,,48, ALLINPORTS,22,,47, ALLINPORTS,23,,49, ALLINPORTS,23,,51, ALLINPORTS,24,,50, ALLINPORTS,25,,52, ALLINPORTS,26,,44, ALLINPORTS,27,,45, ALLINPORTS,28,,42, ALLINPORTS,28,,43, ALLINPORTS,29,,41, ALLINPORTS,3,,2, ALLINPORTS,3,,4, ALLINPORTS,3,,5, ALLINPORTS,3,,6, ALLINPORTS,3,,7, ALLINPORTS,30,,40, ALLINPORTS,31,,39, ALLINPORTS,31,,58, ALLINPORTS,32,,12, ALLINPORTS,32,,13, ALLINPORTS,32,,14, ALLINPORTS,32,,19, ALLINPORTS,32,,21, ALLINPORTS,32,,27, ALLINPORTS,32,,37, ALLINPORTS,32,,46, ALLINPORTS,32,,53, ALLINPORTS,4,,10, ALLINPORTS,4,,8, ALLINPORTS,5,,11, ALLINPORTS,6,,9, ALLINPORTS,7,,15, ALLINPORTS,8,,34, ALLINPORTS,9,,35, ALLOUTPORTS,0,,1, ALLOUTPORTS,0,,2, ALLOUTPORTS,1,,3, ALLOUTPORTS,1,,4, ALLOUTPORTS,10,,23, ALLOUTPORTS,10,,24, ALLOUTPORTS,10,,25, ALLOUTPORTS,11,,21, ALLOUTPORTS,11,,22, ALLOUTPORTS,11,,26, ALLOUTPORTS,12,,19, ALLOUTPORTS,13,,27, ALLOUTPORTS,13,,28, ALLOUTPORTS,13,,29, ALLOUTPORTS,13,,30, ALLOUTPORTS,14,,31, ALLOUTPORTS,14,,32, ALLOUTPORTS,14,,33, ALLOUTPORTS,15,,37, ALLOUTPORTS,15,,61, ALLOUTPORTS,16,,55, ALLOUTPORTS,17,,48, ALLOUTPORTS,18,,54, ALLOUTPORTS,18,,57, ALLOUTPORTS,18,,58, ALLOUTPORTS,19,,59, ALLOUTPORTS,2,,5, ALLOUTPORTS,2,,6, ALLOUTPORTS,20,,56, ALLOUTPORTS,21,,47, ALLOUTPORTS,21,,49, ALLOUTPORTS,22,,44, ALLOUTPORTS,22,,45, ALLOUTPORTS,23,,50, ALLOUTPORTS,24,,52, ALLOUTPORTS,25,,51, ALLOUTPORTS,25,,53, ALLOUTPORTS,26,,42, ALLOUTPORTS,26,,63, ALLOUTPORTS,27,,43, ALLOUTPORTS,27,,46, ALLOUTPORTS,28,,41, ALLOUTPORTS,29,,38, ALLOUTPORTS,29,,40, ALLOUTPORTS,3,,8, ALLOUTPORTS,3,,9, ALLOUTPORTS,30,,39, ALLOUTPORTS,30,,62, ALLOUTPORTS,31,,60, ALLOUTPORTS,4,,11, ALLOUTPORTS,4,,12, ALLOUTPORTS,5,,10,
  • 12. ALLOUTPORTS,5,,7, ALLOUTPORTS,6,,13, ALLOUTPORTS,6,,14, ALLOUTPORTS,6,,15, ALLOUTPORTS,7,,16, ALLOUTPORTS,7,,34, ALLOUTPORTS,8,,17, ALLOUTPORTS,8,,35, ALLOUTPORTS,9,,18, ALLOUTPORTS,9,,20, ALLOUTPORTS,9,,36, &sAlias,&sUnit,&sOperation,&sPort,&sState &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState 0,,1,,1,,1, 0,,2,,3,,2, 1,,3,,2,,3, 1,,4,,3,,4, 10,,23,,12,,23, 10,,24,,11,,24, 10,,25,,13,,25, 11,,21,,32,,21, 11,,22,,12,,22, 11,,26,,13,,26, 12,,19,,32,,19, 13,,27,,32,,27, 13,,28,,15,,28, 13,,29,,15,,29, 13,,30,,14,,30, 14,,31,,15,,31, 14,,32,,15,,32, 14,,33,,15,,33, 15,,37,,32,,37, 15,,61,,16,,61, 16,,55,,17,,55, 17,,48,,21,,48, 18,,54,,17,,54, 18,,57,,20,,57, 18,,58,,31,,58, 19,,59,,20,,59, 2,,5,,3,,5, 2,,6,,3,,6, 20,,56,,18,,56, 21,,47,,22,,47, 21,,49,,23,,49, 22,,44,,26,,44, 22,,45,,27,,45, 23,,50,,24,,50, 24,,52,,25,,52, 25,,51,,23,,51, 25,,53,,32,,53, 26,,42,,28,,42, 26,,63,,15,,63, 27,,43,,28,,43, 27,,46,,32,,46, 28,,41,,29,,41, 29,,38,,16,,38, 29,,40,,30,,40, 3,,8,,4,,8, 3,,9,,6,,9, 30,,39,,31,,39, 30,,62,,20,,62, 31,,60,,19,,60, 4,,11,,5,,11, 4,,12,,32,,12, 5,,10,,4,,10, 5,,7,,3,,7, 6,,13,,32,,13, 6,,14,,32,,14, 6,,15,,7,,15, 7,,16,,13,,16, 7,,34,,8,,34, 8,,17,,13,,17, 8,,35,,9,,35, 9,,18,,13,,18, 9,,20,,12,,20, 9,,36,,10,,36, &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState ! Number of UOPSPSUO shapes = 63 &sAlias,&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState ALLPATHS,0,,1,,1,,1, ALLPATHS,9,,36,,10,,36, ALLPATHS,10,,24,,11,,24, ALLPATHS,9,,20,,12,,20, ALLPATHS,11,,22,,12,,22, ALLPATHS,10,,23,,12,,23, ALLPATHS,7,,16,,13,,16, ALLPATHS,8,,17,,13,,17, ALLPATHS,9,,18,,13,,18, ALLPATHS,10,,25,,13,,25, ALLPATHS,11,,26,,13,,26, ALLPATHS,13,,30,,14,,30, ALLPATHS,13,,28,,15,,28,
  • 13. ALLPATHS,13,,29,,15,,29, ALLPATHS,14,,31,,15,,31, ALLPATHS,14,,32,,15,,32, ALLPATHS,14,,33,,15,,33, ALLPATHS,26,,63,,15,,63, ALLPATHS,29,,38,,16,,38, ALLPATHS,15,,61,,16,,61, ALLPATHS,18,,54,,17,,54, ALLPATHS,16,,55,,17,,55, ALLPATHS,20,,56,,18,,56, ALLPATHS,31,,60,,19,,60, ALLPATHS,1,,3,,2,,3, ALLPATHS,18,,57,,20,,57, ALLPATHS,19,,59,,20,,59, ALLPATHS,30,,62,,20,,62, ALLPATHS,17,,48,,21,,48, ALLPATHS,21,,47,,22,,47, ALLPATHS,21,,49,,23,,49, ALLPATHS,25,,51,,23,,51, ALLPATHS,23,,50,,24,,50, ALLPATHS,24,,52,,25,,52, ALLPATHS,22,,44,,26,,44, ALLPATHS,22,,45,,27,,45, ALLPATHS,26,,42,,28,,42, ALLPATHS,27,,43,,28,,43, ALLPATHS,28,,41,,29,,41, ALLPATHS,0,,2,,3,,2, ALLPATHS,1,,4,,3,,4, ALLPATHS,2,,5,,3,,5, ALLPATHS,2,,6,,3,,6, ALLPATHS,5,,7,,3,,7, ALLPATHS,29,,40,,30,,40, ALLPATHS,30,,39,,31,,39, ALLPATHS,18,,58,,31,,58, ALLPATHS,4,,12,,32,,12, ALLPATHS,6,,13,,32,,13, ALLPATHS,6,,14,,32,,14, ALLPATHS,12,,19,,32,,19, ALLPATHS,11,,21,,32,,21, ALLPATHS,13,,27,,32,,27, ALLPATHS,15,,37,,32,,37, ALLPATHS,27,,46,,32,,46, ALLPATHS,25,,53,,32,,53, ALLPATHS,5,,10,,4,,10, ALLPATHS,3,,8,,4,,8, ALLPATHS,4,,11,,5,,11, ALLPATHS,3,,9,,6,,9, ALLPATHS,6,,15,,7,,15, ALLPATHS,7,,34,,8,,34, ALLPATHS,8,,35,,9,,35, &sAlias,&sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState Appendix B – APA-OP-IMF.IML File i M P l (c) Copyright and Property of i n d u s t r I A L g o r i t h m s LLC. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Calculation Data (Parameters) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &sCalc,@sValue !Miscellaneous Constants. LARGENUMBER,1E+20 LARGEBOUND,1E+9 !Horizon and Period Times. START,-1.0 BEGIN,0.0 END,1.0 PERIOD,1.0 !Measured Stream Flows. F1_V , 70.49 F2_V , 7.103 F7_V , 13.04 F8_V , 35.38 F9_V , 53.21 F12_V, 23.90 F13_V, 0.00 F14_V, 0.0765 F15_V, 54.59 F16_V, 12.78 F17_V, 23.42 F18_V, 0.2378 F19_V, 8.657 F20_V, 5.087
  • 14. F21_V, 1.74 F22_V, 0.0255 F23_V, 3.113 F25_V, 5.407 F26_V, 2.898 F27_V, 11.83 F28_V, 8.197 F29_V, 1.364 F30_V, 20.94 F31_V, 1.051 F32_V, 12.58 F33_V, 4.999 F37_V, 5.73 F46_V, 4.25 F53_V, 16.34 !Measured Stream Flow Variances. F1_W , 10.87 F2_W , 0.2030 F7_W , 2.624 F8_W , 0.3970 F9_W , 5.76 F12_W, 0.922 F13_W, 0.608 F14_W, 5.76 F15_W, 0.23 F16_W, 1.44 F17_W, 0.7060 F18_W, 0.017 F19_W, 0.13 F20_W, 0.09 F21_W, 0.014 F22_W, 0.0002 F23_W, 0.018 F25_W, 0.09 F26_W, 0.014 F27_W, 0.36 !LARGENUMBER F28_W, 0.563 F29_W, 0.023 F30_W, 1.103 F31_W, 0.008 F32_W, 0.397 F33_W, 0.152 F37_W, 0.09 F46_W, 0.13 F53_W, 1.232 &sCalc,@sValue !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Chronological Data (Periods) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @rPastTHD,@rFutureTHD,@rTPD START,END,PERIOD @rPastTHD,@rFutureTHD,@rTPD !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Construction Data (Pointers) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Include-@sFile_Name APA-OP-IMF.ups Include-@sFile_Name !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Capacity Data (Prototypes) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &sUnit,&sOperation,@rRate_Lower,@rRate_Upper ALLPARTS,0,LARGEBOUND &sUnit,&sOperation,@rRate_Lower,@rRate_Upper &sUnit,&sOperation,@rHoldup_Lower,@rHoldup_Upper ALLPARTS,0,LARGEBOUND &sUnit,&sOperation,@rHoldup_Lower,@rHoldup_Upper &sUnit,&sOperation,&sPort,&sState,@rTeeRate_Lower,@rTeeRate_Upper ALLINPORTS,0,LARGEBOUND ALLOUTPORTS,0,LARGEBOUND &sUnit,&sOperation,&sPort,&sState,@rTeeRate_Lower,@rTeeRate_Upper &sUnit,&sOperation,&sPort,&sState,@rTotalRate_Lower,@rTotalRate_Upper ALLINPORTS,0,LARGEBOUND ALLOUTPORTS,0,LARGEBOUND &sUnit,&sOperation,&sPort,&sState,@rTotalRate_Lower,@rTotalRate_Upper &sUnit,&sOperation,&sPort,&sState,@rYield_Lower,@rYield_Upper,@rYield_Fixed ALLINPORTS,0,LARGEBOUND ALLOUTPORTS,0,LARGEBOUND &sUnit,&sOperation,&sPort,&sState,@rYield_Lower,@rYield_Upper,@rYield_Fixed
  • 15. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Cost Data (Pricing) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState, @rFlowPro_Weight,@rFlowPer1_Weight,@rFlowPer2_Weight,@rFlowPen_Weight ALLPATHS,,,0.0, 0,,1,,1,,1,,,,1.0/F1_W 0,,2,,3,,2,,,,1.0/F2_W 5,,7,,3,,7,,,,1.0/F7_W 3,,8,,4,,8,,,,1.0/F8_W 3,,9,,6,,9,,,,1.0/F9_W 4,,12,,32,,12,,,,1.0/F12_W 6,,13,,32,,13,,,,1.0/F13_W 6,,14,,32,,14,,,,1.0/F14_W 6,,15,,7,,15,,,,1.0/F15_W 7,,16,,13,,16,,,,1.0/F16_W 8,,17,,13,,17,,,,1.0/F17_W, 9,,18,,13,,18,,,,1.0/F18_W 12,,19,,32,,19,,,,1.0/F19_W 9,,20,,12,,20,,,,1.0/F20_W 11,,21,,32,,21,,,,1.0/F21_W 11,,22,,12,,22,,,,1.0/F22_W 10,,23,,12,,23,,,,1.0/F23_W 10,,25,,13,,25,,,,1.0/F25_W 11,,26,,13,,26,,,,1.0/F26_W 13,,27,,32,,27,,,,1.0/F27_W 13,,28,,15,,28,,,,1.0/F28_W 13,,29,,15,,29,,,,1.0/F29_W 13,,30,,14,,30,,,,1.0/F30_W 14,,31,,15,,31,,,,1.0/F31_W 14,,32,,15,,32,,,,1.0/F32_W 14,,33,,15,,33,,,,1.0/F33_W 15,,37,,32,,37,,,,1.0/F37_W 27,,46,,32,,46,,,,1.0/F46_W 25,,53,,32,,53,,,,1.0/F53_W &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState, @rFlowPro_Weight,@rFlowPer1_Weight,@rFlowPer2_Weight,@rFlowPen_Weight !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Content Data (Past, Present Provisos) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Command Data (Future Provisos) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &sUnit,&sOperation,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time ALLPARTS,1,1,BEGIN,END &sUnit,&sOperation,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time ALLPATHS,1,1,BEGIN,END &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState,@rSetup_Lower,@rSetup_Upper,@rBegin_Time,@rEnd_Time &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState, @rRate_Lower,@rRate_Upper,@rRate_Target,@rBegin_Time,@rEnd_Time ALLPATHS,0.0,LARGEBOUND,0.0,BEGIN,END 0,,1,,1,,1,,0.0,LARGEBOUND,F1_V,BEGIN,END 0,,2,,3,,2,,0.0,LARGEBOUND,F2_V,BEGIN,END 5,,7,,3,,7,,0.0,LARGEBOUND,F7_V,BEGIN,END 3,,8,,4,,8,,0.0,LARGEBOUND,F8_V,BEGIN,END 3,,9,,6,,9,,0.0,LARGEBOUND,F9_V,BEGIN,END 4,,12,,32,,12,,0.0,LARGEBOUND,F12_V,BEGIN,END 6,,13,,32,,13,,0.0,LARGEBOUND,F13_V,BEGIN,END 6,,14,,32,,14,,0.0,LARGEBOUND,F14_V,BEGIN,END 6,,15,,7,,15,,0.0,LARGEBOUND,F15_V,BEGIN,END 7,,16,,13,,16,,0.0,LARGEBOUND,F16_V,BEGIN,END 8,,17,,13,,17,,0.0,LARGEBOUND,F17_V,BEGIN,END 9,,18,,13,,18,,0.0,LARGEBOUND,F18_V,BEGIN,END 12,,19,,32,,19,,0.0,LARGEBOUND,F19_V,BEGIN,END 9,,20,,12,,20,,0.0,LARGEBOUND,F20_V,BEGIN,END 11,,21,,32,,21,,0.0,LARGEBOUND,F21_V,BEGIN,END 11,,22,,12,,22,,0.0,LARGEBOUND,F22_V,BEGIN,END 10,,23,,12,,23,,0.0,LARGEBOUND,F23_V,BEGIN,END 10,,25,,13,,25,,0.0,LARGEBOUND,F25_V,BEGIN,END 11,,26,,13,,26,,0.0,LARGEBOUND,F26_V,BEGIN,END 13,,27,,32,,27,,0.0,LARGEBOUND,F27_V,BEGIN,END 13,,28,,15,,28,,0.0,LARGEBOUND,F28_V,BEGIN,END 13,,29,,15,,29,,0.0,LARGEBOUND,F29_V,BEGIN,END 13,,30,,14,,30,,0.0,LARGEBOUND,F30_V,BEGIN,END 14,,31,,15,,31,,0.0,LARGEBOUND,F31_V,BEGIN,END 14,,32,,15,,32,,0.0,LARGEBOUND,F32_V,BEGIN,END 14,,33,,15,,33,,0.0,LARGEBOUND,F33_V,BEGIN,END 15,,37,,32,,37,,0.0,LARGEBOUND,F37_V,BEGIN,END 27,,46,,32,,46,,0.0,LARGEBOUND,F46_V,BEGIN,END 25,,53,,32,,53,,0.0,LARGEBOUND,F53_V,BEGIN,END &sUnit,&sOperation,&sPort,&sState,&sUnit,&sOperation,&sPort,&sState, @rRate_Lower,@rRate_Upper,@rRate_Target,@rBegin_Time,@rEnd_Time