# 개발 환경
- 메인보드: [ASUS]ROG Maximus XI Hero-Wifi(Z390)
- CPU: [Intel]i7-8700
- 램: [Samsung]DDR4 21300 32G(16x2)
- 운영체제: Ubuntu 20.04
- NS3: 3.34
- GNU plot: 5.4version, QT terminal type
# 시뮬레이션 조건
LoS 로 설정(hybrid buildingmodel, Los2NlosThr: 1e6)
# 테스트 환경
1. Three sector using hex with cosine model
2. Three sector using hex with parabolic model
# code for 1,2
double interSiteDistance=500;
uint32_t nMacroEnbSitesX=2;
double macroEnbTxPowerDbm=46.0;
double height=35.0;
Ptr<LteHexGridEnbTopologyHelper> lteHexGridEnbTopologyHelper = CreateObject<LteHexGridEnbTopologyHelper> ();
lteHexGridEnbTopologyHelper->SetLteHelper (lteHelper);
lteHexGridEnbTopologyHelper->SetAttribute ("InterSiteDistance", DoubleValue (interSiteDistance));
lteHexGridEnbTopologyHelper->SetAttribute ("SiteHeight", DoubleValue (height));
lteHexGridEnbTopologyHelper->SetAttribute ("MinX", DoubleValue (interSiteDistance/2));
lteHexGridEnbTopologyHelper->SetAttribute ("GridWidth", UintegerValue (nMacroEnbSitesX));
Config::SetDefault ("ns3::LteEnbPhy::TxPower", DoubleValue (macroEnbTxPowerDbm));
lteHelper->SetEnbAntennaModelType ("ns3::CosineAntennaModel");
lteHelper->SetEnbAntennaModelAttribute ("HorizontalBeamwidth", DoubleValue (50));
lteHelper->SetEnbAntennaModelAttribute ("MaxGain", DoubleValue (0.0));
//lteHelper->SetEnbAntennaModelType ("ns3::ParabolicAntennaModel");
//lteHelper->SetEnbAntennaModelAttribute ("Beamwidth", DoubleValue (10));
//lteHelper->SetEnbAntennaModelAttribute ("MaxAttenuation", DoubleValue (20.0));
NetDeviceContainer enbDevs=lteHexGridEnbTopologyHelper->SetPositionAndInstallEnbDevice (enbNodes);
1. Three sector using hex with cosine model
1) deg 30, max gain 0
1) deg 50, max gain 0
2) deg 70, max gain 0
4) deg 70, max gain 10
5) deg 70, max gain -10
2. Three sector using hex with parabolic model
1) deg 30, max att 0
2) deg 50, max att 0
3) deg 30, max att 10
4) deg 30, max att 20
5) deg 70, max att 20
6) deg 110, max att 20
7) deg 130, max att 20
'NS3기반 LTE 시스템 레벨 시뮬레이터 > NS-3' 카테고리의 다른 글
[NS-3][우분투 20.04]REM에 기지국 단말기 정보 출력 (0) | 2021.10.15 |
---|---|
[NS-3][우분투 20.04]LteHexGridEnbTopology 기지국 위치 변경 (0) | 2021.10.13 |
[NS-3][우분투 20.04]three sector generation (0) | 2021.10.12 |
[NS-3][우분투 20.04][lena-rem-sector-antenna]REM Print (0) | 2021.10.12 |
[NS-3][우분투 20.04][lena-rem]REM Print (0) | 2021.10.12 |
댓글