SlideShare a Scribd company logo
1 of 28
1 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Project Report
Developing a tool to calculate Indicators which
characterize Spatial Networks
Vaibhav Dhattarwal
CSE IDD
4th Year
08211018
During Internship period of May 27, 2012-July 13, 2012
This report was prepared during my internship at ESTP Paris, France.
2 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
3 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Table of Contents
Summer Internship Certificate 2
Preface 4
Acknowledgement 5
About ESTP 6
1. About Project 7
1.1 Motivation for the Project 8
1.2 A tool to calculate indicators which characterize Spatial Networks 9
2. Spatial Networks 10
2.1 Networks and Space, Degree in Networks and Graphs 10
2.2 Geometric Primitives used in planar Spatial Networks 11
3. Development of Project Structure 12
3.1 Initially Proposed Structure 12-13
3.2 Flow Diagram of Project Structure 14-16
4. Implementation of Indicators 17
4.1 Model for Indicators 17
4.2 Description of Selected Indicators 18-19
5. Writing the Program Source Code 20
5.1 Input of Network Graph data 20
5.2 Execution of Program and Description of Functions used 21-23
5.3 Output Results obtained after Execution 24-26
6. Conclusions of the Project 27
List of References 28
4 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
PREFACE
This report is to be submitted to ESTP Paris and Indian Institute of Technology Roorkee.
This report is intended to provide a brief overview of the research based summer internship
which I performed during the break after the spring semester.
The summer internship is meant to increase the interaction of the students with international
institutions and to strengthen the ties between the institutes.
5 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
ACKNOWLEDGEMENT
This project could not have been completed without the help and support of Mrs. Patricia
Bordin, who not only served as my supervisor and guide but also encouraged and challenged
me throughout my project. She guided me through various tasks of my project, through
regular discussions on various stages of the project and instructing me how to proceed
further, never accepting less than my best efforts. I would also like to thank the people at
ESTP who worked in the Centre of Research Lab and helped me during my stay.
6 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
About ESTP:
Fig 1.1: ESTP Logo
The Ecole Spéciale des Travaux Publics, du Bâtiment et de l’Industrie (ESTP) was founded
in 1891 as a private higher education institution and officially recognized by the State in
1921. In France, the ESTP has the biggest student flow for the construction industry and has
made its reputation as THE “Grande Ecole” for professionals in this area, in all its aspects:
design, planning & development, construction, project management, rehabilitation,
maintenance, facilities & real estate management, …with an emphasis on sustainable
development, new materials, energy efficiency, health issues, saving of natural resources, …
Today, the ESTP is the French institution that trains the largest number of students for the
construction industry in all fields: design, construction, planning & development, project &
facilities management, sustainable buildings & infrastructures, rehabilitation, maintenance,
new materials, energy efficiency.
Its expertise ranges from degree awarding programmes (at all levels of higher education,
from 2 year technician courses to PhDs) to adult education and intensive sessions of French
as a foreign language.
One of the main characteristics of the ESTP is its close relationship to industry; many
renowned companies are its active partners. This privileged partnership is confirmed on a
daily basis by a large offer of internships, sponsoring of events, scholarships for students,
participation in ESTP boards, … These links are strengthened by the 1.400 adults who
participate each year in a continuing education programme and by the 18.000 alumni of the
engineering degree course who are practicing professionals and may be found in small,
medium and big sized construction companies all over the world.
7 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
1. ABOUT PROJECT
Introduction
During my intern at ESTP, I was assigned the task of developing a tool to calculate indicators
which characterize spatial networks. In the beginning, I was asked to study the research paper
“Spatial Networks” by Marc Barthelemy. After gaining a basic understanding of Spatial
Networks from the paper, I proposed a new project structure according to the details provided
to me by my guide, Patricia Bordin.
The proposed project is to exploit the theoretical knowledge in morphology and topology
mathematics and to build indicators to characterize and discriminate the different types of
utility networks; and then to test and apply these indicators to data bases on actual networks.
Using the knowledge gained from the research paper and the newly constructed flow diagram
representation of the project structure, I began working on the first stage of the project which
was to design the program by creating a list of possible indicators that could be implemented
in the program. However after a discussion with Marc and Patricia, only some indicators
were finalized to be implemented in the program.
I wrote the program code and created several functions to calculate the selected indicators.
After receiving the input spatial network graphs and the input text coordinate files, I wrote
the functions to convert the file to an object in the program and perform functions on the data.
The output was obtained after removing errors (debugging) and written as output text files.
In this project report, I begin by explaining the motivation for the project and some basics
features of spatial networks. Moving on, I present the proposed project structure and flow
diagram prepared by me, followed by the explanation of the selected indicators. After that I
explain how the program code was written and how the input was processed to generate
output. I finish with the conclusions obtained so far by the project.
8 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
1.1 Motivation for the project
Utility Systems are widespread and form an integral part of the majority of activities,
communications, tasks and services today. Many of these systems are very often organized
under the form of networks where nodes and edges are embedded in space. Transportation
and mobility networks, Internet, mobile phone networks, power grids, social and contact
networks, neural networks, are all examples where space is relevant and where topology
alone does not contain all the information. Characterizing and understanding the structure and
the evolution of spatial networks is thus crucial for many different fields.
Fig 1.2: Utility Network
Some of the older networks lack proper structure and it often creates difficulty in failure
resolution as well as their recreation or expansion. The tool which we intend to create can be
extremely valuable in such situations, as it incorporates design elements which focus on
prediction of network structure. Another important feature is that the tool can be continuously
improved by comparing the predicted results with the actual structure and modifying the
design elements to improve the accuracy of the results.
9 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
1.2 A tool to calculate indicators which characterize spatial
networks
Spatial Networks can be characterized by comparing the results obtained from calculating
various indicators, and using those results we can define some rules to predict for localization
of missing parts of the network.
In order to calculate those indicators, our tool must have in built functions that are
implementation of the definition of the corresponding indicators. The tool must also be able
to simultaneously take input several data sets and convert them into appropriate parameters
for the functions to execute.
The geometric and topological components can be combined with the semantic component to
improve the rule set and prediction making by introducing a feedback system which can be
used to modify the function definition or add more functions to the tool design.
Fig 1.3: Program to calculate indicators for spatial networks.
10 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
2. Spatial Networks
Spatial Networks are networks for which the nodes are located in a space equipped with a
metric. For most practical applications, the space is the two dimensional space and the metric
is the usual Euclidean distance.
It is not necessary for a Spatial Network to be planar. Spatial Networks can be planar as well
as non planar.
Fig 2.1: Non Planar Spatial Network
2.1 Networks and Space, Degree in networks and graphs
Networks have nodes and edges which are constrained by some geometry and are usually
embedded in a two dimensional space and this has important effects on their topological
properties and consequently on processes which take place on them.
The topological aspects of the network are then correlated to the spatial aspects such as the
location of the nodes and the length of the edges.
In the study of graphs and networks, the degree of a node (v) in a network is the number of
connections it has to other nodes.
11 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
2.2 Geometric Primitives used in planar Spatial Networks
 Point
