代码搜索结果
找到约 10,000 项符合
0 的代码
setx0.m
function a = setx0(a)
global Syn Bus DAE PV
if ~a.n, return, end
V = DAE.y(a.vbus);
Kr = a.con(:,5);
Tr = a.con(:,6);
ist_max = a.u.*a.con(:,7);
ist_min = a.u.*a.con(:,8);
% eliminate PV component
setx0.m
function a = setx0(a)
global Bus DAE
if ~a.n, return, end
Sn = a.con(:,2);
Vn = a.con(:,3);
Vb = DAE.y(a.vbus);
KH2 = a.con(:,6);
Kr = a.con(:,7);
KH2O = a.con(:,9);
KO2 = a.con(:,11);
rHO = a.con(
setx0.m
function a = setx0(a)
global Bus DAE PV Syn
if ~a.n, return, end
V = DAE.y(a.vbus);
% eliminate PV components used for initializing SVC's
for i = 1:a.n
idxg = findbus(Syn,a.bus(i));
if ~isempt
setx0.m
function a = setx0(a)
global DAE Line
if ~a.n, return, end
ty3 = a.con(:,2) == 3;
typwr = a.con(:,10) == 1;
tyang = a.con(:,10) == 2;
kp = a.Cp./(1-a.Cp);
DAE.x(a.vcs) = a.u.*kp.*ssscden(a);
idx3
endp0.c
#include "function.h"
#include
#include "global.h"
/******************************************/
//函数入口表//函数入口表//函数入口表
code void (* StandardDeviceRequest[])()=
{
Get_Status,
Cle
setx0.m
function a = setx0(a)
global DAE
if ~a.n, return, end
type = a.con(:,2);
ty1 = find(type == 1);
tya = find(type > 1);
tyb = find(type > 3);
VSI = zeros(a.n,1);
SIw = find(a.con(:,3) == 1);
SIp = f
setx0.m
function a = setx0(a)
if ~a.n, return, end
global PQ DAE Bus
V = DAE.y(a.vbus);
i = find(a.con(:,8));
for j = 1:length(i)
k = i(j);
idx = findbus(PQ,a.bus(k));
if isempty(idx),
fm_disp([
setx0.m
function a = setx0(a)
global DAE
if ~a.n, return, end
DAE.x(a.vm) = a.u.*DAE.y(a.vbus);
DAE.x(a.thetam) = a.u.*DAE.y(a.bus);
idx = find(a.con(:,4) == 0);
if ~isempty(idx)
warn(a,idx, [' Time con
setx0.m
function a = setx0(a)
global DAE Settings
if ~a.n, return, end
% initialize average wind speed
a.vwa = DAE.x(a.vw);
DAE.y(a.ws) = DAE.x(a.vw);
for i = 1:a.n
t0 = Settings.t0;
tf = Settings.tf;
setx0.m
function a = setx0(a)
global Bus DAE Settings Wind
if ~a.n, return, end
check = 1;
rho = getrho(Wind,a.wind);
Kv = a.con(:,13);
rs = a.con(:,6);
xd = a.con(:,7);
xq = a.con(:,8);
psip = a.con(:,9)