Conventional tools for continuous process optimization employ calculations designed to determine optimal operating states of continuous processes, such as refinery, chemical, or petrochemical plant operations. When an optimal decision requires the switching on or switching off of units, conventional tools for continuous optimization are at a disadvantage because they cannot adequately retreat from a locally converged state or explore potential new states. Additionally, conventional tools necessitate a workflow in which a user sets up case studies for each state and manually explores each case study for optimality. For example, a small process with only five switchable units would have thirty-two (i.e., 25) possible operating states. As such, the number of possible operating states and, by extension, the difficulty of determining the optimal process operating state, increases exponentially as the number of units increases linearly. Accordingly, conventional solutions require a process engineer to use intuition to select a small number of possible operating states on which to conduct case studies. These conventional systems and methods are rigid, unable to offer optimal strategies that quickly account for changing process parameters (e.g., changing energy costs).
SimSci ROMeo, available from Schneider Electric, is a Rigorous On-line Modeling and Equation-based Optimization (ROMEO) module for continuous process optimization.
Aspects of the present invention improve the fields of process control and automation and process simulation by employing online first-principles simulation techniques in conjunction with a Mixed Integer Nonlinear Programming (MINLP) solver in real-time to provide optimization of nonlinear continuous processes that incorporate switchable units. In an embodiment, this approach allows the determination of an optimal operating state while taking into account changing process parameters without requiring case studies that model switchable units to be taken offline. Aspects of the present invention also provide improvements in computer technology, namely, process model simulation and optimization.
In an aspect, a computer-implemented method for determining an optimal operating state of a continuous process includes receiving, by a control system including a processor, data from a sensor within the continuous process. The data represents a current state of a process unit within the continuous process. The method further includes simulating an operation of at least one unit model in conjunction with an MINLP solver in real-time by the control system. The unit model represents the process unit via at least one first-principle equation. Further, the control system switches the unit model between an active state and an inactive state during the simulating. The control system also generates an operating state of the continuous process that satisfies at least one operating constraint of the continuous process based on the simulating and the switching.
In another aspect, a system comprises a sensor that generates data representing a current state of a process unit comprising a continuous process. The system also includes a control system, which in turn includes a model component, a switch component, and an MINLP solver component. The model component comprises at least one first-principle equation that represents the process unit. The switch component comprises the model component.
In yet another aspect, a computer-readable storage device has computer-executable modules stored thereon for determining an operating state of a continuous process. The modules include a model module, an MINLP switch module, and a solver module. The model module defines a unit model that represents a process unit within the continuous process via at least one first-principle equation during an execution of the model module by a processor. The MINLP switch module transitions the model module between an active state and an inactive state during execution by the processor. The solver module simulates an operation of the model module and the MINLP switch module in real-time during execution by the processor.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
Other objects and features will be in part apparent and in part pointed out hereinafter.
Corresponding reference characters indicate corresponding parts throughout the drawings.
Referring now to the drawings,
Systems and methods described herein solve nonlinear process problems while optimizing for certain considerations (e.g., operating penalty, cost, etc.) while ensuring the process meets plant constraints. Aspects of the present invention are described herein with respect to optimizing energy source usage in a continuous process but it is to be understood by one skilled in the art that the systems and methods described herein are also capable of optimizing continuous processes with respect to considerations other than energy source usage.
Energy source (e.g., utility) optimization in continuous processes involves calculating the best solution to meet the energy demand, while operating the underlying process optimally with desired operational specifications and keeping the operational expenses as low as possible. In order to perform a quantum of work in a process, there is a need for some amount of energy. The utility optimization problem is relevant when there are multiple energy sources that can supply the desired quantum of energy. For example, there may be some sources of energy endemic to the process and other sources of energy that are extraneous to the process. Utility optimization requires the capability to switch among available energy sources depending on the economics, energy and material balance, and underlying nonlinear process optimality. These computational issues require an MINLP solver in conjunction with models that can simulate the switching behavior of process units. Modeling for MINLP utility optimization is the subject of aspects of the present invention.
As an illustrative example, a process requires one hundred units of energy (i.e., E=100) to perform an amount of work (W). The following table illustrates four energy sources capable of supplying the required energy units along with the minimum and maximum amount of energy each source can supply and the cost per unit of energy supplied for each source:
One exemplary solution is to use 50 units of source S2, 25 units of source S4, 10 units of source S3, and 15 units of source S1 (i.e., 50*S2+25*S4+10*S3+15*S1=100) such that the lowest cost sources (i.e., S2 and S4) are each loaded to the maximum, the minimum loading constraint on the highest cost source (i.e., S3) is obeyed, and the slack is picked up with the remaining source (i.e., S1).
This illustrative example has two aspects. First, an energy source could be independent of the process (e.g., electricity powering a motor) and thus loading is a linear function of the costs and specified loading constraints. Second, an energy source could be a byproduct of the process such as residual steam as a byproduct of a heat exchanger (e.g., captured steam powering a steam turbine), for example. This second energy source would be endemic to the process and loading such a source would impact the equilibrium and cost of operation of the underlying process itself. Continuing the example above, steam generated as a byproduct of the process can be added as a fifth energy source:
Initially, the steam (i.e., source S5) might meet fifty units of energy and be the cheapest source of energy. A process optimizer would then attempt to make source S5 meet the additional fifty units of energy. This attempt would involve operating the process at a different operating point to generate the additional fifty units of energy and would therefore change the cost of production of the steam, which is a nonlinear function of the process. In other words, the steam initially looks like an attractive energy source because of its low cost, but generating enough additional steam to create enough energy to meet the full requirement of one hundred units has an associated process cost that might actually make the steam a more expensive energy source than an alternative energy source. Accordingly, aspects of the present invention described herein solve the utility optimization problem by providing the capability to switch among various energy supplying units depending on the associated economics while also achieving energy balance and underlying nonlinear process optimality.
The utility optimization problem solved by aspects of the present invention can be expressed in general mathematical form. Consider a nonlinear process modeled with equality constraints f(x,y,z)=0, where the function f is nonlinear in the vector variables x, y, and z. Let f: RN×RS×BB->RN, illustrating the dimension of these quantities, where typically, S<N. The variable x is free-dependent and can be varied between some operational bounds of the process. The variable y is free-independent variables and usually referred to as a “specification” and also varied between bounds of the process. The vector variable z is free-independent and is the vector of integer switches in the problem. In an embodiment, variable z varies between [0, 1]. Given a cost function c(x,y,z), the utility optimization problem is:
minx,y,zc(x,y,z)
subject to
f(x,y,z)=0
and
x
min
≤x≤x
max
, y
min
≤y≤y
max and z∈BB (Equation 1)
A Rigorous Online Modeling and Equation-based Optimization (ROMEO) modeling system, as described herein, allows a user to construct a flowsheet of the process with models or units from a pre-built library or from models built by the user. These models encode the quantities f, c, x, and y in Equation 1. Aspects of the present invention described herein encompass the addition of models that encode the z variable in Equation 1.
Referring further to
MINLPShaftPower−ElectPower*Efficiency=0 (Equation 2)
where MINLPShaftPower is an unbounded free-dependent variable as further described below, ElectPower is the electrical input power to the motor, and Efficiency is the energy conversion efficiency of the motor. Additional energy-supplying units include, but are not limited to, generators, steam turbines, and boiler fuel flows.
Still referring to
In one embodiment of the present invention, the constraint module 106 comprises a storage memory device having stored thereon processor-executable instructions for defining one or more constraints of the first-principle model of model module 102. In an exemplary embodiment, constraint module 106 defines a minimum value (e.g., 0) and a maximum value (e.g., 100) of the shaft power of a motor.
The invasive MINLP switch 108 of
MINLPShaftPower−MINLPBinary*ShaftPower=0 (Equation 3)
where MINLPShaftPower is an unbounded free-dependent variable, MINLPBinary is a free-independent variable in MINLP Optimization mode bounded by [0, 1], and ShaftPower is the mechanical output of the motor. As indicated by Equation 3, when MINLPBinary equals zero then MINLPShaftPower also equals zero (i.e., MINLPBinary=0, MINLPShaftPower=0), and when MINLPBinary equals one then MINLPShaftPower equals ShaftPower (i.e., MINLPBinary=1, MINLPShaftPower=ShaftPower). By defining the motor in this way, invasive MINLP switch 108 ensures that the signals exported for outside connections to other process units are properly processed for MINLP. Binding MINLPBinary by [0, 1] allows the value of ShaftPower to update as it changes during operation of the continuous process (i.e., the motor does not need to be turned off in the continuous process) while simultaneously allowing MINLPShaftPower to simulate the motor being turned off in Equation 2 during simulation of the process, as described below.
Referring again to
The constraint interface 116 of
According to embodiments of the invention, process 118 is a continuous process, such as a refinery, chemical, or petrochemical plant operation, for example, and/or its control system. Other aspects of process 118 are further defined herein. The process definition interface 122 receives process input data 120 from a source such as a user, another software program, or a device (e.g., a sensor and/or a unit in process 118), for example. The process input data 120 represents a current state of process 118 and corresponds to the process problem to be solved. The process definition interface 122 provides the received process input data 120 to the solver module 124 for use in executing an interactive model to solve the process problem as described herein. In an exemplary embodiment, process definition interface 122 is part of a ROMEO modeling system that allows a user to construct a flowsheet of process 118 with models or units from a pre-built library or from models built by the user.
The solver module 124 comprises a storage memory device having stored thereon processor-executable instructions for defining an iterative process having variables. The variables have certain values which, when applied to the iterative process, converge the iterative process to a solution. The variables have other values, which, when applied to the iterative process, do not converge the iterative process to a solution. In one form, solver module 124 comprises a ROMEO module. In another form, solver module 124 is an MINLP solver module. The solver module 124 is adapted for changing the value of the MINLPBinary variable in order to switch model module 102 on and off in the simulation while converging to an optimal solution (e.g., optimal operating state 126) for the underlying nonlinear process 118. Commonly assigned U.S. patent application Ser. No. 13/968,119, which describes a nonlinear correction factor module for use with, for example, a ROMEO solver, is incorporated by reference in its entirety.
In operation of an exemplary embodiment illustrated by
In another exemplary embodiment of
MINLPActualWork−MINLPBinary*ActualWork=0 (Equation 4)
where MINLPActualWork is an unbounded free-dependent variable, MINLPBinary is a free-independent variable in MINLP Optimization mode bounded by [0, 1], and ActualWork is the amount of work done by the turbine. As indicated by Equation 4, when MINLPBinary equals zero then MINLPActualWork also equals zero (i.e., MINLPBinary=0, MINLPActualWork=0), and when MINLPBinary equals one then MINLPActualWork equals ActualWork (i.e., MINLPBinary=1, MINLPActualWork=ActualWork). Equation 4 works in tandem with an enthalpy balance equation of model module 102 modified to accept its MINLP behavior:
MINLPActualWork−Feed: MolarFlow*(Feed: Prop[Enth]−Product: Prop[Enth])=0 (Equation 5)
where MINLPActualWork is the unbounded free-dependent variable described above, Feed:MolarFlow is the molar flow rate of steam entering the turbine, Feed:Prop[Enth] is the amount of enthalpy entering the turbine, and Product:Prop[Enth] is the amount of enthalpy leaving the turbine. Binding MINLPBinary by [0, 1] in Equation 4 allows the value ofActualWork to update as it changes during operation of process 118 (i.e., the steam turbine does not need to be turned off in the continuous process) while allowing MINLPActualWorkto simulate the steam turbine being turned off in Equation 5 during simulation of process 118. During simulation of the process, MINLPActualWork is exported to a gear box module connected to the turbine in the model flowsheet of process definition interface 122 so that outside-connected objects in the model flowsheet will see the actual work of the turbine go to zero when the turbine is switched off in the simulation via changing MINLPActualWork.
In yet another exemplary embodiment of
v
MINLPFlow−MINLPBinary*vF1ow==0 (Equation 6)
where vMINLPFIow is an unbounded free-dependent variable, MINLPBinary is a free-independent variable in MINLP Optimization mode bounded by [0, 1], and vFlow is the velocity of the flow of boiler fuels.
In one aspect, the non-invasive MINLP switch 208 illustrated by
In an embodiment, non-invasive MINLP switch 208 of
ModelVariable−MINLPHelperVar1*MINLPSwitch−MINLPHelperVar2=0 (Equation 7)
and
ModelVariable*MINLPSwitch−MINLPHelperVar1=0 (Equation 8)
where Mode/Variable is the model-variable identified by non-invasive MINLP switch 208, MINLPSwitch is a free-independent variable in MINLP Optimization mode bounded by [0, 1], MINLPHelperVar1 is a free-dependent variable that compensates Equation 7, and MINLPHelperVar2 is a dependent variable. Equation 7 ensures that non-invasive MINLP switch 208 is self-sufficient with respect to binary switching and thus requires no additional changes to model module 102. In an embodiment, MINLPSwitch is treated as a free-independent variable that is set by solver module 124. In another embodiment, Equation 7 and Equation 8 provide a well-defined and square (e.g., square Jacobian) model for non-invasive MINLP switch 208.
In both Equations 7 and 8, MINLPHelperVar1 and MINLPHelperVar2 (i.e., the dependent variables) appear linearly. These linear terms contribute a constant in the corresponding Jacobian rows, which ensures that there is no Jacobian row singularity of the switch model (e.g., non-invasive MINLP switch 208) when Mode/Variable and MINLPSwitch both equal zero simultaneously. Furthermore, these linear terms indicate that there is no Jacobian column singularity of the switch model when Mode/Variable and MINLPSwitch both equal zero simultaneously.
Still referring to
Referring again to
In one embodiment, solver module 124 sets MINLPSwitch to zero (i.e., MINLPSwitch=0). In this case, Equation 7 reduces to:
ModelVariable=MINLPHelperVar2 (Equation 9)
Furthermore, Equation 8 reduces to:
MINLPHelperVar1=0 (Equation 10)
In an embodiment, the lower and upper bounds of MINLPHelperVar2 are set tightly (e.g., [0, 0.00001]) which leads to Mode/Variable=0, as desired. In other words, when MINLPSwitch=0, then Mode/Variable=0. Thus, non-invasive MINLP switch 208 forces the underlying model module 102 to switch off in the simulation as a consequence of Mode/Variable being set to zero. In this manner, non-invasive MINLP switch 208 overrides the routine operation of model module 102. In this embodiment, model module 102, which contains model-variable module 104, which in turn defines ModelVariable, has sufficient degrees of freedom to permit Mode/Variable being equal to zero such that solver module 124 does not encounter a failure state. In other words, there needs to be enough degrees of freedom in model module 102 to absorb the change, ensuring material balance. Additionally, it is necessary to ensure that model module 102 remains robust (i.e., there is no division by zero, or any other non-robust behavior, when the model-variable equals zero).
In another embodiment of the ROMEO solver illustrated by
ModelVariable=MINLPHelperVar1+MINLPHelperVar2 (Equation 11)
Furthermore, Equation 8 reduces to:
ModelVariable=MINLPHelperVar1 (Equation 12)
In an embodiment, MINLPHelperVar2 is held close to zero, as indicated above, and thus Mode/Variable=MINLPHelperVar1 satisfies Equations 11 and 12. In addition, MINLPHelperVar1 inherits the upper bound and lower bound of Mode/Variable that are set by a user. When MINLPSwitch=1, Mode/Variable takes any value between its upper and lower bounds, as decided by solver module 124. Thus, non-invasive MINLP switch 208 allows Mode/Variable to pass through without switching it off and model module 102 performs as designed in the simulation, with the value of Mode/Variable determined by solver module 124 for optimal operation.
In yet another embodiment of the ROMEO solver illustrated by
MINLPSwitch*MINLPHelperVar1=−MINLPHelperVar2 (Equation 13)
Furthermore, Equation 8 reduces to:
MINLPHeIperVar1=0 (Equation 14)
When MINLPHelperVar2 is held close to zero and MINLPHelperVar1 is held to the bounds it inherits from Mode/Variable, the only permitted solutions are when MINLPSwitch=0 (e.g., a desired solution) and when the lower bound of MINLPHelperVar1=0. In the situation where MINLPHelperVar1=0, there is a potential ambiguity when MINLPSwitch=1 because there exists a possibility of Mode/Variable=0. Such a case may be referred to as a corner case, in some embodiments, and may be avoided when MINLPHelperVar1 and MINLPHelperVar2 are bounded, as further described herein.
As described above, it is desired in some embodiments to hold MINLPHelperVar2 close to zero, which may be accomplished by setting its lower bound to zero and prescribing a tight upper bound that is close to zero. With respect to MINLPHelperVar1, when MINLPSwitch=1, the bounds of MINLPHelperVar1 are set to equal those of Mode/Variable. By doing so, it is ensured that when MINLPSwitch=1, Mode/Variable takes any value in its permitted range, from its lower bound to its upper bound. Moreover, when the lower bound is greater than zero, then a false solution (e.g., a corner case) cannot arise because MINLPHelperVar1 cannot become equal to zero. In a situation in which MINLPSwitch=0, MINLPHelperVar1 must be permitted to become equal to zero, even if it has a non-zero lower bound, so that Mode/Variable can become equal to zero. This situation is feasible because at the start of a nonlinear solution, the value of MINLPSwitch is known, set by solver module 124, and held constant for the duration of the nonlinear optimization. Thus, at the onset of the nonlinear optimization, a ROMEO solver system embodying aspects of the invention has the liberty to set the lower bound of MINLPHelperVar1 to zero for switches 108, 208 in which MINLPSwitch=0.
Referring to further aspects of
Referring now to
In this exemplary embodiment, a user can set a threshold for switching based upon one or more MINLP parameters 110. In an exemplary embodiment, the startup cost 110-A, the shutdown cost 110-B, and the time period 110-C prevent solver module 124 from switching model module 102 to an operating state that only provides a trivial benefit over a current operating state of process 118. For example, startup cost 110-A, shutdown cost 110-B, and time period 110-C prevent solver module 124 from switching model module 102 indiscriminately in order to achieve an operating state that saves a small amount (e.g., two cents) in operating costs over a current operating state of process 118. In this exemplary embodiment, startup cost 110-A, shutdown cost 110-B, and time period 110-C are converted into a contribution for an objective function used for MINLP by solver module 124. When MINLPBinary is initially equal to one and then is changed to become equal to zero, there is an associated shutdown cost (SD) 110-B. When MINLPBinary is initially equal to zero and then is changed to become equal to one, there is an associated startup cost (SU) 110-A. The contribution to the objective function is represented by the equation:
F(u)=Σi=1n(1−u0,i)(ui−u0,i)SU,i−u0,i(ui−u0,i)SD,i (Equation 15)
where F is a function of the current switching u and also a contribution to the objective function, where n is the number of switches (e.g., changing MINLPBinary from zero to one or from one to zero), and where u0 is the initial state of MINLPBinary. The following table shows the four cases of interest and the corresponding contribution to the objective function for the case where n is equal to one:
The time period 110-C is assumed to be the period over which the switching is valid and used in such a manner that its contribution can be added to the global objective function of solver module 124 in a dimensionally correct manner.
In a further embodiment of
Still referring to
Referring further to the embodiment of
The control system 440 manages the operation of process 118 and in an exemplary embodiment includes at least model module 102, solver module 124, and invasive MINLP switch 108 and/or non-invasive MINLP switch 208. In additional exemplary embodiments, control system 440 is one of a distributed control system (DCS) and a centralized database run in an online mode. The control system 440 is adapted for transmitting control information to process 118 and receiving sensory and feedback data from process 118. For example, control system 440 and process 118 may communicate via a telecommunications network that facilitates the exchange of data, such as those that operate according to the IEEE 802.3 (e.g., Ethernet) and/or the IEEE 802.11 (e.g., Wi-Fi) protocols, for example. In another embodiment, control system 440 and process 118 communicate via any medium that allows data to be physically transferred through serial or parallel communication channels (e.g., copper wire, optical fiber, computer bus, wireless communication channel, etc.).
The steam source 450 provides steam to power first turbine 452 and second turbine 454. In an embodiment, steam source 450 is a boiler and captured steam is provided to first turbine 452 and second turbine 454 via pipes or ducts. The first motor 456 and second motor 458 are powered by electricity. The first turbine 452, second turbine 454, first motor 456, and second motor 458 are each capable of driving shaft 460 to power pump 462, which pumps a process fluid from a tank.
Initially at setup step 502, models and specifications for the solver are created. In an exemplary embodiment, process 118 is physically modeled by model module 102 via process definition interface 122, specifies MINLP parameters 110 for invasive MINLP switch 108 and/or non-invasive MINLP switch 208 via MINLP interface 110, and specifies constraint input data 114 for constraint module 106 via constraint interface 116. In another embodiment, process 118 is modeled using predefined ROMEO unit operations, such as simple mixers, splitters, flash drums, complete distillation columns, and reactors. In yet a further embodiment, process 118 is modeled a custom unit operation created by a user via process definition interface 122. After setup step 502 is complete, the process advances to simulation mode 504.
During simulation mode 504, solver module 124 solves the model that was created at setup step 502. In an embodiment, solver module 124 converts the physical model into a single mathematical model and solves the mathematical model using non-linear matrix arithmetic. This solution method offers considerable time saving and permits aspects of the invention to serve as a real-time simulation tool. Also during simulation mode 504, the free-independent variables of invasive MINLP switch 108 and non-invasive MINLP switch 208 (e.g., MINLPSwitch) are set to fixed-independent. For example, these variables can either be fixed at zero (e.g., MINLPSwitch=0) or fixed at one (e.g., MINLPSwitch=1) based upon the results of a previous data-reconciliation exercise (e.g., a previous operation of data reconciliation 506). After simulation mode 504 is complete, the process advances to data reconciliation 506.
During data reconciliation, 506 solver module 124 brings the physical model into harmony with actual observed operating conditions of process 118. In an exemplary embodiment, sensors within process 118 obtain measurements of various operating conditions of the process (e.g., temperature, pressure, composition, and flow rate) and transmit data including the measurements to solver module 124. Solver module 124 receives the data and reconciles redundant and/or inconsistent measurements using established algorithms for evaluating the validity of observed process data (e.g., data collected by sensors of process 118). Based on reconciled observed data, solver module 124 modifies and/or adjusts process model unit specifications and parameters (e.g., model module 102, MINLP parameters 110, constraint input data 114, etc.) to make the process model conform even more closely to observed reality (e.g., measured operating conditions of process 118).
In an embodiment of data reconciliation 506, solver module 124 interfaces directly with a distributed control system (e.g., control system 440) or centralized database associated with process 118 and run in an online mode. In such an embodiment, no user input is required. In another embodiment, measurement values are supplied manually via a user interface (e.g., process definition interface 122, MINLP interface 112, constraint interface 116, etc.) and data reconciliation 506 executes in an offline mode. Also during data reconciliation 506, the free-independent variables of invasive MINLP switch 108 and non-invasive MINLP switch 208 (e.g., MINLPSwitch) are set to fixed-independent. For example, these variables can either be fixed at zero (e.g., MINLPSwitch=0) or fixed at one (e.g., MINLPSwitch=1) based upon the results of a previous data-reconciliation exercise (e.g., a previous operation of data reconciliation 506). After data reconciliation 506 is complete, the process advances to parameterization 508.
During parameterization 508, solver module 124 turns off the MINLPSwitch (e.g., MINLPSwitch=0) for every invasive MINLP switch 108 and non-invasive MINLP switch 208 whose corresponding model module 102 is determined to be off. In an exemplary embodiment, solver module 124 auto-runs a macro for this purpose. Also during parameterization 508, the free-independent variables of invasive MINLP switch 108 and non-invasive MINLP switch 208 (e.g., MINLPSwitch) are set to fixed-independent. For example, these variables can either be fixed at zero (e.g., MINLPSwitch=0) or fixed at one (e.g., MINLPSwitch=1) based upon the results of a previous data-reconciliation exercise (e.g., a previous operation of data reconciliation 506). After parameterization 508 is complete, the process advances to optimization mode 510.
During optimization mode 510, solver module 124 assigns monetary values to pertinent process variables and adjusts controller setpoints to maximize the economics of process 118. Examples of monetary assignments include greater values for preferred stream fractions compared to less desirable fractions, bonuses for additional octane points in a product, or a monetary penalty for each part per million (ppm) of a contaminant or undesirable compound in a stream. In an embodiment, solver module 124 operating in optimization mode 510 provides a systematic fashion for determining economic connectivity between unit setpoints, specifications, and operating conditions of process 118 that would otherwise remain undetected and unexploited. Also during optimization mode 510, the free-independent variables of invasive MINLP switch 108 and non-invasive MINLP switch 208 (e.g., MINLPSwitch) are set to fixed-independent. For example, these variables can either be fixed at zero (e.g., MINLPSwitch=0) or fixed at one (e.g., MINLPSwitch=1) based upon the results of a previous data-reconciliation exercise (e.g., a previous operation of data reconciliation 506). After optimization mode 510 is complete, the process advances to MINLP optimization mode 512.
During MINLP optimization mode 512, solver module 124 switches invasive MINLP switch 108 and/or non-invasive MINLP switch 208 on and off (e.g., MINLPSwitch=0, MINLPSwitch=1) to determine an operating state of process 118 that is optimized and satisfies process constraints. Also during MINLP optimization mode 512, the formerly fixed-independent variables of invasive MINLP switch 108 and non-invasive MINLP switch 208 (e.g., MINLPSwitch) are set to free-independent, which permits solver module 124 to move them appropriately (e.g., change their values) to obtain an optimal solution for the operating state of process 118. Further aspects of MINLP optimization mode 512 are described below. After MINLP optimization mode 512 is complete, the process advances to implementation step 514.
During the implementation step 514, solver module 124 implements the optimal solution for the operating state of process 118 into the model module 102. After implementation step 514 is complete, the process advances to data reconciliation step 506. In an embodiment, after MINLP optimization mode 512 is complete and its results are communicated to process 118 and implemented during implementation step 514, in subsequent cycles of data reconciliation 506 and optimization mode 510, any switched-off (i.e., inactive) units are removed from the calculations in these modes. Such switched-off units will be awakened (i.e., activated) in the next cycle of MINLP optimization mode 512 to be considered again for switching on or off.
Although the above description of
Embodiments of the present invention may comprise a special purpose computer including a variety of computer hardware, as described in greater detail below.
Embodiments within the scope of the present invention also include computer-readable media for carrying or having computer-executable instructions or data structures stored thereon. Such computer-readable media can be any available media that can be accessed by a special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, or any other medium that can be used to carry or store desired program code means in the form of computer-executable instructions or data structures and that can be accessed by a general purpose or special purpose computer. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a computer-readable medium. Thus, any such connection is properly termed a computer-readable medium. Combinations of the above should also be included within the scope of computer-readable media. Computer-executable instructions comprise, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions.
The following discussion is intended to provide a brief, general description of a suitable computing environment in which aspects of the invention may be implemented. Although not required, aspects of the invention will be described in the general context of computer-executable instructions, such as program modules, being executed by computers in network environments. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Computer-executable instructions, associated data structures, and program modules represent examples of the program code means for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represent examples of corresponding acts for implementing the functions described in such steps.
Those skilled in the art will appreciate that aspects of the invention may be practiced in network computing environments with many types of computer system configurations, including personal computers, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. Aspects of the invention may also be practiced in distributed computing environments where tasks are performed by local and remote processing devices that are linked (either by hardwired links, wireless links, or by a combination of hardwired or wireless links) through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
An exemplary system for implementing aspects of the invention includes a special purpose computing device in the form of a conventional computer, including a processing unit, a system memory, and a system bus that couples various system components including the system memory to the processing unit. The system bus may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The system memory includes read only memory (ROM) and random access memory (RAM). A basic input/output system (BIOS), containing the basic routines that help transfer information between elements within the computer, such as during start-up, may be stored in ROM. Further, the computer may include any device (e.g., computer, laptop, tablet, PDA, cell phone, mobile phone, a smart television, and the like) that is capable of receiving or transmitting an IP address wirelessly to or from the internet.
The computer may also include a magnetic hard disk drive for reading from and writing to a magnetic hard disk, a magnetic disk drive for reading from or writing to a removable magnetic disk, and an optical disk drive for reading from or writing to removable optical disk such as a CD-ROM or other optical media. The magnetic hard disk drive, magnetic disk drive, and optical disk drive are connected to the system bus by a hard disk drive interface, a magnetic disk drive-interface, and an optical drive interface, respectively. The drives and their associated computer-readable media provide nonvolatile storage of computer-executable instructions, data structures, program modules, and other data for the computer. Although the exemplary environment described herein employs a magnetic hard disk, a removable magnetic disk, and a removable optical disk, other types of computer readable media for storing data can be used, including magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, RAMs, ROMs, solid state drives (SSDs), and the like.
The computer typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by the computer and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media include both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media are non-transitory and include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, SSDs, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired non-transitory information, which can accessed by the computer. Alternatively, communication media typically embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Program code means comprising one or more program modules may be stored on the hard disk, magnetic disk, optical disk, ROM, and/or RAM, including an operating system, one or more application programs, other program modules, and program data. A user may enter commands and information into the computer through a keyboard, pointing device, or other input device, such as a microphone, joy stick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit through a serial port interface coupled to the system bus. Alternatively, the input devices may be connected by other interfaces, such as a parallel port, a game port, or a universal serial bus (USB). A monitor or another display device is also connected to the system bus via an interface, such as video adapter 48. In addition to the monitor, personal computers typically include other peripheral output devices (not shown), such as speakers and printers.
One or more aspects of the invention may be embodied in computer-executable instructions (i.e., software), routines, or functions stored in system memory or non-volatile memory as application programs, program modules, and/or program data. The software may alternatively be stored remotely, such as on a remote computer with remote application programs. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types when executed by a processor in a computer or other device. The computer executable instructions may be stored on one or more tangible, non-transitory computer readable media (e.g., hard disk, optical disk, removable storage media, solid state memory, RAM, etc.) and executed by one or more processors or other devices. As will be appreciated by one of skill in the art, the functionality of the program modules may be combined or distributed as desired in various embodiments. In addition, the functionality may be embodied in whole or in part in firmware or hardware equivalents such as integrated circuits, application specific integrated circuits, field programmable gate arrays (FPGA), and the like.
The computer may operate in a networked environment using logical connections to one or more remote computers. The remote computers may each be another personal computer, a tablet, a PDA, a server, a router, a network PC, a peer device, or other common network node, and typically include many or all of the elements described above relative to the computer. The logical connections include a local area network (LAN) and a wide area network (WAN) that are presented here by way of example and not limitation. Such networking environments are commonplace in office-wide or enterprise-wide computer networks, intranets and the Internet.
When used in a LAN networking environment, the computer is connected to the local network through a network interface or adapter. When used in a WAN networking environment, the computer may include a modem, a wireless link, or other means for establishing communications over the wide area network, such as the Internet. The modem, which may be internal or external, is connected to the system bus via the serial port interface. In a networked environment, program modules depicted relative to the computer, or portions thereof, may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing communications over wide area network may be used.
Preferably, computer-executable instructions are stored in a memory, such as the hard disk drive, and executed by the computer. Advantageously, the computer processor has the capability to perform all operations (e.g., execute computer-executable instructions) in real-time.
The order of execution or performance of the operations in embodiments of the invention illustrated and described herein is not essential, unless otherwise specified. That is, the operations may be performed in any order, unless otherwise specified, and embodiments of the invention may include additional or fewer operations than those disclosed herein. For example, it is contemplated that executing or performing a particular operation before, contemporaneously with, or after another operation is within the scope of aspects of the invention.
Embodiments of the invention may be implemented with computer-executable instructions. The computer-executable instructions may be organized into one or more computer-executable components or modules. Aspects of the invention may be implemented with any number and organization of such components or modules. For example, aspects of the invention are not limited to the specific computer-executable instructions or the specific components or modules illustrated in the figures and described herein. Other embodiments of the invention may include different computer-executable instructions or components having more or less functionality than illustrated and described herein.
When introducing elements of aspects of the invention or the embodiments thereof, the articles “a”, “an”, “the” and “said” are intended to mean that there are one or more of the elements. The terms “comprising”, “including”, and “having” are intended to be inclusive and mean that there may be additional elements other than the listed elements.
Having described aspects of the invention in detail, it will be apparent that modifications and variations are possible without departing from the scope of aspects of the invention as defined in the appended claims. As various changes could be made in the above constructions, products, and methods without departing from the scope of aspects of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.
Number | Date | Country | |
---|---|---|---|
Parent | 16841178 | Apr 2020 | US |
Child | 17729548 | US | |
Parent | 14745961 | Jun 2015 | US |
Child | 16841178 | US |