The points represent the nodes in planar spatial networks
 Line
A line represents a connection between two nodes of a planar spatial network.
 Polyline
A polyline represents a connection between two nodes with several intermediate
points in between joined by lines.
12 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
3. Development of Project Structure
3.1 Initially Proposed Structure
Fig 3.1: Proposed Structure Part 1
The data set for a selected utility networks as given as input to the tool and the first task of
the program is to convert the input into function parameters for calculation of indicators.
The geometric and topological components which we already know are processed and
compared with the function results in order to identify the structure of the utility network.
A characterization of the network is established using the rule set for geometric and
topological components and the identified network can now be expanded and resolved.
13 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 3.2: Proposed Structure Part 2
The first part of the proposed structure dealt with development of indicators and
characterization of indicators. The second part deals with prediction of missing parts of the
network and improving the rule set used for characterization and prediction as well as
improving the accuracy of the predictions.
As the tool is capable of taking multiple input data sets at the same time, the defined and
identified networks are compared with each other. Using the rule set characteristics feature of
networks, the missing parts of the networks can be predicted from the patterns associated
with the corresponding network.
In the final phase, the semantic component is introduced and the resulting set of complete
components can be used to improve the rule set and predication component.
14 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
3.2 Flow Diagram of Project Structure
Fig 3.3: Flow Diagram Phase 1
3.2.1 Phase One
Multiple data sets are given to the program to be executed in parallel, and a list of indicators
is prepared to be converted to functions of the tool.
The tool executes on the multiple data sets and the functions are written for the selected
indicators. These functions are components of the program which is executing.
The results generated by the indicators are used in characterizing the network whose input
data sets are given to the tool.
The network characteristics are compared with the characteristics of other networks in order
to define and identify the network in an improved manner.
The analysis of this comparison is used to establish principal rules for the given network. The
principal rules help in generating the basic framework and behavior for the network.
The principal rules created are used in phase 2 of the project.
15 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 3.4: Flow Diagram Phase 2
3.2.2 Phase Two
The testing of the network is done by the principle rules established in the previous step.
Simultaneously, a set of new rules is formed to perform predictions for the localization of the
network.
The principal and deduced rules are used to make predictions for the part of the network
which is missing or needs to be recreated.
The actual network data is used to test the prediction made by the program, and the extent of
accuracy of the prediction is used in phase three.
16 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 3.5: Flow Diagram Phase 3
3.2.3 Phase Three
In phase three, the semantic component of the network is introduced and its specifications are
given to the program.
The characterization of the network is done by using all the three components: geometric,
semantic and topological.
The generated network characteristics are used to deduce the rules for the network which end
up giving the complete rule set for the network.
3.2.4 Feedback
The first feedback loop occurs when the program is comparing the characteristics of the
networks. This feedback helps in improving the list of indicators and in selecting them.
The second feedback loop occurs in phase two when the prediction is tested with the actual
network. This feedback helps in selecting those indicators who have practical application.
The third feedback loop occurs in phase three when we are deducing rules using all three
components. It helps in forming a new set of rules along with the principal rules.
17 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
4. Implementation of Indicators
The indicators that were selected for implementation:
 Degree of the Node.
 Displacement between any two nodes.
 Distance covered while traversing intermediate points between two nodes.
 Route Factor for a Network Segment.
 Conversion to Binary Tree.
 Strahler Index for a tree.
 Asymmetry Factor for a tree.
4.1 Model for Indicators
In the model given below (Fig 4.1), Node Ni represents the starting node for a network
segment which is being analyzed by the program and Node Nf represents the ending node
of the network segment. The shape of the model corresponds to a polyline structure where
the Nodes N1-N8 corresponds to intermediate points for the concerned network segment.
Some of the indicators do not require intermediate points in the network segment
information as they are not concerned with topological information. However some
complex indicators require information about the intermediate points for their
computation.
Fig 4.1: Graph Model for indicators
18 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
4.2 Description of Selected Indicators
4.2.1 Route Factor:
Route Factor can be defined for a network segment as the ratio of the total distance covered
from the starting to the ending point while covering all the intermediate points, to the length
of the segment. The route factor (also called the detour index or the circuitry or directness)
For a pair of nodes (I, J) is then given by
Q(I, J)=dR(I, J)/dE(I, J)
This ratio is always larger than one and the closer to one, the more efficient the network.
4.2.2 Binary Tree:
A binary tree (Fig 4.2) is a tree data structure in which each node has at most two child
nodes, usually distinguished as ‘left’ and ‘right’. Nodes with children are parent nodes, and
child nodes may contain references to their parents. Outside the tree, there is often a reference
to the ‘root’ node (the ancestor of all nodes) if it exists. Any node in the data structure can be
reached by starting at root node and repeatedly following references to either left or right
child.
Fig 4.2: Binary Tree
19 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
4.2.3 Strahler Index:
 It is represented as λ, and is a measure of graph complexity.
 λ for a leaf is 0.
 λ for a vertex is given as:
