Linear programming for economic dispatch

Hi guys, i have this two generator equations and i want to use LINPROG to find the optimal power genion for each unit and get the lambda value given an equality constraint of p1+p2=220MW.
clc; clear all; close all;
load=220;
f=[0.2 3 0.175 3];erat
aeq=[1 1 1 1];
beq=load;
%lb=[0 0]
%ub=[500 0]
[x,fval]=linprog(f,[],[],aeq,beq,[],[])
This is what i have tried but its not working.
Thanks

Answers (2)

Hello Divyesh,
Use Quadprog instead of linear Prog.
is the objective function convert it to form where , to find with respect to . Similiary do the same of .
  1. Incremental cost of two power plant units with minimum and maximum power generation between 30MW to 300MW are as follows:
  • Find the economic power dispatch between these units at load 500MW.
  • Verify your answers using matlab. Show the code and the results.

Categories

Asked:

on 4 Oct 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!