資源簡介
matlab潮流計算程序,輸入輸出為excel,另附潮流計算設計報告,不限節點數量,計算結果可靠。
代碼片段和文件信息
clear?all
N1=input(‘Please?enter?the?number?of?nodes:N1=‘);
L1=input(‘Please?enter?the?number?of?branches:L1=‘);
r=input(‘Please?enter?the?number?of?PV?nodes:r=‘);
bb=xlsread(‘/Users/l/Desktop/powerflowdata/input/bb.xlsx‘);
%One?route?per?line.
%The?first?column?is?listed?as?an?endpoint?and?the?transformer?is?negative.
%Second?is?listed?as?another?endpoint?and?the?transformer?is?negative.
%Third?is?listed?as?R.
%Fourth?is?listed?as?X.
%Fifth?is?listed?as?K.
nodedata=xlsread(‘/Users/L/Desktop/powerflowdata/input/nodein.xlsx‘);
nodedata=sortrows(nodedata2);
for?v=1:N1
????
nodedata(v6)=v;
end
xh=nodedata(:[16]);
xh=sortrows(xh1);
for?v=1:N1
????for?m=1:L1
????????if?bb(m1)==v
????????????bb(m6)=xh(v2);
????????end
????????if?bb(m1)==-v
??????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-08?09:36??powerflow\
?????文件????????4817??2018-09-08?09:35??powerflow\powerflowwa.m
?????文件?????2768896??2018-09-08?09:36??powerflow\電力系統分析報告.doc
- 上一篇:測井數據計算地應力剖面MATLAB程序
- 下一篇:蒙特卡洛的matlab實現
評論
共有 條評論