This repository contains all the code required to reproduce the results of the paper "Adapting DEVS Semantics to FMI 3.0 Co-Simulation Using Synchronous Clocks".
-
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
If you use this code in your research, please cite:
@misc{vanommeslaeghe2025fmi,
author = {Yon Vanommeslaeghe and Claudio Gomes and Bert {Van Acker} and Joachim Denil and Paul {De Meulenaere}},
title = {Adapting {DEVS} Semantics to {FMI} 3.0 Co-Simulation Using Synchronous Clocks},
year = {2025},
note = {Submitted to SIMULATION}
}
Once the paper is accepted, we will update this section with the final citation details.
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/LICENSE
for 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_LICENSE
for details. - Original repository: https://github.com/INTO-CPS-Association/unifmu
By using this software, you agree to comply with all included license terms.