iPDC Programmer Manual

  • View
    196

  • Download
    2

Embed Size (px)

DESCRIPTION

 

Text of iPDC Programmer Manual

  • 1. Phasor Data Concentrator Code Documentation Programmers ManualSubmitted in partial fulllment of the requirements for the degree of Master of Technology by Kedar Khandeparkar & Nitesh Pandit under the guidance of Prof. A.M. Kulkarni Indian Institute of Technology, Bombay
  • 2. s would like to express my sinere thnks nd grtitude to my guideD rofF FF ettrDrofF FF qhumre nd rofF eFwF uulkrni for the onstnt motivtion nd vluleguidne they provided me throughout the ourse of the projetF s m highly indetedto them for giving me this opportunity to work under them for this wFeh projetD ndlso lrifying my douts nd for ringing into perspetiveD the dierent spets of theprojet topiF hey onstntly enourged me y giving suggestions nd ritiisms on myworkF orking under them hs een gret lerning experiene for meF i
  • 3. Abstract With information and measurement technology evolving rapidly within the elec-tric power industry, wide-area measurement is deemed to be the key technology toimprove power system reliability. Phasor Measurement Unit (PMU) deployment forWide Area Measurement System(WAMS) results in large amount of data beinggenerated every second across the PMU network. Currently, many transmission op-erators do not have the ability to process, store, and utilize this data. We aim tobuild a Phasor data concentrator that can do these operations. This report givesthe complete implementation details of the iPDC Phasor Data Concentrator. ii
  • 4. Contents1 General Working of iPDC 2 IFI inter ihg etup F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F Q IFP edd oure hevie F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F Q IFQ emove oure hevie F F F F F F F F F F F F F F F F F F F F F F F F F F F F Q IFR urn ypp the dt rnsmission F F F F F F F F F F F F F F F F F F F F F F F R IFS urn yx the dt rnsmission F F F F F F F F F F F F F F F F F F F F F F F F R IFT equest gon(gurtion frme F F F F F F F F F F F F F F F F F F F F F F F F F F R IFU edd hestintion hevie F F F F F F F F F F F F F F F F F F F F F F F F F F F S IFV emove hestintion hevie F F F F F F F F F F F F F F F F F F F F F F F F F S IFW ihg gonnetion le F F F F F F F F F F F F F F F F F F F F F F F F F F F F S2 Source Code Documentation of iPDC 6 PFI ihgF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F T PFP ipdquiF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F U PFQ puntions in rereteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F V PFR puntions in onnetionsF F F F F F F F F F F F F F F F F F F F F F F F F F F F V PFS puntions in newpmuorpdF F F F F F F F F F F F F F F F F F F F F F F F V PFT puntions in prserF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F W PFU puntions in dlloteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F W PFV puntions in lignsortF F F F F F F F F F F F F F F F F F F F F F F F F F F F F IH PFW glolFh F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IH PFIH hetiled hesription F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IH PFIHFI rereteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IH PFIHFP onnetionsF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F II PFIHFQ newpmuorpdF F F F F F F F F F F F F F F F F F F F F F F F F F F IP PFIHFR prserF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IP PFIHFS dlloteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IR PFIHFT lignsortF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IR PFII ht trutures sed F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IT3 Source Code Documentation of DBServer 22 QFI derverF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PP QFP puntions in rereteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PP QFQ puntions in onnetionsF F F F F F F F F F F F F F F F F F F F F F F F F F F F PP QFR puntions in prserF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PQ QFS puntions in dlloteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PQ iii
  • 5. QFT glolFh F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PQ QFU hetiled hesription F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PQ QFUFI rereteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PQ QFUFP onnetionsF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PR QFUFQ prserF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PR QFUFR dlloteF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PS QFV ht trutures sed F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PS4 iPDC Database 295 General Working of PMU Simulator 31 SFI inter w etup F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QP SFP grete gon(gurtion prme F F F F F F F F F F F F F F F F F F F F F F F F F F QP SFQ reder prme qenertion F F F F F F F F F F F F F F F F F F F F F F F F F F F QP SFR pdte w gon(gurtion F F F F F F F F F F F F F F F F F F F F F F F F F F QQ SFS iew w hetils F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QQ SFT w ixit F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QQ6 Source Code Documentation of PMU Simulator 33 TFI pmuF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QR TFP puntions in muquiF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QR TFQ puntions in erverpuntionF F F F F F F F F F F F F F F F F F F F F F F F F F QS TFR puntions in gfgquipuntionsF F F F F F F F F F F F F F F F F F F F F F F F F QS TFS puntions in gfgpuntionF F F F F F F F F F F F F F F F F F F F F F F F F F F F QT TFT puntions in funtionF F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QT iv
  • 6. List of Figures I Conguration Frame. F F F F F F F F F F F F F F F F F F F F F F F F F F F F IV P Data Frame. F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F IW Q PMU Status Change. F F F F F F F F F F F F F F F F F F F F F F F F F F F F IW R Source Device Details F F F F F F F F F F F F F F F F F F F F F F F F F F F F PH S Destination Device Details F F F F F F F F F F F F F F F F F F F F F F F F F PH T Time Stamp Buer F F F F F F F F F F F F F F F F F F F F F F F F F F F F F PI U DBServer Conguration Frame F F F F F F F F F F F F F F F F F F F F F F PU V DBServer Data Frame F F F F F F F F F F F F F F F F F F F F F F F F F F F PV W ihg htse F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F QHOrganization Of the Report IF ghpter I desries the vrious rhiteture 8 design of ihgF PF ghpter P desries hndling of dt 8 on(gurtion frmes r ihgF QF ghpter Q desries ihg htseF RF ghpter R desries ew eurityF SF ghpter S desries the design of w imultorF I
  • 7. 1 General Working of iPDCw9sGihg9s t s servers when they re ommuniting with nother ihg whomthey re sending the dtGon(gurtion frmesF he ihg reeiving dt in this sets s lientF rowever when the sme ihg sends dt to nother ihgD it would ts serverF his pttern will e repeted in the ew topology with one peer ting sserver nd its ounterprt lientF he ihg when ting s server inds to P ports hy nd gyF stwould e listening for h onnetions on hy nd g onnetions on gEyF he ihg n then send the omined on(gurtion frmes to ny numer ofother ihg9sF foth the ommuniting peers uthentite eh otherF ihg uthentiEtes for eh reeived pkets irrespetive of ommuntion protools used@gGhAF hen the ihg strts for the (rst time the user is prompted to enter ihg sdodeDh ortD g ort nd htse erver sF he ports enle ihg to reeive requestsfrom other ihg nd to send the omined dt nd on(gurtion frmesF htseerver s is the s ddress of the mhine where the proess dserver is runningF hedefult port on whih dserver is listening for dt is WHHH nd it is h serverF hedt whih the ihg reeives would lso