Skip to content

Add fluid flow wan simulation model#257

Open
sanjaychari wants to merge 21 commits into
codes-org:masterfrom
sanjaychari:digital-twin-sbir-develop-switch-flow-control
Open

Add fluid flow wan simulation model#257
sanjaychari wants to merge 21 commits into
codes-org:masterfrom
sanjaychari:digital-twin-sbir-develop-switch-flow-control

Conversation

@sanjaychari

Copy link
Copy Markdown
Collaborator

This PR adds a PDES simulation model for network traffic modeled as fluid flows at fixed intervals through a Wide Area Network.

sanjaychari and others added 21 commits July 7, 2026 16:00
This reverts commit 9cd0c04
as the changes for it are in the digital-twin-sbir-develop-flow-control
branch.
Add flowlet and switch-training logs, queued-before/drop fields,
configurable switch schedulers, two-phase egress allocation, and
fragment coalescing for cleaner rollback and ML training targets.

Rename receive counters to received_fragments.
Buffer CSV rows in memory for both sequential and optimistic runs,
then merge logs after simulation completion to avoid event-path file I/O
and unsafe parallel appends.

Refactor common terminal and switch logging paths, add CSV file-open
checks, and keep optimistic logging rollback-safe through commit handlers.

Use MPI_COMM_CODES consistently, remove dead event/config fields, document
the large reverse-allocation event payload, clean up comments, and release
switch queue storage during finalization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant