Behavioral Model Simulation Example

Author: Changbeom Choi (@cbchoi) Copyright (c) 2014-2020 Handong Global University Copyright (c) 2021-2024 Hanbat National University License: MIT. The full license text is available at: https://github.com/eventsim/pyjevsim/blob/main/LICENSE

Simple GP example using Behavior Models.

PEG(process event generator) model generates events periodically. Buffer model stores and forwards Events generated by the PEG. MsgRecv handles the event messages generated by the PEG.

Usage: From a terminal in the parent directory, run the following command.

pytest -s ./tests/test_behavioral_model.py

tests.test_behavioral_model.execute_simulation(t_resol=1, execution_mode=ExecutionType.V_TIME)[source]
tests.test_behavioral_model.test_casual_order1(capsys)[source]
tests.test_behavioral_model.test_classical_devs(capsys)[source]
tests.test_behavioral_model.test_execution_mode()[source]

Structural Model Simulation Example

Author: Changbeom Choi (@cbchoi) Copyright (c) 2014-2020 Handong Global University Copyright (c) 2021-2024 Hanbat National University License: MIT. The full license text is available at: https://github.com/eventsim/pyjevsim/blob/main/LICENSE

A simple GBP example using Structural Model.

PEG(process event generator) model generates events periodically. Buffer model stores and forwards Events generated by the PEG. MsgRecv handles the event messages generated by the PEG.

Usage: From a terminal in the parent directory, run the following command.

pytest -s ./tests/test_hierachical.py

tests.test_structural.test_f()[source]

Hierarchical Simulation Example

Author: Changbeom Choi (@cbchoi) Copyright (c) 2014-2020 Handong Global University Copyright (c) 2021-2024 Hanbat National University License: MIT. The full license text is available at: https://github.com/eventsim/pyjevsim/blob/main/LICENSE

A simple GBP example using Behavior Model and Structural Model.

PEG(process event generator) model generates events periodically. Buffer model stores and forwards Events generated by the PEG. MsgRecv handles the event messages generated by the PEG.

Usage: From a terminal in the parent directory, run the following command.

pytest -s ./tests/test_hierachical.py

tests.test_hierarchical.execute_simulation()[source]
tests.test_hierarchical.test_f(capsys)[source]