1461114409-fac198e1-b202-42ad-8bc8-f7bb1d1e2b21

1. A computer-readable storage medium storing instructions executable by a computing system to perform a plurality of functions, comprising:
receiving a calculation rule presented in a multi-platform expression language to be applied to a data model selected from different data models having different structures, the calculation rule being received by one or more of:
retrieving the calculation rule from a store of previously-created calculation rules; and
accepting user entry of the calculation rule;
processing the calculation rule for application to the data model, including:
responding to whether the calculation rule is data-driven, including:
when the calculation rule is data-driven, determining a condition specified by the calculation rule and performing an action specified by the calculation rule based on the condition; and
when the calculation rule is not data-driven, performing the action specified by the calculation rule;
identifying a database platform supporting the data model; wherein the database platform is selected from a group of platforms comprising: a structured query language (SQL) platform that accesses a SQL database in which dimensions and data models are represented as a plurality of tables and a multi-dimensional database platform that accesses a multi-dimensional database in which the dimensions and the data models are stored in a multi-dimensional structure;
preprocessing the calculation rule to adjust the calculation rule to operate based on a dimensionality of the data model; wherein preprocessing the calculation rule comprises determining when the calculation rule accesses more information than the data model provides and determining when to eliminate the calculation rule based on this determination;
upon identifying one or more variables included in the calculation rule, resolving the variables in terms of the data model; and
upon identifying one or more parameters included in the calculation rule, soliciting input for the parameters for use in applying the calculation rule to the data model by displaying a prompt to receive the parameters; and
executing the calculation rule.
2. The computer-readable storage medium of claim 1, wherein the identifying of the selected platform comprises receiving a user input identifying the selected platform.
3. The computer-readable storage medium of claim 2, wherein the identifying of the selected platform comprises automatically identifying the selected platform.
4. The computer-readable storage medium of claim 2, further comprising evaluating data maintained in the data model to determine whether the data model maintains data referenced in a function specified in the calculation rule before executing the function.
5. The computer-readable storage medium of claim 2, wherein the calculation rule includes an engine including a plurality of scripted rules configured to perform a transaction-based function.
6. A computer-implemented method, comprising:
receiving a calculation rule presented in an expression language and specifying one or more functions, the expression language allowing for each of a plurality of functions performable on a plurality of different platforms to be expressed using a common syntax; wherein the different platforms comprise: a structured query language (SQL) platform that accesses a SQL database in which dimensions and data models are represented as a plurality of tables and a multi-dimensional database platform that accesses a multi-dimensional database in which the dimensions and the data models are stored in a multi-dimensional structure;
identifying a selected platform on which the calculation rule is to be executed;
resolving the calculation rule to attributes of a data model in the selected platform to apply the calculation rule to the data model; wherein resolving the calculation rule comprises determining when the calculation rule accesses more information than the data model provides and determining when to eliminate the calculation rule based on this determination;
responding to whether the calculation rule is data-driven, including:

