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

📄 bdmatrix.m

📁 电力系统分析计算程序
💻 M
字号:
function bdmatrix(a)global LA DAE LA.b_tcsc = [];  LA.d_tcsc = [];  if ~a.n  fm_disp('* * * No TCSC device found')  returnendix = find(a.con(:,3) == 1); % index - operation mode x constantip = find(a.con(:,3) == 2); % index - operation mode P constantFu = sparse(DAE.n,a.n);Gu = sparse(a.x0(ix),ix,a.u(ix),DAE.m,a.n) + ...    sparse(a.pref(ip),ip,a.u(ip),DAE.m,a.n);% B & D matrix for TCSC referencesLA.d_tcsc = -full(DAE.Gy\Gu);LA.b_tcsc = full(Fu + DAE.Fy*LA.d_tcsc);  

⌨️ 快捷键说明

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