user manual-v1.3.1

Upload: sayem-suleman

Post on 06-Jul-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 User Manual-v1.3.1

    1/33

    User Manual-v1.3.1

    byNitesh Pandit

    Kedar Khandeparkar

    Department of Eletrial En!ineerin!"#ndian #nstitute of $ehnolo!y" %ombay

    Mumbai" #ndia&eptember '(1'

  • 8/17/2019 User Manual-v1.3.1

    2/33

  • 8/17/2019 User Manual-v1.3.1

    3/33

    iPDC suite User Manual- v1.3.1   1

    iPDC Team 

    )uthors * • Nitesh Pandit

    • Kedar V. Khandeparkar

    Assoiates * 

    • Mr. Gopal Gajjar

    • Mr. Rathin Dholakia

    • Mr. Mayur Dange

    Mr. Philip• Mr. Anupam Chomal

    Mentors * • Dr. A.M. Kulkarni

    • Dr. .A. oman

    • Pro!. .". Ghum#re

    • Pro!. V.$. Attar

    iPDC - Free and Open Source Tool for WAMS 

    mailto:[email protected]:[email protected]:[email protected]:[email protected]://scholar.lib.vt.edu/theses/available/etd-05012012-085423/http://www.ee.iitb.ac.in/wiki/faculty/anilhttp://www.ee.iitb.ac.in/wiki/faculty/somanmailto:[email protected]:[email protected]:[email protected]://scholar.lib.vt.edu/theses/available/etd-05012012-085423/http://www.ee.iitb.ac.in/wiki/faculty/anilhttp://www.ee.iitb.ac.in/wiki/faculty/somanmailto:[email protected]

  • 8/17/2019 User Manual-v1.3.1

    4/33

    iPDC suite User Manual- v1.3.1   %

    CONTENT

    #ntrodution&hat is iPDC ' . . . . . . . . . (

    &hat is PM"imulator' . . . . . . . . )

    &hat is D*ser+er' . . . . . . . . . )

    +ettin! &tartedystem Re,uirements . . . . . . . . . -

    Dependeny . . . . . . . . . . -/ehnial pei!iation . . . . . . . . -

    0nstallation . . . . . . . . . . "ninstallation . . . . . . . . . . 2

    tarting the Appliation . . . . . . . . 2

    ,onfi!uration . . . . . . . . . . 3

    eatures1. iPD,

    1.1 Adding a oure De+ie . . . . . . . 1

    1.% Remo+e a oure De+ie . . . . . . . 1

    1.( /urn 455 Data /ransmission. . . . . . . 121.) /urn 4N data /ransmission . . . . . . . 12

    1.- Re,uest Con!iguration 5rame . . . . . . 161. Add a Destination De+ie . . . . . . . 13

    1.2 Remo+e a Destination De+ie . . . . . . %71.6 iPDC Connetion /a#le . . . . . . . %1

    '. PMU%.1 Manage Data oure . . . . . . . . %%%.% Con!iguration Modi!iation . . . . . . . %(

    %.( /A/ &ord Modi!iation . . . . . . . %)

    %.) 8eader 5rame etup . . . . . . . . %-%.- PM" Properties . . . . . . . . %-

    +eneral eaturesa+ed Con!iguration . . . . . . . . . %

    Retrie+e Pre+ious Con!iguration . . . . . . . %2

    5uture Planning . . . . . . . . . . (7

    8o9 Can 0 8elp' . . . . . . . . . . (78o9 to Reah "s' . . . . . . . . . . (1

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    5/33

    iPDC suite User Manual- v1.3.1   (

    INTRODUCTION

    What is PDC?

    Phasor Data Conentrator is a node in a system 9here phasor data !rom thenum#er o! PM"s or PDCs is orrelated and !ed out as a single stream to other appliations. PDC

    designed to proess streaming time:series data in real:time. Measured data gathered 9ith GP:time !rom many hundreds o! input soures is time:sorted.

    What is iPDC?

    i : Indian Institute of Technology, BombayP : PhasorD : Data, : Concentrator

     iPDC is a !ree Phasor Data Conentrator that ollets data !rom PhasorMeasurement "nits; iPDCs and other +endors PDC those 9ho are ompliant 9ith 0

  • 8/17/2019 User Manual-v1.3.1

    6/33

    iPDC suite User Manual- v1.3.1   )

      PM" imulator is a simulation so!t9are !or Phasor Measurement "nit. 0t9ould at as a ser+er and #ind ports !or "DP and /CP ommuniation protool. 0t 9ould #e

    listening !or "DP onnetions on "DPP4R/ and !or /CP onnetions on /CPP4R/. /he PM"

    imulator reei+es the ommand !rames !rom PDC and sends the on!iguration !rame and data

    !rames to PDC. 0t has option to on!igure PM" #y adding PM" 0D; phasor; analog; and digitalhannels; data rate; data !ormat; et. A single PM" imulator an ha+e multiple PDC lientommuniating through /CP and "DP.

    What is DBserver?

    D*er+er is the data#ase ser+er module !or iPDC. 0t 9ould run as indi+idual

    proess on loal or remote mahine. Among the +arious kno9n open soure data#ases; My=>

    has #een used !or storing the data at the iPDC. /he proess 9ould ha+e a parser to parseon!iguration and data !rames. A!ter parsing; on!iguration and data !rames entries 9ould #e

    stored in the iPDC My=> data#ase. /he data !rames are inserted as they ome. /his data 9hihis stored in the ta#les an then #e used !or later analysis. /he data !rom the data#ase is arhi+ed

    periodially. 0t 9ill also reating the measurement !iles in s+ !ormat.

    Organization of Manual

    /his user manual o+ers 9hole iPDC so!t9are suite; ontaining

    iPDC; PM"imulator and D*ser+er. 4rganisation o! manual is as !ollo9ing• 8o9 to install?run D*ser+er

    • 8o9 to install?run PM"imulator

    • 8o9 to install?run iPDC

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    7/33

    iPDC suite User Manual- v1.3.1   -

    GETTING STARTED

    SYSTEM REQUIREMENTS:• 4perating ystem : >inu

    • RAM : -1% M*

    • 8DD : 1 G*F

    DEPENDENCIES:

    • g

    • Mys,l:ser+er:-.7

    • mys,l:lient:-.7.

    • mys,l:ommon

    • li#mys,llient1

    • G/KF%.-

    • glade (..2 @optional !or de+elopment

    • N/P:lient @5or synhroniEation o! system lok

    TECHNICAL SPECIFICATION:-

    • &e ha+e mostly used C language to de+elop the omplete so!t9are suite.

    • "sed G/KF and Glade languages to de+elop the G"0 !or omplete so!t9are suite.

    • iPDC is a multithreaded appliation and 9e ha+e used P40B threads li#rary.

    • PM" imulator uses multi:proess arhiteture. 4ne proess !or ontinuously

    ommuniation 9ith PDC and other !or user input !or PM" imulator

    • &e ha+e used My=> !or iPDC data#ase. Changes in the on!iguration !rames and data

    !rames 9ill also #e handled dynamially.

    • Currently it supports >0N"B only; #ut in near !uture &indo9s +ersion 9ould #e a+aila#le

    iPDC - Free and Open Source Tool for WAMS 

    http://en.wikipedia.org/wiki/POSIXhttp://www.mysql.com/http://en.wikipedia.org/wiki/POSIXhttp://www.mysql.com/

  • 8/17/2019 User Manual-v1.3.1

    8/33

    iPDC suite User Manual- v1.3.1  

    INSTALLATION:-

      A omplete detail o! 84& /4 0N/A>> is gi+en in R

  • 8/17/2019 User Manual-v1.3.1

    9/33

    iPDC suite User Manual- v1.3.1   2

    1. /ype

    cd/$pattoiPD*older+/iPDC.x.y/PM!imulato".x.y

    %. /ype su/sudo ma'e install @0t 9ill #e needing root permission to

    reate !older opying !ile on them

    (. Run PM" #y typing  P,   +ia terminal or you an !ind its shortut in menu

     Applications>Education>PM !imulator.

    0nstall iPDC H:

    Note: ONE iPDC installation is sufficient for running multiple simulation on the same machine.

    !.y  represents version number.

    1. 5irst Go to soure !older through terminal @using cd

    %. /ype #xt"act iPDC.x.y.ta".g$.

    (. /hen type cd iPDC.x.y/iPDC.x

    ). No9 type su/sudo ma%e install  @0t 9ill #e needing root permission to

    reate !older opying !ile on them

    -. No9 to Run :iPDC +ia terminal type iPD or you an !ind its shortut in

     Application menu>Education>iPDC .

    UNINSTALL:-

    • "ninstall iPDC :I

    cd iPD.!.y/iPD.!/

    su/sudo ma'e uninstall  @9ill #e needing root permission

    • "ninstall D*er+er :I

    cd iPD.!.y/D"#erver.!/

    ma'e clean @9ill also remo+e the stored on!igurations !ile

    "ninstall PM"imulator :Icd iPD.!.y/P,#imulator.!/

    su/sudo ma'e uninstall  @9ill #e needing root permission

    STARTING APPLICATION(S):

    iPDC suite an #e started in !ollo9ing t9o 9ays

    5or the start up o! the setup you an either start 9ith PM"imulator or D*ser+er !irst #ut

    !or proper !untioning it is re,uired that you start D*ser+er before run iPDC; as iPDC is alient o! the D*er+er.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    10/33

    iPDC suite User Manual- v1.3.1   6

    Change diretory  cd home//iPDC.x.y/DBserver.x.y   to

    D*ser+er !older; and then type in ommand mysql -uroot -proot %  4R Go /o

    AppliationsIProgrammingIiPDC.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    11/33

    iPDC suite User Manual- v1.3.1   3

     CONFIGURATION

    /his setion 9ill take you through proess o! J &'( T' Configure)setup the PM !imulator and iPDC*. Designing o! Appliation is done keeping the ease o! operation

    and usa#ility in mind. o; Con!iguring the PM" imulator and the iPDC is +ery easy #eause

    eah and e+ery !untion; ta# or #utton is pro+ided 9ith +ery descripti+e tooltips, hene the 9holeinter!ae #eomes sel! eplanatory.

    o; i! inase you get on!used; just go o+er to the option and a tooltip 9ill #e at

    your ser+ie. No9 9ith this keeping in mind 9e 9ill go through a standard PM" imulator and

    iPDC setup?on!iguration proedure...

    tart DBser+er.@ as mentioned a#o+e #y ./Dbserver  

    tart PM" imulator. @method sho9n a#o+e in installation setion

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    12/33

    iPDC suite User Manual- v1.3.1   17

    0! your are starting up !or the !irst time it 9ill prompt !or "DP and /CP port num#ers;

    input your +alues as per ur !ire9all setup and system:on!iguration. 9hen done lik run

    /hen another prompt 9ill ask !or PM" 0D; tation name; Phasor num#ers; et..

    !ill in and selet the details that you 9ant.

      A+aila#le options areH

    • 5re,. 5ormat@5i?5loat

    • Analog 5ormat @5i? 5loat

    • Phasor 5ormat @5i ? 5loat

    • Phasor Notation @Re?Pol

    • No. 4! Phasor @should #e IL 1

    • No. o! Analog @should #e IL 7

    • Digital tatus &ord @should #e IL 7

    • 5re,ueny @-7?7

    • Data RateL @1?%-?(7?-7?7?177?1%7

    &hen you are done lik J #ET 

    No9 enter Channel Names; "nit andMaimm >imit @i! 5i point seleted

    !or phasors.as sho9n #elo9

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    13/33

    iPDC suite User Manual- v1.3.1   11

    imilarly a prompt !or ANA>4G C8ANN 9ill #e net to phasor names; enter theappropriate +alues aording to the re,uirements and lik #ET%

    No9 i! this is not your !irst run and a PM" imulator o! similar 0D eists then it 9ill ask

    !or a o+er9rite o! the setup !ile @pmu.#in; here you an either hange the PM" 0D or

    o+er9rite ne9 on!iguration.@sho9n #elo9

    4ne proper input o! all

    !ields are done; the main

    Program 9indo9 9illappear. &here !ollo9ing

    options and !eatures area+aila#le. @sho9n #elo9

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    14/33

    iPDC suite User Manual- v1.3.1   1%

    /he primary setup o! PM" imulator is done; a!ter this /he PM" terminal 9ill look

    something like !ollo9ing sreenshot;

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    15/33

    iPDC suite User Manual- v1.3.1   1(

    remaining !eatures 9ill #e disussed later in the manual. 5or No9 9e 9ill set up iPDC.

    tart PDC #y any o! the methods

    desri#ed #e!ore. 5or !irst time runo! iPDC 9ill pop up a prompt sho9s

    at right hand side.

    5ill in proper details; lik add%

    /his 9ill ati+ate all a+aila#le

    options on the main 9indo9; asreen shot o! main 9indo9 is sho9

    #elo9.

    And sreent shot along 9ith this sho9ing the terminal prompt is gi+en #elo9.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    16/33

    iPDC suite User Manual- v1.3.1   1)

    No9; lik on J Add a !ource

     De+ice to add PM" or iPDC.

  • 8/17/2019 User Manual-v1.3.1

    17/33

    iPDC suite User Manual- v1.3.1   1-

    Along 9ith this; D*ser+er starts reei+ing the data !rames !ollo9ing imageon the net page sho9s the data !rame reei+ed in D*ser+er terminal.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    18/33

    iPDC suite User Manual- v1.3.1   1

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    19/33

    iPDC suite User Manual- v1.3.1   12

    FEATURES

    1. iPDC

     No9 9e 9ill go through di!!erent !eatures pro+ided in the suite.

    1.1. Add a source Device:-

    iPDC an handle @theoretially any num#er o! streaming soures. /o add a soure

    de+ie in addition you just ha+e to lik J Add !ource De+ice and !ill in the details assho9n a#o+e.

    1.2. Remove a Source Device:-

    ➢ To remove a source device click “Remove a Source Device”, a new window

    will appear showing all the devices currently connected with the iPDC,

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    20/33

    iPDC suite User Manual- v1.3.1   16

    1.3 Turn OFF Data Transmission:-

    /here is a speial !eature pro+ided to turn o! data streaming !rom a spei!i

    onnetion@s. /o turn 455 !ollo9 the steps sho9n in the !igure

    1.4 Turn ON data Transmission:-

    4ne the data stream is turned 455 !rom any de+ie; it an #e turned 4N again. 5or

    /urning it #ak 4N; the proess is similar to turning 455 proess; it an #e +ery

    easily assumed and deri+ed !rom the turning 455 proess.

    Clik JTurn '# Data Transmission I type in the J!ource ID code- > lik !end%

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    21/33

    iPDC suite User Manual- v1.3.1   13

    A confirmation  9ill #egi+en.

    1.5 Request Configuration Frame:-

    Re,uest to PM" !or his on!iguration !rame #y sending respeti+e ommand !rame. /he

    standard re,uires that PM" should #e apa#le o! reei+ing ommand !rom the PDC.

    4ne o! the ommand is re,uest PM" !or to send his on!iguration !rame. iPDC

    implements this through the J $e.uest Configuration /rame #utton.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    22/33

    iPDC suite User Manual- v1.3.1   %7

    /his !eature is used to get details regarding the urrent on!iguration o! the soure de+ie.

    0n this proess iPDC sends a re,uest to the PM" @simulator?physial de+ie re,uestingits Phasor details; analog details ; digital status 9ord et..

    1.6 Add a Destination Device:-

    /his !eature allo9s iPDC to #e a node  o! a omple; interlinked asaded net9ork.

    /hrough this !eature iPDC @pre+iously #eing a soure de+ie !or destination de+ies.

    0t then sends onsolidated data reei+ed to the upper le+el PDC?CADA or any othersuper+isory system @0P #ased onnetion.

    /he diagram #elo9 sho9s ho9 you an on!igure a destination de+ie.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    23/33

    iPDC suite User Manual- v1.3.1   %1

    /heoretially you an add N:num#ers o! destination de+ie.

    1.7 Remove a Destination Device:

    0t is used to remo+e the destination de+ie added #y the a#o+e method.

    0! the remo+al proess sueeded it gi+es a Con!irmation message;as a noti!iation.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    24/33

    iPDC suite User Manual- v1.3.1   %%

    1.8 iPDC Connection Table  *y liking this option; iPDC gi+es the in!ormation a#out onneted oure and

    destination de+ies onnetion details. &ould #e look like as #elo9;

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    25/33

    iPDC suite User Manual- v1.3.1   %(

    2. PMUsimulator

    2.1 Manage Data Source:- /9o mode o! data soure are pro+ided;

    1. Auto Generate

    %. Measurement 50le

    Auto:generate; renders random data itsel! 9hereas measurement file option !ethes data!rom a CV measurement !ile. A proedure is sho9 #elo9.

    /his option gi+es a hoie !or user to send the real 9orld measurement !rom data !ile.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    26/33

    iPDC suite User Manual- v1.3.1   %)

    2.2 Configuration Modification:-

    /his option pro+ides !aility o! adding or Remo+ing a phasor or Analog hannel along

    9ith option to hange data rate.

    *y liking on JConfiguration Modification a prompt 9ill pop up

    elet appropriate option; 9ill gi+e you !ollo9ing dialog #o.

    0! Add #e0 Channels  option is seleted a prompt !or adding  #e0 Phasor Details 9ill #e

    displayed; this 9indo9 9ould look same as Phasor Channel Configuration, you sa0 duringmaking on!iguration !or PM" imulator . 5ill in the details and lik #e1t%

    A!ter that !ollo9ing prompt 9ill #e displayed

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    27/33

    iPDC suite User Manual- v1.3.1   %-

    2.3 STAT Word Modification:-

    /his !eature o! PM" simulator

    ould #e used in PDC testing. Asthis is not an atual PM"; 9e

    an?should introdue di!!erent

    status arti!iially. Detailedeplanation a#out stat 9ord an

    #e !ound in C(2.116 in setion E1planation for !TAT 0ord in

    the data frame.

    0t is an imitation o! the Atual

    PM"; it is done automatially in

    a physial PM". i.e. 0! PM" isnot in synh 9ith GP then

    PM" sends  PM synch Error,aordingly other status 9ords

    are simulated. *ut only in singledata !rame.

    0t also has option to send in+alid

    Cheksum in data !rame. Not

    related to /A/ &ord.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    28/33

    iPDC suite User Manual- v1.3.1   %

    2.4 Header Frame Setup:-

    /his !rame shall #e human:reada#le in!ormation a#out the PM"; the data soures; saling;

    algorithms; !iltering; or other related in!ormation. /he !rame has the same ONC;

    5RAM

  • 8/17/2019 User Manual-v1.3.1

    29/33

  • 8/17/2019 User Manual-v1.3.1

    30/33

    iPDC suite User Manual- v1.3.1   %6

    3.2 Retrieve Previous Configuration:-

    PM"imulator and

    iPDC ha+e !eature to use

    old sa+ed setup. 0n anyase i! one had to reset

    the PM"?iPDC setup oris s9ithing the mahine

    then old iPDC?PM"@.#in !ile an #e used to

    reali#rate the

    installation on thene9?!ormatted system.

    8ere is the proedure

    ho9 its done; lik /I2EmenuI 'pen PM!etup)'pen iPDC !etup%

    T his 9ill sho9 a!ollo9ing 9indo9;

    a!ter seleting .#in !ile andliking 4K another prompt 9illappear sho9ing the property o!#in !ile.

     

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    31/33

    iPDC suite User Manual- v1.3.1   %3

    ➢ ame as a#o+e is !or iPDC;i! the iPDC o! same 0D eist then as soon as youadd it 9ill gi+e !ollo9ing dialog #o

    ➢ 8ere i! u lik 3E!, !ile 9ill get o+er9ritten immediately and  !ollo9ingconfirmation message 9ill appear

    ➢ other9ise i! you selet N4 then again iPDC configuration 0indo0  9illappear.

    iPDC - Free and Open Source Tool for WAMS 

  • 8/17/2019 User Manual-v1.3.1

    32/33

    iPDC suite User Manual- v1.3.1   (7

    Future Planning • &e are ha+ing !ollo9ing major 5uture milestone.

    1. VisualiEation appliations !or phasor data.

    %. Porting o! omplete iPDC so!t9are on &indo9s

    data#ase; or in D*ser+er terminal; #ut it is not su!!iient &e intend to de+elop a inter!ae@something like harting VisualiEation in 9hih 9e an render the data in real time.

    • /o inrease the usa#ility and +ersatility o! the appliation seond o#jeti+e is also appears

    to #e ,uite essential due to the popularity o! the 9indo9s en+ironment.

    How Can I HELP?

    • Oes; "R< you an help us.. in !at 9e really N

  • 8/17/2019 User Manual-v1.3.1

    33/33

    iPDC suite User Manual- v1.3.1   (1

    8o9 to Reah "s

    • Nitesh Pandit H panditniteshgmail.om

    • Gopal GajjarH gopalee.iit#.a.in

    Kedar KhandeparkarH kedarkee.iit#.a.in• Rathin DholakiaH rathindholakiagmail.om

    • 4r you an +isit our sitesH

    ◦ httpH??ipd.odeple.om?;

    ◦ httpH??soure!orge.net?projets?iit#pd?;

    ◦ httpH??9a!ms.o.

    mailto:[email protected]:[email protected]:[email protected]:[email protected]://ipdc.codeplex.com/http://sourceforge.net/projects/iitbpdc/http://wafms.co.cc/wafms/mailto:[email protected]:[email protected]:[email protected]:[email protected]://ipdc.codeplex.com/http://sourceforge.net/projects/iitbpdc/http://wafms.co.cc/wafms/