when the calculation rule is data-driven, determining a condition specified by the calculation rule and performing an action specified by the calculation rule based on the condition; and when the calculation rule is not data-driven, performing the action specified by the calculation rule;
executing the calculation rule by performing the one or more functions specified in the calculation rule; and
reporting the results from executing the calculation rule.
7. The computer-implemented method of claim 6, wherein the expression language provides for the calculation rule to include one or more variables resolvable when the calculation rule is applied to the data model.
8. The computer-implemented method of claim 6, wherein the expression language provides for the calculation rule to include one or more parameters solicited from a user when the calculation rule is applied to the data model.
9. The computer-implemented method of claim 6 wherein the identifying of the selected platform comprises receiving a user input identifying the selected platform.
10. The computer-implemented method of claim 6, wherein the identifying of the selected platform comprises automatically identifying the selected platform.
11. The computer-implemented method of claim 6, further comprising evaluating data maintained in the data model to determine whether the data model maintains data referenced in the one or more functions before executing the calculation rule.
12. The computer-implemented method of claim 6, further comprising retrieving the calculation rule from a store of previously-created calculation rules.
13. The computer-implemented method of claim 12, wherein the calculation rule includes an engine including a plurality of scripted calculation rules configured to perform a transaction-based function.
14. The computer-implemented method of claim 6, further comprising creating the calculation rule, wherein the calculation rule is derived from one or more rule types that correspond with a form one or more data types used in creating the data model.
15. A system, comprising:
a processor and a computer-readable storage medium;
a rule interface using the processor that is configured to receive a calculation rule presented in a multi-platform expression language to be applied to a data model, the calculation rule being received by one or more of:
retrieving the calculation rule from a store of previously-created calculation rules; and
accepting user entry of the calculation rule; and
a run-time system configured to:
receive the calculation rule from the rule interface;
identify a database platform supporting the data model; wherein the database platform is selected from a group of platforms comprising: a structured query language (SQL) platform that accesses a SQL database in which dimensions and data models are represented as a plurality of tables and a multi-dimensional database platform that accesses a multi-dimensional database in which the dimensions and the data models are stored in a multi-dimensional structure;
identify whether the calculation rule includes one more unresolved terms; upon identifying the calculation rule includes one or more unresolved terms, resolving the unresolved terms;
adjust the calculation rule for execution on the data model; wherein adjusting the calculation rule comprises determining when the calculation rule accesses more information than the data model provides and determining when to eliminate the calculation rule based on this determination; and
identifying whether the calculation rule is data-driven, including: when the calculation rule is data-driven, determining a condition specified by the calculation rule and performing an action specified by the calculation rule based on the condition; and when the calculation rule is not data-driven, performing the action specified by the calculation rule.
16. The system of claim 15, wherein the run-time system further comprises a preprocessor configured to adjust the calculation rule to operate based on a dimensionality of the data model.
17. The system of claim 15, wherein the identifying of the database platform is performed one of:
by receiving a user input identifying the database platform; and
automatically identifying the database platform.
18. The system of claim 15, wherein the one or more unresolved terms include:
a variable resolvable to the data model; and
a parameter to be solicited from a user.
19. The system of claim 15, further comprising a type library, including:
one or more rule types from which the calculation rule is derived; and
one or more data types from which members of the data model are derived, variable resolvable to the data model,