λ=max (λ1, λ2) + δ (λ1, λ2)
Where
δ = 1; if λ1 = λ2
δ = 0; if λ1 != λ2
4.2.4 Asymmetry Factor:
 Asymmetry factor(As) describes relative differences in degrees of the two subtrees at
a vertex.
 Left Subtree (lj) and Right Subtree (rj)
As = (lj-rj) ∕ (lj +rj)
20 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
5. Writing the Program Source Code
5.1 Input of Network Graph Data
Fig 5.1: Input Network Graph Image; Input Graph Text File
The input network graph is obtained in an image file (Fig 5.1) with the graph information in a
text file. The above shown graph is for a Heat Network.
Once the input text file is received, it must be taken as input by the program and only relevant
information must be there in the input file so that the program can automatically read it on
calling.
Irrelevant information is removed from the input text file and it is placed appropriately for the
program to read from.
The format of the input file is:
Index X-Coordinate 1 Y-Coordinate 1 X-Coordinate 2 Y-
Coordinate 2
The program reads the input file format and stores it in network part structures.
21 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
5.2 Execution of program and Description of Functions used
Fig 5.2: Structure for Network Part and Class creation for a network graph
The network part structure stores the input file format and the class network part is created.
The class has several network part structures and functions for calculation of indicators.
Fig 5.3: The calculate degree function for the class network graph
The calculate degree function reads the input file format, calculates the degree for both set of
coordinates in the network graph and writes the calculated output to an output text file.
22 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 5.4: The input file to structure function for the class network graph
The input file to structure function reads the input text file format and stores the
corresponding data into the arguments of the network part sturcutre.
Fig 5.5: The calculate distance graph function for the class network graph
The calculate distance graph function reads the two set of coordinates in every line of the
input text file, calculates the distance between the points and writes to output text file.
23 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 5.6: The calculate route factor function for the class network graph
The calculate route factor function opens two input files, from the first it reads the
coordinates of the two points and calculates the displacement, and from the second it reads
the corresponding distance and then calculates route factor and writes to output text file.
Fig 5.7: The main executable for the program where all the functions are called.
24 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
5.3 Output Results obtained after execution.
Fig 5.8: The output binary tree for the heat network graph.
The above figure is a representation of the heat network graph as a binary tree structure.
The terminal nodes are shown in red and have degree 1.
The junction nodes are shown as yellow and have degree 2.
The other nodes are shown as green and have two child nodes and hence degree 3.
The connections between the nodes are shown as blue lines.
25 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 5.9: The Output graph degree text file; Output graph route factor text file.
The calculate degree function of the network graph class generates the output graph degree
file when called.
The degree for both points of a network part is calculated by the calculate degree point
function.
The output file format is:
Counter X-Coordinate 1 Y-Coordinate 1 Degree 1 X-Coordinate 2
Y-Coordinate 2 Degree 2.
The calculate route factor function of the network graph class generates the output graph
route factor file when called.
The output file format is:
Counter Index Distance Displacement Route Factor
26 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
Fig 5.10: The Output Graph Distance Text File
The calculate distance graph function of the network graph class generates the output graph
distance file when called.
The output file format is:
Counter Index X-Coordinate 1 Y-Coordinate 1 X-Coordinate 2
Y-Coordinate 2 Displacement
27 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
6. Conclusions of the Project
 The program was developed and the code was executed on multiple data sets.
 The program was successful in processing three network graphs: Heat Network graph,
Pipe Network Graph, Water Pipe Network Graph.
 The indicator functions for calculating degree, distance and route factor were effective
for all input data sets.
 The binary tree function was able to convert the heat network graph to a binary tree.
 The program has a modular structure, and every function is executing successfully
