NED File src/simu5g/background/trafficGenerator/BackgroundTrafficGenerator.ned¶
Name |
Type |
Description |
|---|---|---|
compound module |
Part of a BackgroundCell module and is responsible for instantiating a configurable number of background UEs (see BackgroundUe module) and setting up their method for computing the channel status information required by the BackgroundScheduler module. |
Source code¶
//
// Simu5G
//
// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//
package simu5g.background.trafficGenerator;
//
// Part of a ~BackgroundCell module and is responsible for instantiating a
// configurable number of background UEs (see ~BackgroundUe module) and setting up
// their method for computing the channel status information required by the
// ~BackgroundScheduler module.
//
module BackgroundTrafficGenerator
{
parameters:
@display("i=block/source");
int numBgUes = default(0);
bool enablePeriodicCqiUpdate = default(true);
bool useProbabilisticCqi = default(false);
bool computeAvgInterference = default(false);
*.computeAvgInterference = this.computeAvgInterference;
*.enablePeriodicCqiUpdate = this.enablePeriodicCqiUpdate;
*.useProbabilisticCqi = this.useProbabilisticCqi;
*.numBgUes = this.numBgUes;
submodules:
bgUE[numBgUes]: BackgroundUe {
@display("p=77,118");
}
manager: <default("BackgroundTrafficManager")> like IBackgroundTrafficManager {
@display("p=77,41");
}
}