Thermoelectric optimization of an integrated energy system considering a stepped carbon trading mechanism and hydrogen production from electricity

manual

Related code resources: three-objective microgrid scheduling, including economic scheduling, environment-friendly scheduling, and optimal scheduling

20 hyperlatin cubic sampling matlab-latin-sampling

Using intelligent algorithms to optimally dispatch distributed power in microgrids to achieve stable operation of distribution networks

Smart Microgrid PSO Optimization Algorithm

MATLAB code: thermoelectric optimization of an integrated energy system considering a stepped carbon trading mechanism and hydrogen production from electricity

Key words: carbon trading electricity hydrogen production ladder carbon trading integrated energy system thermoelectric optimization

Reference document: "Comprehensive Energy System Thermoelectric Optimization Considering Ladder Carbon Trading Mechanism and Electric Hydrogen Production" basically reproduced

Simulation platform: MATLAB+CPLEX

Main content: The main content of the code is a study on the optimal scheduling of the electric heating integrated energy system considering the step-by-step carbon trading mechanism, considering the participation of the integrated energy system in the carbon trading market, introducing a step-by-step carbon trading mechanism to guide IES to control carbon emissions, and then refining the power conversion In the two-stage operation process of gas (P2G), electrolyzers, methane reactors, and hydrogen fuel cells (HFC) are introduced to replace traditional P2G, and the multi-faceted benefits of hydrogen energy are studied; finally, cogeneration with adjustable heat-to-electricity ratio and HFC operation are proposed strategies to further improve the low-carbon and economic performance of IES. The objective function is to minimize the energy purchase cost, carbon emission cost, and wind curtailment cost, transform the original problem into a mixed integer linear problem, and use the CPLEX commercial solver to solve it.

Achievement effect: the details are as follows

%% [Reproduced] Thermoelectric Optimization of Integrated Energy System Considering Ladder Carbon Trading Mechanism and Electric Hydrogen Production
% Electric Power Automation Equipment, 41(09)

clc
clear
close all

%% Decision variable initialization
P_CHP_e=sdpvar(1,24); %CHP output electric power
P_CHP_h=sdpvar(1,24); %CHP output heat power
P_g_CHP=sdpvar(1,24); %CHP natural gas power consumption
P_e_EL= sdpvar(1,24); % EL equipment power consumption
P_EL_H=sdpvar(1,24); % EL electrolyzer hydrogen production power
P_H_MR=sdpvar(1,24); % input hydrogen energy power of MR equipment
P_MR_g= sdpvar(1,24); % Natural gas power output by MR equipment
P_H_HFC=sdpvar(1,24); % Hydrogen power input to HFC equipment
P_HFC_e=sdpvar(1,24); % Electric power output by HFC equipment 
P_HFC_h=sdpvar( 1,24); %Heat power output by HFC equipment
P_DG=sdpvar(1,24); %Wind power consumption power
P_g_GB=sdpvar(1,24); %Natural gas power input into GB equipment
P_GB_h=sdpvar(1,24) ; %GB equipment output thermal power
% energy storage part (electricity ES1, heat ES2, gas ES3, hydrogen ES4)
P_ES1_cha=sdpvar(1,24);P_ES2_cha=sdpvar(1,24);P_ES3_cha=sdpvar(1,24 );P_ES4_cha=sdpvar(1,24); % charge and discharge power
P_ES1_dis=sdpvar(1,24);P_ES2_dis=sdpvar(1,24);P_ES3_dis=sdpvar(1,24);P_ES4_dis=sdpvar(1,24);S_1=sdpvar(1,24);S_2=sdpvar(
1 ,24);S_3=sdpvar(1,24);S_4=sdpvar(1,24); %The real-time capacity status of each energy storage

Guess you like

Origin blog.csdn.net/qq_50594161/article/details/129971998