Skip to main content

GRAph Parallel Environment.

Project description

GRAPE is a Python package that takes advantage of Graph Theory into a High Performance Computing (HPC) environment to develop a screening tool aimed at studying the effect of different kinds of perturbations in interconnected systems, such as indsutrial plants. The tool allows to represent the dependencies between components and predict the state of health and the residual functionality of degradable systems after a damage, suggesting the proper reconfiguration strategies to mitigate it. The results obtained from the graph analysis can be therefore used to improve topology, robustness, and resilience profile of industrial facilities against domino effect propagation.In particular, the components contribution to the cascade effects resulting from adverse events can be evaluated through centrality and efficiency measures, highlighting the plants major criticalities, vulnerabilities and potential weak points. Considering that the most computationally expensive parts of the program involve the calculation of shortest paths, parallelization of shortest path computation in large unweighted graphs was integrated in the program. This was done taking advantage of the Python module multiprocessing. Two different sequential algorithms for the solution of the shortest path problem have been parallelized including a Single Source Shortest Path (SSSP) algorythm for sparse graphs and an All Pairs Shortest Path one (APSP) for dense graphs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grape-mathlab-1.4.0.tar.gz (37.4 kB view hashes)

Uploaded Source

Built Distribution

grape_mathlab-1.4.0-py3-none-any.whl (38.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page