⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idx_energy.m

📁 可进行电力系统多节点系统的优化潮流计算
💻 M
字号:
function  [ BUS_I, PD, QD, GS, BS, VM,VA, VMAX, VMIN, Pg, Qg] = idx_energy
%% define the indices
BUS_I       = 1;    %% bus number (1 to 29997)
PD          = 2;    %% Pd, real power demand (MW)
QD          = 3;    %% Qd, reactive power demand (MVAr)
GS          = 4;    %% Gs, shunt conductance (MW at V = 1.0 p.u.)
BS          = 5;    %% Bs, shunt susceptance (MVAr at V = 1.0 p.u.)
VM          = 6;    %% Vm, voltage magnitude (p.u.)
VA          = 7;    %% Va, voltage angle (degrees)
VMAX        = 8;    %% maxVm, maximum voltage magnitude (p.u.)      (not in PTI format)
VMIN        = 9;    %% minVm, minimum voltage magnitude (p.u.)      (not in PTI format)
Pg          =10;    %% generator real inject             (MW)
Qg          =11;    %% generator reactive inject         (MVAr)
%% included in opf solution, not necessarily in input
return;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -