function H = makePTDF(baseMVA, bus, branch, slack) %MAKEPTDFDC Builds the DC PTDF matrix for a given choice of slack. % H = ma…
NB 源代码
铌(Nb)作为一种重要的稀有金属,在电子技术领域展现出了卓越的性能,特别是在高温合金、超导材料及电子元件中应用广泛。其优异的热稳定性与抗腐蚀性使其成为制造高性能电容器、传感器等关键部件的理想选择。探索我们的93个精选Nb资源,深入了解铌在微电子、航空航天等尖端科技中的独特优势及其…
function [x, success] = LPeqslvr(x, baseMVA, bus, gen, gencost, branch, Ybus, Yf, Yt, V, ref, pv, pq, mpopt); % MATPOWER % $I…
function [V, converged, i] = state_est(branch, Ybus, Yf, Yt, Sbus, V0, ref, pv, pq, mpopt) %STATE_EST Solves a state estimation p…
function [dSf_dVa, dSf_dVm, dSt_dVa, dSt_dVm, Sf, St] = dSbr_dV(branch, Yf, Yt, V) %DSBR_DV Computes partial derivatives of powe…
function t_makePTDF(quiet) %T_MAKEPTDF Tests for makePTDF(). % MATPOWER % $Id: t_makePTDF.m,v 1.2 2006/09/14 19:11:15 ray Ex…
function t_jacobian(quiet) %T_JACOBIAN Numerical tests of partial derivative code. % MATPOWER % $Id: t_jacobian.m,v 1.3 2005…
function [dSf_dVa, dSf_dVm, dSt_dVa, dSt_dVm, Sf, St] = dSbr_dV(branch, Yf, Yt, V) %DSBR_DV Computes partial derivatives of powe…
#include "lfsr.h" void lfsr(int* register_content, int n) { int k; int* register_buf; /* DEBUG */ fprintf(stderr,"lfsr:…
function M = dmult(A,B) %DMULT DMULT(A,B) is the product of diag(A) and B [mb,nb] = size(B); M=(A*ones(1,nb)).*B;
function [C,B,A] = sdir2cas(b,a); % s平面中直接型到级联型的型式转换(复数对型) % ------------------------------------------------- % [C,B,A] = sdir…