COEmuNet: Dual Emulation Systems
- COEmuNet is a term that denotes two distinct emulation systems: one coupling real smartphones with simulated pedestrian networks and the other using a 3D CNN to surrogate astrophysical radiative transfer.
- In the pedestrian domain, COEmuNet integrates mobility simulators with network emulation platforms like OMNeT++ and Vadere to enable real-time interaction between simulated entities and physical devices.
- In astrophysics, COEmuNet employs GPU-accelerated deep learning to approximate complex radiative transfer calculations, achieving significant speedups over traditional CPU-based solvers.
Searching arXiv for COEmuNet to ground the response in the cited literature. arxiv_search(query="COEmuNet", max_results=10, sort_by="submittedDate") COEmuNet denotes two distinct research systems that share the same name but belong to different technical domains. In networked pedestrian simulation, COEmuNet is the open-source CrowNet Emulation extension that couples microscopic pedestrian mobility with OMNeT++ network emulation so that simulated pedestrians can communicate with, and be influenced by, real mobile devices and apps in real time (Rupp et al., 2021). In computational astrophysics, COEmuNet is a 3D convolutional neural network surrogate that emulates CO line radiative transfer for synthetic observations of evolved stellar atmospheres, specifically CO imaging from hydrodynamical simulations of perturbed Asymptotic Giant Branch winds (Su et al., 15 Jul 2025). The shared label therefore identifies two unrelated artifacts: one in cyber-physical network emulation, the other in GPU-accelerated surrogate modeling for radiative transfer.
1. Nomenclature and domain separation
The term has two established meanings in the cited literature.
| COEmuNet variant | Domain | Core function |
|---|---|---|
| CrowNet Emulation extension | Pedestrian communication and network emulation | Couples Vadere-based microscopic mobility with OMNeT++ emulation and real smartphones |
| 3D CNN surrogate model | Astrophysical radiative transfer | Emulates forward CO line imaging from 3D hydrodynamical inputs |
A common misconception is to treat COEmuNet as a single framework with multiple application areas. The literature instead uses the same name for two independent systems with different assumptions, software stacks, data models, and evaluation criteria. One is centered on OMNeT++, INET, TraCI, Vadere, and SimuLTE for real-time interaction with smartphones; the other is centered on 3D residual CNNs, hydrodynamical simulation cubes, and a classical radiative transfer solver, Pomme, used to generate training labels (Rupp et al., 2021, Su et al., 15 Jul 2025).
2. COEmuNet as a CrowNet emulation extension
Within the CrowNet ecosystem, COEmuNet extends a framework that historically integrates mobility simulators such as Vadere and SUMO with OMNeT++ communication models including INET, Artery, and SimuLTE/Simu5G via TraCI for synchronized co-simulation (Rupp et al., 2021). The extension adds an emulation bridge that injects packets from real devices, received on the emulation PC’s WLAN interface, into the simulated network stack so that simulated pedestrians can hear and react to real transmissions. It also exports simulated node states, especially positions, to the real device, allowing an app to operate as if it were moving in the simulated world without physical movement. When desired, it lets the real device drive the simulated placeholder’s position, thereby closing the loop between app and simulation.
The physical setup consists of one or more smartphones connected through local WLAN to an emulation PC running OMNeT++ and CrowNet. The PC captures UDP/IP/WLAN packets from the phones, maps them to simulated entities, and forwards simulated messages back to the phones. The paper assumes that the extra WLAN delay is negligible compared to the modeled communication delays. On the simulated side, pedestrian nodes use a standard OMNeT++ stack with BeaconApp for periodic position beacons, DensityMapApp for periodic dissemination of density maps, and udp, ipv4, and lteNic for LTE-A sidelink broadcast over PC5. The coupled real device is represented by an emulation bridge node, denoted node[0], whose application layer hosts OutboundEmulation, NodeLocationExporter, and InboundEmulation.
OutboundEmulation converts simulated beacons and maps into Protocol Buffers for the app and sends them via inet::ExtLowerUdp over the real network. Its DensityMessageHandler serializes position beacons into the app’s protobuf format. NodeLocationExporter exports node[0]’s simulated position through inet::ExtLowerUdp so that the app’s location can be controlled by Vadere. InboundEmulation receives protobuf location beacons from the app and sets node[0]’s simulated position accordingly. The emulation mechanism relies on OMNeT++’s emulation feature, specifically INET’s inet::ExtLowerUdp and a real-time scheduler, to bind sockets to the host operating system so that packets traverse the real WLAN.
3. Mobility coupling, decentralized density maps, and timing behavior
COEmuNet integrates Vadere as the pedestrian mobility provider via TraCI, using the Optimal Steps Model with navigation fields encoding shortest geodesic paths to targets while modeling each step (Rupp et al., 2021). CrowNet’s TraCI-based co-simulation interlocks the simulation loops of Vadere and OMNeT++, and this synchronization is harmonized by Artery’s TraCI connection management for both SUMO and Vadere. Because inet::ExtLowerUdp requires OMNeT++ to run in real-time mode, inet::RealTimeScheduler keeps . A custom crownet::EmulationScheduler re-aligns simulation time to wall clock after Vadere attaches and provides timing analysis utilities to monitor the offset .
The exemplar application is Decentralized Pedestrian Density Maps. Each device builds a local two-dimensional density map from periodic position beacons and rebroadcasts this map so neighbors can fuse their views into a decentralized larger-area awareness map. Beacons are LocationMessage payloads encoded in Protocol Buffers with device ID, timestamp, and position in UTM coordinates. Positions originate from Android Location Services in WGS84 and are converted to UTM for grid indexing. The map is a rectangular occupancy grid with typical cell size , each cell identified by the UTM coordinates of its top-left corner. Devices accumulate counts from received beacons into their local grid and periodically rebroadcast their map. The paper does not specify a particular estimator or log-odds formulation; aggregation is count-based with periodic re-broadcast and smoothing left to the application.
Two coupling modes are provided. In simulation-driven positioning, NodeLocationExporter causes Vadere to drive the positions of both simulated pedestrians and node[0], so the app experiences simulation-controlled motion without physically moving the phone. In phone-driven positioning, InboundEmulation lets the app report its position so that node[0] follows the real device’s movement while other simulated pedestrians still follow Vadere.
Validation focuses on timing feasibility under real-time constraints. The testbed was a low-end Ubuntu VM with 2 CPU cores and 12 GB RAM, running CrowNet and OMNeT++ with one eNodeB and pedestrians or UEs. Both and were sampled at 10 ms intervals, and the offset was analyzed. Synchronized emulation was feasible up to on the test machine; for 0, 1 exceeded 5 s. Even for 2, occasional multi-second lags occurred, although in the presented use-case lags of 3 were regarded as acceptable. The reported bottleneck is event load from the number of simulated nodes, including radio stack processing, mobility updates, and application logic. The paper does not provide CPU usage, throughput, or jitter figures; 4 is the primary timing metric.
The communication and mobility parameterization in the pedmap_emulation configuration includes 5, 6, 7, 8, carrier frequency 9, 0 resource blocks, ITU-R M.2135-1 URBAN-MICROCELL pathloss, 1, 2, 3, 4, RLC unacknowledged mode, 5, 6, and mobility bounds 7.
4. COEmuNet as a radiative transfer surrogate model
In astrophysics, COEmuNet addresses a different bottleneck: the high computational cost of 3D line radiative transfer in inhomogeneous, moving media when interpreting asymmetric structures around companion-perturbed AGB stars (Su et al., 15 Jul 2025). The model is a GPU-accelerated 3D CNN surrogate for CO 8 line imaging that emulates the forward radiative-transfer mapping from hydrodynamical fields to synthetic line images in right ascension, declination, and frequency.
The radiative-transfer problem is formulated through the scalar equation
9
with source function 0 and optical depth
1
The integral solution is
2
The paper’s time-independent, no-scattering vector notation is
3
with formal solution along the observer axis 4:
5
For the 6 transition, the emissivity and opacity are
7
with
8
The line profile is Gaussian,
9
with Doppler width
0
The implementation uses the line-of-sight velocity 1, giving 2. Training labels are generated assuming LTE and no scattering, with level populations
3
The paper explicitly notes that COEmuNet itself does not embed LTE; it learns the mapping induced by labels produced under LTE and no scattering.
The model input is a Cartesian hydrodynamical cube 4 on a 5 grid for three fields: 6 in 7, 8 in K, and 9 in 0. Viewing direction 1 is handled by preprocessing: the cube is rotated so that the desired 2 aligns with the solver’s 3-axis, with auxiliary spherical cropping to maintain a consistent domain after rotation. The output is a set of synthetic CO 4 intensity images across 5 frequency bins centered at 6, with bin width 7, on a 8 image grid.
5. Neural architecture, data pipeline, and quantitative evaluation
The network uses an asymmetric encoder-decoder design motivated by the fact that the inputs are physical 3D fields whereas the outputs are 2D images across frequencies, so there is no pixelwise spatial correspondence of the kind commonly exploited by U-Nets (Su et al., 15 Jul 2025). The encoder has three branches, one per input field 9, 0, and 1. Each branch contains stacks of 3D convolutional residual blocks with kernel size 2, Batch Normalization, and ReLU activations. Skip connections are identities when feature dimensions match and otherwise use a 3 convolutional skip. Channel widths progress from 8 to 16 to 32, while spatial downsampling reduces 4 to 5, then 6, then 7. Encoded tensors are concatenated, flattened, passed through two fully connected layers, and reshaped into a 3D latent tensor. The decoder upsamples progressively using nearest-neighbor interpolation, followed by 3D convolutions with kernel size 8. Feature widths decrease from 32 to 16 to 8 while spatial resolution increases from 9 to 0, 1, 2, and finally 3. A final convolution maps to the 4 output channels. No attention modules are used.
Input preprocessing standardizes 5 as
6
while 7 and 8 are transformed by logarithm and robust normalization:
9
with the same transformation for 0. Targets undergo log transform and min-max scaling.
The training set is derived from AMRVAC/MPI-AMRVAC simulations of winds from a mass-losing AGB star perturbed by a companion. Radiative-transfer labels are computed by Pomme, consistent with LTE and no scattering, using constants from LAMDA. The dataset contains 10,903 hydrodynamical models and 200 viewing directions per model, yielding 1 samples. The split is 80% train, 10% validation, and 10% test. Total volume is approximately 7 TB, so preprocessing is chunk-wise, with CPU RAM preloading, GPU/CPU overlap, and multi-threaded prefetching through PyTorch dataloaders.
The loss is a weighted sum of mean-squared error and a frequency-domain 2 term based on per-channel DFT magnitude differences:
3
with 4 selected by grid search. Pretraining for the face-on, single-frequency case uses Adam with 5, 6, learning rate 7, StepLR decay by 0.1 every 200 epochs, batch size 512 across 8 A100-SXM-80GB GPUs, and 1000 epochs, for approximately 8 GPU-hours total. Fine-tuning for seven frequencies and arbitrary 9 uses Adam with fixed learning rate 0, no scheduler, global batch size 2048, and 100 epochs, for approximately 288 GPU-hours total. No explicit dropout or weight decay is used; early stopping around epoch 50–60 is recommended because losses and metrics plateau there.
Evaluation is reported through MaxRel, ZNCC, SSIM, and a median relative error notion summarized in the paper as approximately 7%. On the test set, the reported aggregate values are MaxRel 1, ZNCC 2, and SSIM 3. On the validation set, the mean MaxRel is approximately 4 with 5; 6 of samples have MaxRel 7, 8 exceed 9, 00 exceed 01, and the worst case is approximately 02. Errors are lowest near line center and increase in central regions with sharp intensity gradients and in complex spiral arms at high velocities.
Runtime comparisons on 03 images show the principal acceleration claim. For a single frequency, COEmuNet on an A100-80GB GPU takes 04 ms per sample, while Pomme on an Intel Xeon Platinum 8368Q CPU takes 05 ms, corresponding to a speedup of 06. For seven frequencies, COEmuNet takes 07 ms per sample and Pomme takes 08 ms, corresponding to 09 speedup. The paper also reports that CPU inference for COEmuNet, 10 ms per sample, is slower than Pomme because the network’s tensor operations favor GPU parallelism.
6. Limitations, reproducibility, and relation to adjacent work
The pedestrian-network COEmuNet is explicitly a feasibility study with strong real-time constraints (Rupp et al., 2021). Its practical scale on the reported low-end VM is about six simulated pedestrians under coupled emulation. Real-device coupling currently relies on UDP/IP over WLAN broadcast because commercial phones do not yet expose LTE-A PC5, so WLAN acts as a temporary surrogate for app validation. The paper identifies parallel execution and model simplifications as plausible requirements for larger scenarios and states that an upgrade to 5G with Simu5G is planned for more realistic sidelink and MEC emulation. Dependencies include OMNeT++ 6.0 preview 11, INET 4.3.2, Vadere via TraCI, Artery for TraCI management, and SimuLTE, with example scenario files under crownet/simulations/emulation_omnetsummit21 and source code at https://github.com/roVer-HM/crownet/tree/emulation_omnetsummit21.
The astrophysical COEmuNet inherits the biases of its training labels (Su et al., 15 Jul 2025). The labels assume LTE and exclude scattering; the paper notes that LTE is known to be imperfect for circumstellar CO. The model is tuned to binary-perturbed AGB winds, the CO 11 transition, seven frequency bins, and fixed 12 input resolution. Generalization to other molecules, transitions, disks, single-star winds, substantially different resolutions, or different noise conditions is not established and would likely require retraining or fine-tuning. Metrics are not stratified by optical-depth regime, and no explicit predictive uncertainty or calibration is reported. Future directions include non-LTE training labels, additional molecules and transitions, physics-informed machine learning constraints, Bayesian neural nets or ensembles for uncertainty quantification, active learning, and multi-resolution operator-style models. Reproducibility resources include a repository at https://github.com/beaversliv/3D_RTE_surrogate_model, while hydrodynamical inputs and radiative-transfer labels are available upon reasonable request to the corresponding author.
Both systems are situated relative to adjacent frameworks, but in different literatures. The CrowNet emulation extension is distinguished from ns-3 emulation and LENA LTE setups by its focus on pedestrian-centric applications with validated microscopic pedestrian mobility, from Similitude by its use of real phones rather than Android emulators, from Veins by its pedestrian rather than vehicular mobility and its real-device emulation bridge, and from Mininet-WiFi by its integration of microscopic pedestrian mobility with OMNeT++ system-level LTE or 5G models (Rupp et al., 2021). The astrophysical COEmuNet is positioned against classical CPU-oriented radiative-transfer solvers such as Pomme, which remain accurate but become bottlenecks for large parameter sweeps, repeated fitting, or interactive visualization (Su et al., 15 Jul 2025).
Taken together, the two COEmuNet systems exemplify a naming collision rather than a shared research program. One couples real smartphones to simulated pedestrian networks under real-time scheduling; the other replaces repeated radiative-transfer solves with a learned forward surrogate. A plausible implication is that the common name reflects a broad notion of “emulation,” but the underlying semantics differ sharply: network-system emulation in one case, and learned emulation of a physical forward model in the other.