代码搜索结果

找到约 10,000 项符合 CAN Bus 的代码

fm_pareto.m

function fm_pareto % FM_PARETO determine a Pareto set of the multi-objective % OPF Problem % % FM_PARETO % %see also OPF structure % %Author: Federico Milano %Date: 11-Nov-2

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 %

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

fm_hvdc.m

function fm_hvdc(flag) % FM_HVDC define HVDC transmission system % % FM_HVDC(FLAG) % FLAG = 0 initialization % FLAG = 1 algebraic equations % FLAG = 2 algebraic Jacobians %

pvlim.m

function [qmax,qmin] = pvlim(a,q) global Bus if ~a.n qmax = []; qmin = []; return end qmax = find(Bus.Qg(a.bus) > a.con(:,6)); qmin = find(Bus.Qg(a.bus) < a.con(:,7));

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] %

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

rmpqgen.m

function rmpqgen(a) global Bus if ~a.n, return, end idx = find(a.gen); if isempty(idx), return, end Bus.Pl(a.bus(idx)) = Bus.Pl(a.bus(idx)) - a.P0(idx); Bus.Ql(a.bus(idx)) = Bus.Ql(a.b

addpqgen.m

function addpqgen(a) global Bus if ~a.n, return, end idx = find(a.gen); if isempty(idx), return, end Bus.Pg(a.bus(idx)) = Bus.Pg(a.bus(idx)) - a.P0(idx); Bus.Qg(a.bus(idx)) = Bus.Qg(a.

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