77范文网 - 专业文章范例文档资料分享平台

电力系统导论实验报告(2)

来源:网络收集 时间:2019-03-22 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

4.0 TopoStructureAndBranchPara is the transmission line, cable and transformer input data and

contains five columns parameters. The first two columns are the line bus numbers and the remaining columns contain the line resistance and reactance in per-unit and transformer tap ratio or capacitor of transmission line. 5.0 The function should return the bus admittance matrix.

4. Exercises

Use the written function, Y = The_Node_Admittance_Matrix (TopoStructureAndBranchPara) to obtain the Ybus of the following power system network:

Q1. You are required to write the Ybus topological structure and parameter into a text file. (Hint:

use the matlab text compiler to write down the table 1 data, using the comma to separate the parameters, and save it use the name of 4_Power_System_Data.dbf)

Q2. You are required to write out the program flow figure of forming a nodal admittance matrix. Hint. You are required to compile a program to form the Ybus Matrix, the following program is a

reference program to you.

Figure : One-line diagram of power system

For example ,from the textbook “power system analysis” No.2 edition 3 on page 61~62

Table 1:Transformer and transmissssion Line data From Bus# 1 1 1 2 To Bus# 2 3 4 4 R(p.u) 0.1 0 0.12 0.08 X(p.u) 0.4 0.3 0.5 0.40 B(p.u)or ratio K j0.01528 1.1 j0.01920 J0.01413 Others NodalAdmittanceMatrix = 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

2

0 + 3.6667i 0 0 - 3.3333i 0 -0.4539 + 1.8911i 0 0 0.9346 - 4.2616i

5.The flow chart

Figure : The flow chart of Forming Nodal Admittance Matrix

The program is:

%function OutPut=The_Node_Admittance_Matrix(handles) %is a subroutine of PowerSystemCalculation

function OutPut=The_Node_Admittance_Matrix(handles)

%the following program is open a data file and get the Number of % Node and Branch data to form a nodal addmittance matrix

%the following code is open a file and read the data of power system network [fname,pname] = uigetfile('*.dbf','Select the network parametre data-file'); TopoStructureAndBranchPara= csvread(fname);

[NumberOfBranch,NumberOfPara]=size(TopoStructureAndBranchPara); Temporary1=max(TopoStructureAndBranchPara(:,1)); Temporary2=max(TopoStructureAndBranchPara(:,2)); if Temporary1 > Temporary2

NumberOfNode=Temporary1; else

NumberOfNode=Temporary2; end

%The following program is to form the Nodal Admittance Matrix % and the Topologic structure and Branch Parametres are arranged

% I,J,R,X,C/K, and pay attention to the inpedence of transformer is in the % side of Node J and the ratio of transformer 1:K is in the side of Node I for CircleNumber1=1:NumberOfBranch for CircleNumber2=1:NumberOfBranch

NodalAdmittanceMatrix(CircleNumber1,CircleNumber2)=0; end end

for CircleNumber=1:NumberOfBranch

if TopoStructureAndBranchPara(CircleNumber,5) > 0.85

NodalAdmittanceMatrix(TopoStructureAndBranchPara(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,1)))=...

3

Experiment 2 Bus Impedance Matrix

NodalAdmittanceMatrix(TopoStructureAndBranchPara(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,1)))+...

TopoStructureAndBranchPara(CircleNumber,5)^2/... (TopoStructureAndBranchPara(CircleNumber,3)+... j*TopoStructureAndBranchPara(CircleNumber,4)) ;

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,2),TopoStructureAndBranchPara(CircleNumber,2))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,2),TopoStructureAndBranchPara(CircleNumber,2))+...

1/((TopoStructureAndBranchPara(CircleNumber,3)+j*TopoStructureAndBranchPara(CircleNumber,4)));

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,2))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,2))...

-TopoStructureAndBranchPara(CircleNumber,5)/...

((TopoStructureAndBranchPara(CircleNumber,3)+j*TopoStructureAndBranchPara(CircleNumber,4)));

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,2),TopoStructureAndBranchPara(CircleNumber,1))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,2)); else

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,1))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara(CircleNumber,1))+...

+1/(TopoStructureAndBranchPara(CircleNumber,3)+...

j*TopoStructureAndBranchPara(CircleNumber,4))+j*TopoStructureAndBranchPara(CircleNumber,5);

4

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,2),TopoStructureAndBranchPara(CircleNumber,2))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,2),TopoStructureAndBranchPara(CircleNumber,2))+...

+1/(TopoStructureAndBranchPara(CircleNumber,3)+...

j*TopoStructureAndBranchPara(CircleNumber,4))+j*TopoStructureAndBranchPara(CircleNumber,5)

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara( CircleNumber,2))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara( CircleNumber,2))...

-1/(TopoStructureAndBranchPara(CircleNumber,3)+... j*TopoStructureAndBranchPara(CircleNumber,4));

NodalAdmittanceMatrix(TopoStructureAndBranchPara( CircleNumber,2),TopoStructureAndBranchPara(CircleNumber,1))=...

NodalAdmittanceMatrix(TopoStructureAndBranchPara(CircleNumber,1),TopoStructureAndBranchPara( CircleNumber,2)); end end

The result is: NodalAdmittanceMatrix =

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 0 + 3.6667i 0 0 - 3.3333i 0 -0.4539 + 1.8911i 0 0 0.9346 - 4.2616i

5

Experiment 2 Bus Impedance Matrix

Experiment 2

Power Grid

Bus Impedance Matrix 1. Objective

? To write a simple program in MATLAB? for the algorithm of bus impedance matrix.

2. System Requirement

Computer with MATLAB? 6 or above installed.

3. Procedure

1.0 Launch the MATLAB program.

2.0 Go to FILE NEW M-file.

6

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库电力系统导论实验报告(2)在线全文阅读。

电力系统导论实验报告(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/536872.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: