Docsity

Optemization methods and examples, Lecture notes of Power Distribution and Utilization

Partial preview of the text

Download Optemization methods and examples and more Lecture notes Power Distribution and Utilization in PDF only on Docsity!

Optimization

Objective The basic objective of any optimization method is to find the values of the system state variables and/or parameters that minimize some cost function of the system. Some examples: Minimize:

- the error between a set of measured and calculated data, - active power losses, - the weight of a set of components that comprise the system, - particulate output (emissions), - system energy, or - the distance between actual and desired operating points

Least Squares Estimation (LSE) State Estimation is the process of estimating unknown states from measured quantities. In many systems, more measurements are made than are necessary to uniquely determine the operating point. Conversely, not all of the states may be available for measurement. State estimation gives the “best estimate” of the state of the system in spite of uncertain, redundant, and/or conflicting measurements.

Let z be the set of measured quantities The measured values of z may not equal the true values of z true due to

  • (^) measurement errors,
  • (^) missing data, or
  • (^) intentional misdirection (hacking) We’d like to
  • (^) Identify bad data
  • (^) Minimize the error between the true and measured values States of the system

Minimize Take derivate and set equal to zero: Solving for x : Solve using LU factorization (or other linear solver) Analytic solution

Find the node voltages V 1 and V 2 Circuit equations

Solving for voltages: Finding the error: How do we know if this is a reasonable error?

Suppose we have more confidence in certain types of measurements:

  • (^) Certain sensors have been more recently calibrated
  • (^) Some types of sensors tend to be more accurate (smaller standard deviation) We’d like to apply more weight to measurements in which there is greater confidence Weighted Least Squares Estimation (WLSE)

Let The currents are weighted more heavily than the voltages Resulting in with original Decreased error in current

A plausible weighting matrix that reflects the level of confidence in each measurement set is the inverse of the covariance matrix W = R − 1 . Measurements that come from instruments with good consistency (small variance) will carry greater weight than measurements that come from less accurate instruments (high variance).

  1. Use z to estimate x
  2. Calculate the error e = z − Ax
  3. Evaluate the weighted sum of squares
  4. For k = m − n and a specified probability α , if then the data are good; otherwise at least one bad data point exists. Test for Bad Data

Using the chi-square test of inequality with =0.01, check for the presence of bad data The number of states is 2 and the number of measurements is 4: k = 4-2 = 2. Data good (with 99% confidence)

The state values that minimize the error are found by setting the derivatives of the error function to zero: where solve using a nonlinear solution method such as Newton- Raphson

Using Newton-Raphson to solve the nonlinear system of equations requires the Jacobian matrix: Combining with the NR iteration yields the iteration: whole expression must be  0 for convergence not just this