This project are python srcipts to calculate the compatibility between the protocols, which are modeled by state machines. This project is created to accompany with my thesis Evaluation and development of the bridging application between ISO 15118 and OCPP 2.0.1 protocols.
The theory of the calculation is described briefly in this paper. The detail explaination is describe in this document.
The following packages are used for development:
- click
- pandas
- pytest
The input of the calculation a json file describing the state machine. The content of the json file is describe in this document. Furthermore, users can check the example state machines:
for insparation.
Please run the following command to start the analysis:
python compatibility_calculation.py --graph YOUR_FIRST_GRAPH.json YOUR_SECOND_GRAPH.json
Users can test the functionalities by using two prepared sample state machines, ocpp are iso15118:
python compatibility_calculation.py --graph ocpp.json iso_15118.json
Users can execute the help command for more options:
python compatibility_calculation.py --help
Some tests are prepare the the state machine parser module, which can be executed with pytest:
pytest
Official release