fm_sssc.m

来自「这是一个很适合研究和学习用的电力系统仿真软件」· M 代码 · 共 50 行

M
50
字号
function fm_sssc(flag)
% FM_SSSC define Static Synchronous Series Compensators - SSSC
%
% FM_SSSC(FLAG)
%       FLAG = 1 algebraic equations
%       FLAG = 2 algebraic Jacobians
%       FLAG = 3 differential equations
%       FLAG = 4 state matrix
%       FLAG = 5 non-windup limits
%
%Author:    Hugo M. Ayres (revised by Federico Milano)
%Date:      18-Feb-2006
%Version:   1.0.0
%
%E-mail:    hmayres@dsce.fee.unicamp.br
%E-mail:    fmilano@thunderbox.uwaterloo.ca
%Web-site:  http://thunderbox.uwaterloo.ca/~fmilano
%
% Copyright (C) 2006 Hugo M. Ayres & Federico Milano

global Sssc

switch flag

 case 0

  Sssc = setx0(Sssc);
  
 case 1 % algebraic equations
   
  gcall(Sssc)
  
 case 2 % Jacobians of active & reactive powers
     
  Gycall(Sssc)
 
 case 3 % differential equations

  fcall(Sssc)

 case 4 % Jacobians of state variables
 
  Fxcall(Sssc)
  
 case 5 % non-windup limiters

  windup(Sssc)

end  

⌨️ 快捷键说明

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