NED File src/simu5g/background/cell/BackgroundScheduler.ned¶
Name |
Type |
Description |
|---|---|---|
simple module |
Computes the allocation of time-frequency resources for background UEs in a BackgroundCell, taking into account the traffic generated by these UEs and their channel quality. |
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.cell;
//
// Computes the allocation of time-frequency resources for background UEs in a
// ~BackgroundCell, taking into account the traffic generated by these UEs and
// their channel quality.
//
simple BackgroundScheduler
{
parameters:
@display("i=block/control");
@class("BackgroundScheduler");
string binderModule = default("binder");
string trafficManagerModule = default("^.bgTrafficGenerator.manager");
string channelModelModule = default("^.bgChannelModel");
// Transmission power
double txPower @unit(dBm) = default(46dBm);
// Transmission direction
string txDirection @enum(ANISOTROPIC,OMNI) = default("OMNI");
// Transmission angle
double txAngle @unit(deg) = default(0deg);
// Flag to indicate whether this is a NR base station
bool isNr = default(false);
// Operating carrier
int numerologyIndex = default(0);
// Operating carrier
double carrierFrequency @unit(GHz) = default(2GHz);
// Carrier bandwidth
int numBands = default(6);
// Statistics
@signal[bgAvgServedBlocksDl];
@statistic[bgAvgServedBlocksDl](title="Average DL served blocks for background cells"; unit=""; source="bgAvgServedBlocksDl"; record=mean,vector);
@signal[bgAvgServedBlocksUl];
@statistic[bgAvgServedBlocksUl](title="Average UL served blocks for background cells"; unit=""; source="bgAvgServedBlocksUl"; record=mean,vector);
}