Note: My research powerpoint presentation is also in the root folder
The purpose of this configuration manual is to guide users through the process of setting up the simulation environment and custom implementations used in the research project. It provides detailed instructions to ensure the successful execution of simulations, custom algorithm implementations, and data analysis.
Before proceeding with the installation, ensure that your system meets the following requirements:
- Operating System: Windows, MacOS, or Linux
- Java Runtime Environment (JRE) version 8 or higher
- Python version 3.7.x or higher
- Python package manager pip
- Visual Studio Code, Jupyter Notebook, or a compatible environment for running Python scripts
The modified PureEdgeSim simulator called "myPureEdgeSim" is provided for our implementation on PureEdgeSim Simulator.
- Download and install Python from the official website.
- Verify the installation by opening a terminal or command prompt and entering
python --version. - Generally, pip is automatically installed if you are using Python downloaded from the official website.
- Open Eclipse IDE.
- Go to
File>Open Projects from File System. - Navigate to
PureEdgeSim>examples>Example8.java. - Right-click on the project and select
Run As>Java Application. - After completion, the output should display "Data file written".
MEALPY is a Python library for advanced population-based meta-heuristic algorithms. Follow these steps:
- Open the Python implementation of the selected algorithm (e.g.,
copy_of_mealpy_algorithm.ipynb). - Run the application using Visual Studio Code, Jupyter Notebook, or an alternative solution.
- Press Enter in the console window of Eclipse to resume execution after the ipynb program finishes running.
- Results will be saved in the Example 8 outputs folder (
examples.Example8_output) for the modified Example 8. - Each output is named with the current date, inside of which the results are dumped in an Excel file named "Sequential simulation."
- Compile all algorithm results into a single CSV file.
To analyze the results, a Python script is used:
- Open the Python program
Data Analysislocated in the root foldermyPureEdgeSim. - Change
file_urltofile_pathand assign it the path of the combinedresults.csv. - Run the program. It will analyze and print the results.