代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/263516/11359229
m fm_ssr.m
function fm_ssr(flag)
% FM_SSR Model of the synchronous machine with shaft dynamics and compensated line
%
% FM_SSR(FLAG)
% FLAG = 0 initializations
% FLAG = 1 algebraic equations
%
www.eeworm.com/read/263516/11359282
m fm_mn.m
function fm_mn(flag)
% FM_MN defines Monomial Loads
%
% FM_MN(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
%
%Author: Fede
www.eeworm.com/read/263516/11359453
m fxcall.m
function Fxcall(p)
global DAE
if ~p.n, return, end
if p.ty1
tin = p.dat1(:,16);
u = tin < p.con(p.ty1,5) & tin > p.con(p.ty1,6); % windup limiter
DAE.Fx = DAE.Fx - sparse(p.dat1(:,1)
www.eeworm.com/read/263516/11359493
m fm_phs.m
function fm_phs(flag)
%FM_PHS defines Phase Shifting Transformer
%
%Data Format Phs.con:
% col #1: Bus 1 number
% col #2: Bus 2 number
% col #3: Power rate [MVA]
%
www.eeworm.com/read/263516/11359503
m fm_exload.m
function fm_exload(flag)
% FM_EXLOAD defines exponential recovery load
%
% FM_EXLOAD(FLAG)
% FLAG = 0 -> initialization
% FLAG = 1 -> algebraic equations
% FLAG = 2 -> algebra
www.eeworm.com/read/263516/11359525
m pqshunt.m
function y = pqshunt(a)
global DAE Settings Shunt Bus
y = sparse(Bus.n,Bus.n);
if ~Settings.pq2z | Settings.init > 1, return, end
if ~a.n, return, end
idx = find(a.gen == 0);
if isem
www.eeworm.com/read/263516/11359561
m fm_pod.m
function fm_pod(flag)
% FM_POD defines a Supplementary Stabilizing Control Loop for SVCs
%
% FM_POD(FLAG)
% FLAG = 0 initialization
% FLAG = 3 differential equations
% FLAG =
www.eeworm.com/read/263516/11359567
m fxcall.m
function Fxcall(a)
global DAE Bus Settings
if ~a.n, return, end
V = DAE.V(a.bus);
P0 = a.con(:,2);
Q0 = a.con(:,5);
ap = a.con(:,3);
aq = a.con(:,6);
bp = a.con(:,4);
bq = a.con(:,7);
www.eeworm.com/read/263516/11359570
m gcall.m
function gcall(a)
global Bus DAE
if ~a.n, return, end
V = DAE.V(a.bus);
Dw = domega(a);
DAE.gp = DAE.gp + sparse(a.bus,1,a.con(:,2).*(V.^a.con(:,3)).* ...
(1+Dw)
www.eeworm.com/read/263516/11359610
m fm_sofc.m
function fm_sofc(flag)
% FM_SOFC define Solyd Oxyde Fuel Cells
%
% FM_SOFC(FLAG)
% FLAG = 0 -> initialization
% FLAG = 1 -> algebraic equations
% FLAG = 2 -> algebraic Jacobia