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

📄 fxcall.m

📁 电力系统分析计算程序
💻 M
字号:
function Fxcall(a)global DAE Settingsif ~a.n, return, endV = DAE.y(a.vbus);P0 = a.u.*a.con(:,2);Q0 = a.u.*a.con(:,5);ap = a.con(:,3);aq = a.con(:,6);bp = a.con(:,4);bq = a.con(:,7);DAE.Fx = DAE.Fx + sparse(a.x,a.x,-a.u./a.con(:,8),DAE.n,DAE.n);DAE.Fy = DAE.Fy + sparse(a.x,a.bus,-a.u./a.con(:,8)./ ...                         a.con(:,8)/(2*pi*Settings.freq),DAE.n,DAE.m);DAE.Gx = DAE.Gx + sparse(a.bus,a.x,P0.*V.^ap.*bp.* ...                         (1+a.Dw).^(bp-1),DAE.m,DAE.n);DAE.Gx = DAE.Gx + sparse(a.vbus,a.x,Q0.*V.^aq.*bq.* ...                         (1+a.Dw).^(bq-1),DAE.m,DAE.n);

⌨️ 快捷键说明

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