D2dChannelModel¶
Package: simu5g.stack.d2d.phy.channelmodel
simple module D2dChannelModel
D2D-capable channel model: StochasticChannelModel plus the device-to-device channel math (RSRP/SINR, D2D interference, D2D reception decision). It is the channel model of the D2D NICs on all propagation studies; the pathLossType parameter (inherited from StochasticChannelModel) selects TR 36.814, 36.873 or 38.901.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
The full PHY link model: everything between a transmitted air frame and the decision on whether it was received. The channel impairments are modeled statistically – drawn from the distributions of a 3GPP propagation study, rather than computed from the geometry of an actual environment – which is what sets this model apart from IdealChannelModel, where there are no impairments at all, only a configured packet error rate. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
binderModule |
string |
“binder” |
|
cellInfoModule |
string |
“^.^.cellInfo” |
Optional |
componentCarrierModule |
string |
“carrierAggregation.componentCarrier[0]” |
Component carrier for this channel model |
pathLossType |
string |
“Tr36814” |
Which 3GPP propagation study supplies the path loss formulas |
shadowing |
bool |
true |
Enable/disable shadowing |
scenario |
string |
“URBAN_MACROCELL” |
Path loss scenario, in ITU terminology |
nodebHeight |
double |
25m |
eNodeB height |
buildingHeight |
double |
20m |
Building height |
insideBuilding |
bool |
false |
Determines if the UE is inside a building |
useBuildingPenetrationHighLossModel |
bool |
false |
Enable the high-loss building penetration model (table 7.4.3-2 in TR 38.901); only used with pathLossType=”Tr38901” |
streetWidth |
double |
20m |
|
ueHeight |
double |
1.5m |
|
tolerateMaxDistViolation |
bool |
false |
|
useTorus |
bool |
false |
|
correlationDistance |
double |
50m |
|
targetBler |
double |
0.01 |
Target BLER used to compute feedback |
harqReduction |
double |
0.2 |
Factor the error probability is multiplied by for each HARQ retransmission |
antennaGainUe |
double |
0dBi |
Antenna gain of the UE |
antennGainEnB |
double |
18dBi |
Antenna gain of the eNodeB |
antennGainMicro |
double |
5dBi |
Antenna gain of the micro node |
thermalNoise |
double |
-104.5dBm |
Thermal noise for 10 MHz of bandwidth |
ueNoiseFigure |
double |
7dBm |
UE noise figure |
bsNoiseFigure |
double |
5dBm |
eNodeB noise figure |
cableLoss |
double |
2dB |
Cable loss |
dynamicLos |
bool |
false |
Whether LOS/NLOS is drawn per link from the scenario’s LOS probability; when false, it is fixed to fixedLos |
fixedLos |
bool |
false |
LOS state of every link when dynamicLos is false: true = LOS, false = NLOS |
fading |
bool |
true |
Enable/disable fading |
fadingType |
string |
“JAKES” |
Fading type (JAKES or RAYLEIGH) |
numFadingPaths |
int |
6 |
If Jakes fading, this parameter specifies the number of paths (tap channel) |
delayRms |
double |
363ns |
|
bgCellInterference |
bool |
true |
Whether interference from background cells is included in the SINR, in both UL and DL |
extCellInterference |
bool |
true |
Whether interference from external cells is included in the DL SINR (TODO possibly obsolete) |
downlinkInterference |
bool |
false |
Whether interference from other base stations is included in the DL SINR |
uplinkInterference |
bool |
false |
Whether interference from the UEs of other cells is included in the UL SINR |
enableExtCellLos |
bool |
true |
|
collectSinrStatistics |
bool |
true |
Collection of SINR statistics can be disabled because it might be quite time-consuming |
d2dInterference |
bool |
true |
Whether interference from other D2D transmissions is included in the D2D SINR |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
D2dChannelModel |
|
display |
i=block/classifier2 |
Signals¶
Name |
Type |
Unit |
Description |
|---|---|---|---|
measuredSinrDl |
|||
measuredSinrUl |
|||
rcvdSinrD2D |
Statistics |
||
rcvdSinrDl |
Statistics |
||
rcvdSinrUl |
Statistics¶
Name |
Title |
Source |
Record |
Unit |
Interpolation Mode |
Description |
|---|---|---|---|---|---|---|
measuredSinrDl |
SINR measured at feedback computation, DL |
measuredSinrDl |
mean,vector |
dB |
||
measuredSinrUl |
SINR measured at feedback computation, UL |
measuredSinrUl |
mean,vector |
dB |
||
rcvdSinrD2D |
SINR measured at packet reception, D2D |
rcvdSinrD2D |
mean,vector |
dB |
||
rcvdSinrDl |
SINR measured at packet reception, DL |
rcvdSinrDl |
mean,vector |
dB |
||
rcvdSinrUl |
SINR measured at packet reception, UL |
rcvdSinrUl |
mean,vector |
dB |
Source code¶
//
// D2D-capable channel model: ~StochasticChannelModel plus the device-to-device
// channel math (RSRP/SINR, D2D interference, D2D reception decision). It is the
// channel model of the D2D NICs on all propagation studies; the pathLossType
// parameter (inherited from ~StochasticChannelModel) selects TR 36.814, 36.873
// or 38.901.
//
simple D2dChannelModel extends StochasticChannelModel
{
parameters:
@class("D2dChannelModel");
// Whether interference from other D2D transmissions is included in the D2D SINR
bool d2dInterference = default(true);
// Statistics
@signal[rcvdSinrD2D];
@statistic[rcvdSinrD2D](title="SINR measured at packet reception, D2D"; unit="dB"; source="rcvdSinrD2D"; record=mean,vector);
}
File: src/simu5g/stack/d2d/phy/channelmodel/D2dChannelModel.ned