and we can add more indicator functions to it.
28 IIT ROORKEE
Vaibhav Dhattarwal( Internship at ESTP Paris)
List of References
[1] ESTP Paris (http://www.estp.fr/en/)
[2]Marc Barthelemy “Spatial Networks”
[3]Wikipedia (www.wikipedia.org/)
[4]C Plus Plus (http://www.cplusplus.com/)
[5]Stack Overflow (http://stackoverflow.com/)
[6]Prezi(www.prezi.com)
[7]ElectroFriends(www.electrofriends.com)

More Related Content

What's hot

Design of 16 storied apartment using TEKLA STRUCTURAL DESIGNER
Design of 16 storied apartment using TEKLA STRUCTURAL DESIGNERDesign of 16 storied apartment using TEKLA STRUCTURAL DESIGNER
Design of 16 storied apartment using TEKLA STRUCTURAL DESIGNERzafrin mohamed
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantTezpur University
 
Computer aided analysis_and_design_of_multi-storeyed_buildings
Computer aided analysis_and_design_of_multi-storeyed_buildingsComputer aided analysis_and_design_of_multi-storeyed_buildings
Computer aided analysis_and_design_of_multi-storeyed_buildingsV.m. Rajan
 
Method for ontology generation from concept maps in shallow domains
Method for ontology generation from concept maps in shallow domainsMethod for ontology generation from concept maps in shallow domains
Method for ontology generation from concept maps in shallow domainsLuigi Ceccaroni
 
22ETC15H_Internet of Things(IOT).pptx
22ETC15H_Internet of Things(IOT).pptx22ETC15H_Internet of Things(IOT).pptx
22ETC15H_Internet of Things(IOT).pptxGMECE
 
Artificial intelligence and IoT
Artificial intelligence and IoTArtificial intelligence and IoT
Artificial intelligence and IoTVeselin Pizurica
 
IRJET- Smart Agriculture Solution using Lora and IoT
IRJET- Smart Agriculture Solution using Lora and IoTIRJET- Smart Agriculture Solution using Lora and IoT
IRJET- Smart Agriculture Solution using Lora and IoTIRJET Journal
 
Seminar report of digital twin
Seminar report of digital twinSeminar report of digital twin
Seminar report of digital twinfaheem m m
 
An introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERTAn introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERTSuman Debnath
 
271083916 tekla-15-analysis-manual
271083916 tekla-15-analysis-manual271083916 tekla-15-analysis-manual
271083916 tekla-15-analysis-manualWSKT
 
Keil tutorial
Keil tutorialKeil tutorial
Keil tutorialanishgoel
 
Features of 89c51,pic,avr & arm processors
Features of 89c51,pic,avr & arm processorsFeatures of 89c51,pic,avr & arm processors
Features of 89c51,pic,avr & arm processorsVikas Dongre
 
IoT Based Water Level Monitoring System with an Android Application
IoT Based Water Level Monitoring System with an Android ApplicationIoT Based Water Level Monitoring System with an Android Application
IoT Based Water Level Monitoring System with an Android Applicationrahulmonikasharma
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationFarhan Ahmed Rahee
 
2 design guide-ec2-2 rs narayanan & a beeby
2 design guide-ec2-2 rs narayanan & a beeby2 design guide-ec2-2 rs narayanan & a beeby
2 design guide-ec2-2 rs narayanan & a beebyPrabuRengarajan
 
VTU final year project report
VTU final year project reportVTU final year project report
VTU final year project reportathiathi3
 
IRJET- Fire Fighting Robot using Arduino
IRJET- Fire Fighting Robot using ArduinoIRJET- Fire Fighting Robot using Arduino
IRJET- Fire Fighting Robot using ArduinoIRJET Journal
 

What's hot (20)

Design of 16 storied apartment using TEKLA STRUCTURAL DESIGNER
Design of 16 storied apartment using TEKLA STRUCTURAL DESIGNERDesign of 16 storied apartment using TEKLA STRUCTURAL DESIGNER
Design of 16 storied apartment using TEKLA STRUCTURAL DESIGNER
 
IoT Home Automation System
IoT Home Automation SystemIoT Home Automation System
IoT Home Automation System
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice Assistant
 
Computer aided analysis_and_design_of_multi-storeyed_buildings
Computer aided analysis_and_design_of_multi-storeyed_buildingsComputer aided analysis_and_design_of_multi-storeyed_buildings
Computer aided analysis_and_design_of_multi-storeyed_buildings
 
Method for ontology generation from concept maps in shallow domains
Method for ontology generation from concept maps in shallow domainsMethod for ontology generation from concept maps in shallow domains
Method for ontology generation from concept maps in shallow domains
 
22ETC15H_Internet of Things(IOT).pptx
22ETC15H_Internet of Things(IOT).pptx22ETC15H_Internet of Things(IOT).pptx
22ETC15H_Internet of Things(IOT).pptx
 
Artificial intelligence and IoT
Artificial intelligence and IoTArtificial intelligence and IoT
Artificial intelligence and IoT
 
IRJET- Smart Agriculture Solution using Lora and IoT
IRJET- Smart Agriculture Solution using Lora and IoTIRJET- Smart Agriculture Solution using Lora and IoT
IRJET- Smart Agriculture Solution using Lora and IoT
 
Seminar report of digital twin
Seminar report of digital twinSeminar report of digital twin
Seminar report of digital twin
 
Smart Elevator
Smart ElevatorSmart Elevator
Smart Elevator
 
An introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERTAn introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERT
 
271083916 tekla-15-analysis-manual
271083916 tekla-15-analysis-manual271083916 tekla-15-analysis-manual
271083916 tekla-15-analysis-manual
 
Hand Gesture Recognition
Hand Gesture RecognitionHand Gesture Recognition
Hand Gesture Recognition
 
Keil tutorial
Keil tutorialKeil tutorial
Keil tutorial
 
Features of 89c51,pic,avr & arm processors
Features of 89c51,pic,avr & arm processorsFeatures of 89c51,pic,avr & arm processors
Features of 89c51,pic,avr & arm processors
 
IoT Based Water Level Monitoring System with an Android Application
IoT Based Water Level Monitoring System with an Android ApplicationIoT Based Water Level Monitoring System with an Android Application
IoT Based Water Level Monitoring System with an Android Application
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
 
2 design guide-ec2-2 rs narayanan & a beeby
2 design guide-ec2-2 rs narayanan & a beeby2 design guide-ec2-2 rs narayanan & a beeby
2 design guide-ec2-2 rs narayanan & a beeby
 
VTU final year project report
VTU final year project reportVTU final year project report
VTU final year project report
 
IRJET- Fire Fighting Robot using Arduino
IRJET- Fire Fighting Robot using ArduinoIRJET- Fire Fighting Robot using Arduino
IRJET- Fire Fighting Robot using Arduino
 

Viewers also liked

Viewers also liked (8)

IIT INTERNSHIP REPORT
IIT INTERNSHIP REPORTIIT INTERNSHIP REPORT
IIT INTERNSHIP REPORT
 
Certificate
CertificateCertificate
Certificate
 
Angshu's CV
Angshu's CVAngshu's CV
Angshu's CV
 
Cv template by kgp
Cv template by kgpCv template by kgp
Cv template by kgp
 
Fresher_IIT Kgp-CV
Fresher_IIT Kgp-CVFresher_IIT Kgp-CV
Fresher_IIT Kgp-CV
 
IIT Certificate
IIT CertificateIIT Certificate
IIT Certificate
 
Latex Certificate
Latex CertificateLatex Certificate
Latex Certificate
 
INTERN report file devinchi 0320526
INTERN report file devinchi 0320526INTERN report file devinchi 0320526
INTERN report file devinchi 0320526
 

Similar to Internship Project Report - Vaibhav

Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014deepti112233
 
Preliminry report
 Preliminry report Preliminry report
Preliminry reportJiten Ahuja
 
Minor Project Synopsis on Data Structure Visualizer
Minor Project Synopsis on Data Structure VisualizerMinor Project Synopsis on Data Structure Visualizer
Minor Project Synopsis on Data Structure VisualizerRonitShrivastava057
 
SHORTEST PATH FINDING VISUALIZER
SHORTEST PATH FINDING VISUALIZERSHORTEST PATH FINDING VISUALIZER
SHORTEST PATH FINDING VISUALIZERIRJET Journal
 
SR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdf
SR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdfSR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdf
SR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdfHabibAbda
 
Seminar and Project Manager and Resourceful Trainer(SMART)
Seminar and Project Manager and Resourceful Trainer(SMART)Seminar and Project Manager and Resourceful Trainer(SMART)
Seminar and Project Manager and Resourceful Trainer(SMART)IOSR Journals
 
Optimal Meeting Point Notification for Moving groups of Users in Network Region
Optimal Meeting Point Notification for Moving groups of Users in Network RegionOptimal Meeting Point Notification for Moving groups of Users in Network Region
Optimal Meeting Point Notification for Moving groups of Users in Network RegionIRJET Journal
 
A SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNING
A SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNINGA SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNING
A SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNINGIRJET Journal
 
Automatic Grading of Handwritten Answers
Automatic Grading of Handwritten AnswersAutomatic Grading of Handwritten Answers
Automatic Grading of Handwritten AnswersIRJET Journal
 
Real Time Sign Language Translation Using Tensor Flow Object Detection
Real Time Sign Language Translation Using Tensor Flow Object DetectionReal Time Sign Language Translation Using Tensor Flow Object Detection
Real Time Sign Language Translation Using Tensor Flow Object DetectionIRJET Journal
 
IRJET - Optical Character Recognition and Translation
IRJET -  	  Optical Character Recognition and TranslationIRJET -  	  Optical Character Recognition and Translation
IRJET - Optical Character Recognition and TranslationIRJET Journal
 
IoT.est Project ID Card
IoT.est Project ID CardIoT.est Project ID Card
IoT.est Project ID Cardiotest
 
IRJET - Hand Gestures Recognition using Deep Learning
IRJET -  	  Hand Gestures Recognition using Deep LearningIRJET -  	  Hand Gestures Recognition using Deep Learning
IRJET - Hand Gestures Recognition using Deep LearningIRJET Journal
 
4 a. Project management - network analysis
4 a. Project management - network analysis4 a. Project management - network analysis
4 a. Project management - network analysisDr.R. SELVAM
 
Robotic hand prototype as a didactic model.
Robotic hand prototype as a didactic model.Robotic hand prototype as a didactic model.
Robotic hand prototype as a didactic model.IRJET Journal
 
[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...
[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...
[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...EADTU
 
Final project report format
Final project report formatFinal project report format
Final project report formatMasud Sarkar
 
EADTU 2018 conference e-LIVES project
EADTU 2018 conference e-LIVES project EADTU 2018 conference e-LIVES project
EADTU 2018 conference e-LIVES project Manuel Castro
 
Report[Batch-08].pdf
Report[Batch-08].pdfReport[Batch-08].pdf
Report[Batch-08].pdf052Sugashk
 

Similar to Internship Project Report - Vaibhav (20)

Np lab
Np labNp lab
Np lab
 
Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014
 
Preliminry report
 Preliminry report Preliminry report
Preliminry report
 
Minor Project Synopsis on Data Structure Visualizer
Minor Project Synopsis on Data Structure VisualizerMinor Project Synopsis on Data Structure Visualizer
Minor Project Synopsis on Data Structure Visualizer
 
SHORTEST PATH FINDING VISUALIZER
SHORTEST PATH FINDING VISUALIZERSHORTEST PATH FINDING VISUALIZER
SHORTEST PATH FINDING VISUALIZER
 
SR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdf
SR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdfSR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdf
SR-R-nKAnwar_PPM_Penulisan_ProposalLPDP.pdf
 
Seminar and Project Manager and Resourceful Trainer(SMART)
Seminar and Project Manager and Resourceful Trainer(SMART)Seminar and Project Manager and Resourceful Trainer(SMART)
Seminar and Project Manager and Resourceful Trainer(SMART)
 
Optimal Meeting Point Notification for Moving groups of Users in Network Region
Optimal Meeting Point Notification for Moving groups of Users in Network RegionOptimal Meeting Point Notification for Moving groups of Users in Network Region
Optimal Meeting Point Notification for Moving groups of Users in Network Region
 
A SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNING
A SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNINGA SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNING
A SURVEY ON KIDNEY STONE DETECTION USING IMAGE PROCESSING AND DEEP LEARNING
 
Automatic Grading of Handwritten Answers
Automatic Grading of Handwritten AnswersAutomatic Grading of Handwritten Answers
Automatic Grading of Handwritten Answers
 
Real Time Sign Language Translation Using Tensor Flow Object Detection
Real Time Sign Language Translation Using Tensor Flow Object DetectionReal Time Sign Language Translation Using Tensor Flow Object Detection
Real Time Sign Language Translation Using Tensor Flow Object Detection
 
IRJET - Optical Character Recognition and Translation
IRJET -  	  Optical Character Recognition and TranslationIRJET -  	  Optical Character Recognition and Translation
IRJET - Optical Character Recognition and Translation
 
IoT.est Project ID Card
IoT.est Project ID CardIoT.est Project ID Card
IoT.est Project ID Card
 
IRJET - Hand Gestures Recognition using Deep Learning
IRJET -  	  Hand Gestures Recognition using Deep LearningIRJET -  	  Hand Gestures Recognition using Deep Learning
IRJET - Hand Gestures Recognition using Deep Learning
 
4 a. Project management - network analysis
4 a. Project management - network analysis4 a. Project management - network analysis
4 a. Project management - network analysis
 
Robotic hand prototype as a didactic model.
Robotic hand prototype as a didactic model.Robotic hand prototype as a didactic model.
Robotic hand prototype as a didactic model.
 
[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...
[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...
[OOFHEC2018] Manuel Castro: Identifying the best practices in e-engineering t...
 
Final project report format
Final project report formatFinal project report format
Final project report format
 
EADTU 2018 conference e-LIVES project
EADTU 2018 conference e-LIVES project EADTU 2018 conference e-LIVES project
EADTU 2018 conference e-LIVES project
 
Report[Batch-08].pdf
Report[Batch-08].pdfReport[Batch-08].pdf
Report[Batch-08].pdf
 

More from Vaibhav Dhattarwal

More from Vaibhav Dhattarwal (6)

Dissertation Prsentation - Vaibhav
Dissertation Prsentation - VaibhavDissertation Prsentation - Vaibhav
Dissertation Prsentation - Vaibhav
 
Research Paper - Vaibhav
Research Paper - VaibhavResearch Paper - Vaibhav
Research Paper - Vaibhav
 
Project Report -Vaibhav
Project Report -VaibhavProject Report -Vaibhav
Project Report -Vaibhav
 
Seminar Presentation
Seminar PresentationSeminar Presentation
Seminar Presentation
 
Seminar Report Vaibhav
Seminar Report VaibhavSeminar Report Vaibhav
Seminar Report Vaibhav
 
VaibhavDhattarwal_PGP06.054_CV_v2
VaibhavDhattarwal_PGP06.054_CV_v2VaibhavDhattarwal_PGP06.054_CV_v2
VaibhavDhattarwal_PGP06.054_CV_v2
 

Internship Project Report - Vaibhav

  • 1. 1 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Project Report Developing a tool to calculate Indicators which characterize Spatial Networks Vaibhav Dhattarwal CSE IDD 4th Year 08211018 During Internship period of May 27, 2012-July 13, 2012 This report was prepared during my internship at ESTP Paris, France.
  • 2. 2 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris)
  • 3. 3 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Table of Contents Summer Internship Certificate 2 Preface 4 Acknowledgement 5 About ESTP 6 1. About Project 7 1.1 Motivation for the Project 8 1.2 A tool to calculate indicators which characterize Spatial Networks 9 2. Spatial Networks 10 2.1 Networks and Space, Degree in Networks and Graphs 10 2.2 Geometric Primitives used in planar Spatial Networks 11 3. Development of Project Structure 12 3.1 Initially Proposed Structure 12-13 3.2 Flow Diagram of Project Structure 14-16 4. Implementation of Indicators 17 4.1 Model for Indicators 17 4.2 Description of Selected Indicators 18-19 5. Writing the Program Source Code 20 5.1 Input of Network Graph data 20 5.2 Execution of Program and Description of Functions used 21-23 5.3 Output Results obtained after Execution 24-26 6. Conclusions of the Project 27 List of References 28
  • 4. 4 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) PREFACE This report is to be submitted to ESTP Paris and Indian Institute of Technology Roorkee. This report is intended to provide a brief overview of the research based summer internship which I performed during the break after the spring semester. The summer internship is meant to increase the interaction of the students with international institutions and to strengthen the ties between the institutes.
  • 5. 5 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) ACKNOWLEDGEMENT This project could not have been completed without the help and support of Mrs. Patricia Bordin, who not only served as my supervisor and guide but also encouraged and challenged me throughout my project. She guided me through various tasks of my project, through regular discussions on various stages of the project and instructing me how to proceed further, never accepting less than my best efforts. I would also like to thank the people at ESTP who worked in the Centre of Research Lab and helped me during my stay.
  • 6. 6 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) About ESTP: Fig 1.1: ESTP Logo The Ecole Spéciale des Travaux Publics, du Bâtiment et de l’Industrie (ESTP) was founded in 1891 as a private higher education institution and officially recognized by the State in 1921. In France, the ESTP has the biggest student flow for the construction industry and has made its reputation as THE “Grande Ecole” for professionals in this area, in all its aspects: design, planning & development, construction, project management, rehabilitation, maintenance, facilities & real estate management, …with an emphasis on sustainable development, new materials, energy efficiency, health issues, saving of natural resources, … Today, the ESTP is the French institution that trains the largest number of students for the construction industry in all fields: design, construction, planning & development, project & facilities management, sustainable buildings & infrastructures, rehabilitation, maintenance, new materials, energy efficiency. Its expertise ranges from degree awarding programmes (at all levels of higher education, from 2 year technician courses to PhDs) to adult education and intensive sessions of French as a foreign language. One of the main characteristics of the ESTP is its close relationship to industry; many renowned companies are its active partners. This privileged partnership is confirmed on a daily basis by a large offer of internships, sponsoring of events, scholarships for students, participation in ESTP boards, … These links are strengthened by the 1.400 adults who participate each year in a continuing education programme and by the 18.000 alumni of the engineering degree course who are practicing professionals and may be found in small, medium and big sized construction companies all over the world.
  • 7. 7 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 1. ABOUT PROJECT Introduction During my intern at ESTP, I was assigned the task of developing a tool to calculate indicators which characterize spatial networks. In the beginning, I was asked to study the research paper “Spatial Networks” by Marc Barthelemy. After gaining a basic understanding of Spatial Networks from the paper, I proposed a new project structure according to the details provided to me by my guide, Patricia Bordin. The proposed project is to exploit the theoretical knowledge in morphology and topology mathematics and to build indicators to characterize and discriminate the different types of utility networks; and then to test and apply these indicators to data bases on actual networks. Using the knowledge gained from the research paper and the newly constructed flow diagram representation of the project structure, I began working on the first stage of the project which was to design the program by creating a list of possible indicators that could be implemented in the program. However after a discussion with Marc and Patricia, only some indicators were finalized to be implemented in the program. I wrote the program code and created several functions to calculate the selected indicators. After receiving the input spatial network graphs and the input text coordinate files, I wrote the functions to convert the file to an object in the program and perform functions on the data. The output was obtained after removing errors (debugging) and written as output text files. In this project report, I begin by explaining the motivation for the project and some basics features of spatial networks. Moving on, I present the proposed project structure and flow diagram prepared by me, followed by the explanation of the selected indicators. After that I explain how the program code was written and how the input was processed to generate output. I finish with the conclusions obtained so far by the project.
  • 8. 8 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 1.1 Motivation for the project Utility Systems are widespread and form an integral part of the majority of activities, communications, tasks and services today. Many of these systems are very often organized under the form of networks where nodes and edges are embedded in space. Transportation and mobility networks, Internet, mobile phone networks, power grids, social and contact networks, neural networks, are all examples where space is relevant and where topology alone does not contain all the information. Characterizing and understanding the structure and the evolution of spatial networks is thus crucial for many different fields. Fig 1.2: Utility Network Some of the older networks lack proper structure and it often creates difficulty in failure resolution as well as their recreation or expansion. The tool which we intend to create can be extremely valuable in such situations, as it incorporates design elements which focus on prediction of network structure. Another important feature is that the tool can be continuously improved by comparing the predicted results with the actual structure and modifying the design elements to improve the accuracy of the results.
  • 9. 9 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 1.2 A tool to calculate indicators which characterize spatial networks Spatial Networks can be characterized by comparing the results obtained from calculating various indicators, and using those results we can define some rules to predict for localization of missing parts of the network. In order to calculate those indicators, our tool must have in built functions that are implementation of the definition of the corresponding indicators. The tool must also be able to simultaneously take input several data sets and convert them into appropriate parameters for the functions to execute. The geometric and topological components can be combined with the semantic component to improve the rule set and prediction making by introducing a feedback system which can be used to modify the function definition or add more functions to the tool design. Fig 1.3: Program to calculate indicators for spatial networks.
  • 10. 10 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 2. Spatial Networks Spatial Networks are networks for which the nodes are located in a space equipped with a metric. For most practical applications, the space is the two dimensional space and the metric is the usual Euclidean distance. It is not necessary for a Spatial Network to be planar. Spatial Networks can be planar as well as non planar. Fig 2.1: Non Planar Spatial Network 2.1 Networks and Space, Degree in networks and graphs Networks have nodes and edges which are constrained by some geometry and are usually embedded in a two dimensional space and this has important effects on their topological properties and consequently on processes which take place on them. The topological aspects of the network are then correlated to the spatial aspects such as the location of the nodes and the length of the edges. In the study of graphs and networks, the degree of a node (v) in a network is the number of connections it has to other nodes.
  • 11. 11 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 2.2 Geometric Primitives used in planar Spatial Networks  Point The points represent the nodes in planar spatial networks  Line A line represents a connection between two nodes of a planar spatial network.  Polyline A polyline represents a connection between two nodes with several intermediate points in between joined by lines.
  • 12. 12 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 3. Development of Project Structure 3.1 Initially Proposed Structure Fig 3.1: Proposed Structure Part 1 The data set for a selected utility networks as given as input to the tool and the first task of the program is to convert the input into function parameters for calculation of indicators. The geometric and topological components which we already know are processed and compared with the function results in order to identify the structure of the utility network. A characterization of the network is established using the rule set for geometric and topological components and the identified network can now be expanded and resolved.
  • 13. 13 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 3.2: Proposed Structure Part 2 The first part of the proposed structure dealt with development of indicators and characterization of indicators. The second part deals with prediction of missing parts of the network and improving the rule set used for characterization and prediction as well as improving the accuracy of the predictions. As the tool is capable of taking multiple input data sets at the same time, the defined and identified networks are compared with each other. Using the rule set characteristics feature of networks, the missing parts of the networks can be predicted from the patterns associated with the corresponding network. In the final phase, the semantic component is introduced and the resulting set of complete components can be used to improve the rule set and predication component.
  • 14. 14 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 3.2 Flow Diagram of Project Structure Fig 3.3: Flow Diagram Phase 1 3.2.1 Phase One Multiple data sets are given to the program to be executed in parallel, and a list of indicators is prepared to be converted to functions of the tool. The tool executes on the multiple data sets and the functions are written for the selected indicators. These functions are components of the program which is executing. The results generated by the indicators are used in characterizing the network whose input data sets are given to the tool. The network characteristics are compared with the characteristics of other networks in order to define and identify the network in an improved manner. The analysis of this comparison is used to establish principal rules for the given network. The principal rules help in generating the basic framework and behavior for the network. The principal rules created are used in phase 2 of the project.
  • 15. 15 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 3.4: Flow Diagram Phase 2 3.2.2 Phase Two The testing of the network is done by the principle rules established in the previous step. Simultaneously, a set of new rules is formed to perform predictions for the localization of the network. The principal and deduced rules are used to make predictions for the part of the network which is missing or needs to be recreated. The actual network data is used to test the prediction made by the program, and the extent of accuracy of the prediction is used in phase three.
  • 16. 16 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 3.5: Flow Diagram Phase 3 3.2.3 Phase Three In phase three, the semantic component of the network is introduced and its specifications are given to the program. The characterization of the network is done by using all the three components: geometric, semantic and topological. The generated network characteristics are used to deduce the rules for the network which end up giving the complete rule set for the network. 3.2.4 Feedback The first feedback loop occurs when the program is comparing the characteristics of the networks. This feedback helps in improving the list of indicators and in selecting them. The second feedback loop occurs in phase two when the prediction is tested with the actual network. This feedback helps in selecting those indicators who have practical application. The third feedback loop occurs in phase three when we are deducing rules using all three components. It helps in forming a new set of rules along with the principal rules.
  • 17. 17 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 4. Implementation of Indicators The indicators that were selected for implementation:  Degree of the Node.  Displacement between any two nodes.  Distance covered while traversing intermediate points between two nodes.  Route Factor for a Network Segment.  Conversion to Binary Tree.  Strahler Index for a tree.  Asymmetry Factor for a tree. 4.1 Model for Indicators In the model given below (Fig 4.1), Node Ni represents the starting node for a network segment which is being analyzed by the program and Node Nf represents the ending node of the network segment. The shape of the model corresponds to a polyline structure where the Nodes N1-N8 corresponds to intermediate points for the concerned network segment. Some of the indicators do not require intermediate points in the network segment information as they are not concerned with topological information. However some complex indicators require information about the intermediate points for their computation. Fig 4.1: Graph Model for indicators
  • 18. 18 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 4.2 Description of Selected Indicators 4.2.1 Route Factor: Route Factor can be defined for a network segment as the ratio of the total distance covered from the starting to the ending point while covering all the intermediate points, to the length of the segment. The route factor (also called the detour index or the circuitry or directness) For a pair of nodes (I, J) is then given by Q(I, J)=dR(I, J)/dE(I, J) This ratio is always larger than one and the closer to one, the more efficient the network. 4.2.2 Binary Tree: A binary tree (Fig 4.2) is a tree data structure in which each node has at most two child nodes, usually distinguished as ‘left’ and ‘right’. Nodes with children are parent nodes, and child nodes may contain references to their parents. Outside the tree, there is often a reference to the ‘root’ node (the ancestor of all nodes) if it exists. Any node in the data structure can be reached by starting at root node and repeatedly following references to either left or right child. Fig 4.2: Binary Tree
  • 19. 19 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 4.2.3 Strahler Index:  It is represented as λ, and is a measure of graph complexity.  λ for a leaf is 0.  λ for a vertex is given as: λ=max (λ1, λ2) + δ (λ1, λ2) Where δ = 1; if λ1 = λ2 δ = 0; if λ1 != λ2 4.2.4 Asymmetry Factor:  Asymmetry factor(As) describes relative differences in degrees of the two subtrees at a vertex.  Left Subtree (lj) and Right Subtree (rj) As = (lj-rj) ∕ (lj +rj)
  • 20. 20 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 5. Writing the Program Source Code 5.1 Input of Network Graph Data Fig 5.1: Input Network Graph Image; Input Graph Text File The input network graph is obtained in an image file (Fig 5.1) with the graph information in a text file. The above shown graph is for a Heat Network. Once the input text file is received, it must be taken as input by the program and only relevant information must be there in the input file so that the program can automatically read it on calling. Irrelevant information is removed from the input text file and it is placed appropriately for the program to read from. The format of the input file is: Index X-Coordinate 1 Y-Coordinate 1 X-Coordinate 2 Y- Coordinate 2 The program reads the input file format and stores it in network part structures.
  • 21. 21 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 5.2 Execution of program and Description of Functions used Fig 5.2: Structure for Network Part and Class creation for a network graph The network part structure stores the input file format and the class network part is created. The class has several network part structures and functions for calculation of indicators. Fig 5.3: The calculate degree function for the class network graph The calculate degree function reads the input file format, calculates the degree for both set of coordinates in the network graph and writes the calculated output to an output text file.
  • 22. 22 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 5.4: The input file to structure function for the class network graph The input file to structure function reads the input text file format and stores the corresponding data into the arguments of the network part sturcutre. Fig 5.5: The calculate distance graph function for the class network graph The calculate distance graph function reads the two set of coordinates in every line of the input text file, calculates the distance between the points and writes to output text file.
  • 23. 23 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 5.6: The calculate route factor function for the class network graph The calculate route factor function opens two input files, from the first it reads the coordinates of the two points and calculates the displacement, and from the second it reads the corresponding distance and then calculates route factor and writes to output text file. Fig 5.7: The main executable for the program where all the functions are called.
  • 24. 24 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 5.3 Output Results obtained after execution. Fig 5.8: The output binary tree for the heat network graph. The above figure is a representation of the heat network graph as a binary tree structure. The terminal nodes are shown in red and have degree 1. The junction nodes are shown as yellow and have degree 2. The other nodes are shown as green and have two child nodes and hence degree 3. The connections between the nodes are shown as blue lines.
  • 25. 25 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 5.9: The Output graph degree text file; Output graph route factor text file. The calculate degree function of the network graph class generates the output graph degree file when called. The degree for both points of a network part is calculated by the calculate degree point function. The output file format is: Counter X-Coordinate 1 Y-Coordinate 1 Degree 1 X-Coordinate 2 Y-Coordinate 2 Degree 2. The calculate route factor function of the network graph class generates the output graph route factor file when called. The output file format is: Counter Index Distance Displacement Route Factor
  • 26. 26 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) Fig 5.10: The Output Graph Distance Text File The calculate distance graph function of the network graph class generates the output graph distance file when called. The output file format is: Counter Index X-Coordinate 1 Y-Coordinate 1 X-Coordinate 2 Y-Coordinate 2 Displacement
  • 27. 27 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) 6. Conclusions of the Project  The program was developed and the code was executed on multiple data sets.  The program was successful in processing three network graphs: Heat Network graph, Pipe Network Graph, Water Pipe Network Graph.  The indicator functions for calculating degree, distance and route factor were effective for all input data sets.  The binary tree function was able to convert the heat network graph to a binary tree.  The program has a modular structure, and every function is executing successfully and we can add more indicator functions to it.
  • 28. 28 IIT ROORKEE Vaibhav Dhattarwal( Internship at ESTP Paris) List of References [1] ESTP Paris (http://www.estp.fr/en/) [2]Marc Barthelemy “Spatial Networks” [3]Wikipedia (www.wikipedia.org/) [4]C Plus Plus (http://www.cplusplus.com/) [5]Stack Overflow (http://stackoverflow.com/) [6]Prezi(www.prezi.com) [7]ElectroFriends(www.electrofriends.com)