The document summarizes the formulation of an optimization problem for power market allocation. There are two cases considered: 1) where loads cannot be cut off and are constant, and 2) where loads can vary and be cut off. The objective is to maximize societal surplus. For each case, the variables, objective function, equality constraints based on Kirchhoff's laws, and inequality constraints are defined to formulate the problem in standard linear programming format to minimize the objective subject to the constraints.
This document summarizes a lecture on economic dispatch in power systems. It begins with announcements about homework assignments and readings. It then discusses the formulation of economic dispatch as minimizing generation costs subject to meeting demand. The document uses an example two generator system to illustrate solving the optimization using Lagrange multipliers. It describes the lambda iteration method for solving economic dispatch with multiple generators. Finally, it discusses including transmission losses in the economic dispatch formulation.
This document is a 29-page report on power flow studies submitted by Akbar Pamungkas Sukasdi to Saxion University. It includes instructions for power flow calculations modeling loads as constant impedance, current, or power. It provides per unit calculations of line impedances and transformer admittances for a sample power system. The report then shows MATLAB code and results for calculating bus voltages and currents throughout the system. Cable currents and sending/receiving powers are also determined for cable 1. A comparison table shows calculations match values from the VISION software with no deviation.
This document provides a summary of a lecture on economic dispatch in power systems. Economic dispatch aims to minimize the total operating cost of generators while meeting the total demand plus losses. It is formulated as a constrained optimization problem solved using Lagrange multipliers or lambda iteration. Lambda iteration works by iteratively finding the optimal value of lambda, which determines the generation dispatch. Generator costs are represented by incremental cost curves and generators have minimum and maximum output limits that must be considered.
This document summarizes a digital signal processing project that involves resampling audio signals and modeling signals using autoregressive (AR) processes.
The resampling part involves downsampling two audio signals with correct and incorrect sampling rate conversions. Graphs and analysis show the resampled signals have lower quality and more distortion compared to the originals.
The AR modeling part estimates AR model coefficients from one of the signals using the Yule-Walker equations. A filter is designed to "whiten" the signal, removing noise. Graphs and audio comparison show the filtered signal has less noise but also some quality loss.
The document reports on a digital signal processing project to design and compare different types of FIR and IIR filters. FIR filters designed include a least squares filter and an equiripple filter. IIR filters designed include a Butterworth filter and a Chebyshev type I filter. The filters were designed to meet bandpass specifications and their magnitude and phase responses were analyzed. The filters were also compared in terms of their bit error rate (BER) performance under different signal conditions such as clean, interference, noise, and both interference and noise. The Chebyshev type I filter was found to have a higher BER under noise conditions compared to the other filters.
This document discusses economic dispatch and the lambda iteration method for solving the economic dispatch problem. It begins with introducing economic dispatch and formulating it as a constrained optimization problem. It then explains how to solve it using Lagrange multipliers and the lambda iteration algorithm. The document provides an example of applying lambda iteration to a two and three generator system both with and without generator limits. It concludes with briefly discussing including transmission losses in the economic dispatch formulation.
This document discusses economic dispatch and the lambda iteration method for solving the economic dispatch problem. It begins with an overview of economic dispatch and how it determines the optimal generation dispatch to minimize costs given a load constraint. It then presents the formulation using Lagrange multipliers and provides an example of solving it for a two generator system. The document goes on to explain the lambda iteration method and provides an example of solving it iteratively for a three generator system both with and without generator limits. It concludes with some notes on typical incremental cost approximations and including transmission losses in the economic dispatch formulation.
The document discusses economic operation of power systems. It covers characteristics of steam and hydro plants, economic load scheduling of thermal plants with and without considering transmission losses, penalty factors and loss coefficients. It also discusses hydrothermal scheduling. The document provides information on retail electricity prices and factors contributing to prices like generation, transmission and distribution costs. It describes different generation technologies in terms of capital and operating costs. The concepts of economic dispatch formulation, incremental costs, lambda iteration method and inclusion of transmission losses in economic dispatch are explained.
This document summarizes a lecture on economic dispatch in power systems. It begins with announcements about homework assignments and readings. It then discusses the formulation of economic dispatch as minimizing generation costs subject to meeting demand. The document uses an example two generator system to illustrate solving the optimization using Lagrange multipliers. It describes the lambda iteration method for solving economic dispatch with multiple generators. Finally, it discusses including transmission losses in the economic dispatch formulation.
This document is a 29-page report on power flow studies submitted by Akbar Pamungkas Sukasdi to Saxion University. It includes instructions for power flow calculations modeling loads as constant impedance, current, or power. It provides per unit calculations of line impedances and transformer admittances for a sample power system. The report then shows MATLAB code and results for calculating bus voltages and currents throughout the system. Cable currents and sending/receiving powers are also determined for cable 1. A comparison table shows calculations match values from the VISION software with no deviation.
This document provides a summary of a lecture on economic dispatch in power systems. Economic dispatch aims to minimize the total operating cost of generators while meeting the total demand plus losses. It is formulated as a constrained optimization problem solved using Lagrange multipliers or lambda iteration. Lambda iteration works by iteratively finding the optimal value of lambda, which determines the generation dispatch. Generator costs are represented by incremental cost curves and generators have minimum and maximum output limits that must be considered.
This document summarizes a digital signal processing project that involves resampling audio signals and modeling signals using autoregressive (AR) processes.
The resampling part involves downsampling two audio signals with correct and incorrect sampling rate conversions. Graphs and analysis show the resampled signals have lower quality and more distortion compared to the originals.
The AR modeling part estimates AR model coefficients from one of the signals using the Yule-Walker equations. A filter is designed to "whiten" the signal, removing noise. Graphs and audio comparison show the filtered signal has less noise but also some quality loss.
The document reports on a digital signal processing project to design and compare different types of FIR and IIR filters. FIR filters designed include a least squares filter and an equiripple filter. IIR filters designed include a Butterworth filter and a Chebyshev type I filter. The filters were designed to meet bandpass specifications and their magnitude and phase responses were analyzed. The filters were also compared in terms of their bit error rate (BER) performance under different signal conditions such as clean, interference, noise, and both interference and noise. The Chebyshev type I filter was found to have a higher BER under noise conditions compared to the other filters.
This document discusses economic dispatch and the lambda iteration method for solving the economic dispatch problem. It begins with introducing economic dispatch and formulating it as a constrained optimization problem. It then explains how to solve it using Lagrange multipliers and the lambda iteration algorithm. The document provides an example of applying lambda iteration to a two and three generator system both with and without generator limits. It concludes with briefly discussing including transmission losses in the economic dispatch formulation.
This document discusses economic dispatch and the lambda iteration method for solving the economic dispatch problem. It begins with an overview of economic dispatch and how it determines the optimal generation dispatch to minimize costs given a load constraint. It then presents the formulation using Lagrange multipliers and provides an example of solving it for a two generator system. The document goes on to explain the lambda iteration method and provides an example of solving it iteratively for a three generator system both with and without generator limits. It concludes with some notes on typical incremental cost approximations and including transmission losses in the economic dispatch formulation.
The document discusses economic operation of power systems. It covers characteristics of steam and hydro plants, economic load scheduling of thermal plants with and without considering transmission losses, penalty factors and loss coefficients. It also discusses hydrothermal scheduling. The document provides information on retail electricity prices and factors contributing to prices like generation, transmission and distribution costs. It describes different generation technologies in terms of capital and operating costs. The concepts of economic dispatch formulation, incremental costs, lambda iteration method and inclusion of transmission losses in economic dispatch are explained.
This document summarizes a lecture on economic dispatch in power systems. It discusses:
1) Different types of generator cost curves used to model costs, including incremental cost curves.
2) The economic dispatch problem aims to minimize total generation cost given a load, subject to supply meeting demand. This can be solved using Lagrange multipliers.
3) An example shows solving economic dispatch for a two generator system using the Lagrange method.
4) The lambda iteration method is introduced to solve economic dispatch when cost curves are nonlinear or generators have limits, using iterative updates to the marginal cost value lambda.
This document summarizes a lecture on economic dispatch in power systems. It begins with announcements and background on gas turbines and combined cycle power plants. It then discusses generator cost curves including input/output, fuel cost, heat rate, and incremental cost curves. Mathematical formulations of costs are presented using quadratic and piecewise linear functions. Examples are provided on coal usage and calculating incremental costs. The economic dispatch problem is formulated as a constrained optimization problem minimized using Lagrange multipliers. Finally, the lambda iteration solution method is described as a way to solve economic dispatch problems when cost curves are nonlinear.
The document discusses the design, operation, and control of inductive charging converters. It begins by introducing inductive power transfer and its advantages over wired charging. It then covers the concepts of mutual coupling between conductors and how this enables wireless power transfer. The document focuses on LLC resonant converter topology, describing the converter stages and equivalent circuit model. It provides the transfer function analysis and discusses designing the converter parameters, such as quality factor and inductance values, to achieve high efficiency power transfer over a suitable frequency range.
This document summarizes a lecture on power system analysis. It covers:
1) Announcements about upcoming homework assignments and reading for the next lectures.
2) Descriptions of different types of transformers used in power systems - load tap changing transformers, phase shifting transformers, and autotransformers.
3) Models used for loads, generators, and the bus admittance matrix (Ybus) which are required for power flow analysis. Power flow determines how power flows through a network given load demands and generator outputs.
This chapter will focus on the optimization and security of a power system. basically it will focus on economic dispatch analysis without considering transmission line losses.
1) Thermal power plants have minimum up and down time constraints due to the time required to bring units online and cool them back down. One hour is typically the smallest time period considered for unit commitment.
2) Economic dispatch aims to minimize total operating costs given demand and transmission constraints. This is done by allocating generation across available units to equalize their marginal costs.
3) The lambda-iteration method solves economic dispatch by iteratively choosing a system marginal cost (lambda) and calculating the corresponding generation dispatch until demand is met with minimum costs. It generalizes to systems with multiple non-linear generator cost functions.
This document discusses techniques for determining the economic operation of power systems. It addresses the input-output curves of generating units and how to determine the incremental cost curves. The principle of economic dispatch is explained, which is to distribute the load among generating units in a way that minimizes total production costs. This is achieved by equalizing the incremental costs of all operating units. Mathematical techniques using Lagrangian multipliers are presented to solve the economic dispatch problem. Examples are provided to illustrate how to determine the optimal load allocation between units. The concept of transmission losses and penalty factors are also introduced.
This document summarizes a research paper about a hybrid control algorithm for voltage regulation in DC-DC boost converters. The algorithm uses a hybrid automation representation to model the system's continuous and discrete dynamics. Guard conditions are derived to govern transitions between discrete states for both continuous conduction mode (CCM) and discontinuous conduction mode (DCM) operations. Simulation results show the algorithm effectively regulates output voltage under various load and disturbance conditions while smoothly transitioning between CCM and DCM. Experimental verification with a prototype converter circuit confirms the algorithm's effectiveness.
Control of Wind Energy Conversion System and Power Quality Improvement in the...ijeei-iaes
This document summarizes a research paper that proposes using extremum seeking (ES) control to maximize power extraction from a wind turbine in the sub-rated region between cut-in and rated wind speeds. ES is a non-model based approach that tunes the turbine speed for maximum power. An inner loop provides field-oriented control of the induction generator for improved transient response. Simulation results show the ES algorithm keeps the power coefficient close to its optimal value during fast changing winds, demonstrating maximum power point tracking. The closed-loop response time of 20ms is 25 times faster than an open loop system without inner loop control.
On the dynamic behavior of the current in the condenser of a boost converter ...TELKOMNIKA JOURNAL
In this paper, an analytical and numerical study is conducted on the dynamics of the current in the condenser of a boost converter controlled with ZAD, using a pulse PWM to the symmetric center. A stability analysis of periodic 1T-orbits was made by the analytical calculation of the eigenvalues of the Jacobian matrix of the dynamic system, where the presence of flip and Neimar–Sacker-type bifurcations was determined. The presence of chaos, which is controlled by ZAD and FPIC techniques, is shown from the analysis of Lyapunov exponents.
The document discusses the economic operation of power systems. It defines economic operation as distributing load among generating units and plants in a way that minimizes costs while meeting demand. This involves two aspects: economic dispatch, which determines the most cost-effective output of each plant; and accounting for transmission losses to minimize total delivered costs. Methods described include using incremental cost curves to distribute load optimally and representing losses as a function of outputs. The document also covers unit commitment, which determines the optimal startup and shutdown schedule of plants over time.
economic load dispatch and unit commitment power_system_operation.pdfArnabChakraborty499766
This document discusses economic dispatch and unit commitment in power systems. It begins by introducing the concept of economic dispatch, which determines the optimal power output of each generating unit in a power plant to minimize the overall fuel cost while meeting the system load. It then discusses the input-output curves and incremental cost curves of generating units. The key principle discussed is that for optimal economic dispatch, the incremental costs of all operating units should be equal. Mathematical formulations are provided to demonstrate that minimizing total generation cost results in this equal incremental cost condition. Examples are provided to illustrate the concepts.
This document discusses automatic generation control (AGC) systems. It begins with an overview of AGC and its purpose to maintain power balance and constant frequency in an electric grid. It then covers modeling of AGC for single and multi-generator systems, including control block diagrams. It also introduces the concept of area control error (ACE) and simplified control models for multi-area AGC systems used in power pool operations.
This document summarizes key concepts related to transformers, including:
- All-day efficiency is a ratio measuring the energy delivered versus input over 24 hours, accounting for varying load.
- Autotransformers are cheaper than two-winding transformers but considered unsafe for distribution due to direct connection of voltages.
- Instrument transformers like current and potential transformers are used to measure high voltages/currents and connect to standard meters.
- Transformer connections like wye-wye, delta-delta, wye-delta are used in polyphase systems depending on voltage transformation needs.
This document summarizes key concepts from a lecture on transformers, generators, loads, and power flow analysis in power systems:
1) It discusses load tap changing (LTC) transformers, which have tap ratios that can be varied to regulate voltages, phase shifting transformers which control phase angle to regulate power flow, and autotransformers which are more compact but lack electrical isolation.
2) It introduces models for loads as constant power or constant impedance and generators as constant voltage or constant power sources.
3) It explains that power flow analysis is used to determine how power flows through a network and to calculate voltages and currents, using iterative techniques due to the nonlinear nature of constant power loads.
This document summarizes key concepts from a lecture on transformers, generators, loads, and power flow analysis in power systems:
1) It discusses load tap changing (LTC) transformers, which have tap ratios that can be varied to regulate voltages, phase shifting transformers which control phase angle to regulate power flow, and autotransformers which are lower cost but lack electrical isolation between voltage levels.
2) It introduces models for loads as constant power or constant impedance and generators as constant voltage or constant power sources.
3) It explains that power flow analysis is used to determine how power flows through a network and to calculate voltages and currents, using iterative techniques because the constant power load model is nonlinear.
1. The document describes an electric vehicle with a hybrid energy storage system consisting of an asynchronous machine, batteries, and supercapacitors.
2. An extended Kalman filter is used to estimate the state of the asynchronous machine, including rotor speed and stator currents.
3. A mathematical model of the asynchronous machine is presented and used to design the extended Kalman filter, with the goal of output feedback control of the electric vehicle.
My name is Spenser K. I am associated with mechanicalengineeringassignmenthelp.com for the past 12 years and have been helping the mechanical engineering students with their Microelectromechanical Assignment. I have a Ph.D. in Mechatronics Engineering from RMIT University Australia.
This document summarizes a lecture on economic dispatch in power systems. It discusses:
1) Different types of generator cost curves used to model costs, including incremental cost curves.
2) The economic dispatch problem aims to minimize total generation cost given a load, subject to supply meeting demand. This can be solved using Lagrange multipliers.
3) An example shows solving economic dispatch for a two generator system using the Lagrange method.
4) The lambda iteration method is introduced to solve economic dispatch when cost curves are nonlinear or generators have limits, using iterative updates to the marginal cost value lambda.
This document summarizes a lecture on economic dispatch in power systems. It begins with announcements and background on gas turbines and combined cycle power plants. It then discusses generator cost curves including input/output, fuel cost, heat rate, and incremental cost curves. Mathematical formulations of costs are presented using quadratic and piecewise linear functions. Examples are provided on coal usage and calculating incremental costs. The economic dispatch problem is formulated as a constrained optimization problem minimized using Lagrange multipliers. Finally, the lambda iteration solution method is described as a way to solve economic dispatch problems when cost curves are nonlinear.
The document discusses the design, operation, and control of inductive charging converters. It begins by introducing inductive power transfer and its advantages over wired charging. It then covers the concepts of mutual coupling between conductors and how this enables wireless power transfer. The document focuses on LLC resonant converter topology, describing the converter stages and equivalent circuit model. It provides the transfer function analysis and discusses designing the converter parameters, such as quality factor and inductance values, to achieve high efficiency power transfer over a suitable frequency range.
This document summarizes a lecture on power system analysis. It covers:
1) Announcements about upcoming homework assignments and reading for the next lectures.
2) Descriptions of different types of transformers used in power systems - load tap changing transformers, phase shifting transformers, and autotransformers.
3) Models used for loads, generators, and the bus admittance matrix (Ybus) which are required for power flow analysis. Power flow determines how power flows through a network given load demands and generator outputs.
This chapter will focus on the optimization and security of a power system. basically it will focus on economic dispatch analysis without considering transmission line losses.
1) Thermal power plants have minimum up and down time constraints due to the time required to bring units online and cool them back down. One hour is typically the smallest time period considered for unit commitment.
2) Economic dispatch aims to minimize total operating costs given demand and transmission constraints. This is done by allocating generation across available units to equalize their marginal costs.
3) The lambda-iteration method solves economic dispatch by iteratively choosing a system marginal cost (lambda) and calculating the corresponding generation dispatch until demand is met with minimum costs. It generalizes to systems with multiple non-linear generator cost functions.
This document discusses techniques for determining the economic operation of power systems. It addresses the input-output curves of generating units and how to determine the incremental cost curves. The principle of economic dispatch is explained, which is to distribute the load among generating units in a way that minimizes total production costs. This is achieved by equalizing the incremental costs of all operating units. Mathematical techniques using Lagrangian multipliers are presented to solve the economic dispatch problem. Examples are provided to illustrate how to determine the optimal load allocation between units. The concept of transmission losses and penalty factors are also introduced.
This document summarizes a research paper about a hybrid control algorithm for voltage regulation in DC-DC boost converters. The algorithm uses a hybrid automation representation to model the system's continuous and discrete dynamics. Guard conditions are derived to govern transitions between discrete states for both continuous conduction mode (CCM) and discontinuous conduction mode (DCM) operations. Simulation results show the algorithm effectively regulates output voltage under various load and disturbance conditions while smoothly transitioning between CCM and DCM. Experimental verification with a prototype converter circuit confirms the algorithm's effectiveness.
Control of Wind Energy Conversion System and Power Quality Improvement in the...ijeei-iaes
This document summarizes a research paper that proposes using extremum seeking (ES) control to maximize power extraction from a wind turbine in the sub-rated region between cut-in and rated wind speeds. ES is a non-model based approach that tunes the turbine speed for maximum power. An inner loop provides field-oriented control of the induction generator for improved transient response. Simulation results show the ES algorithm keeps the power coefficient close to its optimal value during fast changing winds, demonstrating maximum power point tracking. The closed-loop response time of 20ms is 25 times faster than an open loop system without inner loop control.
On the dynamic behavior of the current in the condenser of a boost converter ...TELKOMNIKA JOURNAL
In this paper, an analytical and numerical study is conducted on the dynamics of the current in the condenser of a boost converter controlled with ZAD, using a pulse PWM to the symmetric center. A stability analysis of periodic 1T-orbits was made by the analytical calculation of the eigenvalues of the Jacobian matrix of the dynamic system, where the presence of flip and Neimar–Sacker-type bifurcations was determined. The presence of chaos, which is controlled by ZAD and FPIC techniques, is shown from the analysis of Lyapunov exponents.
The document discusses the economic operation of power systems. It defines economic operation as distributing load among generating units and plants in a way that minimizes costs while meeting demand. This involves two aspects: economic dispatch, which determines the most cost-effective output of each plant; and accounting for transmission losses to minimize total delivered costs. Methods described include using incremental cost curves to distribute load optimally and representing losses as a function of outputs. The document also covers unit commitment, which determines the optimal startup and shutdown schedule of plants over time.
economic load dispatch and unit commitment power_system_operation.pdfArnabChakraborty499766
This document discusses economic dispatch and unit commitment in power systems. It begins by introducing the concept of economic dispatch, which determines the optimal power output of each generating unit in a power plant to minimize the overall fuel cost while meeting the system load. It then discusses the input-output curves and incremental cost curves of generating units. The key principle discussed is that for optimal economic dispatch, the incremental costs of all operating units should be equal. Mathematical formulations are provided to demonstrate that minimizing total generation cost results in this equal incremental cost condition. Examples are provided to illustrate the concepts.
This document discusses automatic generation control (AGC) systems. It begins with an overview of AGC and its purpose to maintain power balance and constant frequency in an electric grid. It then covers modeling of AGC for single and multi-generator systems, including control block diagrams. It also introduces the concept of area control error (ACE) and simplified control models for multi-area AGC systems used in power pool operations.
This document summarizes key concepts related to transformers, including:
- All-day efficiency is a ratio measuring the energy delivered versus input over 24 hours, accounting for varying load.
- Autotransformers are cheaper than two-winding transformers but considered unsafe for distribution due to direct connection of voltages.
- Instrument transformers like current and potential transformers are used to measure high voltages/currents and connect to standard meters.
- Transformer connections like wye-wye, delta-delta, wye-delta are used in polyphase systems depending on voltage transformation needs.
This document summarizes key concepts from a lecture on transformers, generators, loads, and power flow analysis in power systems:
1) It discusses load tap changing (LTC) transformers, which have tap ratios that can be varied to regulate voltages, phase shifting transformers which control phase angle to regulate power flow, and autotransformers which are more compact but lack electrical isolation.
2) It introduces models for loads as constant power or constant impedance and generators as constant voltage or constant power sources.
3) It explains that power flow analysis is used to determine how power flows through a network and to calculate voltages and currents, using iterative techniques due to the nonlinear nature of constant power loads.
This document summarizes key concepts from a lecture on transformers, generators, loads, and power flow analysis in power systems:
1) It discusses load tap changing (LTC) transformers, which have tap ratios that can be varied to regulate voltages, phase shifting transformers which control phase angle to regulate power flow, and autotransformers which are lower cost but lack electrical isolation between voltage levels.
2) It introduces models for loads as constant power or constant impedance and generators as constant voltage or constant power sources.
3) It explains that power flow analysis is used to determine how power flows through a network and to calculate voltages and currents, using iterative techniques because the constant power load model is nonlinear.
1. The document describes an electric vehicle with a hybrid energy storage system consisting of an asynchronous machine, batteries, and supercapacitors.
2. An extended Kalman filter is used to estimate the state of the asynchronous machine, including rotor speed and stator currents.
3. A mathematical model of the asynchronous machine is presented and used to design the extended Kalman filter, with the goal of output feedback control of the electric vehicle.
My name is Spenser K. I am associated with mechanicalengineeringassignmenthelp.com for the past 12 years and have been helping the mechanical engineering students with their Microelectromechanical Assignment. I have a Ph.D. in Mechatronics Engineering from RMIT University Australia.
1. Final project
ECE 505-Applied Optimization for Engineers
Qiaoyu Zhang,A20331991
Weixiong Wang,A20332258
Background:
In the power market, both generators and loads will bid price, and different
generators and loads might bid for different price. According to the price that they bid,
we need to decide how many electricity can generator produce and how many loads
can be supply in order to maximize the societal surplus. In the meantime, we should
consider the limits in real power system. These limits include: limit of transmission
line, limit of generator and limit of load.
Statement of Objectives:
The optimization problem going to solve is about power market. As other kinds of
market, seller will bid a price for selling its produce. At the same time buyer will bid a
price that they can accept for buying the produce. Only when both the seller and buyer
agree the price, the deal can be done. And this price is called market clearing price. If
seller and buyer can’t reach the agreement, the seller have to keep his produces.
Design Procedure:
Now suppose that there is a three buses system including bus 1, bus 2 and bus 3.
Three buses are connected with each other with three transmission lines. Assume that
line1 (l1) is between bus 1 and bus 2. Line2 (l2) is connecting bus 2 and bus 3 and
line 3(l3) is between bus 3 and bus 1. Each of them has a maximize power flow limit
l1max, l2max and l3max. If power exceeds these limit, power system will become
unstable.
Figure 1
2. As showed in figure 1. There are two generator in this power system G1 and G2.
G1 is located at bus 1, and G2 is located at bus 2. The power generated by G1 is
called P1, and the power generated by G2 is called P2. What’s more, G1 and G2
has lower and upper limit because of the properties of generator. Generators can’t
generator too small power and can’t generate power that exceed its limit. For G1,
the limit is P1min and P1max and for G2, the limit is P2min and P2max.
Also, there are two load in the power system: L1 and L2. L1 is located at bus 3
and L2 is located at bus 2. In the realization, not all the load need to be supplied.
Some of the load can cut off for saving money. On the other hand, most of the
load have to be supplied. Then the lower limit of L1 is L1min and the upper limit
is L1max. The same as L2, we have L2min and L2max
Bus1 Bus2 Bus3
Generator G1 G2
Load L2 L1
When the power market is open, both generators and loads will bid prices.
Assume that G1 bid for price C1, G2 bid for price C2. And L1 bid for price B1,
and L2 bid for price B2. After biding price, we need to decide how much power
should be produce base on the objective function. In this case, we want to
maximize the societal surplus.
𝑠𝑜𝑐𝑖𝑒𝑡𝑎𝑙 𝑠𝑢𝑟𝑝𝑙𝑢𝑠 = (𝐿1 𝐵1 + 𝐿2 𝐵2) − (𝑃1 𝐶1 + 𝑃2 𝐶2)
What’s more, according to Kirchhoff’s Current Law (KCL), the total injection
should be equal to the total withdrawal. First, I assume that the power flow from
bus1 to bus 2 is f12, the power flow from bus2 to bus3 is f23, and the power flow
from bus3 to bus1 is f31. And then, we can get:
𝑏𝑢𝑠1: 𝑃1 + 𝑓31 = 𝑓12
𝑏𝑢𝑠2: 𝑃2 + 𝑓12 = 𝑓23 + 𝐿2
𝑏𝑢𝑠3: 𝑓23 = 𝐿1 + 𝑓31
Formulation:
As the definition of linear programming, the standard format is:
min
𝑥∈𝑅 𝑛
{𝑐 𝑇
𝑥|𝐴𝑥 = 𝑏, 𝐶𝑥 ≤ 𝑑}
We separate the situation into two different cases.
Case1:
In this case, we consider that every load is important, none of these load can be cut
off. It probably means that all the load is residential load or important industry load.
In this case, only generator can bid for the price.
(i)Variables:
First, we need to decide the variables for this problem. There are three kinds of
variables in this question: power of generators, loads and power flow. In this case, as
the load can’t be cut off, we can consider the load to be constant value. Therefore, the
variable should be:
3. 𝑥 =
[
𝑃1
𝑃2
𝑓12
𝑓23
𝑓31]
(ii). Objective function:
The objective of this problem is to maximize the societal surplus: (𝐿1 𝐵1 + 𝐿2 𝐵2) −
(𝑃1 𝐶1 + 𝑃2 𝐶2).
As the loads are constant in this case, maximizing the societal surplus equation should
become minimizing (𝑃1 𝐶1 + 𝑃2 𝐶2). And then, we can get the objective function:
𝑓(𝑥) = [𝐶1 𝐶2 0 0 0]
[
𝑃1
𝑃2
𝑓12
𝑓23
𝑓31]
(iii). Equality constraints:
The Equality constraints for this problem is the KCL equation for every bus:
𝑏𝑢𝑠1: 𝑃1 + 𝑓31 = 𝑓12
𝑏𝑢𝑠2: 𝑃2 + 𝑓12 = 𝑓23 + 𝐿2
𝑏𝑢𝑠3: 𝑓23 = 𝐿1 + 𝑓31
[
1 0 −1 0 1
0
0
1 1 −1 0
0 0 1 −1
]
[
𝑃1
𝑃2
𝑓12
𝑓23
𝑓31]
= [
0
𝐿2
𝐿1
]
Therefore, we can get:
𝐴 = [
1 0 −1 0 1
0
0
1 1 −1 0
0 0 1 −1
]
𝑏 = [
0
𝐿2
𝐿1
]
(iv). Inequality constraints:
As the loads are constant in this case, we only have generator and power flow limit.
And these limits are:
𝑃1𝑚𝑖𝑛 ≤ 𝑃1 ≤ 𝑃1𝑚𝑎𝑥
𝑃2𝑚𝑖𝑛 ≤ 𝑃2 ≤ 𝑃2𝑚𝑎𝑥
|𝑓12| ≤ 𝑙1𝑚𝑎𝑥
|𝑓23| ≤ 𝑙2𝑚𝑎𝑥
|𝑓31| ≤ 𝑙3𝑚𝑎𝑥
According this, we can get:
𝑃1 ≤ 𝑃1𝑚𝑎𝑥
𝑃2 ≤ 𝑃2𝑚𝑎𝑥
−𝑃1 ≤ −𝑃1𝑚𝑖𝑛
4. −𝑃2 ≤ −𝑃2𝑚𝑖𝑛
𝑓12 ≤ 𝑙1𝑚𝑎𝑥
𝑓23 ≤ 𝑙2𝑚𝑎𝑥
𝑓31 ≤ 𝑙3𝑚𝑎𝑥
−𝑓12 ≤ 𝑙1𝑚𝑎𝑥
−𝑓23 ≤ 𝑙2𝑚𝑎𝑥
−𝑓31 ≤ 𝑙3𝑚𝑎𝑥
Therefore, in the format of 𝐶𝑥 ≤ 𝑑, we can get:
C=
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1
-1 0 0 0 0
0 -1 0 0 0
0 0 -1 0 0
0 0 0 -1 0
0 0 0 0 -1
And
𝑑 =
[
𝑃1𝑚𝑎𝑥
𝑃2𝑚𝑎𝑥
𝑙1𝑚𝑎𝑥
𝑙2𝑚𝑎𝑥
𝑙3𝑚𝑎𝑥
−𝑃1𝑚𝑖𝑛
−𝑃2𝑚𝑖𝑛
𝑙1𝑚𝑎𝑥
𝑙2𝑚𝑎𝑥
𝑙3𝑚𝑎𝑥 ]
Case 2:
In this case, some of the load can be cut off. It means that both loads and generator
can bid for price, and loads can determine not to accept the electricity for the purpose
of saving money. In this case, some load might be less important than others and they
can using electricity at other time when the electricity price is lower. Also, people can
use computer program to bid the price automatically and let computer to decide
whether to use electricity or not. This is a new trend of power system called smart
grid.
(i)Variables:
We need to consider load as variables too, as load can change and not be decided yet.
Therefore the variables for this case is:
5. 𝑥 =
[
𝑃1
𝑃2
𝐿1
𝐿2
𝑓12
𝑓23
𝑓31]
(ii). Objective function:
The objective of this problem is to maximize the societal surplus: (𝐿1 𝐵1 + 𝐿2 𝐵2) −
(𝑃1 𝐶1 + 𝑃2 𝐶2).
As the loads in this case is not a constant but a variables in this case, we should
consider loads to be included in the objective function. And maximizing the (𝐿1 𝐵1 +
𝐿2 𝐵2) − (𝑃1 𝐶1 + 𝑃2 𝐶2) means minimizing (𝑃1 𝐶1 + 𝑃2 𝐶2) − (𝐿1 𝐵1 + 𝐿2 𝐵2). We can
get the objective function:
𝑓(𝑥) = [𝐶1 𝐶2 −𝐵1 −𝐵2 0 0 0]
[
𝑃1
𝑃2
𝐿1
𝐿2
𝑓12
𝑓23
𝑓31]
(iii). Equality constraints:
According to the KCL, the equation of equality constraints should be same as before:
𝑏𝑢𝑠1: 𝑃1 + 𝑓31 = 𝑓12
𝑏𝑢𝑠2: 𝑃2 + 𝑓12 = 𝑓23 + 𝐿2
𝑏𝑢𝑠3: 𝑓23 = 𝐿1 + 𝑓31
However, the loads in this case are no longer constants. Therefore, we need to adjust
the equation when writing in the standard format.
[
1 0 0 0 −1 0 1
0 1 0 −1 1 −1 0
0 0 −1 0 0 1 −1
]
[
𝑃1
𝑃2
𝐿1
𝐿2
𝑓12
𝑓23
𝑓31]
= 0
In this case,
𝐴 = [
1 0 0 0 −1 0 1
0 1 0 −1 1 −1 0
0 0 −1 0 0 1 −1
]
𝑏 = 0
(iv). Inequality constraints:
As loads are not constant in this case, we need to consider the limit of loads too.
Thought some of the loads can be cut off to save money, not all the loads can be cut
off. There are still large amount of loads need to have power supply all the time. Also,
6. not all the residential user of industry are willing to join the market. Therefore, the
loads should only change between the lower limit Lmin and upper limit Lmax.
Then we can get the inequality constraints:
𝑃1𝑚𝑖𝑛 ≤ 𝑃1 ≤ 𝑃1𝑚𝑎𝑥
𝑃2𝑚𝑖𝑛 ≤ 𝑃2 ≤ 𝑃2𝑚𝑎𝑥
𝐿1𝑚𝑖𝑛 ≤ 𝐿1 ≤ 𝐿1𝑚𝑎𝑥
𝐿2𝑚𝑖𝑛 ≤ 𝐿2 ≤ 𝐿2𝑚𝑎𝑥
|𝑓12| ≤ 𝑙1𝑚𝑎𝑥
|𝑓23| ≤ 𝑙2𝑚𝑎𝑥
|𝑓31| ≤ 𝑙3𝑚𝑎𝑥
According this, we can get:
𝑃1 ≤ 𝑃1𝑚𝑎𝑥
𝑃2 ≤ 𝑃2𝑚𝑎𝑥
−𝑃1 ≤ −𝑃1𝑚𝑖𝑛
−𝑃2 ≤ −𝑃2𝑚𝑖𝑛
𝐿1 ≤ 𝐿1𝑚𝑎𝑥
𝐿2 ≤ 𝐿2𝑚𝑎𝑥
−𝐿1 ≤ −𝐿1𝑚𝑖𝑛
−𝐿2 ≤ −𝐿2𝑚𝑖𝑛
𝑓12 ≤ 𝑙1𝑚𝑎𝑥
𝑓23 ≤ 𝑙2𝑚𝑎𝑥
𝑓31 ≤ 𝑙3𝑚𝑎𝑥
−𝑓12 ≤ 𝑙1𝑚𝑎𝑥
−𝑓23 ≤ 𝑙2𝑚𝑎𝑥
−𝑓31 ≤ 𝑙3𝑚𝑎𝑥
Therefore, in the format of 𝐶𝑥 ≤ 𝑑, we can get:
C=
1 0 0 0 0 0 0
0 1 0 0 0 0 0
0 0 1 0 0 0 0
0 0 0 1 0 0 0
0 0 0 0 1 0 0
0 0 0 0 0 1 0
0 0 0 0 0 0 1
-1 0 0 0 0 0 0
0 -1 0 0 0 0 0
0 0 -1 0 0 0 0
0 0 0 -1 0 0 0
0 0 0 0 -1 0 0
0 0 0 0 0 -1 0
0 0 0 0 0 0 -1
And
7. 𝑑 =
[
𝑃1𝑚𝑎𝑥
𝑃2𝑚𝑎𝑥
𝐿1𝑚𝑎𝑥
𝐿2𝑚𝑎𝑥
𝑙1𝑚𝑎𝑥
𝑙2𝑚𝑎𝑥
𝑙3𝑚𝑎𝑥
−𝑃1𝑚𝑖𝑛
−𝑃2𝑚𝑖𝑛
−𝐿1𝑚𝑖𝑛
−𝐿2𝑚𝑖𝑛
𝑙1𝑚𝑎𝑥
𝑙2𝑚𝑎𝑥
𝑙3𝑚𝑎𝑥 ]
Design Results:
Case 1
For case1, I set up a small instant:
The bidding price of generator is:
MWhC
MWhC
/$14
/$10
2
1
The limits of power generated by generators are:
MWPMW
MWPMW
10040
20030
2
1
The loads need to be supplied are:
𝐿1 = 150𝑀𝑊
𝐿2 = 60𝑀𝑊
The power flow limits are:
MWf
MWf
MWf
140
150
40
31
23
12
Then we can get:
31
23
12
2
1
]0001410[)(
f
f
f
P
P
xf
And
9. MWf
MWf
MWf
MWP
MWP
3554.135
6446.14
6446.34
0000.40
0000.170
31
23
12
2
1
Form this result, G1 is the power provider,we can see that G1 generate power much
more than lower limit. The reason is the biding price C1 of G1 is lower than the price
C2 for G2. We want the G1 generate as much power as possible. And f31 is negative
value so the the power flow should from bus1 to bus3.
The minimum of generator cost is 2260$/h. In order to compare with case 2, I set the
price of loads the same as case 2:
𝐵1 = 9$/𝑀𝑊ℎ
𝐵2 = 17$/𝑀𝑊ℎ
Then we can get the maximum 𝑠𝑜𝑐𝑖𝑒𝑡𝑎𝑙 𝑠𝑢𝑟𝑝𝑙𝑢𝑠 = (9 × 150 + 17 × 60) − 2260 =
110$/ℎ
Case 2
For case2, I set up a small instant:
The bidding price of generator is:
𝐶1 = 10$/𝑀𝑊ℎ
𝐶2 = 14$/𝑀𝑊ℎ
The bidding price of loads are:
𝐵1 = 9$/𝑀𝑊ℎ
𝐵2 = 17$/𝑀𝑊ℎ
The limits of power generated by generators are:
30𝑀𝑊 ≤ 𝑃1 ≤ 200𝑀𝑊
40𝑀𝑊 ≤ 𝑃2 ≤ 100𝑀𝑊
The limits of load are:
130𝑀𝑊 ≤ 𝐿1 ≤ 150𝑀𝑊
40𝑀𝑊 ≤ 𝐿2 ≤ 60𝑀𝑊
The power flow limits are:
|𝑓12| ≤ 40𝑀𝑊
|𝑓23| ≤ 150𝑀𝑊
|𝑓31| ≤ 140 𝑀𝑊
Then we can get:
𝑓(𝑥) = [10 14 −9 −17 0 0 0]
[
𝑃1
𝑃2
𝐿1
𝐿2
𝑓12
𝑓23
𝑓31]
And
10. 𝑑 =
[
200
100
150
60
40
150
140
−30
−40
−130
−40
40
150
140 ]
Substitute c, A, b, C and d matrix into the linprog function in matlab. We can get:
Optimization terminated.
X =
150.0000
40.0000
130.0000
60.0000
27.7910
7.7910
-122.2090
FVAL =
-130.0000
EXITFLAG =
1
OUTPUT =
iterations: 6
algorithm: 'interior-point'
cgiterations: 0
message: [1x24 char]
constrviolation: 8.6686e-12
firstorderopt: 1.1841e-08
11. This result means:
𝑃1 = 150.0000MW
𝑃2 = 40.0000MW
𝐿1 = 130.0000MW
𝐿2 = 60.0000MW
𝑓12 = 27.7910MW
𝑓23 = 7.7910MW
𝑓31 = −122.2090MW
Form this result, we can see that G1 generate power much more than lower limit. The
reason is the biding price C1 of G1 is lower than the price C2 for G2. We want the G1
generate as much power as possible. However, we can see that the lower limit of P2
force G1 to operate under 200MW. As G2 is bidding for a higher price, it can only
operate at it lower limit. And we can see that L2 is bidding for high price, so all of its
load can be supplied. For L1, it operate at the lower limit because it is bidding for a
lower price. We can see that all the variable is within the limit, and the limit of P2 and
L2 is activate.
The maximum of societal surplus is 140$/h.
Conclusion:
Form these two cases, we can see that the results are different. The reason is we can
cut of some low price load to reduce the total power demand. In this way we can
reduce the usage of generator to save more money. Therefore the societal surplus in
case 2 have 20$/h more than case1. Form this two case, we can see that changing the
limit and variables can change the result of optimization problem.
Appendix
Matalb code for case 1:
A = [1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1
-1 0 0 0 0
0 -1 0 0 0
0 0 -1 0 0
0 0 0 -1 0
0 0 0 0 -1];
b = [200 100 40 150 140 -30 -40 40 150 140];
Aeq = [1 0 -1 0 1
0 1 1 -1 0
0 0 0 1 -1];
beq = [0 60 150];