wherein the rule types and the data types are configured to correspond to facilitate application of the calculation rule to the data model.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A model for simulating the volatile organic content (VOC) of polyolefin product stream discharging from a purge column of a polyolefin polymerization system, the model comprising:
an interface component configured to provide for input to the model and for output from the model; and
an iterative calculation component based on at least mass transfer theory and configured to represent removal of volatile organic components from a polyolefin stream flowing through the purge column, and to provide a calculated value of the VOC in a polyolefin product stream discharging from the purge column.
2. The model as recited in claim 1, wherein the inputs to the model comprise a flow rate of the polyolefin stream through the purge column and a flow rate of a purge gas through the purge column, the purge gas flowing counter current to the polyolefin stream.
3. The model as recited in claim 1, wherein the input to the model comprises a temperature of a flash gas discharging overhead from a flash vessel disposed upstream of the purge column, and wherein the temperature of the flash gas is indicative of a temperature of the polyolefin stream entering the purge column.
4. The model as recited in claim 1, wherein the model estimates a height of a separation stage in the purge column and a number of separation stages in the purge column.
5. The model as recited in claim 1, wherein the input to the iterative component is an initial estimate of a concentration of a hydrocarbon component in the polyolefin product stream discharging from the purge column.
6. The model as recited in claim 1, wherein the input to the iterative component is an initial estimate of a concentration of a hydrocarbon component in a hydrocarbon-rich purge gas exiting from the purge column.
7. The model as recited in claim 1, wherein the polyolefin stream enters an upper portion of the purge column and the polyolefin product stream exits a bottom portion of the purge column, and wherein a purge gas enters a bottom portion of the purge column and exits as a hydrocarbon-rich purge gas from an upper portion of the purge column.
8. The model as recited in claim 1, wherein the interface component comprises a spreadsheet.
9. A method for operating a polyolefin manufacturing process, comprising:
discharging a slurry from a polyolefin reactor, wherein the slurry comprises polyolefin and hydrocarbon;
recovering polyolefin from the slurry by flashing at least a majority of the hydrocarbon from the slurry, the recovered polyolefin having residual hydrocarbon;
purging the recovered polyolefin in a purge column with a purge gas to remove a first portion of the residual hydrocarbon from the recovered polyolefin;
discharging a polyolefin product stream from the purge column, the polyolefin product stream having a second portion of the residual hydrocarbon, wherein the second portion comprises a volatile organic content (VOC) of the polyolefin product stream; and
estimating the VOC of the polyolefin product stream via a mass-transfer model.
10. The method as recited in claim 9, comprising adjusting a residence time of the recovered polyolefin in the purge column in response to the estimated VOC of the polyolefin product stream discharging from the purge column.
11. The method as recited in claim 9, comprising adjusting a flow rate of purge gas to the purge column in response to the estimated VOC of the polyolefin product stream discharging from the purge column.
12. The method as recited in claim 9, comprising adjusting a temperature of the recovered polyolefin in the purge column in response to the estimated VOC of the polyolefin product stream discharging from the purge column.
13. The method as recited in claim 12, wherein adjusting a temperature of the recovered polyolefin in the purge column comprises adjusting an operating temperature of an upstream flash vessel that separates flashed hydrocarbon from the slurry discharging from the polyolefin reactor.
14. The method as recited in claim 12, wherein adjusting a temperature of the recovered polyolefin in the purge column comprises adjusting an operating temperature of an upstream flash line heater that flashes hydrocarbon from the slurry discharging from the polyolefin reactor.
15. The method as recited in claim 9, comprising changing catalyst type employed in a polymerization of olefin monomer in the polyolefin reactor in response to the estimated VOC of the polyolefin product stream discharging from the purge column.
16. A method for operating a polyolefin manufacturing process, comprising:
discharging a product slurry from a polymerization reactor, the product slurry comprising polyolefin particles and hydrocarbon;
receiving the product slurry in a flash vessel and separating flashed hydrocarbon from the product slurry in the flash vessel;
discharging a first stream of the polyolefin particles from the flash vessel, the first stream comprising residual hydrocarbon;
purging the first stream in a purge column with a purge gas to remove the residual hydrocarbon;
discharging a second stream of the polyolefin particles from the purge column; and
estimating the volatile organic content (VOC) of the second stream via a mass-transfer model.
17. The method as recited in claim 16, comprising adjusting an operating condition of the purge column in response to the estimated VOC.
18. A process for manufacturing a product comprising a polyolefin, the process comprising:
manufacturing a product at least a portion of which comprises a polyolefin, wherein the polyolefin is produced by a method comprising:
discharging a slurry from a polyolefin reactor, wherein the slurry comprises polyolefin and hydrocarbon;
recovering polyolefin from the slurry by flashing at least a majority of the hydrocarbon from the slurry, the recovered polyolefin having residual hydrocarbon;
purging the recovered polyolefin in a purge column with a purge gas to remove a first portion of the residual hydrocarbon from the recovered polyolefin;
discharging polyolefin product from the purge column, the polyolefin product having a second portion of the residual hydrocarbon, wherein the second portion comprises a volatile organic content (VOC) of polyolefin product; and
estimating the VOC of the polyolefin product via a mass-transfer model.
19. The process as recited in claim 18, wherein manufacturing comprises processing the polyolefin to form the product or to form a polyolefin component of the product.
20. A polyolefin production system comprising:
a polymerization reactor configured to polymerize olefin monomer in a diluent in the presence of a catalyst to produce polyolefin;
a separator configured to receive a product slurry discharged from the polymerization reactor and to separate at least diluent vapor from the product slurry, the product slurry comprising polyolefin;
a purge column configured to receive polyolefin from the separator and remove at least residual diluent from the polyolefin; and
a model configured to provide a calculated value of a volatile organic content (VOC) of the polyolefin discharged from the purge column.