Patent Document ID: 8688412
Application ID: 12756042

Base Claim:
1. An apparatus for use with a process controller, the apparatus comprising at least one processing device configured to implement: an equation editor configured to receive balance equations describing a chemical process to be controlled by the process controller using a model and to generate model information representing the balance equations; a model factory configured to receive the model information from the equation editor and generate an equation stack using the model information, the equation stack representing the balance equations; an equation evaluation engine configured to receive evaluation information from the process controller, evaluate at least one of the balance equations using the evaluation information and the equation stack, and provide an output of the evaluation; and a linearizer configured to (i) receive states and inputs of the model from the process controller, estimated parameters of the model, and equations evaluated for the states and inputs of the model from the equation evaluation engine, (ii) generate a linearized model by linearizing non-linear equations in the evaluated equations based on the states and inputs, the estimated parameters, and the output from the equation evaluation engine, and (iii) provide the linearized model to the process controller in order to control the process.

---

Claim 2:
2. The apparatus of claim 1 , wherein: the model factory comprises an equation parser compiler configured to convert the received balance equations into at least one of: an infix form equation stack, a postfix form equation stack, and a prefix form equation stack; the model factory is configured to generate a model object from the model information; and the equation parser compiler is configured to generate the equation stack from the model object, wherein the equation parser compiler is configured to generate one stack in the equation stack for each equation in the model object.