版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
end
實(shí)驗(yàn)一
clear
%n=input('請輸入節(jié)點(diǎn)數(shù):n=');
%nl=input('請輸入支路數(shù):nl=');
%B1=input('請輸入?yún)?shù)矩陣:B1=');
%B2=input('請輸入變壓器參數(shù)矩陣:B2=');
%B3=input('請輸入節(jié)點(diǎn)參數(shù)矩陣:B3=');n=5;
n1=5;
B1=[00.105i000;0.105i00.024+0.065i0.03+0.08i0;00.024+0.065i00.018+0.05i0;0
0.03+0.08i0.018+0.05i00.184i;0000.184i0];
B2=[00000;1.050000;00000;00000.96;00000];
B3=[00000;000.016i0.02i0;00.016i00.013i0;00.02i0.013i00;00000];
Y=zeros(n);fori=1:n
forj=1:n
ifi==j
fork=1:n
Y(i,j)=Y(i,j)+B3(i,k);
ifB2(i,k)~=0
Y(i,j)=Y(i,j)+1./(B2(i,k)^2*B1(k,i));
else
ifB2(k,i)~=0
Y(i,j)=Y(i,j)+1./B1(i,k);
else
ifB1(i,k)~=0
Y(i,j)=Y(i,j)+1./B1(i,k);
else
end
end
end
end
ifB2(i,j)~=0
Y(i,j)=-1./(B1(i,j)*B2(i,j));
else
ifB2(j,i)~=0
Y(i,j)=-1./(B1(i,j)*B2(j,i));
else
ifB1(i,j)~=0
Y(i,j)=-1./B1(i,j);
end
end
end
end
end
disp(Y);0
+5.6612i
0-9.5238i 0+9.0703i 0 0
0+9.0703i 9.1085-33.1001i -4.9990+13.5388i -4.1096+10.9589i 0
0 -4.9990+13.5388i 11.3729-31.2152i -6.3739+17.7054i 0
0 -4.1096+10.9589i -6.3739+17.7054i 10.4835-34.5284i 0
0 0 0 0+5.6612i
0-5.4348i
實(shí)驗(yàn)二-1clear
%n=input('請輸入節(jié)點(diǎn)數(shù):n=');
%nl=input('請輸入支路數(shù):nl=');
%B1=input('請輸入?yún)?shù)矩陣:B1=');
%B2=input('請輸入變壓器參數(shù)矩陣:B2=');
%B3=input('請輸入節(jié)點(diǎn)參數(shù)矩陣:B3=');n=4;
n1=3;
B1=[0.2i00.51i0;
04i0.59i0;
0.51i0.59i01.43i;
001.43i0];
B2=[0000;0000;0000;0000];
B3=[0000;0000;0000;0000];f=4;
Y=zeros(n);fori=1:n
forj=1:n
ifi==j
fork=1:n
Y(i,j)=Y(i,j)+B3(i,k);
ifB2(i,k)~=0
Y(i,j)=Y(i,j)+1./(B2(i,k)^2*B1(k,i));
else
ifB2(k,i)~=0
Y(i,j)=Y(i,j)+1./B1(i,k);
else
ifB1(i,k)~=0
Y(i,j)=Y(i,j)+1./B1(i,k);
end
else
end
end
ifB2(i,j)~=0
Y(i,j)=-1./(B1(i,j)*B2(i,j));
else
ifB2(j,i)~=0
Y(i,j)=-1./(B1(i,j)*B2(j,i));
else
ifB1(i,j)~=0
Y(i,j)=-1./B1(i,j);
end
end
end
end
end
end
disp(Y);
Z=inv(Y);
If=1/Z(f,f);If
0-6.9608i
0
0+1.9608i
0
0
0-1.9449i
0+1.6949i
0
0+1.9608i
0+1.6949i
0-4.3550i
0+0.6993i
0
0
0+0.6993i
0-0.6993i
If=
0-0.4890i
>>
實(shí)驗(yàn)二-2clear
z=[0.2iinf0.51iinf;inf4i0.59iinf;0.51i0.59iinf1.43i;infinf1.43iinf];
y=[0000;
0000;
0000;
0000];f=4;
Y=zeros(4,4);
fori=1:4
forj=1:4ifi==j
Y(i,j)=Y(i,j)else
Y(i,j)=-1.0/z(i,j)end
end
end
fori=1:4
forj=1:4
Y(i,i)=Y(i,i)+y(i,j)+1.0/z(i,j)
end
end
Z=inv(Y);
If=1/Z(f,f);If
Y=
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Y=
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0
0
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0
0+0.6993i
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0
0+0.6993i
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0
0+0.6993i
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0+0.6993i
0+0.6993i
0
Y=
0
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0+0.6993i
0+0.6993i
0
Y=
0-5.0000i
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0+0.6993i
0+0.6993i
0
Y=
0-5.0000i
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0+0.6993i
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0+0.6993i
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0
0+1.6949i
0
0+1.9608i
0
0+1.6949i
0
0
0+0.6993i
0+0.6993i
0
Y=
0-6.9608i
0
0
0
0+1.9608i
0+1.6949i
0
0
0+1.9608i
0
0
+1.6949i0
0
0+0.6993i
0
+0.6993i0
Y=
0-6.9608i
0
0+1.9608i
0
0
0-0.2500i
0+1.6949i
0
0+1.9608i
0
0
+1.6949i0
0
0+0.6993i
0
+0.6993i0
Y=
0-6.9608i
0
0+1.9608i
0
0
0-1.9449i
0+1.6949i
0
0+1.9608i
0
0
+1.6949i0
0
0+0.6993i
0
+0.6993i0
Y=
0-6.9608i
0
0+1.9608i
0
0
0-1.9449i
0+1.6949i
0
0+1.9608i
0
0
+1.6949i0
0
0+0.6993i
0
+0.6993i0
Y=
0-6.9608i
0
0+1.9608i
0
0
0-1.9449i
0+1.6949i
0
0+1.9608i
0+1.6949i
0-1.9608i
0+0.6993i
0
0
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0+1.9608i
0
0-1.9449i
+1.6949i
0+1.6949i
0-3.6557i
0
0+0.6993i
0
0
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0+1.9608i
0
0-1.9449i
+1.6949i
0+1.6949i
0-3.6557i
0
0+0.6993i
0
0
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0+1.9608i
0
0-1.9449i
+1.6949i
0+1.6949i
0-4.3550i
0
0+0.6993i
0
0
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0+1.9608i
0
0-1.9449i
+1.6949i
0+1.6949i
0-4.3550i
0
0+0.6993i
0
0
0+0.6993i
0
Y=
0-6.9608i
0
0+1.9608i
0
0
0+1.9608i
0
0-1.9449i
+1.6949i
0+1.6949i
0-4.3550i
0
0+0.6993i
0
0
0+0.6993i
0
Y=
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 稅收優(yōu)惠政策對貧困地區(qū)發(fā)展影響評估-洞察分析
- 語義演變與認(rèn)知機(jī)制-洞察分析
- 云服務(wù)彈性監(jiān)控-洞察分析
- 碎屑加工產(chǎn)業(yè)鏈構(gòu)建-洞察分析
- 特征方程在宏觀經(jīng)濟(jì)預(yù)測-洞察分析
- 網(wǎng)絡(luò)設(shè)備取證技術(shù)-洞察分析
- 虛擬現(xiàn)實(shí)助力職業(yè)教育發(fā)展-洞察分析
- 虛擬現(xiàn)實(shí)技術(shù)在藝術(shù)體驗(yàn)中的應(yīng)用-洞察分析
- 遙感技術(shù)在城市規(guī)劃-洞察分析
- 語義重復(fù)檢測算法-洞察分析
- GM∕T 0018-2012 密碼設(shè)備應(yīng)用接口規(guī)范
- 化學(xué)專業(yè)詞匯大全
- 醫(yī)院培訓(xùn)PPT課件:醫(yī)療服務(wù)意識
- PCS-PC簡單使用方法
- 關(guān)于更換公務(wù)用車的請示
- 室分工程施工組織設(shè)計
- 薄膜衰減片的仿真設(shè)計
- 塔塔里尼調(diào)壓器FLBM5介紹.ppt
- 國家開放大學(xué)畢業(yè)生登記表
- CCC例行檢驗(yàn)和確認(rèn)檢驗(yàn)程序
- 初中物理競賽教程(基礎(chǔ)篇)第16講比熱容
評論
0/150
提交評論