⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fm_statcom.m

📁 这是一个很适合研究和学习用的电力系统仿真软件
💻 M
字号:
function  fm_statcom(flag)
% FM_STATCOM defines Statcom components
%
% FM_STATCOM(FLAG)
%       FLAG = 0 initialization
%       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 Statcom 

switch flag
 case 0

  Statcom = setx0(Statcom);

 case 1 % algebraic equations

  gcall(Statcom)

 case 2 % algebraic Jacobians

  Gycall(Statcom)

 case 3 % differential equations

  fcall(Statcom)

 case 4 % Jacobians of state variables

  Fxcall(Statcom)
  
 case 5 % non-windup limiters

  windup(Statcom)

end  

⌨️ 快捷键说明

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