Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
how can i get to know the time elapsed in transferring the data from one node to other
조회 수: 2 (최근 30일)
이전 댓글 표시
i am trying to transfer the data from one node to other, i want to know the time elapsed when i send different data ??
댓글 수: 7
Walter Roberson
2019년 7월 11일
How are you doing the transfer?
After the transfer is done can the other side send you a "finished" message?
PRAVEEN GUPTA
2019년 7월 11일
clc;
clear all;
B1=[];B2=[];B3=[];B4=[];B5=[];B6=[];B7=[];
g=graph({'1','2','3','4','5','6','7','7','5','5','6','7'},{'2','3','4','5','6','7','5','4','2','1','1','1'})
plot(g)
B1=input ('enter your data\n P Q delta Voltage\n ');
B2=input ('enter your data\n P Q delta Voltage\n ');
B3=input ('enter your data\n P Q delta Voltage\n ');
B4=input ('enter your data\n P Q delta Voltage\n ');
B5=input ('enter your data\n P Q delta Voltage\n ');
B6=input ('enter your data\n P Q delta Voltage\n ');
B7=input ('enter your data\n P Q delta Voltage\n ');
s1=de2bi(B1);
s2=de2bi(B2);
s3=de2bi(B3);
s4=de2bi(B4);
s5=de2bi(B5);
s6=de2bi(B6);
s7=de2bi(B7);
r1=bi2de(s1)';
r2=bi2de(s2)';
r3=bi2de(s3)';
r4=bi2de(s4)';
r5=bi2de(s5)';
r6=bi2de(s6)';
r7=bi2de(s7)';
if(B1(4)>=22&&B1(4)<=24)
display('voltage at bus 1 is in range')
node1=vertcat(r1,r2,r6)
node2=vertcat(r2,r1,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r1,r2,r4,r6,r7)
node6=vertcat(r6,r1,r5,r7)
node7=vertcat(r7,r6,r5,r4)
else if(B1(4)>21&&B1(4)<=22)
display ('under voltage at bus 1')
node1=vertcat(r1,r2,r6)
node2=vertcat(r2,r1,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r1,r2,r4,r6,r7)
node6=vertcat(r6,r1,r5,r7)
node7=vertcat(r7,r6,r5,r4)
else if (B1>24)
% display('disconnecting the bus1 from entire network due to over voltage ')
display('node1 has been removed from the network due to over voltage' )
node1=vertcat(r1,r2,r6)
node2=vertcat(r2,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r2,r4,r6,r7)
node6=vertcat(r6,r5,r7)
node7=vertcat(r7,r6,r5,r4)
else if (B1(4)<=21)
display('disconnecting the bus1 from entire network')
node1=display('node1 has been removed from the network due to over voltage' )
node2=vertcat(r2,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r2,r4,r6,r7)
node6=vertcat(r6,r5,r7)
node7=vertcat(r7,r6,r5,r4)
end
end
end
endclc;
clear all;
B1=[];B2=[];B3=[];B4=[];B5=[];B6=[];B7=[];
g=graph({'1','2','3','4','5','6','7','7','5','5','6','7'},{'2','3','4','5','6','7','5','4','2','1','1','1'})
plot(g)
B1=input ('enter your data\n P Q delta Voltage\n ');
B2=input ('enter your data\n P Q delta Voltage\n ');
B3=input ('enter your data\n P Q delta Voltage\n ');
B4=input ('enter your data\n P Q delta Voltage\n ');
B5=input ('enter your data\n P Q delta Voltage\n ');
B6=input ('enter your data\n P Q delta Voltage\n ');
B7=input ('enter your data\n P Q delta Voltage\n ');
s1=de2bi(B1);
s2=de2bi(B2);
s3=de2bi(B3);
s4=de2bi(B4);
s5=de2bi(B5);
s6=de2bi(B6);
s7=de2bi(B7);
r1=bi2de(s1)';
r2=bi2de(s2)';
r3=bi2de(s3)';
r4=bi2de(s4)';
r5=bi2de(s5)';
r6=bi2de(s6)';
r7=bi2de(s7)';
if(B1(4)>=22&&B1(4)<=24)
display('voltage at bus 1 is in range')
node1=vertcat(r1,r2,r6)
node2=vertcat(r2,r1,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r1,r2,r4,r6,r7)
node6=vertcat(r6,r1,r5,r7)
node7=vertcat(r7,r6,r5,r4)
else if(B1(4)>21&&B1(4)<=22)
display ('under voltage at bus 1')
node1=vertcat(r1,r2,r6)
node2=vertcat(r2,r1,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r1,r2,r4,r6,r7)
node6=vertcat(r6,r1,r5,r7)
node7=vertcat(r7,r6,r5,r4)
else if (B1>24)
% display('disconnecting the bus1 from entire network due to over voltage ')
display('node1 has been removed from the network due to over voltage' )
node1=vertcat(r1,r2,r6)
node2=vertcat(r2,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r2,r4,r6,r7)
node6=vertcat(r6,r5,r7)
node7=vertcat(r7,r6,r5,r4)
else if (B1(4)<=21)
display('disconnecting the bus1 from entire network')
node1=display('node1 has been removed from the network due to over voltage' )
node2=vertcat(r2,r3,r5)
node3=vertcat(r3,r2,r4,r5)
node4=vertcat(r4,r3,r5,r7)
node5=vertcat(r5,r2,r4,r6,r7)
node6=vertcat(r6,r5,r7)
node7=vertcat(r7,r6,r5,r4)
end
end
end
end
i Want to know the time elapsed when its over voltage
Walter Roberson
2019년 7월 11일
I do not see any transfer of anything to anything else? I also do not see any time base? It seems unlikely to me that you want to be measuring the amount of time that a user is typing at an input() statement.
PRAVEEN GUPTA
2019년 7월 11일
Sorry sir i m new to networking
I apologize fr this Can u please send me some basic codes where i can transfer data between two nodes
Walter Roberson
2019년 7월 11일
You appear to have a set up for an electrical network such as with generators and busses. You do not appear to be doing any data transfer.
PRAVEEN GUPTA
2019년 7월 11일
Yes sir for electrical system only
I just want to find the effect of wrong data in bus 1 on other busses
As other busses will get effected by bus 1 data
Walter Roberson
2019년 7월 11일
You are not transferring data, and in your model it takes no time to change a parameter.
It would be valid to simulate an electrical bus and model voltage spikes and drops and voltage swings as you make changes such as simulating faults. For that kind of work you should search
tag:"ieee bus"
Here and in the File Exchange
이 질문은 마감되었습니다.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)