资源简介
matlab中5节点潮流计算,就是华中科技大学何仰赞版电力系统分析的例题
代码片段和文件信息
X=[00011]‘;
F=zeros(51);
J=zeros(55);
Y=[1.0421 - 8.2429i -0.5882 + 2.3529i 0 + 3.6667i -0.4539 + 1.8911i;
-0.5882 + 2.3529i 1.0690 - 4.7274i 0 -0.4808 + 2.4038i;
0 + 3.6667i 0 0 - 3.3333i 0 ;
-0.4539 + 1.8911i -0.4808 + 2.4038i 0 0.9346 - 4.2616i;];
for k=1:10
d1=X(1);d2=X(2);d3=X(3);
V1=X(4);V2=X(5);
F(1)=-0.30-V1*(V1*(real(Y(11))*cos(0)+imag(Y(11))*sin(0))+V2*(real(Y(12))*cos(d1-d2)+imag(Y(12))*sin(d1-d2))+1.1*real(Y(13))*cos(d1-d3)+1.1*imag(Y(13))*sin(d1-d3)+1.05*real(Y(14))*cos(d1)+1.05*imag(Y(14))*sin(d1));
F(2)=-0.55-V2*(V1*(real(Y(12))*cos(d2-d1)+imag(Y(12))*sin(d2-d1))+V2*(real(Y(22))*cos(0)+imag(Y(22))*sin(0))+1.1*real(Y(23))*cos(d2-d3)+1.1*imag(Y(23))*sin(d2-d3)+1.05*real(Y(24))*cos(d2)+1.05*imag(Y(24))*sin(d2));
F(3)=0.5-1.1*(V1*(real(Y(13))*cos(d3-d1)+imag(Y(13))*sin(d3-d1))+V2*(real(Y(23))*cos(d3-d2)+imag(Y(23))*sin(d3-d2))+1.1*real(Y(33))*cos(0)+1.1*imag(Y(33))*sin(0)+1.05*real(Y(34))*cos(d3)+1.05*imag(Y(34))*sin(d3));
F(4)=-0.18-V1*(V1*(real(Y(11))*sin(0)-imag(Y(11))*cos(0))+V2*(real(Y(12))*sin(d1-d2)-imag(Y(12))*cos(d1-d2))+1.1*real(Y(13))*sin(d1-d3)-1.1*imag(Y(13))*cos(d1-d3)+1.05*real(Y(14))*sin(d1)-1.05*imag(Y(14))*cos(d1));
F(5)=-0.13-V2*(V1*(real(Y(12))*sin(d2-d1)-imag(Y(12))*cos(d2-d1))+V2*(real(Y(22))*sin(0)-imag(Y(22))*cos(0))+1.1*real(Y(23))*sin(d2-d3)-1.1*imag(Y(23))*cos(d2-d3)+1.05*real(Y(24))*sin(d2)-1.05*imag(Y(24))*cos(d2));
J(11)=V1^2*imag(Y(11))+V1*(V1*(real(Y(11))*sin(0)-imag(Y(11))*cos(0))+V2*(real(Y(12))*sin(d1-d2)-imag(Y(12))*cos(d1-d2))+1.1*real(Y(13))*sin(d1-d3)-1.1*imag(Y(13))*cos(d1-d3)+1.05*real(Y(14))*sin(d1)-1.05*imag(Y(14))*cos(d1));
J(12)=-V1*V2*(real(Y(12))*sin(d1-d2)-imag(Y(12))*cos(d1-d2));
J(13)=-V1*1.1*(real(Y(13))*sin(d1-d3)-imag(Y(13))*cos(d1-d3));
J(14)=-V1^2*real(Y(11))-V1*(V1*(real(Y(11))*cos(0)+imag(Y(11))*sin(0))+V2*(real(Y(12))*cos(d1-d2)+imag(Y(12))*sin(d1-d2))+1.1*real(Y(13))*cos(d1-d3)+1.1*imag(Y(13))*sin(d1-d3)+1.05*real(Y(14))*cos(d1)+1.05*imag(Y(14))*sin(d1));
J(15)=-V1*V2*(real(Y(12))*cos(d1-d2)+imag(Y(12))*sin(d1-d2));
J(21)= -V1*V2*(real(Y(12))*sin(d2-d1)-imag(Y(12))*cos(d2-d1));
J(22)=V2^2*imag(Y(22))+V2*(V1*(real(Y(12))*sin(d2-d1)-imag(Y(12))*cos(d2-d1))+V2*(real(Y(22))*sin(0)-imag(Y(22))*cos
- 上一篇:空时分组码的仿真
- 下一篇:LDA人脸识别MATLAB含k近邻算法
相关资源
- LDA人脸识别MATLAB含k近邻算法
- 空时分组码的仿真
- 基于MATLAB语音信号采集与分析的毕业
- PCA主成分分析法和ICA独立成分分析法
- 聚类分析Matlab代码[比赛已经用过保真
-
Matlab/simuli
nk建模与仿真 - MATLAB神经网络43个案例分析
- 语音信号处理实验教程、报告及Matl
- 捷联惯导纯惯导解算matlab实现
- MIMO-OFDM无线通信技术及MATLAB实现中文
- 传感器信息融合_MATLAB程序实现.pdf
- 卡尔曼滤波理论与实践MATLAB版 第4版
- 机器人学、机器视觉与控制 matlab 算法
- Matlab时频分析技术及其应用.rar
- 配电网潮流计算程序matlab
-
传统两电平模型预测控制simuli
nk - 船舶横摇运动matlab仿真
- 数学建模:层次分析法一致性检验M
- matlab实现逻辑回归
- matlab GUI教学视频
- MATLAB车辆工程应用实战 [余胜威编著
- 精通图像处理经典算法MATLAB版
- matlab中的Kriging KG工具箱,dace工具箱
- 音乐合成实验报告
- 数字调制解调技术的MATLAB与FPGA实现
- MATLAB小波分析与应用30个案例分析源代
- 可靠性方法:改进一次二阶矩法+Rac
- 解线性方程组的共轭梯度算法(Matl
- matlab图像复原、视频图像处理、运动
- MATLAB滤波程序
评论
共有 条评论