Home

Deliverable 4.4 Implementation of ANES Tool Chain

image

Contents

1. uuoosooosonn na aa eaa een anaaeen 32 28 The Installation location dialog sccccooosssus a aa eaa eee 33 29 The custom installation dialog sscooooooso na aa ana asenaan 33 30 The installation status dialog ssooosoooss naa aa aa een aaeen 34 31 The server port setup dialog uoosooosoooo naa eaa enaa eene 34 32 The settings of a Build Agent eese 35 33 he account setup dialog esses eene 35 34 Fine service Setup ddiog eit ietosieee maassa est serata eta iesa reset ooa tes kasta e E 36 35 The setup complete CialOG eee ccccsssscccccessssnececceesssseeeeccessssseeecceeeesseeeeeeeess 36 30 TASK ClO AOU RE T uU UM 37 Fe TASK AIMIMNO RT T mm 38 29 PAS SOMMOULAU ON mvassatamoassma taas GENA ts vanstegennnsscensastceyen E 38 D4 4 Implementation of ANES Tool Chain SW Prototype and User Manual The Consortium Artemis JU GA 269334 2245 a NES yy ON n A Figure 39 General Settings windOw ccc ccssccsssscsssecesssecssseecssssecsseeesssesesssesesseeeeseneeess 39 Figure 40 Setting a CVS link saaussats saatas a Hou rane ve eI UM Hlc ette TerEERE et U IU FDE EO EE Tata UNE Ohio 40 Figure 41 Setting Subversion link n a n eaa nennen 40 Figure 42 Setting the type of an interface ssssssssssssseeeeeeeenenrn nnn 40 Figure 43 A command line configuration para
2. Demanes TRI Design Monitoring and Operation of Adaptive Networked Embedded Systems D4 4 Implementation of ANES Tool Chain SW Prototype and User Manual The DEMANES Consor tium Joint Undertaking Grant agreement 269334 a c DOO gt Demanes Ads IN yi 24 1a N DOCUMENT INFORMATION Project Number 295372 DEMANES Full Title Design Monitoring and Operation of Adaptive Networked Embedded Systems Project URL http www demanes eu Document URL Artemis JU Project Officer Patrick Vandenberghe Implementation of ANES Tool Chain SW Prototype Deliverable D4 4 Title and User Manual Work Package Number wp4 Tite Too Chain Date of Delivery Contractual 24 Actual Status Final Version 104 JDiseminaionlevel PU Author partners Name Philips Lighting Responsible author Lauri Vaatainen UEF Email lauri vaatainen uef fi Phone 358 40 355 2373 Abstract for This document describes the implementation and usage of the ANES tool dissemination chain The document gives installation instructions on the tool chain Nowadays almost everything can be downloaded from the tool vendor s site so the document includes lot of URL links to help installation process In addition information on how to use DEMANES Design modelling language is provided The aim of this section is to give an initial comprehension on the DEMANES modelling Th
3. JetBrains TeamCity 8 1 1 bulld 29939 Figure 29 The custom installation dialog 33 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual EMMIS hee See Please wait while JetBrains TeamCity 8 1 1 is being installed Extract edipse plugin distributor zip 83 gt 1 00 Show details Next gt Cancel Figure 30 The installation status dialog Once installation is completed you have been prompted to setup Sever port properties and Build Agent service account default settings can be kept TE JetBrains TeamCity 8 1 1 Setup Installation Complete Setup was completed successfully TeamCity server port sh JetBrains TeamcCity 8 1 1 build 29939 lt Back Figure 31 The server port setup dialog 34 58 D4 4 Implementation of ANES Tool Chain The Consortium SW Prototype and User Manual EMIS ree Ses oe iC T eamCOty re Ahels SERVER 3090 IN kittp Aocahost s080 IC D eemiOty huidigert enp C TesmOty buftdiAgent work exv TEAMCITY JR value should be the XX hame drectory Qn case you sant to run Java 5ukes name viue amp the name of an agent that sil be depleved n tre TemniOty user nterface value amp a port where the agent ietens to the server commands Please make sure thes port s not blocked by Greval servertiri vaie the TeamOty server locaton value the working catalogue where the bulis are be
4. E lt Undefined gt 1 Replicator cerdinalityz 2 n paa 7 Replication Conswrsint Z Link Figure 19 Representation of a replicator in a task group 3 3 2 7 3 Reconfiguration Reconfiguration is represented by means of dedicated stereotypes applied to Ports Heconflssuer and ReconfHandler and to PortLinks ReconfLink taskGreups Contest Ly DEMANES Har dvearetnny DEMANES TaskModeling TaskGroup T gt th recor Task 1 Ew appkAppl ll appl Appl L Task memFootPnnt 0 texResaurcesz nelOPs lt 0 Ed Task nrFLOPs 0 E Detrtity 4 Functionsity Part InpulOetaPort L a ur ic DEMANES Reconfiguration m Reconfiscuer ta ReconfHardler 4 Reconflink DEMANES Replicabon D Sephicalor Replicates 7 Replication Constraint i 7 lnk Figure 20 A representation of reconfiguration in a task group 21158 D4 4 Implementation of ANES Tool Chain SW Prototype and User Manual The Consortium Artemis JU GA 269334 f D EMOAKES pe Ja KS gt Jim PAN Nu 3 3 2 7 4 Behaviour Behaviour is specified by means of Activity Diagrams by using appropriate stereotypes for activity states The stereotype attributes allow also to specify interaction with containing Task Ports 73 damares application samples di E r W 2 e Actiatyl gt Palette Node 1 Edges gt DEMANES Behaviour EventAc cept
5. In case you need to have multiple instances of Build Agents you need to repeat the installation procedure 31 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual ME 3 3 4 4 Installation procedure To start the installation double click on the Team City icon package previously downloaded The welcome panel is showed and then click on Nex and I agree to accept terms of license buttons Welcome to the JetBrains TeamCity 8 1 1 Setup Wizard This wizard will guide you through the installation of JetBrains TeamCity 8 1 1 It is recommended that you dose all other applications before starting Setup This will make it possible to update relevant system files without having to reboot your computer Click Next to continue Please review the license terms before installing JetBrains TeamCity 8 1 1 Press Page Down to see the rest of the agreement License Agreement for JetBrains r TeamCity tm IMPORTANT READ CAREFULLY THIS IS A LEGAL AGREEMENT BY DOWNLOADING INSTALLING COPYING SAVING ON YOUR COMPUTER OR OTHERWISE USING THIS SOFTWARE YOU LICENSEE AS DEFINED BELOW ARE BECOMING A PARTY TO THIS AGREEMENT AND YOU ARE CONSENTING TO BE BOUND BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT YOU SHOULD NOT DOWNLOAD INSTALL AND USE THE SOFTWARE If you accept the terms of the agreement dick I Agree to c
6. dl xmi model rep dl xmi systemProperties rep dl xmi node rep dl ID rep dl xmi nodeComponent battery rep dl label rep dl xmi nodeComponent clock rep dl translators rep di xmi nodeComponent commHw rep dl version rep dl xmi nodeComponent genericHwCo dl xmi acceptorHandles rep mponent rep dl xmi algolnterfaceAssociations rep dl xmi nodeComponent memory rep dl xmi algorithm rep dl xmi nodeComponent powerSupply r dl xmi algorithmModel rep ep dl xmi attr rep dl xmi nodeComponent processor rep 45 98 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 50000 a a n M Demanes 4 P S Ilin MES N dl xmi attr href rep dl xmi nodeDefinition rep dl xmi attr id rep dl xmi nodeReference rep dl xmi attr label rep dl xmi openIDTag rep dl xmi behalnterfaceAssociations rep dl xmi outputDataPorts rep dl xmi behaviouralModel rep ol xmi physicalModel rep dl xmi behaviouralStates rep dl xmi portMappingAssociation rep dl xmi channel rep dl xmi properties rep dl xmi channelAssociation rep dl xmi property rep dl xmi channelAssociations rep dl xmi reconfigurationReg rep dl xmi closelDTag rep dl xmi replicator rep di xmi commAssociations rep dl xmi replicatorAssociation rep dl xmi comment rep dl xmi replicatorAssociations rep dl xmi comments rep dl xmi replicators rep dl xmi Configurations rep dl xmi regResources rep dl xmi dataFlows
7. Artemis JU GA 269334 TE SSS 4 Db p N JON Demanes ee Jum FRA Appendix A System Reliability 1 INTRODUCTION A system is a set of interacting or interdependent components forming an integrated whole This implicates that two components together already form a system When the number of components and their interactions hugely increase so called large or complex systems are formed The types of components their quantities their qualities and the manner in which they are arranged within the system have a direct effect on the system s reliability The commonly used description for System reliability is given as The probability that a system including all hardware firm ware and software will satisfactorily perform the task for which it was designed or intended for a specified time and in a specified environment From a system reliability point of the view the challenge is to master the reliability of all these components Figure A 1 shows different possible lighting applications ranging from lighting in offices around living houses to streetlight and a total city that needs to be lighted Figure A 1 Lighting applications with from left to right an office with bulbs outdoor luminaries at living house environments street lighting in Dubai and lighting the city of Shanghai with LED based products Within DEMANES Philips Lighting has developed the so called System Reliability Tool SRT It can be seen as a
8. ERA From an Internet browser type the machine name address or IP number too where the TeamCity UI has been installed and use the administrative credentials to log in 3 3 4 5 1 Task creation Go to the Administrative section and click on Create project button on the upper right side of the window sen n O e m oom O an 0064 CJ omg me c UAI Dr rm FU 14440 79794477 Figure 36 Task creation 3 3 4 5 2 Naming a Task You are asked to choose a name for the Project and eventually a brief description of it 37 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual EMIS ree Ses Demanes poem Y Zu ys lt i k m W t Gee asus f oc oom oe Sm m ee Te 5 Las s 1l agem O mi ius m gt un 19 og Futur an see Figure 37 Task naming 3 3 4 5 3 Task Configuration setting Associate a Build Configuration where you set details for the Build Task to be created just clicking to the Create build configuration button 4 O A Aut ieee S ere F loo n aem Q Hans saama ee T ads ls iy C mt sgun s Gees 114 Mal gn ad Rd Pepe KATTAVA bree et ee Fee RY Ctm tsss steer s O P ES CSE cR S ama vaa P Man n i MA 5 000 Vn W U kat ad tee oe eae s e gt eee omm Ie et p Figure 38 Task Configuration 38 58 D4 4 Implementation o
9. GA odd SS 3 3 3 Installation of DEMANES Java code generator for MetaEdit The Java code generator was not available during the writing of this document and therefore the installation instructions will follow in the future Creating Software Design Model 4 1 THE DEMANES MODELLING LANGUAGE The DEMANES modelling is developed during the DEMANES project The aim of the language is to give a strong support to the modelling adaptivity and reconfiguration functionality of DEMANES applications The full definition of the language is available in DEMANES project deliverable D3 2 modelling for architecture design specification of the DEMANES modelling framework which should be obtained as a handbook of a modelling language At first sight the DEMANES modelling language is similar to other well knows system modelling languages such as UML MARTE and SysML Some significant differences exist however At first the DEMANEs modelling languages describes a system using four different aspects whereas many more aspects and relations can be implemented into other languages At second the important features needed in DEMANES are lacking from other modelling language These are implemented in the DEMANES Modelling language As the DEMANES modelling language is a graphical language designers used to UML or similar language can easily adopt the DEMANES modelling language The look and feel of the DEMANES modelling language is very similar between MetaE
10. Springer series in Reliability Engineering vol 79 London Springer March 2006 pp 45 52 2 W D van Driel X J Fan Solid State Lighting Reliability Components to Systems ISBN 978 1 4614 3066 7 31 August 2012 Springer 617 pages 3 W D van Driel M Schuld R Wijgers W E J van Kooten Software Reliability and Its Interaction with Hardware Reliability Proceeding of the EuroSimE conference Gent 2014 98 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual 1000
11. The start of the new PLOje Ct ccccssccessssseecesssseeeessseasecesssseeeessseseesessaeees 22 11 Model Diagram language selection sessseseeeeee 23 12 The new model is visible in Project Explorer uuussusss nnas 23 13 TNE Model PrODGIty VIEW ccncsctetietetiseciivsiea Seb on errat into tio eiecit or Ua oett bu bete ein 24 14 Apply Profile WINdOW mE 24 15 Choose Profile window esses eene enne ennt 25 16 MOGel PrODEMY VV INGOW E 25 17 A sample of task group GIAQraM ecececccccssscccesesseceeesenseeceeessseecesesseeeeeseseees 26 18 A Sample of Class Diagram esses nennen 26 19 Representation of a replicator in a task group seesssesess 27 20 A representation of reconfiguration in a task group eeeeeeesse 27 21 A sample of an activity diagram cccccuussussn aa eaa eaa a ees naaeen 28 22 A connection between task and behaviour models ssss 29 23 A sample of a physical model hardware environment 29 24 A sample of a physical model node definition ssueesse 30 25 The download page of Team City ecoosuussoosn naa aa aa eaa 31 26 Welcome display of TeamCity Installer euuosssssssn nn eee 32 27 The License Agreement dialog
12. and MetaEdit are tools used for modelling and simulating In addition to simulate the model Mathlab is reguired Programming languages supported by ANES tool chain are C and Java These languages are available through GNU Compiler Collection and Android Development Kit Those developers who are using Android based devices can deliver their applications by using Google Play This document contains step by step instructions on how to install the tools of the ANES tool chain In practice all tools must be downloaded from the web sites of open source project and tool vendor If a tool is a commercial one a free evaluation period is offered very often During this period a user is expected to purchase the license if the tool is taken in use The DEMANES modelling is developed during the DEMANES project The aim of the language is to give a strong support to the modelling adaptivity and reconfiguration functionality of DEMANES applications The full definition of the language is available in DEMANES project deliverable D3 2 modelling for architecture design specification of the DEMANES modelling framework The DEMANES modelling language is used design systems having automatic reconfiguration and adaption to changes in application environment The DEMANEs modelling languages describes a system using four different aspects which are a task model a behavioural model a physical model and a mapping model The modelling language is graphical and a mo
13. and the clients are the specialized agents which perform the concrete operations of a Build Task 3 3 4 2 Downloading installation package TeamCity installation package is identical to both Professional and Enterprise Editions and is available for download at http www jetbrains com teamcity download 17 page for Windows Linux and MacOS operating systems Here we chose the one for MS Windows operating system tma onm gt H P amp i Free Professional Server license prowded for free Omtoeded Tes s a maximum of 20 build configurations You cn M 4 a M YW a n a eee Figure 25 The download page of Team City 3 3 4 3 Package clarification As previously explained before TeamCity is a client server system which consists of one User Interface the server part and one or more instances of Build Agents the client s part The package installation is unique to both parts and in particular the following description refers to the installation of the Ul and a Build Agent in the same machine Although the TeamCity server distribution is installed with a default build agent that runs on the same machine as the server this setup may result in degraded TeamCity web UI performance and if your builds are CPU intensive it is recommended to install the build agent on separate machines or ensure that there is enough CPU memory disk throughput on the server machine
14. corporc ty i v Reliability 99 7 eR ma a Sit Availability 99 9 i fei d n Faken che wriecton r M Calndats cotery pre whe pa M bruadis 140 doiiar piit taka en i trahir PD cata mmprm l abri i rabie ceiver fahre U Peet LED viru Falken di kooma te renters fahat hajallaan of Lever mom Pareto plot catastrophic failures Pareto plot catastrophic failures j i P t E be 3 c a a amp L 5 3 Shoe housrg SRouterl WRouter2 OCoremisr W T 0Pce 1 MPa 1 Shoe 4 F Poe 1 wc O Poh T7 MPa MPO MPa X Figure A 6 Left side shows the pareto plot for system catastrophic failure contribution with on right side the details for the poles 3 2 Zones with 10 Poles Each Following op on 1 Zone the 10 poles are extended to another zone with 10 poles The same principle repeats and the 10yr results are listed in the below table The reliability curve is also plotted no up till a time scale of 5000hrs note this is the reliability curve and not the availability curve 56 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual 1000 Demanes _ X possen 4 gt RI System overview Reliabilit 99 0 Availability 99 8 Figure A 7 Reliability curve failure rate versus time for the situation with 2 zones 4 4 Zones with 10 Poles Each Duplicating to 4 zones of 10 poles each enlarges the system model extensively The model is depicted in the
15. for UML RT Modeler Extensions Extension of the tool View Stylesheets Incubation by Eclipse Modeling Project EPL Support of themes for Papyrus enabling specific stylesheets definition on views x Diagram generation Incuba by Eclipse Modeling Project EPL O D Offers a tool for generating Papyrus Diagrams from a semantic UML Model cnc Figure 5 Additional Components Discovery window in Papyrus 19 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual IIS hee Ses Demanes N pun 4 RI 10 Follow again Next Next Finish the installation wizard always accept the default options and finally accept the license terms When requested accept the installation of unsigned content ing You are inetalling software that contains unasgned content The authenticity vabdity of thes software cannot be established Do you want to continue with the Details gt gt Figure 6 Security Warning Dialog for unsigned content 11 Accept restart of Eclipse 12 Now the IDE installation is ready to use Papyrus Tool and MARTE Profile 3 3 2 4 Install DEMANES Plugin on Papyrus The DEMANES Modeling Palettes are provided as an Eclipse Plugin that should be installed on your IDE 1 Ensure Eclipse IDE is not running 2 Copy the DEMANES plugin com akhela demanes papyrus palette 1 0 0 201404160951 jar 17 into the C DEMANES eclipse dropins plugins folder You should find t
16. get these packages for your SDK continue to Adding Platforms and Packages 3 1 3 5 Install the Google Play Services SDK To install the Google Play services SDK for development e Launch the SDK Manager in one of the following ways in Eclipse with ADT select Window gt Android SDK Manager or double click the SDK Manager exe file at the root of the Android SDK directory e Install the Google Play services SDK e Scroll to the bottom of the package list expand Extras select Google Play services and install it The Google Play services SDK is saved in your Android SDK environment at lt android sdk gt extras google google_play_services Note Google Play services 4 0 30 released November 2013 and newer versions require Android 2 3 or higher If your application supports Android 2 2 you can continue development with the Google Play services SDK but must instead install Google Play services for Froyo from the SDK Manager 16 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 50000 pn N e isa r e Demanes 4 P S I n SAP B e Using Eclipse import the library project into your workspace Click File gt Import select Android Existing Android Code into Workspace and browse to the copy of the library project to import it 3 1 4 Installation of Wireshark Wireshark is Open Source network packet analyzer used for network troubleshooting network analysis softwa
17. is represented by the agent installed in specific machines and here you check the build environment where to execute the Build Task e son tee a ee A O 1 cee d oo T my s 62 tt ochaytt nyt s w es L gal ob acr Cua eawun ge qe tt orm Figure 49 Agent setup 3 3 4 5 13 Task Run The build can start when the Build Condition set are verified or you can force the start on demand just clicking on the Run button associated CC _ _ I III LIE swm 3 O 4 A iom tat reet U m syi Figure 50 Build status display 3 3 4 5 14 Build Tasks history table 44 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual EMIS ree Ses Demanes puen 4 Y A PRA nS For each Build Task an historical legend is available where additional information can be retrieved Parra etes Figure 51 Build History Log display 3 3 TRANSLATORS AND CODE GENERATORS 3 3 1 Installation of DEMANES XML generator for MetaEdit The DEMANES XML generator produces an XML file with an intermediate persistent representation of a DEMANES model entered in the MetaEdit modeller software The generator is written in the proprietary language MERL offered by the MetaEdit environment The complete set of files composing the generator is presented in Table 1 Table 1 The list of files beloning DEMANES XML generator Create XMI rep
18. n of MetaEdikusvasaussusssuuessasi ai e E aon aa lenses evon d Dess 30 324 Installadon ot T dti Dy mssmssssesistaiusssaumsasssaia m s oi S dus cud Tai 30 33 Translators And Code Generators 29 252 20592 529299 99392 92590505500392026619 059959 1899 70955800100 Kapa akan y te vE4ss6sNN l 45 3 3 1 Installation of DEMANES XML generator for MetaEdit eeeeeeeesssssseeeeeeeeeneenennn 45 3 3 2 Installation of DEMANES XML generator for MetaEdit eeeeeessesseseeseeeeeeeeeeennnnn 48 3 3 3 Installation of DEMANES Java code generator for MetaEdit seesesessssse 48 4 CREATING SOFTWARE DESIGN MODEL tetro te Io vaava sk oeka vekaendNtekte Ntes esavssk sein vesi 48 4 1 The DEMANES Modelling L ngvag6ssisissiissosssissssisasssaata vessat livadnaaaassaiauiiaaatoautaaalkuliuaa mana tuaadsadena 48 2 2 IDS Mod HIIS SD COS aa bieisteridenasst e indo iesu sse oases KES ET NISA te Mind n ace Pd esa e mISa IISI Pes E SI SS set Sa CURL e MPs RN 49 4 5 Putting The Aspects TOBgellier uiii ence poat OEeRud cire nl abe ieoa eo spa X DN CEPI M TUUS ER rU Osa aa uS Ma MA 49 5 SIMULATING SOFTWARE MODEL cacosassceiectniteoheanacetacaniewscaa rice neces teonas ecgataccniewsoussagsiesouteenagacsenadonaeds 50 6 APPLICATION DISTRIBUTION SER VICES seccedacceecsiectuncncncsdersupede eb esae Host ee traen ed s N cse exter ker n sm 50 T GCSE Q 51 KERKEKENC
19. point will only appear after 16khrs which is equal to 32 years of service The 10 yrs performance is listed in the table tyven Reliabidty Tool v Peto Wia wart red Oy 304 M lgsg fh Pahan modes Component vector Spaten pa mnata PORCI adem toon un Pahan neries i w Parin Pm comtage AP Pos ct 44 faa va at 9 Ra ioe MTT LI i 100 M Ganepe 00reca outpur Reliability 99 98 Availability 99 98 95 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual 1000 A JU TE Demanes mm rec lm ig 2 1 Zone of 10 Poles Note that in this case the restriction of Only if 2 light sources next to each other fail simultaneously this will be considered as a system failures read no availability of the function comes into play This means that the system reliability will not be the same as the system availability The system reliability is calculated assuming that each component can fail the system availability only on the given restriction The screenshot on the left is the model The 10 yrs performance is listed in the table Pareto plots are shown below Mysbeen BHelioiiccty Toci Aa Am A AN AN E p Wekossi lum vn Ori rdy 20404 LU Fate mads Component select System perereters Predcson Adem trode S qwe e oduct name l Override ines Demers PESE Asoer Tere N as Laid ton Ss Open candaan Avda Cote
20. rep al xmi root rep dl xmi flowAcceptorHandles rep dl xmi task rep dl xmi HREFTag rep dl xmi taskGroup rep dl xmi IDTag rep dl xmi taskGroupReference rep dl xmi initialState rep dl xmi taskMappingAssociation rep dl xmi inputDataPorts rep dl xmi taskModel rep dl xmi interfaceAssociations rep dl xmi taskReference rep dl xmi issuerHandles rep dl xmi termState rep dl xmi mappingModel rep dl xmi transitions rep For installing the generator files in a new instance of MetaEdit do the following steps 1 Copy the generator files listed above to a temporary folder in the computer where MetaEdit is installed 2 Start MetaEdit and login to the repository where you want to import the code generator It is important to notice that the DEMANES metamodeling language should be available as one individual project in this repository 3 Start the generator editor MERL by clicking the appropriate button as depicted in Figure 52 Alternatively use the menu Metamodel Generator editor Figure 52 Button to start the generator editor MERL in MetaEdit 4 In the generator editor window select the menu Generator Read from file o In the browser window that appears go to the folder where the generator files are and select all as depicted in Figure 53 Click open 46 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 Name Date modified Type N dl ID rep 21 5
21. root cause for such failure In 3096 of the cases one of the routers did not work properly not signal transferred or catastrophic failure The pareto plot on the right below demonstrates the statistical behaviour of our calculations Actually one would expect that for each 8 routers remind that 2 in a row should fail the failure probability should be almost equal 1 8 12 596 Due to the Monte Carlo drawings this it is not the case Actually if same calculation is repeated the answer will be slightly different Pareto plot catastrophic failures Pareto plot catastrophic failures 3 g E a E E v 1 v M 40 3 E t c 8 7 5 amp Figure A 9 Left side shows the pareto plot for system catastrophic failure contribution with on right side the details for the routers 3 3 4 5 14 1 Discussion amp Conclusions We have demonstrated the use of the developed System Reliability Tool for large and complex services For the outdoor pilot it means that in a period of 10 years and with a confidence level of 90 out of the anticipated 1000 fire calls may not work properly This is seen as acceptable Further field testing is needed to verify our predictions In 1 year of service with 100 fire calls we expect a lower and upper bound of O failures The first failure is not expected in a period of 3 years It means that we have to track the system for guite some time References 1 1 H Pham System Software Reliability in
22. sort of a middle ware that connects between the actual product architecture and the behaviour of the system The purpose of the SHT is to e Automate the manual combination of reliability models e Prevent errors by rigorous data checking e Lower the entry barrier for doing a reliability calculation e Integrate the estimation of reliability figures into an NPI project during the DFSS Design and Optimize phase Figure A 2 shows the GUI of the tool The next paragraph demonstrates the use of the tool for the smart Lighting Outdoor pilot It is an example any other pilot can be assessed in the same manner 93 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual 1000 3 Welcome Willem van Drie rhy 3545 Lane Engish 7 Faise modes Component selechon System parameters Outoa vete eet 5ysbenipeoduet name lest sten p LED string J Tue Dew AC P 4 i JURA ys lt i d Pase System layout and hierarchy Houa p Driver 1 W o Mee 1 Seve cakukstion Pan Open calculation LED string 1 General eee 1 settings and system components MM file lO A gt N Component Driven D string Custom component selection Dea w Casale tram erate End of Me kumen level 70 2 Failure mode F Color poirt chift lead to fahre forty more than LED type i used ret Po oon selection JI Catete catastrophic Fsbares Collapse al Ends and criteria f Ena
23. task group diagram and a Class Diagram can help to specify the Task and TaskGroup Classes that will be used in the final Composite Structure Diagrams m 35 Palette 2 S gi Nodes eteskGroupe a Ed lt SmartAirpartManagemoeat cogs DEMANES TaskComponents lt E TaskGroup eteskGroupe i stesbGroup ET SmartSystemhMsnagement n 100 EstEntity n n CampositionAssocistion i A p ot is 1 Wy 1 Y I v he 3 ataskGrauns taskGroups j sr pet staskGrauans i CollaborstivePositoningy O OntologyksasonmgEngine SWIM SchedulingComponent Figure 18 A Sample of Class Diagram 3 3 2 7 2 Replication Replication is represented by means of dedicated Heplicator applied to UML Parts and ReplicationConstraint applied to UML Constraints stereotypes 26 58 D4 4 Implementation of ANES Tool Chain 6 The Consortium SW Prototype and User Manual 000 Demanes cTask memFootPrint 0 reaResources niiaPs 0 mFLOPs 0 E mya Taa E DEMANES TaskModeling TaskGroup jj Task Ez ExtEntity Functionslity Pert a iputUstaPort memfoctPrint 0 m OutputDataPort reghesources u IngutCantralPart a OutputControPeort Pata ignea Ac DEMANES Reconfiguration DEMANES Replication iz Replicator Replicates sn mg e Undefined 1 sReplicator cardinalty 7
24. to generate the source code MetaEdit can also be used to generate Matlab code for simulating purposes DynAA with Matlab is used for simulation Simulation allows system designers e g to test design using a variety of devices and configurations to validate the design 10 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual ASU C Demanes pem 4 SAP N 2 2 APPLICATION IMPLEMENTATION AND DELIVERY The code generation is not providing the complete source code of application in addition to generated Java code handwritten and imported source code is needed as well as DEMANES middleware The middleware contain functionalities e g for adaptivity and reconfiguration The aim of the middleware is to speed up and simplify an application development The middleware includes a reasoning engine and but depending on an application domain different reasoning engines must be used The C C and Java programming languages can be used to implement DEMANES applications If C is used then Java Native Interface JNI must be used to access DEMANES middleware If Java is used then there are no extra requirements for using DEMANES middleware In addition to run DEMANES middleware JAVA VM is needed Optionally when development is targeted to Android devices WireShark and Google Play can be used for the network analyze and delivering applications 2 3 PROCESS MANAGEMENT TeamCity can be us
25. 0 0 30 0 0 30 117 Once the DEMANES modelling palette is installed and the DEMANES Profiles applies to an UML model the DEMANES specific tabs will appear within diagram palette when an appropriate diagram is opened DEMANES specification models are mainly represented by means of Composite Structure Diagrams Modelling Language entities inside diagrams are represented by applying the appropriate stereotype to the base UML entities depending on the specific model type is being specified Task Model Physical Model The customized palettes help to build diagrams by drag amp drop elements with the appropriate stereotype already applied 25 58 D4 4 Implementation of ANES Tool Chain SW Prototype and User Manual The Consortium Artemis JU GA 269334 TTO m t lt JA Ani P7 C ra PRSTA 3 3 2 7 1 Task Modelling Task models are represented by mean of Composite Structure Diagrams D gorans apokeatma mendi L tmtOroupe bag aTiarthare orttetanegertvent ka DEMAMES NedeDel Lo DEMANES HardeareE m gt DEMAMNEST ab Med mg m Detabtput dta aquest r Ter Tant CH pc Khedetngl omponeet 1 c3 vig Ontotog PaasererglE nga 1 Es Swim TAPA i data gataheaMequest Cata hy b EtEntt to Fanctmoralty Part 3 MeutOstyPon a OutputDetsPon a ingutConmicieon a Qp entrciton FP Data s verti 7 Frrattapsngi nt 5 Smart Ampert Figure 17 A sample of
26. 014 Lauri V t inen Typos fixed 01 03 6 11 2014 Lauri V t inen Typos fixed 01 04 3 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 Demanes pa 19 ln RT SUMMARY EXECUTIVE UMMA Y T 7 ABBREVIS HON P 8 ls IN RC COIN P battccotatavaseataeseenstengs balalacotatavessaunsssens tava E 9 2 ANES TOOL CHAIN COMPONENTS vanssa stpnmaatatuseensta n vakaana n u Ni Kam kal o Fus n 00 coin a va Estan o UG S Esp ke e Fauno puo d n m dn 10 2 1 Modeline and SmiulitlOlizsuedeseeuivas eei E EN oce xa tuve sea snt cintatnvesabiawtodesatayciedusndodeisdes 10 2 2 Application Implementation And Delivery sss nennen enne nnns 11 2 9 Process NIRO EI Ws sass aisa aina osa o KE reda ea eaae 11 3 ANES TOOL CHAIN INSTALLA TON oces einion piae eka Ae aieiaiee 11 Sal DEE S 00808 TOE e m 11 jL Pst ll ti n ot OLOWPAN uamanes sstasuuodasmesvavak 11 os MLL 11 CNN 1510300078 ONU GCC sereen JI SSP EINI VOINEN 13 3 1 3 Installation of Android SDK uuussssssose e eaa aa a aa aa aan a aan nannaa eaa eaa eaa a naan a ana a n nnns 13 kA WSCA OMG NIE MOT EUER 17 re COL TOO c PE 17 3 2 1 Installation of LAR ONS m 17 3 22 T stallatton ot Papyrus sirrien a ea aaeeea reee Eae Eiir 17 3 229 Pist llati
27. 14 In the following Choose profile s to apply windows select all the elements then OK 24 58 D4 4 Implementation of ANES Tool Chain The Consortium SW Prototype and User Manual Artemis JU GA 269334 perme m lt En i z Choose profile s to apply 4 Vil DEMANES Fl TaskModeling E BehavioralModeling WE PhysicalModeling E MappingModeling amp Reconfiguration Select All Deselect All Cancel Figure 15 Choose Profile window Ta po JA 15 The applied profiles will appear in the Profile application section of the model Property window E Properties 3 E model UML Comments Profile Advanced J Model Validation Profile application Name DEMANES DEMANES TaskModeling DEMANES BehavioralModeling DEMANES PhysicalModeling DEMANES MappingModeling DEMANES Reconfiguration Applied stereotypes E Location platform resource com akhela demanes uml profile platform resource com akhela demanes uml profile platform resource com akhela demanes uml profile platform resource com akhela demanes uml profile platform resource com akhela demanes uml profile platform resource com akhela demanes uml profile Figure 16 Model Property Window 16 Now you can use the DEMANES Profile in your model 3 3 2 7 DEMANES system modelling using DEMANES UML Profile Exe c Version 0 0 30 0 0 30 0 0 30 0 0 30
28. 2014 16 57 REP File fi dl label rep 21 5 2014 16 57 REP File N dl translators rep 21 5 2014 16 57 REP File A dl version rep 21 5 2014 16 57 REP File A dl xmi acceptorHandles rep 21 5 2014 16 57 REP File fi dl xmi algoInterfaceAssociations rep 21 5 2014 16 57 REP File d dl xmi algorithm rep 21 5 2014 16 57 REP File dl xmi algorithmModel rep 21 5 2014 16 57 REP File D m dl xmi attr rep 21 5 2014 16 57 REP File T A dl xmi attr href rep 21 5 2014 16 57 REP File fi dl xmi attr id rep 21 5 2014 16 57 REP File a dl xmi attr label rep 21 5 2014 16 57 REP File 4 EN dlxr MetaEdit Generator Definition e name dl translators rep dl version rep Figure 53 Select all the generator files and click Open 6 The import of the files is complete The new generator is available at the Generator Editor window as depicted in Figure 54 HE Generator Editor foe Ora Generator Edit View Breakpoint Format Help Dau AyrA ICAA AR Ex BE Bl U Al Hierarchical v Graph Checkings Object gt E Port Dictionary z Role gt Export graph hierarchy to HTML Relationship Export graph hierarchy to Word gt Export graph to HTML General Export graph to Word Control gt Metrics External I O Object Connections Strings amp Numbi mm we ao 4 N Templates a Create XMI subreport dl translators run subreport dl xmi Configurations run x
29. ES r 52 APPENDIX AS TS IEM RECABILCIDI oeren E AN 53 J TO i9 NP m 53 2 System Reliability Analysis for the Smart Outdoor Lighting esee 54 4 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 0000 Demaues ER gone lt L LIST OF FIGURES Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 5 58 1 Constr clioh OF ANES Tool Chain cocci ctu t bbs ees ren Eti tee assa aava a hat ess 10 2 Android Preferences dialog cccccccccssscccesssseccessssseecessseeeecesseaeeeessseeeeesseaeeesens 15 3 The workspace selection dialog in Papyrus eeeeseeeeeeee 18 4 Eclipse Modeling Component Discovery window uuuussssn onnee 19 5 Additional Components Discovery window in Papyrus e 19 6 Security Warning Dialog for unsigned content eeseseesssse 20 7 The Papyrus perspective in Eclipse eese 21 8 POSE CU IMPOR DIAC G RR 21 9 Model selection under com akhela demanes uml profile 22 10
30. S systems by using UML models with the DEMANES UML Profile The instructions assume a basic knowledge of the Eclipse IDE environment usage 3 3 2 1 Prerequisites for Papyrus installation e Any Operating System supported by the Eclipse IDE must be installed before installing Papyrus The instructions are relative to installing on a Windows but they can be easily adapted to install Papyrus also on Linux or Mac platforms e Java Runtime Environment version 7 update 55 or better must be installed before installing Papyrus JRE is available from www java com 14 installed on the workstation This is actually an Eclipse IDE prerequisite See 3 1 3 2 for more details 17 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 0000 T 4 N Demanes possen 4 gt ad 5 3 3 3 2 2 Components to install e Package Eclipse Modeling Tools version Kepler SR2 packaged distribution downloadable from https www eclipse org downloads 15 e g eclipse modeling kepler SR2 win32 x86 64 zip e Eclipse Papyrus 0 10 2 modeling component installable from within Eclipse Modeling tools e UML Profile MARTE 1 1 installable from within Papyrus tool e Papyrus View Stylesheet extension installable from within Papyrus tool e UML Profile DEMANES 0 0 30 com akhela demanes uml profile 0 0 30 zip available from DEMANES SVN repository e DEMANES Palette plug in 1 0 com akhela deman
31. W Prototype and User Manual 000 TE pme lt p LAN Demanes RA 2 ANES Tool Chain Components The tool chain is presented in Figure 1 Dotional Extemal Executables fcr DEMANES XML 0 Optional Tools for Android platform Ee Results of network analyze EA Simutating DEMANES oe results middleware T with reasoning Legend engine G C Generator converter Tool library File files W aniety of embedded devices Mandwritten amp boomed code Build files lt Figure 1 Construction of ANES tool chain The ANES tool chain is composed on the number of tools which are integrated together by using file based data exchange The ANES tool chain supports DEMANES development process by providing tools for each phase of the process 2 1 MODELLING AND SIMULATION Papyrus and MetaEdit are tools for the modelling phase The modelling is based on modeling language that is normally used with these tools but in addition a DEMANES specific modelling language extension is included in the tools for providing the modelling of adaptivity and reconfiguration functionalities The DEMANES specific XML file is used to bring design for Java source code generation Both Papyrus and MetaEdit are using generators of their own to output a DEMANES XML file That file is used to further on
32. arket are listed below 11 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual Artemis dt 050203834 eT a JLMOUES p p SERT aL Ji NXP Semiconductors Jennet Application firmware is developed in C using the industry standard license free Eclipse IDE and NXP s GNU based C C tool chain NXP provides an executable file which includes e JENNET JenNet provides a mesh under networking approach offering a self healing self forming scalable and robust networking layer supporting the GLoWPAN IP and UDP technologies e JIP API The JIP API provides an easy to use table orientated method for communicating between IP based devices both inside and outside the wireless network The JIP API is based on the SNMP model and so supports SET GET commands to configure MIB settings as well as a TRAP primitive to report status events and conditions e FLASH PROGRAMMER Tool used to download the firmware image to the device Texas Instruments CC2530 from Texas Instruments TI has a port https github com g oikonomou contiki sensinode 1 where we can find the GLoWPAN implementation for TI chip To develop firmware IAR Embedded Workbench for 8051 should be used In order to create and download the firmware image we need the following tools e INSTANT CONTIKI 2 5 http sourceforge net projects contiki files lnstant 20Contiki lnstant 20Contiki 202 5 2 Th
33. based tool chain C compiler Texas Instruments The compiler is provided by IAR environment which generates code from the 8051 architecture 3 1 3 Installation of Android SDK Android SDK is installed as an Eclipse Plugin The Eclipse installation must be Eclipse Kepler SR2 to permit the installations of Papyrus 0 10 2 MARTE 1 1 View and Stylesheet compatible Download Eclipse Modeling Kepler SR2 zip bundle from https www eclipse org downloads 6 Install Eclipse with subsequent instructions Installing Eclipse is relatively easy but does involve a few steps and software from at least two different sources Eclipse is a Java based application and as such requires a Java runtime environment JRE in order to run 13 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual a i eT a JLMOUES p p SERT aL Ji 3 1 3 1 Install a JVM Regardless of your operating system you will need to install some Java virtual machine JVM You may either install a Java Runtime Environment JRE or a Java Development Kit JDK depending on what you want to do with Eclipse If you intend to use Eclipse for Java development then you should install a JDK the JDK includes among other useful things the source code for the standard Java libraries If you aren t planning to use Eclipse for Java development and want to save some disk space install a JRE If you are using Win
34. be modelled by 40 blue LEDs of type Luxeon Rebel mounted on FR4 a piece of electronics with a FIT of 1200 at a Toasemax of 85degC The pole electronics is running on 65degC The router is considered as a controller with a FIT of 300 IF the router fails the system is not available anymore We do not consider Lumen Maintenance degradation a failure item for the system The average ambient temperature is set according to the climate maps available on the internet For the Netherlands the registered average minimal yearly temperature is 6degC the maximum yearly temperature is 14degC This yields an average daily temperature of 10degC The lifetime target is set as 94 58 D4 4 Implementation of ANES Tool Chain 6 The Consortium SW Prototype and User Manual ME Tw N 3 Sa JE Demanes RA a 1 failure in 10 year service b 10 year service is egual to 1000 fire calls c Thatis approximately 100hrs burning hours controller All kind of sensor inpar Figure A 3 Left side shows the physical model he right side a schematic presenation for setting up the Fault Tree The developed System Reliability Tool is used to model the Smart Outdoor Pilot case The model is build step by step being 1 1 Pole only The screen shot on the left shows the system model with one pole only The 500hr cumulative field call rate is 0 05 and only dominated by the failure of the electronic parts router pole electronics and controller The 196
35. ble LED sokka joint aines System summary f Enable LED catastrophic Fallures ders z FLED stron System fv Enable driver Jahas pyh k t v N ISU VO First LED string Fahre wi lead to system Fabre regardless of kman level 0 har t uws 0 Stalistic 9 custom components 1 System color port Figure A 2 SRT V2 GUI 2 SYSTEM RELIABILITY ANALYSIS FOR THE SMART OUTDOOR LIGHTING The system layout as defined in the MetaEdit Physical model is first transferred to a reliability Fault Tree Below picture on the left side shows the physical model on the right side a schematic presentation that can be used for setting up the Fault Tree The following is assumed 1 Only if 2 light sources next to each other fail simultaneously this will be considered as a system failures read no availability of the function This means that 4 zones with only 2 light sources need to be considered in the system reliability model when it concerns system availability As the controller is key for all 40 light sources failure of this device is crucial for the availability of the function For time being the FIT for the controller is set to 600 On estimate there will be about 50 100 fire calls per year in the city Assuming that the components in the system would run for 60 seconds per fire the total amount of use hours per year is equal to 15 20 seconds day For reasons of simplicity we have truncated this number to 5 minutes per day Each pole will
36. by using commercially available and open source based tools In addition generators to enable data exchange from tool to a next tool in the tool chain are provided with 3 party tools The tool chain supports DEMANES design process developed in DEMANES project This document provides instructions on how to get tools and install them how to create models using DEMANES modelling language As tool installation procedures and versions can change in a time the instructions on installation are general in nature and a reader of this document is assumed to get up to date information at the moment of installation using links provided in this document and search engines In addition information on how to use DEMANES modelling language embedded in Papyrus and MetaEdit tools is included The main target audience of this user manual are developers how want to produce adaptive and reconfigurable distributed applications using a variety of sensors and mobile devices Also people who are interested in technology providing these features or are planning to adopt DEMANES design process can find this document useful This user manual provides information on the structure and usage of the ANES tool chain to a technical support people who need to execute the installation procedure to get ANES tool chain up and working or need to Know what kind of support developers using ANES tool chain could need 9 58 D4 4 Implementation of ANES Tool Chain amp The Consortium S
37. del comes into diagrams The DEMANES modelling language can be used to design a hierarchical system model The Behavioural Model describes the behaviour of a task The task is described in terms states and sequential state transitions The Physical Model describes devices and their hardware resources such as a number of CPU cores communication ports and storage capacity The mapping model specifies how tasks are located in the real system 91 98 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 TE Demanes 1 la PRSTA References 1 https github com g oikonomou contiki sensinode 2 http sourceforge net projects contiki files lnstant620Contiki Instant amp 20Contiki 202 5 3 http sdcc sourceforge net snap php 4 http www ti com tool flas programmer 5 http www ti com tool packet sniffer 6 https www eclipse org downloads 7 http www ibm com developerworks java jdk 8 http openjdk java net 9 http www oracle com technetwork java javase downloads 10 https www eclipse org downloads index developer php release kepler 11 https dl ssl google com android eclipse 12 http wireshark org 13 http www iar com 14 www java com 15 https www eclipse org downloads 16 http metacase com 17 http www jetorains com teamcity download 52 58 D4 4 Implementation of ANES Tool Chain SW Prototype and User Manual The Consortium
38. deler Modeling environment tools y Papyrus Incubation by Echpeeorg EPL D Papyrus provides an integrated uzer consumable envxorment for editing models based on UML and other related languages such as SysML Figure 4 Eclipse Modeling Component Discovery window 7 Follow Next Next Finish the subsequent Installation wizard always accepting the default options and finally accepting the license terms when requested Then wait for installation to complete 8 Accept restart of Eclipse then on the new IDE Welcome screen select Option Help Install Papyrus Additional Components 9 In the following Papyrus Additional Component Discovery window select MARTE 1 1 and View Stylesheets components yan Ad ditional Components Discov ry Papyrus Additional Components Discovery Pick a papyrus component to install it Find V Stable V Experimental Additional Domain Specific Modeling Languages CU MARTE 1 1 Incubation by Eclipse Modeling Project EPL R 2 MARTE is the OMG extension on the UML dedicated to real time embedded systems T EAST ADL Incubation by Eclipse Modeling Project EPL D A BAST EAST ADL is an Architecture Description Language ADL for automotive embedded systems 1 i RobotML Incubation by Eclipse Modeling Project EPL D r Modeling language and tools for mobile robotic applications UML RT Incubation by Eclipse Modeling Project EPL UML profile and tools
39. delling Note however a model can be developed step by step So there is no need to get the task model fully complete before the mapping model can be started As the model comes in the forms of the diagrams diagrams can be edited later and thus the modelling can be 49 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 50000 Demanes mum N gt W 1 1 B WES Uo ONI R composed using an iterative cyclic approach where a designer can fix e g the task model and then go to continue to work on the behaviour the physical and the mapping models Simulating Software Model The design of large embedded and distributed can be very complex and all sequences of the design decisions are not always seen beforehand Even to DEMANES modelling helps to build a complex system identify loopholes of the design and verify the design simulating can still be needed to make sure that design works as planned To simulate SW model Mathlab and DynAA simulation tool are needed DynAA is an in house simulation tool of TNO Simulation can be used to analyse sensor and communication networks by using terms such as a number of CPU cores a clock speed a bandwidth a power consumption and a memory requirements Application Distribution Services Google Play is an online store for purchasing and downloading applications music books movies and similar content for use on Android smartphones tablets and other Andro
40. dit and Papyrys modelling 48 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 0000 C Demanes pem 4 P s Jln SAP N extension See sample Papyrus screen shots in paragraph 3 3 2 7 DEMANES system modelling using DEMANES UML Profile 4 2 THE MODELLING ASPECTS The DEMANES Modelling language supports four modelling aspects which are a task model a behavioural model a physical model and a mapping model The modelling language is graphical and a model comes into diagrams The task model describes an application as terms of functionalities which communicates and synchronizes to each other The task model is hierarchical So tasks can be grouped in a task groups A task group can contain task groups or tasks Ihe task interface is modelled as ports There are different types of ports which are data ports and control ports Ports have a direction property The direction is input ports or output The tasks are connected together using links between the ports The link can carry a data flow or an event flow respectively to the port type The Behavioural Model describes as the name suggests the behaviour of a task The task is described in terms states and sequential state transitions The concurrency is not implemented in the Behavioural Model Each state can have an action associated The possible actions are predefined and are as follows processing action data communicati
41. dows you may already have a JRE installed but upgrading won t hurt If using Linux read this e GCJ will NOT work e Also see Installing JRE 1 6 0 Update x as the Default Runtime in Linux 3 1 3 2 JRE JDK Sources There are several sources for a JRE JDK Here are some of the more common popular ones listed alphabetically e IBM JDK http www ibm com developerworks java jdk 7 e OpenJDK http openjdk java net 8 e Oracle JDK http www oracle com technetwork java javase downloads 9 e Eclipse 4 3 Kepler https www eclipse org downloads index developer php release kepler 10 Eclipse 4 3 Kepler was released in June 2013 A Java 6 JRE JDK is recommended for Eclipse 4 3 More information concerning tested configurations for Eclipse 4 3 is provided here e Download Eclipse from the Eclipse Downloads Page See link above e hedownload will be delivered as a compressed i e a zip or tar gz file Decompress this file into the directory of your choice e g c Program Files Eclipse on Windows You can optionally create a shortcut of the executable file eclipse exe on Windows or eclipse on Linux 14 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual Artemis 950203834 a a n P C3 P N Demaues pun 4 e med 3 L SIA Note that there is a known problem with the built in decompression utility on all current versions of Windo
42. e user manual provides information on what kind of tools is included how they interact how to install and how to use the tool chain The tool chain includes tools for modelling and simulating but fully detailed description is out of the scope of this user manual as these are techniques of their own field The tools belonging to the tool chain are available on commercial or the open source basis All tools have comprehensive documentation available Thus there is no need to repeat everything As a result the main purpose of this user manual is to show a tool chain user where to download tools and how to get started An overview of all tools proposed to the ANES tool chain is given in deliverable D4 2 The main target audience of this user manual are developers technical support and people who are interested in using or are planned to use the DEMANES design process in their software development The ANES tool chain is supporting all DEMANES design phases The interoperability of the tools that belongs the tool chain is based on DEMANES XML files This solution enables to change a single tool if needed providing that DEMANES XML file support is available In addition the solution makes possible to add more tools in the ANES tool chain later and offer an alternative for a user Thus a tool network can be constructed As a result a flexible tool chain is available for developing reconfigurable and adaptive applications 7158 D4 4 Implementation
43. e full details of the DEMANES modelling language is out of the scope of this document However full details are available in the deliverable of its own The ANES tool chain is constructed using Open Source based and Commercially available tools The data exchange between these tools is based on files These files are using DEMANES XML format The special generators are used to generate these files Further some parts of the application source code can be generated The information on both generators is included DEMANES ANES Tool Chain User Manual DEMANES Design Keywords process 2 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 05000 VERSION LoG Initial ToC Short drafts for 25 3 2014 Lauri V t inen UEF chapters 1 and 2 00 00 1 4 2014 Lauri V t inen UEF Fixed ToC 00 01 Lauri V t inen UEF Willem van Driel Philips Lighting 19 5 2014 Sergio Martinez Leitat Included E 10 00 02 Tommaso Mirante Selex ES g Marco Soddu Akhela 20 5 2014 Lauri V t inen UEF V t inen UEF Version 1 0 01 00 Lauri V t inen UEF 5 2014 22 5 20 Julio Oliveira De a an Included TNO s contribution 00 03 22 5 2014 Lauri V t inen UEF New version 01 00 01 00 4 6 2014 Lauri V t inen UEF Willem van Driel PI g Fixes after the internal review 01 01 Inmaculada Luengo H I Iberia 6 6 2014 Carla Cannas Akhela 01 02 9 6 2
44. e is shown re gt gt g 7 W 3 073 pm lt 4g06 lt y 3 III B o 9G o m jat ma ee tas k rm oo Wo owen c e Dum Sug org esr Oum uo ese Figure 42 Setting the type of an interface 40 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual IIS hee Ses TE sn lt ph 2 Demanes cr bm FRA 3 3 4 5 7 Command line configuration And then continue to set path to working directory the script name with the parameters if any Figure 43 A command line configuration parameters If needed multiple instances of build script association are possible you only need to repeat the previous step description Figure 44 Additional Build Features 3 3 4 5 8 Build failure conditions settings You are now asked to specify when the Build Task fails Default settings are already in place just decide if they match 41 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual EMIS ree Ses T A D n P N Demaues qoum 4 WBA Figure 45 Build Failure condition configuration parameters 3 3 4 5 9 Trigger settings With the following step you can set the way to trigger the Build Task Here you have to decide how the Build Task starts Several possibilities are available event driven after a RCS action performed by developers end of a previous Build Task etc o
45. e operating system for embedded devices which provides powerful low power Internet communication Contiki supports fully standard IPv6 and IPv4 along with the recent low power wireless standards 6lowpan RPL CoAP With Contiki s ContikiMAC and sleepy routers even wireless routers can be battery operated e SDCC 3 0 3 SMALL DEVICE C COMPILER SUITE http sdcc sourceforge net snap php 3 Libraries reguired to compile Contiki OS e SMART RF FLASH PROGRAMMER 12 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 eT a Demanes poo p RSA aL JUN http www ti com tool flas programmer 4 Tool from Texas Instruments necessary to download the image to devices if not OTAP is allowed e USBFIRMWARE LIBRARY Set of functionalities to communicate with dongle devices in order to configure and use the USB channel e Texas Instrument PACKET SNIFFER OPTIONAL http www ti com tool packet sniffer 5 Tool from TI used to capture message traffic on channel It s very useful on development stage or to observe the packets exchanges 3 1 2 Installation of GNU GCC Due the platform where the firmware will run is different that the platform where is developed we need a tool able to generate code from for example 8051 architecture in x32 or x64 platform Options available in the market are NXP Semiconductors The jennet executable file provided by NXP contains GNU
46. econfiguration DEMANES Replication E VU Physical models are represented by mean of Composite Structure Diagrams either specification of HardwareEnv and NodeDef is supported by predefined stereotypes gt HarcowareErw 7 NedeB 2 CA ch Channa jll 40 DEMANES Replication DEMANES Recortiguretion gt DIMONES NodeDef DEMARE S HarchwareFrre e L Hardware Ens eonment 3 Node A Chine E NodeDef gu Cement gt oy Gonnerter ma Fart Figure 23 A sample of a physical model hardware environment 29 58 SW Prototype and User Manual D4 4 Implementation of ANES Tool Chain The Consortium Artemis JU GA 269334 11 N Demanes possen 4 Y i d um w pa a I demaressamplendi lt y Palette gt a my pro Lndehned 1 eUndefineds 11 y Nodes 5 Edges t gt DEAM S Eeplcetion gt DIMANES Recerfiguretion ES DEMANES Mode Def _ ccc cc cc ce war lad Clack lg bat Undefined 1 ue lt Urcetined gt 1 S d Commklink _ 1 DEMANES Harcdvasre Eray L gt DEMAPES T as tModudingy Figure 24 A sample of a physical model node definition 3 2 3 Installation of MetaEdit MetaEdit is a tool that in addition to modelling enables a designer to develop a domain specific modelling language DEMANES project has developed a modelling language extension to be used with Me
47. ed to aid the whole DEMANES design process The tool helps to maintain Continuous Integration Process Management on software development Activities needed in developing can be triggered and set up for automatic tasks thus saving time and increasing the process quality TeamCity is used to invoke tools in the ANES tool chain and thus it acts as a wrapper for the tools All tools except optional Android tools can be set up to run under Eclipse integrated development environment IDE They are installed using Eclipse plugins ANES Tool Chain Installation This chapter is to provide information on where to find purchase and download tools belonging to ANES tool chain The chapter is divided into two main sections the one for the Open Source based tools and the other one commercially available COTS tools As DEMANES project is not producing the whole tool chain but rather relies the number of 3 party tools these installation instructions are general in nature Things will change in a time Thus there is information on the tool manufacturer s websites and how to get license at the time of writing included in this chapter 3 1 OPEN SOURCE TOOLS 3 1 1 Installation of GLOoWPAN In order to create firmware for embedded devices with wireless capabilities concretely for 6LOWPAN technology the stack library is required Manufactures provide a set of libraries containing these libraries examples and tools Some of the options available in the m
48. ela demanes uml profile 0 0 30 zip and then choose to import the unique project contained d impor import Projects Select a dienctory to search Tar exits Eclipse projects Select root drectery Select arcfove tie CADEMANES imita B commporents com akhal demanen umi pec fe 0 D 30 215 Proyects J com akhela dennanen uml profile com akhela demeane uml profie Working sets Adi project to working vet Figure 8 Project Import Dialog 21 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual ASU LI LL m Demanes gem 4 Reo SP tg 7 Click Finish to complete the import In the workspace you can now find a Papyrus project 8 named com akhela demanes uml profile containing two Papyrus models a demanes profile containing the DEMANES UML Profile definition b demanes samples containing several examples on how to use the DEMANES Profile to design DEMANES systems a Papyrus Eclipse wu ss File Edit Navigate Search Project Run Wir EDT 9 0 35 0 4 O Project Explorer 3 cm Dire AR RATES TARE AA NR IRIS NR Bale RSSERRRETRRRRTARARERESTERRAETERERTARERTARERRRRRRRATAERAERERRERAERAERAREREREFRTATATETARATAETARATETAHTETETAT HERE EERE EERE EERE EERE EEE EEE EERE EEE TEESE EE EEEE EERE EEE EEEEEEEEEEEEEEEEE EEE EEE EEE EERE EEE gt demanes ml ref 9 demanes profile b 9 demanes samples Figure 9 Model selection under com akhela dema
49. es papyrus palette 1 0 0 201404160951 jar available from DEMANES SVN repository 3 3 2 3 Install Papyrus 1 Download the Eclipse Modeling Kepler SR2 package archive from Eclipse download site Take care to choose the binary version 32 64 bits that matches the one of the Java runtime environment installed on the target workstation 2 Extract the archive contents on local disk say to C DEMANES but any folder you like can be used instead Archive contents will be produced under the folder C DEMANES eclipse 3 Execute double click the file C DEMANES eclipse eclipse exe 4 Choose a workspace location for your IDE e g C DEMANES workspace z Workspace Launcher Select a workspace Eclipse stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace C DEMANES workspace Browse Figure 3 The workspace selection dialog in Papyrus 5 On the IDE Welcome screen select Option Help gt Install Modelling Components 6 In the following Eclipse Modelling Component Discovery window select the Papyrus component then click on Finish button 18 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 A A TR Demanes 4 bo gt em RAN O tcipse Modeling Components Deom NN e E Edipse Modeling Components Discovery VY 125 Pick a modeling componen to muta it find Papyeud J Incubation Mo
50. f ANES Tool Chain _ The Consortium SW Prototype and User Manual 1000 Demanes ejm ar det 3 3 4 5 4 General settings oome default values are already prompted on the General Settings page but the Name field needs to be filled only If necessary both artifact rename and stored location rename are possible Bc _ am n sa B p cem the paa mea m Y mac mt a ikke Figure 39 General Settings window 3 3 4 5 5 VCS repository hook In this step the user can select the repository to be linked to several Version Control System are managed lt lt one a wee um e ere m JY ers On 00 s ne U de T n kaiki M lta mt met w Ao wmon Comet Tatra s o TETT ua aN an 39 58 D4 4 Implementation of ANES Tool Chain 6 The Consortium SW Prototype and User Manual EMMIS hee See Tw nsnm lt p D eMOMWesS oo 1 PO IEC IUM TRA Figure 40 Setting a CVS link Here is an example with Subversion mandatory fields to be set are URL User name and Password ones t Figure 41 Setting Subversion link 3 3 4 5 6 Interface type selection We reached the core of the setting procedure the Build Steps settings It is represented by a script which executes a list of sequential shell commands DOS bash Maven IntelliJ DEA MSBuild and so on First choose the type of interface it is intended to be used here the Command Line exampl
51. hat the dropins folder is already present under the Eclipse installation folder but eventually you need to create the plugins folder 3 The DEMANES plugin will be now available under your IDE at the next start 3 3 2 5 Install DEMANES UML Profile The DEMANES UML Profile provides a mapping of the DEMANES Modelling Language into the context of UML modelling This way it is possible to create UML models which use the same concepts available under the DEMANES ML and can be translated to and from an equivalent model constructed with that language To be used under the Papyrus tool the DEMANES UML Profile should be installed as a project under the same Papyrus workspace used to build the DEMANES design models 1 Start Eclipse IDE 2 Choose your workspace location 20 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 3 Goto IDE workbench and open the Papyrus perspective Ge d Meg Sar Puer Bn ton Bap e 9 Q uu Uv 35 x m Hae Model Aundable E Outine m Prepertias 7 J Mode Vaicition An outkne c not maabie Propeta are not evedabis Figure 7 The Papyrus perspective in Eclipse 4 From the Project Explorer Select RightClick gt Import option 5 In the Import window choose General gt Existing Projects Into Workspace option then Next 6 In the subsequent windows choose the Select archive file option specify the position of file com akh
52. id devices For enabling Google Play distribution service Google provides Google Play Library By integrating this library into Android project in application compiling phase Google Play can be used as a service for applications distributing when applications are developed with Eclipse Google Play allows the automatic updates of new Android application versions to end users android devices when new applications are uploaded to Google Play service More information about Google Play implementation can be found on the website of Google Play Services 90 58 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 C Demanes pem 4 P s Jln SAP N 7 Conclusions The ANES tool chain User Manual audience are people who are interested in applying DEMANES design process technical support people and software designers The ANES tool chain consists on a number of tools which are supporting modelling simulation application implementing system delivery and application development process management A tool in a tool chain co operates the adjacent tool of the tools chain by using DEMANES XML files to exchange design data Special code generators and XML translators are included for making these DEMANES XML files Refer Figure 1 at page 10 to see relationships between tools of the ANES tool chain Some of the tools are available on the open source basis and some are commercial tools Papyrus
53. ing bult mu wae a the lenp Catalogue berg used by agent The Buld Agent properties fie m stored im the conf directory of the Bold Agent metalation folder where you cart edt it ot uet Figure 32 The settings of a Build Agent WE JetBrains TeamCity 8 1 1 Setup Run TeamCity Agent service under the user account Domain Akhda Username Akhela teamdity Password TTTTTI JetBrains TeamcCity 8 1 1 build 29939 Figure 33 The account setup dialog Finally a request for the services you are interested to start and the installation procedure is completed 35 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual 1000 Select services you want to start right now Start TeamCity Server service Completing the JetBrains TeamCity 8 1 1 Setup Wizard JetBrains TeamCity 8 1 1 has been installed on your computer Click Finish to dose this wizard Open TeamCity Web UI after Setup is completed lt Jam Figure 35 The setup complete dialog 3 3 4 5 Build Task configuration Once the TeamCity system is installed the continuous integration system needs to be populated with Tasks whose manage developing testing validation phases in a software litecycle development Here is an example for a Task creation guide 36 58 D4 4 Implementation of ANES Tool Chain _ The Consortium SW Prototype and User Manual 1000 DemoneS O O m cm
54. meters sessssseeeene 41 Figure 44 Additional Build Features cossussosss o a ana maana enaa aa enaa aa Ue naaaen 41 Figure 45 Build Failure condition configuration parameters essssss 42 Figure 46 Build Trigger Window cccoosuussoss a a aa maana enne enne nnns 42 Figure 47 Task Dependency windoOw esseessssssesseeeeeee eene ener 43 Figure 48 Environment Variable WINKOW cccccccccssccccssseccesssecceessecceesseeceeseeeessseseeesaees 43 POURS 49 PCI SC o MORE 44 FOUG 907 BUNG SUIS CIS DIA RR RR MEM 44 Figure 51 Build History Log display ossossss so a maana enaa a mana aan enaeeet 45 Figure 52 Button to start the generator editor MERL in MetaEdit 46 Figure 53 Select all the generator files and click Open seeessssssse 47 Figure 54 The newly imported generator is available and accessible from the Generator EGITOF TOT RA D WINO Wa MERI 47 LIST OF TABLES Table 1 The list of files beloning DEMANES XML generator seeeee 45 6 58 The Consortium Demanes gere 4 p L D4 4 Implementation of ANES Tool Chain oW Prototype and User Manual Artemis JU GA 269334 eT a JLMOUES p p SERT aL Ji Executive summary This deliverable is the user manual of the ANES tool chain developed in DEMANES project Th
55. ml version 1 0 encoding utf 8 newline lt DEMANES model Created with MetaEdit 5 0 Build 55 gt newline DEMANES language version dl version newline Creates the XMI envelope Figure 54 The newly imported generator is available and accessible from the Generator Editor for Graph window 47 58 The Consortium D4 4 Implementation of ANES Tool Chain Artemis JU GA 269334 SW Prototype and User Manual C Demanes pem 4 SAP B 3 3 2 Installation of DEMANES XML generator for MetaEdit The DEMANES Matlab code generator reads the intermediate representation of a DEMANES model XML file and produces Matlab code for the simulation and analysis tool DynAA The generator is written in the Matlab native language and uses the Mathworks software Matlab for execution Therefore for installing and running the generator the user needs the Matlab tool with at least version 2012b The Matlab code generator is composed by a set of files and folders delivered as a package toolbox for Matlab The installation procedure is as follows Copy the package of files and folders containing the generator to a local folder Start the Matlab tool Direct the working directory of the Matlab tool to the folder containing the generator Run the script called startup After that the generator is inserted in the working path of Matlab and is completely installed
56. nes uml profile The DEMANES Profile is now available to be used into your DEMANES system design models NOTE In order to maintain compatibility and interoperability with the other DEMANES Tools the contents of the DEMANES UML Profile model should not be modified 3 3 2 6 Apply the DEMANES UML Profile to a UML Model This chapter shows how to prepare a Papyrus UML Model to use the DEMANES UML Profile 1 Start Eclipse IDE 2 Ensure you have the DEMANES UML Profile loaded into your workspace see chapter above 3 Create the Papyrus Project which will contain your DEMANES model s 4 File New gt Papyrus Project Edit Navigate Search Project Run Window Help po New Alt Shift N gt 3 Papyrus Project Open File P Project Close Ctrl W LY Folder i Close All Ctrl Shift W Papyrus Model Save Ctri S F Example quis F Other Ctrl N Save All Ctri Shift Revert Figure 10 The start of the new project 22 58 D4 4 Implementation of ANES Tool Chain The Consortium SW Prototype and User Manual 10000 94 pn ko gt s 5 In the next windows choose the name for your project then click Next 6 Select Diagram Language UML S vertaa TT Select language of the diagram Diagram Language e N SysML o N UML y om Profile Figure 11 Model Diagram language selection 7 Click Finish 8 The new project will appear under the workbench containing an empty UML model model 9 Do
57. of ANES Tool Chain amp The Consortium SW Prototype and User Manual 000 Demanes pee P ep lum SAP ABBREVIATIONS Term Meaning ADT Android Development Tools API Application Program Interface CPU Central Processing Unit COTS Commercial off the shelf GCC GNU Compiler Collection GCJ GNU Compiler for Java GNU GNU s Not Unix Unix like operating system developed in GNU project HTTPS Hypertext Transfer Protocol Secure IAR IAR Systems A Swedish company IP Internet Protocol IDE Integrated Development Environment IPv4 Internet Protocol version 4 IPv6 Internet Protocol version 6 Java VM Java Virtual Machine JDK Java Development Kit JIP API Jennet IP API JRE java runtime environment JVM Java Virtual Machine NXP NXP Semiconductors N V OS Operating System OTAP Over the air programming RCS Revision Control System SDK Software Development Kit TI Texas Instruments UI User Interface UML Unified Modeling Language URL Uniform Resource Locator USB Universal Serial Bus VCS Version Control System XML Extensible Markup Language 6LoWPAN IPv6 over Low Power Wireless Personal Area Networks 7 Zip Open Source file compression decompression software 8 58 D4 4 Implementation of ANES Tool Chain oW Prototype and User Manual The Consortium Artemis JU GA 269334 eT a JLMOUES p p A Jol JN x 1a 1 Introduction This document is the user manual of the ANES tool chain The main parts of the tool chain are constructed
58. on action event handling action and the delay action The data communication and the event handling actions can specify a direction send receive handle an event and emit and event The Physical Model describes the hardware devices of a system The model consists on devices and their resources which include processing resources communication resources storage capacity clock definition and power supply resources In addition the physical Model includes channels The communication resources are connected together via channels The Mapping Model allocates tasks and other modelling elements in the physical devices and channels As a result the mapping model specifies how tasks are located in the real system 4 3 PUTTING THE ASPECTS TOGETHER The full detailed description of the DEMANES Modelling language is out of the scope of this user manual It is recommended to refer the DEMANES project deliverable D4 2 for the full description of the modelling language In addition the user guides of MetaEdit and Papyrus are documents to be read in order to dig deeper inside the modelling language It is recommended that the task model is created at first The behavioural model of each task can be composed as soon as tasks are identified and added into the design The physical model is created at the third phase As the mapping model needs information on the task model and the physical model the creation of the mapping model is the last phase in the mo
59. ontinue You must accept the agreement to install JetBrains TeamCity 8 1 1 Figure 27 The License Agreement dialog 32 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual EMMIS hee See Continue selecting the location of installation default settings can be kept Choose Install Location Choose the folder in which to install JetBrains TeamCity 8 1 1 Setup will install JetBrains TeamCity 8 1 1 in the following folder To install in a different folder click Browse and select another folder Click Next to continue Destination Folder Space required 682 1MB Space available 226 3GB JetBrains TeamcCity 8 1 1 build 29939 Figure 28 The Installation location dialog Then you have to choose what you want to install here we continue to install both parts of the system Remember to uncheck the part you do not want to install a specific one you repeat the installation procedure in the same or different machine T JetBrains TeamCity 8 1 1 Setup Choose Components Choose which features of JetBrains TeamCity 8 1 1 you want to install Check the components you want to install and uncheck the components you don t want to install Click Next to continue Select components to install Sad Build Agent Core Windows Service amp v Server Core Windows Service Description Space required 682 1MB Position your mouse over a component to see its description
60. picture on the left The algorithm works like this 100k monte carlos drawings are taken from the failure distribution then the software will sort 100 times a list of 10000 numbers The CPU time for this particular case is several seconds The 10yr results are listed in the table below Reliabilit 98 0 Availability 99 6 In the system reliability tool it is possible to appoint a component to be crucial for the reliability or not The way this works is depected in the right figure below by the arrow In this way the tool can handle the difference between reliability and availability v A TIT v f 44444 4 CCXCC4X44 E 1 I M Pasin w we w lt i C ef ma Le d i v w Figure A 8 On the left screen shot of the system model with only 4 zones on the right demonstrating the ability of the tool to hand reliability vs availability The table shows that the availability of the system is 99 6 over a service period of 10yrs This means the with a confidence level of 90 that in this period 4 out of anticipated 1000 fire calls may 9 38 D4 4 Implementation of ANES Tool Chain amp The Consortium SW Prototype and User Manual 50000 Demanes p ILS gt L EA not work properly This could be due to a catastrophic failure of a component or due to an improper transfer of a signal The pareto plot on the left below indicated that in 7096 of these cases the controller is the
61. r due to a time occurrence specific date and time settings Figure 46 Build Trigger Window 3 3 4 5 10 Task dependencies Build Task dependencies can be set in the following window Build configurations linked by snapshot dependency will take sources on the same moment of time The build of this configuration will run after all the dependencies are built If necessary the dependencies will be triggered automatically 42 58 D4 4 Implementation of ANES Tool Chain 6 The Consortium SW Prototype and User Manual ARAMIS Ja AR20980 A TR Demanes pem 4 Re dm _ PAN mE 200 0 w X E Li Ff n toe Fe i ie W Www Figure 47 Task Dependency window 3 3 4 5 11 Environment Variables settings Environment variables system proprieties and configuration parameters can be set to be used when invoking the build script which performs the seguential shell commands Tyee wa vw A 00000 10 Figure 48 Environment Variable window 3 3 4 5 12 Agent setup Finally you can choose the agent characteristics where to run the Build Task 43 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual EIS we ree Ses TE Quies pom Sat D CW n RAG As mentioned at the beginning TeamCity is a client server architecture where the client
62. re and communications protocol development Wireshark allows the user to see all network interface traffic visible in Graphical User Interface and analyze network packets Wireshark provide releases for Windows OS X and Linux platforms Wireshark also provide source code for developing the user s own modified version of packet capture tool Wireshark installation packages and source codes can be downloaded from Wireshark website http wireshark org 12 3 2 COTS TOOLS 3 2 1 Installation of IAR tools IAR tools are available from IAR Systems AB headquarters in Sweden There are a variety of different type licenses available such as Stand alone Mobile Network and Global Stand alone licence is assigned to a single PC whereas Mobile licence is assigned to dongle and can be used with multiple computers by a single developer Network and Global licences are for teams and difference between these licenses is the number of sites where license can be used Details of different licences are available from the company s web site http www iar com 13 IAR Systems is using a portal called My Pages where customers download and manage their licences It is possible to download 30 days trial licence and then purchase to actual licence for a quick start Instruction on how to install software is available On Line 3 2 2 Installation of Papyrus This paragraph describes how to install and configure Papyrus so that can be used to design DEMANE
63. taEdit Thus in addition to modelling with the tool the modelling language extension must be installed to get the full DEMANES modelling language available The tool is available from Metacase There are a variety of licenses available Licenses are available for single or multi users versions as well as according to needed functionality There is also a one year Introductory and Academic Edition license available The details of different licences are available from the company site http metacase com 16 The tool licences are delivered electronically The software can be downloaded from the company s download page and get installed at any time The tool is activated using a license key and License Manager software The license key is received from Metacase when payment is received A customer receives installation instructions license agreement and License Manager Instructions along with the licence key 3 2 4 Installation of TeamCity The following paragraphs are including information on TeamCity how to get installation package how to install the software and how to configure and set up a project 30 58 D4 4 Implementation of ANES Tool Chain The Consortium SW Prototype and User Manual Artemis JU GA 269334 Demanes py LS gt WA RAA 3 3 4 1 General information TeamCity is based on a client server architecture where in the server is to be exposed the User Interface Ul which allows to manage all steps of a Task
64. tall New Software e Click Add in the top right corner 15 58 D4 4 Implementation of ANES Tool Chain The Consortium SW Prototype and User Manual ARAMIS AR20988 a a n M Demanes 4 P S Ilin SAP N e In the Add Repository dialog that appears enter ADT Plugin for the Name and the following URL for the Location https dl ssl google com android eclipse 11 Note The Android Developer Tools update site reguires a secure connection Make sure the update site URL you enter starts with HTTPS e Click OK e n the Available Software dialog select the checkbox next to Developer Tools and click Next e Inthe next window you will see a list of the tools to be downloaded Click Next e Read and accept the license agreements then click Finish e f you get a security warning saying that the authenticity or validity of the software can t be established click OK e When the installation completes restart Eclipse and Configure the ADT 3 1 3 4 Configure the ADT Plugin Once Eclipse restarts you must specify the location of your Android SDK directory e Inthe Welcome to Android Development window that appears select Use existing SDKs e Browse and select the location of the Android SDK directory you recently downloaded and unpacked e Click Next e Your Eclipse IDE is now set up to develop Android applications but you need to add the latest SDK platform tools and an Android platform to your environment To
65. tates 9 bitte port inP ort m nnckndz blocked EndStete bmeoutzon G Proc State G DeloyState Wa RecvState m Sender sProcstates w Even AcceptState nrFLOPs 0 E confPortarcl k gt EventErntState np procipec amp Decrmon node W Merge node gt Control Flow send Rates SendStatel s SenetStste mesgSaze 0 zyncKinds biocked port out ort timeant 0 0 Figure 21 A sample of an activity diagram The connection between a Task and its Behaviour can be represented in the Task Model and the connection between a Port and the Behaviour can be represented by specifying the s behaviour property for the Port 28 58 D4 4 Implementation of ANES Tool Chain O The Consortium SW Prototype and User Manual EMIS ree Ses Demanes eo JEmanes Pp ation sa np BS di task Fusion memFootPrint 0 regResources cutPort Activity G5 Activityl Context i E Properties 5 e inPort UMI Comments Name inPort Is behavior true false Is derived Figure 22 A connection between task and behaviour models 3 3 2 7 5 Physical Modelling true false enn gt Palette b tae a Nodes H VETE E 6 Parameter SE Activity L Interaction 2 Edges gt DEMANES NodeDef DEMANES HardwareEnv DEMANES TaskModeling OC ett i Functionality Part a InputDataPort E OutputDataPort 1 Senan a IS DEMANES R
66. uble click on the model to open it H File Edit T Neige Search Papyrus Project Run Window PS v E If IDO B gt TIT Arial Unicode MS je v bf Avr AY FY RS Project Explorer X No amp y oO a 4 com akhela demanes uml profile b E demanes ml ref b 9 demanes profile 7 demanes samples 4 MyDEMANESProject b J model model amp Model Explorer KKI cB Elio Y E model Figure 12 The new model is visible in Project Explorer 23 58 D4 4 Implementation of ANES Tool Chain 6 The Consortium SW Prototype and User Manual IIS hee Ses Demanes RAA lab Es em 10 In the Model Explorer click in the root E model element to select it 11 In the model Property view lower panel of the IDE select the section Profile Properties 53 gt J Model Validation p Ai i ero model i i UML Profile applicst on E ae Comments Name Location peotileApplication Version Profile Advanced Applied stereotypes J Figure 13 The Model Property view 12 Click in the Ej button to apply a local profile to the model 13 In the Apply Profile window select the demanes uml profile and click 2 then OK 9 Apply Profiles demanes profile uml Filter 4 com akhela demanes uml profile demanes profile uml UML Profiles profile uml v Figure 14 Apply Profile window
67. ws We recommend that you use a more robust decompression utility such as the open source 7 zip when decompressing an Eclipse download Some people report success when initially decompressing Eclipse into a root directory e g c and then moving it to a more appropriate home e g c Program Files Eclipse To install Android SDK we must extend Eclipse Use the Help Install new software menu option to add Kepler features to your Eclipse installation you can for example use this option to add C C development support errre mna Andrein PT tern acm 20045 STE SVP eit est ee ieee eS ee eee CP cac Lasu Ju are SOO hte ot OS koot um I k T c iare Tta tet oF SDR Targets tee ncs cett onor en c9 gpl m UF ege mm wee net tunm ryh we 4 4 ido rwr e s emt i pt stal 4 CEA f wre k fare earum partem 4 4 etwa Later 0 2 o x wir sen D aja PIE Crk trea Figure 2 Android Preferences dialog 3 1 3 3 ADT SDK Plugin Android offers a custom plugin for the Eclipse IDE called Android Development Tools ADT This plugin provides a powerful integrated environment in which to develop Android applications It extends the capabilities of Eclipse to let you quickly set up new Android projects build an application Ul debug your application and export signed or unsigned application packages APKs for distribution e Download the ADT Plugin e Start Eclipse then select Helo gt Ins

Download Pdf Manuals

image

Related Search

Related Contents

Modèle CG100ABDL+ Jauge de Corrosion Manuel d`utilisation    Samsung Galaxy S6 edge คู่มือการใช้งาน  Datalogic DS6400-105-012  The Alabama Supercomputer Center User Manual  PIMS ELL END OF YEAR STUDENT COUNT  MY64N (Español)  Newsletter d`avril  Philips GoGear MP3 player SA2SPK04SN  

Copyright © All rights reserved.
Failed to retrieve file