BaseStationStatsCollector.ned

NED File src/simu5g/corenetwork/statsCollector/BaseStationStatsCollector.ned

Name Type Description
BaseStationStatsCollector compound module

Collects the radio network information of an eNodeB, which can be accessed by the RniService module of a MecHost. For example, this module provides information such as the utilization of Resource Blocks.

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.corenetwork.statsCollector;

//
// Collects the radio network information of an eNodeB, which can
// be accessed by the ~RniService module of a ~MecHost. For example, this module
// provides information such as the utilization of Resource Blocks.
//
module BaseStationStatsCollector like IStatsCollector
{
    parameters:
        string collectorType = default("eNBStatsCollector");

        string macModule = default("^.cellularNic.mac");
        string cellInfoModule = default("^.cellinfo");
        string rlcUmModule = default("^.cellularNic.rlcMux");
        string packetFlowObserverModule = default("^.cellularNic.packetFlowObserver");

        bool movingAverage = default(false);

        // Used to calculate l2meas as averages
        int prbUsagePeriods = default(15);
        int dataVolumePeriods = default(15);
        int activeUserPeriods = default(15); //10*100ms = 1s
        int discardRatePeriods = default(15);
        int tPutPeriods = default(15);

        // Period duration for each l2 meas
        double prbUsagePeriod @unit(s) = default(0.01s); // TTI period
        double activeUserPeriod @unit(s) = default(0.1s);
        double dataVolumePeriod @unit(s) = default(0.5s);
        double delayPacketPeriod @unit(s) = default(0.05s);
        double discardRatePeriod @unit(s) = default(10s);
        double tPutPeriod @unit(s) = default(1s);

        @display("i=block/cogwheel");
        @class("BaseStationStatsCollector");
}