Physical Scenario Dummy¶
- class PhysicalScenarioDummy(seed=None, devices=None)[source]¶
Bases:
SimulationScenario
,PhysicalScenario
[PhysicalDeviceDummy
],Serializable
Physical scenario for testing and demonstration.
- Parameters:
default_channel – Default channel model to be assumed for all device links. If not specified, the default_channel is set to an ideal distortionless channel model.
noise_level – Global noise level of the scenario assumed for all devices. If not specified, the noise configuration is device-specific.
noise_model – Global noise model of the scenario assumed for all devices. If not specified, the noise configuration is device-specific.
*args – Additional arguments passed to the base class constructor.
**kwargs – Additional arguments passed to the base class constructor.
- add_device(device)[source]¶
Add a new device to the scenario.
- Parameters:
device (
SimulatedDevice
|PhysicalDeviceDummy
) – New device to be added to the scenario.- Raises:
ValueError – If the device already exists.
RuntimeError – If the scenario is not in default mode.
- Return type:
- receive_devices(impinging_signals=None, states=None, notify=True, trigger_realizations=None, leaking_signals=None)[source]¶
Process receive layers of all registered devices.
Resolves to
PhysicalScenario.receive_devices
if impinging_signals is not provided. Otherwise, resolves toSimulationScenario.receive_devices
.- Return type: