电力系统稳态实验报告(10)

时间:2025-04-27

deta_U=zeros(3,1); pis=[-1.6; -2 ;-3.7; 5]; qis=[-0.8; -1; -1.3]; deta_p=zeros(4,1); deta_q=zeros(3,1); while (kp==0||kq==0) p=zeros(4,1); for i=1:4 for j=1:5

p(i)=p(i)+U(i)*U(j)*(G(i,j)*cos(theta(i)-theta(j))+B(i,j)*sin(theta(i)-theta(j))); end

deta_p(i)=pis(i)-p(i); end for i=1:4

deta_p(i)=deta_p(i)/U(i); end

deta_theta=-inv(B1)*deta_p; for i=1:4

deta_theta(i)=deta_theta(i)/U(i); theta(i)=theta(i)+deta_theta(i); end

eps_theta=max(max(abs(deta_theta)),max(abs(deta_p))); if eps_theta<eps1 kp=1; else

kp=0; end

q=zeros(3,1); for i=1:3 for j=1:5

q(i)=q(i)+U(i)*U(j)*(G(i,j)*sin(theta(i)-theta(j))-B(i,j)*cos(theta(i)-theta(j))); end

deta_q(i)=qis(i)-q(i); end for i=1:3

deta_q(i)=deta_q(i)/U(i); end

deta_U=-inv(B2)*deta_q; for i=1:3

U(i)=U(i)+deta_U(i); end

eps_U=max(max(abs(deta_U)),max(abs(deta_q))); if eps_U<eps1 kq=1;

电力系统稳态实验报告(10).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219