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

📄 ac_phase_controller.m

📁 电力系统书本的范例 想学好电力系统很有帮助 欢迎大家来下载
💻 M
字号:
function volts = ac_phase_controller(wt,deg)
% Function to simulate the output of the positive half 
% cycle of an ac phase angle controller with a peak 
% voltage of 120 * SQRT(2) = 170 V.
%   wt  = Phase in radians (=omega x time)
%   deg = Firing angle in degrees

% Degrees to radians conversion factor
deg2rad = pi / 180;

% Simulate the output of the phase angle controller.
if wt > deg * deg2rad;
   volts = 170 * sin(wt);
else
   volts = 0;
end

⌨️ 快捷键说明

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