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

📄 gycall.m

📁 用于电力系统的一个很好的分析软件
💻 M
字号:
function Gycall(a)global DAEif ~a.n, return, endid = a.u.*DAE.x(a.Id);iq = a.u.*DAE.x(a.Iq);V = DAE.y(a.vbus);theta = DAE.y(a.bus);delta = DAE.x(a.delta);cdt = cos(delta-theta);sdt = sin(delta-theta);DAE.Gy = DAE.Gy + sparse(a.bus,a.bus,V.*cdt.*id-V.*sdt.*iq,DAE.m,DAE.m);DAE.Gy = DAE.Gy - sparse(a.bus,a.vbus,sdt.*id+cdt.*iq,DAE.m,DAE.m);DAE.Gy = DAE.Gy - sparse(a.vbus,a.bus,V.*sdt.*id+V.*cdt.*iq,DAE.m,DAE.m);DAE.Gy = DAE.Gy + sparse(a.vbus,a.vbus,sdt.*iq-cdt.*id,DAE.m,DAE.m);

⌨️ 快捷键说明

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