Solving optimization using linear programming
Show older comments
Objective function:

The objective function of the applied energy model for minimising annual costs is presented and comprises all hours of a year using the abbreviations: generation and storage technologies (t, tech), capital expenditures for technology t (CAPEXt), capital recovery factor for technology t (crft), fixed operational expenditures for technology t (OPEXfixt), variable operational expenditures technology t (OPEXvart), installed capacity of technology t (instCapt), annual generation by technology t (Egen,t), retail price of electricity (elCost), feed-in price of electricity (elFeedIn), annual amount of electricity required from the grid (?????), annual amount of electricity fed-in to the grid (?????).
Energy Balance Constraint:

Constraint describes constraints for the energy flows of a sub-region. Abbreviations: hours (h), technology (t), all modelled power generation technologies (tech), sub-region (r), all sub-regions (reg), electricity generation (Egen), electricity import (Eimp), storage technologies (stor), electricity from discharging storage (Estor,disch), electricity demand (Edemand), electricity exported (Eexp), electricity for charging storage (Estor,ch), electricity consumed by other sectors (Heat, Transport, Desalination, Industrial fuels production, CO2 removal) (Eother), curtailed excess energy (Ecurt). The energy loss in the high voltage direct current (HVDC) and alternating current (HVAC) transmission grids and energy storage technologies are considered in storage discharge and grid import value calculations.
Objective function is calculated by yearly but main constraint is calculated for each hour. I tried to linprog and intlinprog, but the solution is infeasible.
Could you recommend another Optimization Algorithms to solve this problem?
I think i could not use comportable algorithm.
How to write specific code to solve this problem?
Also i confused how to connect hourly contraints with yearly objective function.
Answers (0)
Categories
Find more on Energy Production in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!