This repository contains all the code required to reproduce the results of the paper "Adapting Parallel DEVS Semantics to FMI 3.0 Co-Simulation Using Synchronous Clocks" (SIMULATION, 2025, doi: https://doi.org/10.1177/00375497251393255).
-
Clone this repository:
git clone https://github.com/Cosys-Lab/2025-SIMULATION-DEVS-FMI3.0.git cd 2025-SIMULATION-DEVS-FMI3.0 -
Ensure Google Protobuf is Updated
The UniFMU backends run with the system's default Python interpreter, ignoring the virtual environment (venv).
The Protobuf messages were compiled with version 5.27.3, so the runtime version must be at least 5.27.3.pip install "protobuf>=5.27.3" -
Create a Python virtual environment:
python -m venv venv
-
Activate the virtual environment:
- Windows:
venv\Scripts\activate
- Linux/macOS:
source venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Run the script to reproduce results:
python run_reproduction_simulation_2025.py
Paper doi: https://doi.org/10.1177/00375497251393255
If you use this code in your research, please cite:
@article{vanommeslaeghe2025adapting,
title={Adapting parallel DEVS semantics to FMI 3.0 co-simulation using synchronous clocks},
author={Vanommeslaeghe, Yon and Gomes, Claudio and Van Acker, Bert and Denil, Joachim and De Meulenaere, Paul},
journal={SIMULATION},
pages={00375497251393255},
year={2025},
publisher={SAGE Publications Sage UK: London, England},
doi={10.1177/00375497251393255}
}This project is licensed under the GNU General Public License v3.0.
See LICENSE for details.
This repository includes third-party components that are licensed under separate terms:
-
PythonPDEVS (v2.4.2)
- Licensed under the Apache License 2.0.
- See
pypdevs/LICENSEfor details. - Original repository: https://msdl.uantwerpen.be/git/yentl/PythonPDEVS
-
UniFMU (from INTO-CPS)
- Licensed under the INTO-CPS Association Public License (ICAPL).
- See
ICAPL_LICENSEfor details. - Original repository: https://github.com/INTO-CPS-Association/unifmu
By using this software, you agree to comply with all included license terms.