Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

Finite difference substitutes for

The modules require some effort to generate reasonably accurate derivatives or their substitutes, especially if a module contains tables, functions with discrete variables, discontinuities, and so on. Perturbation of the input to a module is the primary way in which a finite-difference substitutes for derivatives can be generated. [Pg.538]

Effective computer codes for the optimization of plants using process simulators require accurate values for first-order partial derivatives. In equation-based codes, getting analytical derivatives is straightforward, but may be complicated and subject to error. Analytic differentiation ameliorates error but yields results that may involve excessive computation time. Finite-difference substitutes for analytical derivatives are simple for the user to implement, but also can involve excessive computation time. [Pg.544]

For modular-based process simulators, the determination of derivatives is not so straightforward. One way to get partial derivations of the module function(s) is by perturbation of the inputs of the modules in sequence to calculate finite-difference substitutes for derivatives for the tom variables. To calculate the Jacobian via this strategy, you have to simulate each module (C + 2) nT + nF + 1 times in sequence, where C is the number of chemical species, nT is the number of tom streams, and nF is the number of residual degrees of freedom. The procedure is as follows. Start with a tear stream. Back up along the calculation loop until an unperturbed independent variable xI t in a module is encountered. Perturb the independent variable,... [Pg.544]

Errors are proportional to At for small At. When the trapezoid rule is used with the finite difference method for solving partial differential equations, it is called the Crank-Nicolson method. The implicit methods are stable for any step size but do require the solution of a set of nonlinear equations, which must be solved iteratively. The set of equations can be solved using the successive substitution method or Newton-Raphson method. See Ref. 36 for an application to dynamic distillation problems. [Pg.473]

The NLP (nonlinear programming) methods to be discussed in this chapter differ mainly in how they generate the search directions. Some nonlinear programming methods require information about derivative values, whereas others do not use derivatives and rely solely on function evaluations. Furthermore, finite difference substitutes can be used in lieu of derivatives as explained in Section 8.10. For differentiable functions, methods that use analytical derivatives almost always use less computation time and are more accurate, even if finite difference approxima-... [Pg.182]

From numerous tests involving optimization of nonlinear functions, methods that use derivatives have been demonstrated to be more efficient than those that do not. By replacing analytical derivatives with their finite difference substitutes, you can avoid having to code formulas for derivatives. Procedures that use second-order information are more accurate and require fewer iterations than those that use only first-order information(gradients), but keep in mind that usually the second-order information may be only approximate as it is based not on second derivatives themselves but their finite difference approximations. [Pg.207]

As a consequence, the gradient of the objective function and the Jacobian matrix of the constraints in the nonlinear programming problem cannot be determined analytically. Finite difference substitutes as discussed in Section 8.10 had to be used. To be conservative, substitutes for derivatives were computed as suggested by Curtis and Reid (1974). They estimated the ratio /x of the truncation error to the roundoff error in the central difference formula... [Pg.535]

The Neumann boundaries (which involve derivatives) are converted into finite difference form and substituted into the finite difference equations for the nodes in the specified region (e.g. above the electrode surface). The Dirichlet conditions (which fix the concentration value) may be substituted directly. [Pg.95]

Now substituting 1, 2, 3, and 4 for m results in these finite difference equations for the interior nodes ... [Pg.319]

This completes the development of finite difference formulation for this problem. Substituting the given quantities, the system of nine equations for the determination of nine unknown nodal temperatures becomes... [Pg.326]

Use this to substitute into the finite difference relation for the boundary condition at x = 0 to solve for yo- Show that this excercise takes the form... [Pg.621]

This is identical to the separation of variables method described in Chapter 10. Substitute this into the finite difference equation for the error to show that... [Pg.625]

To solve such problems numerically, a popular approach is to substitute finite difference analogs for the derivatives and solve the resnlting algebraic eqnations. There are many ways in which this can be done, a few of which are summarized below ... [Pg.163]

We set a uniform grid of points over the domain and substitute finite difference approximations for each second derivative to obtain for each interior point (x , yj, zj ) a linear equation... [Pg.283]

The second class of multivariable optimization techniques in principle requires the use of partial derivatives, although finite difference formulas can be substituted for derivatives such techniques are called indirect methods and include the following classes ... [Pg.744]

Discretizating by substituting the various finite-difference type approximations for the terms in the integrated equation representing flow processes, which converts the integral equations into a system of algebraic equations. [Pg.785]

Omitting the elevation term and substituting the centered finite differences for the partial derivatives, Eqs. (123) and (128) become... [Pg.196]

The Galerkin finite element method results when the Galerkin method is combined with a finite element trial function. The domain is divided into elements separated by nodes, as in the finite difference method. The solution is approximated by a linear (or sometimes quadratic) function of position within the element. These approximations are substituted into Eq. (3-80) to provide the Galerkin finite element equations. For example, with the grid shown in Fig. 3-48, a linear interpolation would be used between points x, and, vI+1. [Pg.53]

Difficulty 3 can be ameliorated by using (properly) finite difference approximation as substitutes for derivatives. To overcome difficulty 4, two classes of methods exist to modify the pure Newton s method so that it is guaranteed to converge to a local minimum from an arbitrary starting point. The first of these, called trust region methods, minimize the quadratic approximation, Equation (6.10), within an elliptical region, whose size is adjusted so that the objective improves at each iteration see Section 6.3.2. The second class, line search methods, modifies the pure Newton s method in two ways (1) instead of taking a step size of one, a line search is used and (2) if the Hessian matrix H(x ) is not positive-definite, it is replaced by a positive-definite matrix that is close to H(x ). This is motivated by the easily verified fact that, if H(x ) is positive-definite, the Newton direction... [Pg.202]

To solve the problem a sequential quadratic programming code was used in the outer loop of calculations. Inner loops were used to evaluate the physical properties. Forward-finite differences with a step size of h = 10 7 were used as substitute for the derivatives. Equilibrium data were taken from Holland (1963). The results shown in Table E12.1B were essentially the same as those obtained by Sargent and Gaminibandara. [Pg.447]

Assuming that the original problem was solved using Newton s method, the Jacobian J, evaluated at the solution, is already known and factored into its LU components. The 3F/9a matrix is determined one column at a time by finite-difference perturbation of the parameter, analogous to the procedure described by Eq. 15.36. For each column of dF/da, a column of the sensitivity matrix 3y/3a is determined via a back-substitution using the Jacobian s LU factors. [Pg.637]


See other pages where Finite difference substitutes for is mentioned: [Pg.324]    [Pg.324]    [Pg.621]    [Pg.391]    [Pg.267]    [Pg.626]    [Pg.571]    [Pg.478]    [Pg.503]    [Pg.235]    [Pg.290]    [Pg.210]    [Pg.526]    [Pg.220]    [Pg.169]    [Pg.163]    [Pg.32]    [Pg.49]    [Pg.98]    [Pg.49]   


SEARCH



Substitutes for

© 2024 chempedia.info