Commit 5fe410d2 authored by Kumar, Mohit's avatar Kumar, Mohit
Browse files

Update README.md

parent 0ca2dff9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
# Resilience Design Patterns Modeling (RDPM) Tool
RDPM is a Python tool to model performance, reliability, and availability of different resilience design patterns. It takes an XML file as an argument which contains parameters values for different resilience design patterns. RDPM has total 17 classes, where 15 classes implement individual patterns models and plots, and two remaining classes run the main class and extract parameters from the XML file. Each pattern class has a method to calculate and plot performance, reliability and availability. Extract class extract parameters for specific pattern. RDP class has main function and it extract all the parameters and then call each pattern class methods to calculate and plot models.
The  Python-based  RDPM tool  allows  calculation,  plotting,  and  storing  of performance, reliability, and availability values for patterns and patterns combination. It has five components - RDP, Extract, Plot, CSV, and Patterns. RDP is the main class. It allows extraction of parameters from XML file and calculation, storing, and plotting of performance, reliability, and availability values. Extract allows extraction of individual pattern parameters from XML file. Patterns calculate the performance, reliability, and availability values and pass to Plot to draw line/3D scatter plot. The calculated values are also passed to CSV for storing as CSV files.

## How to run?
To run only structural patters
To run only structural patterns

```bash
python3 RDP.py ../xml/patterns.xml 1 0
```

To run  structural patters and patterns combination
To run  structural patterns and patterns combination

```bash
python3 RDP.py ../xml/patterns.xml 1 1