A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lte-test-spectrum-value-helper.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Nicola Baldo <nbaldo@cttc.es>
7 */
8
9#include "ns3/log.h"
10#include "ns3/lte-spectrum-value-helper.h"
11#include "ns3/spectrum-test.h"
12#include "ns3/test.h"
13
14using namespace ns3;
15
16NS_LOG_COMPONENT_DEFINE("LteTestSpectrumValueHelper");
17
18/**
19 * \ingroup lte-test
20 *
21 * \brief Test checks if lte spectrum model is generated properly. Different
22 * test cases are configured by defining different frequency and banwidth.
23 */
25{
26 public:
27 /**
28 * Constructor
29 *
30 * \param str the test reference name
31 * \param earfcn the central carrier frequency
32 * \param bw bandwidth the bandwidth
33 * \param fcs the expected spectrum model
34 */
35 LteSpectrumModelTestCase(const char* str, uint16_t earfcn, uint8_t bw, std::vector<double> fcs);
37
38 protected:
39 Ptr<SpectrumModel> m_actual; ///< actual spectrum model
40 Ptr<SpectrumModel> m_expected; ///< expected spectrum model
41
42 private:
43 void DoRun() override;
44};
45
47 uint16_t earfcn,
48 uint8_t bw,
49 std::vector<double> fcs)
50 : TestCase(std::string("SpectrumModel ") + str)
51{
52 NS_LOG_FUNCTION(this << str << earfcn << bw);
55}
56
60
61void
63{
64 NS_LOG_FUNCTION(this);
66 (*m_expected),
67 0.0000001,
68 "spectrum model mismatch");
69}
70
71/**
72 * \ingroup lte-test
73 *
74 * \brief Test that the function for creation of LTE noise power spectral
75 * density is working properly.
76 */
78{
79 public:
80 /**
81 * Constructor
82 *
83 * \param str the test reference name
84 * \param earfcn
85 * \param bw bandwidth
86 * \param noiseFigureDb noise figure in dB
87 * \param expected executed spectrum value
88 */
89 LteNoisePsdTestCase(const char* str,
90 uint16_t earfcn,
91 uint8_t bw,
92 double noiseFigureDb,
93 SpectrumValue& expected);
94 ~LteNoisePsdTestCase() override;
95
96 protected:
97 Ptr<SpectrumValue> m_actual; ///< actual spectrum value
98 Ptr<SpectrumValue> m_expected; ///< expected spectrum value
99
100 private:
101 void DoRun() override;
102};
103
105 uint16_t earfcn,
106 uint8_t bw,
107 double noiseFigureDb,
108 SpectrumValue& expected)
109 : TestCase(str),
110 m_actual(LteSpectrumValueHelper::CreateNoisePowerSpectralDensity(earfcn, bw, noiseFigureDb)),
111 m_expected(Create<SpectrumValue>(expected))
112{
113 NS_LOG_FUNCTION(this << str << earfcn << bw << noiseFigureDb);
114}
115
119
120void
122{
123 NS_TEST_ASSERT_MSG_EQ(m_actual->GetSpectrumModelUid(),
124 m_expected->GetSpectrumModelUid(),
125 "SpectrumModel UID mismatch");
127 (*m_expected),
128 0.0000001,
129 "SpectrumValue not equal");
130}
131
132/**
133 * \ingroup lte-test
134 *
135 * \brief Test that the funtcion for the creation of the Lte transmission power
136 * spectral density is working as expected.
137 */
139{
140 public:
141 /**
142 * Constructor
143 *
144 * \param str the reference name
145 * \param earfcn
146 * \param bw bandwidth
147 * \param txPowerDbm transmit power in dBm
148 * \param activeRbs active RBs
149 * \param expected executed spectrum value
150 */
151 LteTxPsdTestCase(const char* str,
152 uint16_t earfcn,
153 uint8_t bw,
154 double txPowerDbm,
155 std::vector<int> activeRbs,
156 SpectrumValue& expected);
157 ~LteTxPsdTestCase() override;
158
159 protected:
160 Ptr<SpectrumValue> m_actual; ///< actual spectrum value
161 Ptr<SpectrumValue> m_expected; ///< expected spectrum value
162
163 private:
164 void DoRun() override;
165};
166
168 uint16_t earfcn,
169 uint8_t bw,
170 double txPowerDbm,
171 std::vector<int> activeRbs,
172 SpectrumValue& expected)
173 : TestCase(str),
174 m_actual(
175 LteSpectrumValueHelper::CreateTxPowerSpectralDensity(earfcn, bw, txPowerDbm, activeRbs)),
176 m_expected(Create<SpectrumValue>(expected))
177{
178 NS_LOG_FUNCTION(this << str << earfcn << bw << txPowerDbm);
179}
180
184
185void
187{
188 NS_TEST_ASSERT_MSG_EQ(m_actual->GetSpectrumModelUid(),
189 m_expected->GetSpectrumModelUid(),
190 "SpectrumModel UID mismatch");
192 (*m_expected),
193 0.0000001,
194 "SpectrumValues not equal");
195}
196
197/**
198 * \ingroup lte-test
199 *
200 * \brief Test suite for LteSpectrumValueHelper. Test suite is
201 * checking different functionalities of LteSpectrumValueHelper.
202 */
208
209/**
210 * \ingroup lte-test
211 * Static variable for test initialization
212 */
214
216 : TestSuite("lte-spectrum-value-helper", Type::UNIT)
217{
218 // LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_ALL);
219 // LogComponentEnable ("LteSpectrumModelTestCase", logLevel);
220 // LogComponentEnable ("LteSpectrumValueHelperTestSuite", logLevel);
221 // LogComponentEnable ("LteSpectrumValueHelper", logLevel);
222
223 NS_LOG_INFO("Creating LteSpectrumValueHelperTestSuite");
224
225 std::vector<double> fc2160nrb6(6);
226 fc2160nrb6[0] = 2.159550000000e+09;
227 fc2160nrb6[1] = 2.159730000000e+09;
228 fc2160nrb6[2] = 2.159910000000e+09;
229 fc2160nrb6[3] = 2.160090000000e+09;
230 fc2160nrb6[4] = 2.160270000000e+09;
231 fc2160nrb6[5] = 2.160450000000e+09;
232 AddTestCase(new LteSpectrumModelTestCase("fc2160nrb6", 500, 6, fc2160nrb6),
233 TestCase::Duration::QUICK);
234
235 std::vector<double> fc2160nrb15(15);
236 fc2160nrb15[0] = 2.158740000000e+09;
237 fc2160nrb15[1] = 2.158920000000e+09;
238 fc2160nrb15[2] = 2.159100000000e+09;
239 fc2160nrb15[3] = 2.159280000000e+09;
240 fc2160nrb15[4] = 2.159460000000e+09;
241 fc2160nrb15[5] = 2.159640000000e+09;
242 fc2160nrb15[6] = 2.159820000000e+09;
243 fc2160nrb15[7] = 2.160000000000e+09;
244 fc2160nrb15[8] = 2.160180000000e+09;
245 fc2160nrb15[9] = 2.160360000000e+09;
246 fc2160nrb15[10] = 2.160540000000e+09;
247 fc2160nrb15[11] = 2.160720000000e+09;
248 fc2160nrb15[12] = 2.160900000000e+09;
249 fc2160nrb15[13] = 2.161080000000e+09;
250 fc2160nrb15[14] = 2.161260000000e+09;
251 AddTestCase(new LteSpectrumModelTestCase("fc2160nrb15", 500, 15, fc2160nrb15),
252 TestCase::Duration::QUICK);
253
254 std::vector<double> fc2160nrb25(25);
255 fc2160nrb25[0] = 2.157840000000e+09;
256 fc2160nrb25[1] = 2.158020000000e+09;
257 fc2160nrb25[2] = 2.158200000000e+09;
258 fc2160nrb25[3] = 2.158380000000e+09;
259 fc2160nrb25[4] = 2.158560000000e+09;
260 fc2160nrb25[5] = 2.158740000000e+09;
261 fc2160nrb25[6] = 2.158920000000e+09;
262 fc2160nrb25[7] = 2.159100000000e+09;
263 fc2160nrb25[8] = 2.159280000000e+09;
264 fc2160nrb25[9] = 2.159460000000e+09;
265 fc2160nrb25[10] = 2.159640000000e+09;
266 fc2160nrb25[11] = 2.159820000000e+09;
267 fc2160nrb25[12] = 2.160000000000e+09;
268 fc2160nrb25[13] = 2.160180000000e+09;
269 fc2160nrb25[14] = 2.160360000000e+09;
270 fc2160nrb25[15] = 2.160540000000e+09;
271 fc2160nrb25[16] = 2.160720000000e+09;
272 fc2160nrb25[17] = 2.160900000000e+09;
273 fc2160nrb25[18] = 2.161080000000e+09;
274 fc2160nrb25[19] = 2.161260000000e+09;
275 fc2160nrb25[20] = 2.161440000000e+09;
276 fc2160nrb25[21] = 2.161620000000e+09;
277 fc2160nrb25[22] = 2.161800000000e+09;
278 fc2160nrb25[23] = 2.161980000000e+09;
279 fc2160nrb25[24] = 2.162160000000e+09;
280 AddTestCase(new LteSpectrumModelTestCase("fc2160nrb25", 500, 25, fc2160nrb25),
281 TestCase::Duration::QUICK);
282
283 std::vector<double> fc2160nrb50(50);
284 fc2160nrb50[0] = 2.155590000000e+09;
285 fc2160nrb50[1] = 2.155770000000e+09;
286 fc2160nrb50[2] = 2.155950000000e+09;
287 fc2160nrb50[3] = 2.156130000000e+09;
288 fc2160nrb50[4] = 2.156310000000e+09;
289 fc2160nrb50[5] = 2.156490000000e+09;
290 fc2160nrb50[6] = 2.156670000000e+09;
291 fc2160nrb50[7] = 2.156850000000e+09;
292 fc2160nrb50[8] = 2.157030000000e+09;
293 fc2160nrb50[9] = 2.157210000000e+09;
294 fc2160nrb50[10] = 2.157390000000e+09;
295 fc2160nrb50[11] = 2.157570000000e+09;
296 fc2160nrb50[12] = 2.157750000000e+09;
297 fc2160nrb50[13] = 2.157930000000e+09;
298 fc2160nrb50[14] = 2.158110000000e+09;
299 fc2160nrb50[15] = 2.158290000000e+09;
300 fc2160nrb50[16] = 2.158470000000e+09;
301 fc2160nrb50[17] = 2.158650000000e+09;
302 fc2160nrb50[18] = 2.158830000000e+09;
303 fc2160nrb50[19] = 2.159010000000e+09;
304 fc2160nrb50[20] = 2.159190000000e+09;
305 fc2160nrb50[21] = 2.159370000000e+09;
306 fc2160nrb50[22] = 2.159550000000e+09;
307 fc2160nrb50[23] = 2.159730000000e+09;
308 fc2160nrb50[24] = 2.159910000000e+09;
309 fc2160nrb50[25] = 2.160090000000e+09;
310 fc2160nrb50[26] = 2.160270000000e+09;
311 fc2160nrb50[27] = 2.160450000000e+09;
312 fc2160nrb50[28] = 2.160630000000e+09;
313 fc2160nrb50[29] = 2.160810000000e+09;
314 fc2160nrb50[30] = 2.160990000000e+09;
315 fc2160nrb50[31] = 2.161170000000e+09;
316 fc2160nrb50[32] = 2.161350000000e+09;
317 fc2160nrb50[33] = 2.161530000000e+09;
318 fc2160nrb50[34] = 2.161710000000e+09;
319 fc2160nrb50[35] = 2.161890000000e+09;
320 fc2160nrb50[36] = 2.162070000000e+09;
321 fc2160nrb50[37] = 2.162250000000e+09;
322 fc2160nrb50[38] = 2.162430000000e+09;
323 fc2160nrb50[39] = 2.162610000000e+09;
324 fc2160nrb50[40] = 2.162790000000e+09;
325 fc2160nrb50[41] = 2.162970000000e+09;
326 fc2160nrb50[42] = 2.163150000000e+09;
327 fc2160nrb50[43] = 2.163330000000e+09;
328 fc2160nrb50[44] = 2.163510000000e+09;
329 fc2160nrb50[45] = 2.163690000000e+09;
330 fc2160nrb50[46] = 2.163870000000e+09;
331 fc2160nrb50[47] = 2.164050000000e+09;
332 fc2160nrb50[48] = 2.164230000000e+09;
333 fc2160nrb50[49] = 2.164410000000e+09;
334 AddTestCase(new LteSpectrumModelTestCase("fc2160nrb50", 500, 50, fc2160nrb50),
335 TestCase::Duration::QUICK);
336
337 std::vector<double> fc2160nrb75(75);
338 fc2160nrb75[0] = 2.153340000000e+09;
339 fc2160nrb75[1] = 2.153520000000e+09;
340 fc2160nrb75[2] = 2.153700000000e+09;
341 fc2160nrb75[3] = 2.153880000000e+09;
342 fc2160nrb75[4] = 2.154060000000e+09;
343 fc2160nrb75[5] = 2.154240000000e+09;
344 fc2160nrb75[6] = 2.154420000000e+09;
345 fc2160nrb75[7] = 2.154600000000e+09;
346 fc2160nrb75[8] = 2.154780000000e+09;
347 fc2160nrb75[9] = 2.154960000000e+09;
348 fc2160nrb75[10] = 2.155140000000e+09;
349 fc2160nrb75[11] = 2.155320000000e+09;
350 fc2160nrb75[12] = 2.155500000000e+09;
351 fc2160nrb75[13] = 2.155680000000e+09;
352 fc2160nrb75[14] = 2.155860000000e+09;
353 fc2160nrb75[15] = 2.156040000000e+09;
354 fc2160nrb75[16] = 2.156220000000e+09;
355 fc2160nrb75[17] = 2.156400000000e+09;
356 fc2160nrb75[18] = 2.156580000000e+09;
357 fc2160nrb75[19] = 2.156760000000e+09;
358 fc2160nrb75[20] = 2.156940000000e+09;
359 fc2160nrb75[21] = 2.157120000000e+09;
360 fc2160nrb75[22] = 2.157300000000e+09;
361 fc2160nrb75[23] = 2.157480000000e+09;
362 fc2160nrb75[24] = 2.157660000000e+09;
363 fc2160nrb75[25] = 2.157840000000e+09;
364 fc2160nrb75[26] = 2.158020000000e+09;
365 fc2160nrb75[27] = 2.158200000000e+09;
366 fc2160nrb75[28] = 2.158380000000e+09;
367 fc2160nrb75[29] = 2.158560000000e+09;
368 fc2160nrb75[30] = 2.158740000000e+09;
369 fc2160nrb75[31] = 2.158920000000e+09;
370 fc2160nrb75[32] = 2.159100000000e+09;
371 fc2160nrb75[33] = 2.159280000000e+09;
372 fc2160nrb75[34] = 2.159460000000e+09;
373 fc2160nrb75[35] = 2.159640000000e+09;
374 fc2160nrb75[36] = 2.159820000000e+09;
375 fc2160nrb75[37] = 2.160000000000e+09;
376 fc2160nrb75[38] = 2.160180000000e+09;
377 fc2160nrb75[39] = 2.160360000000e+09;
378 fc2160nrb75[40] = 2.160540000000e+09;
379 fc2160nrb75[41] = 2.160720000000e+09;
380 fc2160nrb75[42] = 2.160900000000e+09;
381 fc2160nrb75[43] = 2.161080000000e+09;
382 fc2160nrb75[44] = 2.161260000000e+09;
383 fc2160nrb75[45] = 2.161440000000e+09;
384 fc2160nrb75[46] = 2.161620000000e+09;
385 fc2160nrb75[47] = 2.161800000000e+09;
386 fc2160nrb75[48] = 2.161980000000e+09;
387 fc2160nrb75[49] = 2.162160000000e+09;
388 fc2160nrb75[50] = 2.162340000000e+09;
389 fc2160nrb75[51] = 2.162520000000e+09;
390 fc2160nrb75[52] = 2.162700000000e+09;
391 fc2160nrb75[53] = 2.162880000000e+09;
392 fc2160nrb75[54] = 2.163060000000e+09;
393 fc2160nrb75[55] = 2.163240000000e+09;
394 fc2160nrb75[56] = 2.163420000000e+09;
395 fc2160nrb75[57] = 2.163600000000e+09;
396 fc2160nrb75[58] = 2.163780000000e+09;
397 fc2160nrb75[59] = 2.163960000000e+09;
398 fc2160nrb75[60] = 2.164140000000e+09;
399 fc2160nrb75[61] = 2.164320000000e+09;
400 fc2160nrb75[62] = 2.164500000000e+09;
401 fc2160nrb75[63] = 2.164680000000e+09;
402 fc2160nrb75[64] = 2.164860000000e+09;
403 fc2160nrb75[65] = 2.165040000000e+09;
404 fc2160nrb75[66] = 2.165220000000e+09;
405 fc2160nrb75[67] = 2.165400000000e+09;
406 fc2160nrb75[68] = 2.165580000000e+09;
407 fc2160nrb75[69] = 2.165760000000e+09;
408 fc2160nrb75[70] = 2.165940000000e+09;
409 fc2160nrb75[71] = 2.166120000000e+09;
410 fc2160nrb75[72] = 2.166300000000e+09;
411 fc2160nrb75[73] = 2.166480000000e+09;
412 fc2160nrb75[74] = 2.166660000000e+09;
413 AddTestCase(new LteSpectrumModelTestCase("fc2160nrb75", 500, 75, fc2160nrb75),
414 TestCase::Duration::QUICK);
415
416 std::vector<double> fc2160nrb100(100);
417 fc2160nrb100[0] = 2.151090000000e+09;
418 fc2160nrb100[1] = 2.151270000000e+09;
419 fc2160nrb100[2] = 2.151450000000e+09;
420 fc2160nrb100[3] = 2.151630000000e+09;
421 fc2160nrb100[4] = 2.151810000000e+09;
422 fc2160nrb100[5] = 2.151990000000e+09;
423 fc2160nrb100[6] = 2.152170000000e+09;
424 fc2160nrb100[7] = 2.152350000000e+09;
425 fc2160nrb100[8] = 2.152530000000e+09;
426 fc2160nrb100[9] = 2.152710000000e+09;
427 fc2160nrb100[10] = 2.152890000000e+09;
428 fc2160nrb100[11] = 2.153070000000e+09;
429 fc2160nrb100[12] = 2.153250000000e+09;
430 fc2160nrb100[13] = 2.153430000000e+09;
431 fc2160nrb100[14] = 2.153610000000e+09;
432 fc2160nrb100[15] = 2.153790000000e+09;
433 fc2160nrb100[16] = 2.153970000000e+09;
434 fc2160nrb100[17] = 2.154150000000e+09;
435 fc2160nrb100[18] = 2.154330000000e+09;
436 fc2160nrb100[19] = 2.154510000000e+09;
437 fc2160nrb100[20] = 2.154690000000e+09;
438 fc2160nrb100[21] = 2.154870000000e+09;
439 fc2160nrb100[22] = 2.155050000000e+09;
440 fc2160nrb100[23] = 2.155230000000e+09;
441 fc2160nrb100[24] = 2.155410000000e+09;
442 fc2160nrb100[25] = 2.155590000000e+09;
443 fc2160nrb100[26] = 2.155770000000e+09;
444 fc2160nrb100[27] = 2.155950000000e+09;
445 fc2160nrb100[28] = 2.156130000000e+09;
446 fc2160nrb100[29] = 2.156310000000e+09;
447 fc2160nrb100[30] = 2.156490000000e+09;
448 fc2160nrb100[31] = 2.156670000000e+09;
449 fc2160nrb100[32] = 2.156850000000e+09;
450 fc2160nrb100[33] = 2.157030000000e+09;
451 fc2160nrb100[34] = 2.157210000000e+09;
452 fc2160nrb100[35] = 2.157390000000e+09;
453 fc2160nrb100[36] = 2.157570000000e+09;
454 fc2160nrb100[37] = 2.157750000000e+09;
455 fc2160nrb100[38] = 2.157930000000e+09;
456 fc2160nrb100[39] = 2.158110000000e+09;
457 fc2160nrb100[40] = 2.158290000000e+09;
458 fc2160nrb100[41] = 2.158470000000e+09;
459 fc2160nrb100[42] = 2.158650000000e+09;
460 fc2160nrb100[43] = 2.158830000000e+09;
461 fc2160nrb100[44] = 2.159010000000e+09;
462 fc2160nrb100[45] = 2.159190000000e+09;
463 fc2160nrb100[46] = 2.159370000000e+09;
464 fc2160nrb100[47] = 2.159550000000e+09;
465 fc2160nrb100[48] = 2.159730000000e+09;
466 fc2160nrb100[49] = 2.159910000000e+09;
467 fc2160nrb100[50] = 2.160090000000e+09;
468 fc2160nrb100[51] = 2.160270000000e+09;
469 fc2160nrb100[52] = 2.160450000000e+09;
470 fc2160nrb100[53] = 2.160630000000e+09;
471 fc2160nrb100[54] = 2.160810000000e+09;
472 fc2160nrb100[55] = 2.160990000000e+09;
473 fc2160nrb100[56] = 2.161170000000e+09;
474 fc2160nrb100[57] = 2.161350000000e+09;
475 fc2160nrb100[58] = 2.161530000000e+09;
476 fc2160nrb100[59] = 2.161710000000e+09;
477 fc2160nrb100[60] = 2.161890000000e+09;
478 fc2160nrb100[61] = 2.162070000000e+09;
479 fc2160nrb100[62] = 2.162250000000e+09;
480 fc2160nrb100[63] = 2.162430000000e+09;
481 fc2160nrb100[64] = 2.162610000000e+09;
482 fc2160nrb100[65] = 2.162790000000e+09;
483 fc2160nrb100[66] = 2.162970000000e+09;
484 fc2160nrb100[67] = 2.163150000000e+09;
485 fc2160nrb100[68] = 2.163330000000e+09;
486 fc2160nrb100[69] = 2.163510000000e+09;
487 fc2160nrb100[70] = 2.163690000000e+09;
488 fc2160nrb100[71] = 2.163870000000e+09;
489 fc2160nrb100[72] = 2.164050000000e+09;
490 fc2160nrb100[73] = 2.164230000000e+09;
491 fc2160nrb100[74] = 2.164410000000e+09;
492 fc2160nrb100[75] = 2.164590000000e+09;
493 fc2160nrb100[76] = 2.164770000000e+09;
494 fc2160nrb100[77] = 2.164950000000e+09;
495 fc2160nrb100[78] = 2.165130000000e+09;
496 fc2160nrb100[79] = 2.165310000000e+09;
497 fc2160nrb100[80] = 2.165490000000e+09;
498 fc2160nrb100[81] = 2.165670000000e+09;
499 fc2160nrb100[82] = 2.165850000000e+09;
500 fc2160nrb100[83] = 2.166030000000e+09;
501 fc2160nrb100[84] = 2.166210000000e+09;
502 fc2160nrb100[85] = 2.166390000000e+09;
503 fc2160nrb100[86] = 2.166570000000e+09;
504 fc2160nrb100[87] = 2.166750000000e+09;
505 fc2160nrb100[88] = 2.166930000000e+09;
506 fc2160nrb100[89] = 2.167110000000e+09;
507 fc2160nrb100[90] = 2.167290000000e+09;
508 fc2160nrb100[91] = 2.167470000000e+09;
509 fc2160nrb100[92] = 2.167650000000e+09;
510 fc2160nrb100[93] = 2.167830000000e+09;
511 fc2160nrb100[94] = 2.168010000000e+09;
512 fc2160nrb100[95] = 2.168190000000e+09;
513 fc2160nrb100[96] = 2.168370000000e+09;
514 fc2160nrb100[97] = 2.168550000000e+09;
515 fc2160nrb100[98] = 2.168730000000e+09;
516 fc2160nrb100[99] = 2.168910000000e+09;
517 AddTestCase(new LteSpectrumModelTestCase("fc2160nrb100", 500, 100, fc2160nrb100),
518 TestCase::Duration::QUICK);
519
520 std::vector<double> fc1730nrb6(6);
521 fc1730nrb6[0] = 1.729550000000e+09;
522 fc1730nrb6[1] = 1.729730000000e+09;
523 fc1730nrb6[2] = 1.729910000000e+09;
524 fc1730nrb6[3] = 1.730090000000e+09;
525 fc1730nrb6[4] = 1.730270000000e+09;
526 fc1730nrb6[5] = 1.730450000000e+09;
527 AddTestCase(new LteSpectrumModelTestCase("fc1730nrb6", 19400, 6, fc1730nrb6),
528 TestCase::Duration::QUICK);
529
530 std::vector<double> fc1730nrb15(15);
531 fc1730nrb15[0] = 1.728740000000e+09;
532 fc1730nrb15[1] = 1.728920000000e+09;
533 fc1730nrb15[2] = 1.729100000000e+09;
534 fc1730nrb15[3] = 1.729280000000e+09;
535 fc1730nrb15[4] = 1.729460000000e+09;
536 fc1730nrb15[5] = 1.729640000000e+09;
537 fc1730nrb15[6] = 1.729820000000e+09;
538 fc1730nrb15[7] = 1.730000000000e+09;
539 fc1730nrb15[8] = 1.730180000000e+09;
540 fc1730nrb15[9] = 1.730360000000e+09;
541 fc1730nrb15[10] = 1.730540000000e+09;
542 fc1730nrb15[11] = 1.730720000000e+09;
543 fc1730nrb15[12] = 1.730900000000e+09;
544 fc1730nrb15[13] = 1.731080000000e+09;
545 fc1730nrb15[14] = 1.731260000000e+09;
546 AddTestCase(new LteSpectrumModelTestCase("fc1730nrb15", 19400, 15, fc1730nrb15),
547 TestCase::Duration::QUICK);
548
549 std::vector<double> fc1730nrb25(25);
550 fc1730nrb25[0] = 1.727840000000e+09;
551 fc1730nrb25[1] = 1.728020000000e+09;
552 fc1730nrb25[2] = 1.728200000000e+09;
553 fc1730nrb25[3] = 1.728380000000e+09;
554 fc1730nrb25[4] = 1.728560000000e+09;
555 fc1730nrb25[5] = 1.728740000000e+09;
556 fc1730nrb25[6] = 1.728920000000e+09;
557 fc1730nrb25[7] = 1.729100000000e+09;
558 fc1730nrb25[8] = 1.729280000000e+09;
559 fc1730nrb25[9] = 1.729460000000e+09;
560 fc1730nrb25[10] = 1.729640000000e+09;
561 fc1730nrb25[11] = 1.729820000000e+09;
562 fc1730nrb25[12] = 1.730000000000e+09;
563 fc1730nrb25[13] = 1.730180000000e+09;
564 fc1730nrb25[14] = 1.730360000000e+09;
565 fc1730nrb25[15] = 1.730540000000e+09;
566 fc1730nrb25[16] = 1.730720000000e+09;
567 fc1730nrb25[17] = 1.730900000000e+09;
568 fc1730nrb25[18] = 1.731080000000e+09;
569 fc1730nrb25[19] = 1.731260000000e+09;
570 fc1730nrb25[20] = 1.731440000000e+09;
571 fc1730nrb25[21] = 1.731620000000e+09;
572 fc1730nrb25[22] = 1.731800000000e+09;
573 fc1730nrb25[23] = 1.731980000000e+09;
574 fc1730nrb25[24] = 1.732160000000e+09;
575 AddTestCase(new LteSpectrumModelTestCase("fc1730nrb25", 19400, 25, fc1730nrb25),
576 TestCase::Duration::QUICK);
577
578 std::vector<double> fc1730nrb50(50);
579 fc1730nrb50[0] = 1.725590000000e+09;
580 fc1730nrb50[1] = 1.725770000000e+09;
581 fc1730nrb50[2] = 1.725950000000e+09;
582 fc1730nrb50[3] = 1.726130000000e+09;
583 fc1730nrb50[4] = 1.726310000000e+09;
584 fc1730nrb50[5] = 1.726490000000e+09;
585 fc1730nrb50[6] = 1.726670000000e+09;
586 fc1730nrb50[7] = 1.726850000000e+09;
587 fc1730nrb50[8] = 1.727030000000e+09;
588 fc1730nrb50[9] = 1.727210000000e+09;
589 fc1730nrb50[10] = 1.727390000000e+09;
590 fc1730nrb50[11] = 1.727570000000e+09;
591 fc1730nrb50[12] = 1.727750000000e+09;
592 fc1730nrb50[13] = 1.727930000000e+09;
593 fc1730nrb50[14] = 1.728110000000e+09;
594 fc1730nrb50[15] = 1.728290000000e+09;
595 fc1730nrb50[16] = 1.728470000000e+09;
596 fc1730nrb50[17] = 1.728650000000e+09;
597 fc1730nrb50[18] = 1.728830000000e+09;
598 fc1730nrb50[19] = 1.729010000000e+09;
599 fc1730nrb50[20] = 1.729190000000e+09;
600 fc1730nrb50[21] = 1.729370000000e+09;
601 fc1730nrb50[22] = 1.729550000000e+09;
602 fc1730nrb50[23] = 1.729730000000e+09;
603 fc1730nrb50[24] = 1.729910000000e+09;
604 fc1730nrb50[25] = 1.730090000000e+09;
605 fc1730nrb50[26] = 1.730270000000e+09;
606 fc1730nrb50[27] = 1.730450000000e+09;
607 fc1730nrb50[28] = 1.730630000000e+09;
608 fc1730nrb50[29] = 1.730810000000e+09;
609 fc1730nrb50[30] = 1.730990000000e+09;
610 fc1730nrb50[31] = 1.731170000000e+09;
611 fc1730nrb50[32] = 1.731350000000e+09;
612 fc1730nrb50[33] = 1.731530000000e+09;
613 fc1730nrb50[34] = 1.731710000000e+09;
614 fc1730nrb50[35] = 1.731890000000e+09;
615 fc1730nrb50[36] = 1.732070000000e+09;
616 fc1730nrb50[37] = 1.732250000000e+09;
617 fc1730nrb50[38] = 1.732430000000e+09;
618 fc1730nrb50[39] = 1.732610000000e+09;
619 fc1730nrb50[40] = 1.732790000000e+09;
620 fc1730nrb50[41] = 1.732970000000e+09;
621 fc1730nrb50[42] = 1.733150000000e+09;
622 fc1730nrb50[43] = 1.733330000000e+09;
623 fc1730nrb50[44] = 1.733510000000e+09;
624 fc1730nrb50[45] = 1.733690000000e+09;
625 fc1730nrb50[46] = 1.733870000000e+09;
626 fc1730nrb50[47] = 1.734050000000e+09;
627 fc1730nrb50[48] = 1.734230000000e+09;
628 fc1730nrb50[49] = 1.734410000000e+09;
629 AddTestCase(new LteSpectrumModelTestCase("fc1730nrb50", 19400, 50, fc1730nrb50),
630 TestCase::Duration::QUICK);
631
632 std::vector<double> fc1730nrb75(75);
633 fc1730nrb75[0] = 1.723340000000e+09;
634 fc1730nrb75[1] = 1.723520000000e+09;
635 fc1730nrb75[2] = 1.723700000000e+09;
636 fc1730nrb75[3] = 1.723880000000e+09;
637 fc1730nrb75[4] = 1.724060000000e+09;
638 fc1730nrb75[5] = 1.724240000000e+09;
639 fc1730nrb75[6] = 1.724420000000e+09;
640 fc1730nrb75[7] = 1.724600000000e+09;
641 fc1730nrb75[8] = 1.724780000000e+09;
642 fc1730nrb75[9] = 1.724960000000e+09;
643 fc1730nrb75[10] = 1.725140000000e+09;
644 fc1730nrb75[11] = 1.725320000000e+09;
645 fc1730nrb75[12] = 1.725500000000e+09;
646 fc1730nrb75[13] = 1.725680000000e+09;
647 fc1730nrb75[14] = 1.725860000000e+09;
648 fc1730nrb75[15] = 1.726040000000e+09;
649 fc1730nrb75[16] = 1.726220000000e+09;
650 fc1730nrb75[17] = 1.726400000000e+09;
651 fc1730nrb75[18] = 1.726580000000e+09;
652 fc1730nrb75[19] = 1.726760000000e+09;
653 fc1730nrb75[20] = 1.726940000000e+09;
654 fc1730nrb75[21] = 1.727120000000e+09;
655 fc1730nrb75[22] = 1.727300000000e+09;
656 fc1730nrb75[23] = 1.727480000000e+09;
657 fc1730nrb75[24] = 1.727660000000e+09;
658 fc1730nrb75[25] = 1.727840000000e+09;
659 fc1730nrb75[26] = 1.728020000000e+09;
660 fc1730nrb75[27] = 1.728200000000e+09;
661 fc1730nrb75[28] = 1.728380000000e+09;
662 fc1730nrb75[29] = 1.728560000000e+09;
663 fc1730nrb75[30] = 1.728740000000e+09;
664 fc1730nrb75[31] = 1.728920000000e+09;
665 fc1730nrb75[32] = 1.729100000000e+09;
666 fc1730nrb75[33] = 1.729280000000e+09;
667 fc1730nrb75[34] = 1.729460000000e+09;
668 fc1730nrb75[35] = 1.729640000000e+09;
669 fc1730nrb75[36] = 1.729820000000e+09;
670 fc1730nrb75[37] = 1.730000000000e+09;
671 fc1730nrb75[38] = 1.730180000000e+09;
672 fc1730nrb75[39] = 1.730360000000e+09;
673 fc1730nrb75[40] = 1.730540000000e+09;
674 fc1730nrb75[41] = 1.730720000000e+09;
675 fc1730nrb75[42] = 1.730900000000e+09;
676 fc1730nrb75[43] = 1.731080000000e+09;
677 fc1730nrb75[44] = 1.731260000000e+09;
678 fc1730nrb75[45] = 1.731440000000e+09;
679 fc1730nrb75[46] = 1.731620000000e+09;
680 fc1730nrb75[47] = 1.731800000000e+09;
681 fc1730nrb75[48] = 1.731980000000e+09;
682 fc1730nrb75[49] = 1.732160000000e+09;
683 fc1730nrb75[50] = 1.732340000000e+09;
684 fc1730nrb75[51] = 1.732520000000e+09;
685 fc1730nrb75[52] = 1.732700000000e+09;
686 fc1730nrb75[53] = 1.732880000000e+09;
687 fc1730nrb75[54] = 1.733060000000e+09;
688 fc1730nrb75[55] = 1.733240000000e+09;
689 fc1730nrb75[56] = 1.733420000000e+09;
690 fc1730nrb75[57] = 1.733600000000e+09;
691 fc1730nrb75[58] = 1.733780000000e+09;
692 fc1730nrb75[59] = 1.733960000000e+09;
693 fc1730nrb75[60] = 1.734140000000e+09;
694 fc1730nrb75[61] = 1.734320000000e+09;
695 fc1730nrb75[62] = 1.734500000000e+09;
696 fc1730nrb75[63] = 1.734680000000e+09;
697 fc1730nrb75[64] = 1.734860000000e+09;
698 fc1730nrb75[65] = 1.735040000000e+09;
699 fc1730nrb75[66] = 1.735220000000e+09;
700 fc1730nrb75[67] = 1.735400000000e+09;
701 fc1730nrb75[68] = 1.735580000000e+09;
702 fc1730nrb75[69] = 1.735760000000e+09;
703 fc1730nrb75[70] = 1.735940000000e+09;
704 fc1730nrb75[71] = 1.736120000000e+09;
705 fc1730nrb75[72] = 1.736300000000e+09;
706 fc1730nrb75[73] = 1.736480000000e+09;
707 fc1730nrb75[74] = 1.736660000000e+09;
708 AddTestCase(new LteSpectrumModelTestCase("fc1730nrb75", 19400, 75, fc1730nrb75),
709 TestCase::Duration::QUICK);
710
711 std::vector<double> fc1730nrb100(100);
712 fc1730nrb100[0] = 1.721090000000e+09;
713 fc1730nrb100[1] = 1.721270000000e+09;
714 fc1730nrb100[2] = 1.721450000000e+09;
715 fc1730nrb100[3] = 1.721630000000e+09;
716 fc1730nrb100[4] = 1.721810000000e+09;
717 fc1730nrb100[5] = 1.721990000000e+09;
718 fc1730nrb100[6] = 1.722170000000e+09;
719 fc1730nrb100[7] = 1.722350000000e+09;
720 fc1730nrb100[8] = 1.722530000000e+09;
721 fc1730nrb100[9] = 1.722710000000e+09;
722 fc1730nrb100[10] = 1.722890000000e+09;
723 fc1730nrb100[11] = 1.723070000000e+09;
724 fc1730nrb100[12] = 1.723250000000e+09;
725 fc1730nrb100[13] = 1.723430000000e+09;
726 fc1730nrb100[14] = 1.723610000000e+09;
727 fc1730nrb100[15] = 1.723790000000e+09;
728 fc1730nrb100[16] = 1.723970000000e+09;
729 fc1730nrb100[17] = 1.724150000000e+09;
730 fc1730nrb100[18] = 1.724330000000e+09;
731 fc1730nrb100[19] = 1.724510000000e+09;
732 fc1730nrb100[20] = 1.724690000000e+09;
733 fc1730nrb100[21] = 1.724870000000e+09;
734 fc1730nrb100[22] = 1.725050000000e+09;
735 fc1730nrb100[23] = 1.725230000000e+09;
736 fc1730nrb100[24] = 1.725410000000e+09;
737 fc1730nrb100[25] = 1.725590000000e+09;
738 fc1730nrb100[26] = 1.725770000000e+09;
739 fc1730nrb100[27] = 1.725950000000e+09;
740 fc1730nrb100[28] = 1.726130000000e+09;
741 fc1730nrb100[29] = 1.726310000000e+09;
742 fc1730nrb100[30] = 1.726490000000e+09;
743 fc1730nrb100[31] = 1.726670000000e+09;
744 fc1730nrb100[32] = 1.726850000000e+09;
745 fc1730nrb100[33] = 1.727030000000e+09;
746 fc1730nrb100[34] = 1.727210000000e+09;
747 fc1730nrb100[35] = 1.727390000000e+09;
748 fc1730nrb100[36] = 1.727570000000e+09;
749 fc1730nrb100[37] = 1.727750000000e+09;
750 fc1730nrb100[38] = 1.727930000000e+09;
751 fc1730nrb100[39] = 1.728110000000e+09;
752 fc1730nrb100[40] = 1.728290000000e+09;
753 fc1730nrb100[41] = 1.728470000000e+09;
754 fc1730nrb100[42] = 1.728650000000e+09;
755 fc1730nrb100[43] = 1.728830000000e+09;
756 fc1730nrb100[44] = 1.729010000000e+09;
757 fc1730nrb100[45] = 1.729190000000e+09;
758 fc1730nrb100[46] = 1.729370000000e+09;
759 fc1730nrb100[47] = 1.729550000000e+09;
760 fc1730nrb100[48] = 1.729730000000e+09;
761 fc1730nrb100[49] = 1.729910000000e+09;
762 fc1730nrb100[50] = 1.730090000000e+09;
763 fc1730nrb100[51] = 1.730270000000e+09;
764 fc1730nrb100[52] = 1.730450000000e+09;
765 fc1730nrb100[53] = 1.730630000000e+09;
766 fc1730nrb100[54] = 1.730810000000e+09;
767 fc1730nrb100[55] = 1.730990000000e+09;
768 fc1730nrb100[56] = 1.731170000000e+09;
769 fc1730nrb100[57] = 1.731350000000e+09;
770 fc1730nrb100[58] = 1.731530000000e+09;
771 fc1730nrb100[59] = 1.731710000000e+09;
772 fc1730nrb100[60] = 1.731890000000e+09;
773 fc1730nrb100[61] = 1.732070000000e+09;
774 fc1730nrb100[62] = 1.732250000000e+09;
775 fc1730nrb100[63] = 1.732430000000e+09;
776 fc1730nrb100[64] = 1.732610000000e+09;
777 fc1730nrb100[65] = 1.732790000000e+09;
778 fc1730nrb100[66] = 1.732970000000e+09;
779 fc1730nrb100[67] = 1.733150000000e+09;
780 fc1730nrb100[68] = 1.733330000000e+09;
781 fc1730nrb100[69] = 1.733510000000e+09;
782 fc1730nrb100[70] = 1.733690000000e+09;
783 fc1730nrb100[71] = 1.733870000000e+09;
784 fc1730nrb100[72] = 1.734050000000e+09;
785 fc1730nrb100[73] = 1.734230000000e+09;
786 fc1730nrb100[74] = 1.734410000000e+09;
787 fc1730nrb100[75] = 1.734590000000e+09;
788 fc1730nrb100[76] = 1.734770000000e+09;
789 fc1730nrb100[77] = 1.734950000000e+09;
790 fc1730nrb100[78] = 1.735130000000e+09;
791 fc1730nrb100[79] = 1.735310000000e+09;
792 fc1730nrb100[80] = 1.735490000000e+09;
793 fc1730nrb100[81] = 1.735670000000e+09;
794 fc1730nrb100[82] = 1.735850000000e+09;
795 fc1730nrb100[83] = 1.736030000000e+09;
796 fc1730nrb100[84] = 1.736210000000e+09;
797 fc1730nrb100[85] = 1.736390000000e+09;
798 fc1730nrb100[86] = 1.736570000000e+09;
799 fc1730nrb100[87] = 1.736750000000e+09;
800 fc1730nrb100[88] = 1.736930000000e+09;
801 fc1730nrb100[89] = 1.737110000000e+09;
802 fc1730nrb100[90] = 1.737290000000e+09;
803 fc1730nrb100[91] = 1.737470000000e+09;
804 fc1730nrb100[92] = 1.737650000000e+09;
805 fc1730nrb100[93] = 1.737830000000e+09;
806 fc1730nrb100[94] = 1.738010000000e+09;
807 fc1730nrb100[95] = 1.738190000000e+09;
808 fc1730nrb100[96] = 1.738370000000e+09;
809 fc1730nrb100[97] = 1.738550000000e+09;
810 fc1730nrb100[98] = 1.738730000000e+09;
811 fc1730nrb100[99] = 1.738910000000e+09;
812 AddTestCase(new LteSpectrumModelTestCase("fc1730nrb100", 19400, 100, fc1730nrb100),
813 TestCase::Duration::QUICK);
814
816 nfdB0earfcn500nrb6[0] = 4.002000000000e-21;
817 nfdB0earfcn500nrb6[1] = 4.002000000000e-21;
818 nfdB0earfcn500nrb6[2] = 4.002000000000e-21;
819 nfdB0earfcn500nrb6[3] = 4.002000000000e-21;
820 nfdB0earfcn500nrb6[4] = 4.002000000000e-21;
821 nfdB0earfcn500nrb6[5] = 4.002000000000e-21;
822 AddTestCase(new LteNoisePsdTestCase("nfdB0earfcn500nrb6", 500, 6, 0.000000, nfdB0earfcn500nrb6),
823 TestCase::Duration::QUICK);
824
826 nfdB5earfcn500nrb6[0] = 1.265543519599e-20;
827 nfdB5earfcn500nrb6[1] = 1.265543519599e-20;
828 nfdB5earfcn500nrb6[2] = 1.265543519599e-20;
829 nfdB5earfcn500nrb6[3] = 1.265543519599e-20;
830 nfdB5earfcn500nrb6[4] = 1.265543519599e-20;
831 nfdB5earfcn500nrb6[5] = 1.265543519599e-20;
832 AddTestCase(new LteNoisePsdTestCase("nfdB5earfcn500nrb6", 500, 6, 5.000000, nfdB5earfcn500nrb6),
833 TestCase::Duration::QUICK);
834
835 SpectrumValue nfdB10earfcn500nrb6(LteSpectrumValueHelper::GetSpectrumModel(500, 6));
836 nfdB10earfcn500nrb6[0] = 4.002000000000e-20;
837 nfdB10earfcn500nrb6[1] = 4.002000000000e-20;
838 nfdB10earfcn500nrb6[2] = 4.002000000000e-20;
839 nfdB10earfcn500nrb6[3] = 4.002000000000e-20;
840 nfdB10earfcn500nrb6[4] = 4.002000000000e-20;
841 nfdB10earfcn500nrb6[5] = 4.002000000000e-20;
843 new LteNoisePsdTestCase("nfdB10earfcn500nrb6", 500, 6, 10.000000, nfdB10earfcn500nrb6),
844 TestCase::Duration::QUICK);
845
846 SpectrumValue nfdB0earfcn500nrb15(LteSpectrumValueHelper::GetSpectrumModel(500, 15));
847 nfdB0earfcn500nrb15[0] = 4.002000000000e-21;
848 nfdB0earfcn500nrb15[1] = 4.002000000000e-21;
849 nfdB0earfcn500nrb15[2] = 4.002000000000e-21;
850 nfdB0earfcn500nrb15[3] = 4.002000000000e-21;
851 nfdB0earfcn500nrb15[4] = 4.002000000000e-21;
852 nfdB0earfcn500nrb15[5] = 4.002000000000e-21;
853 nfdB0earfcn500nrb15[6] = 4.002000000000e-21;
854 nfdB0earfcn500nrb15[7] = 4.002000000000e-21;
855 nfdB0earfcn500nrb15[8] = 4.002000000000e-21;
856 nfdB0earfcn500nrb15[9] = 4.002000000000e-21;
857 nfdB0earfcn500nrb15[10] = 4.002000000000e-21;
858 nfdB0earfcn500nrb15[11] = 4.002000000000e-21;
859 nfdB0earfcn500nrb15[12] = 4.002000000000e-21;
860 nfdB0earfcn500nrb15[13] = 4.002000000000e-21;
861 nfdB0earfcn500nrb15[14] = 4.002000000000e-21;
863 new LteNoisePsdTestCase("nfdB0earfcn500nrb15", 500, 15, 0.000000, nfdB0earfcn500nrb15),
864 TestCase::Duration::QUICK);
865
866 SpectrumValue nfdB5earfcn500nrb15(LteSpectrumValueHelper::GetSpectrumModel(500, 15));
867 nfdB5earfcn500nrb15[0] = 1.265543519599e-20;
868 nfdB5earfcn500nrb15[1] = 1.265543519599e-20;
869 nfdB5earfcn500nrb15[2] = 1.265543519599e-20;
870 nfdB5earfcn500nrb15[3] = 1.265543519599e-20;
871 nfdB5earfcn500nrb15[4] = 1.265543519599e-20;
872 nfdB5earfcn500nrb15[5] = 1.265543519599e-20;
873 nfdB5earfcn500nrb15[6] = 1.265543519599e-20;
874 nfdB5earfcn500nrb15[7] = 1.265543519599e-20;
875 nfdB5earfcn500nrb15[8] = 1.265543519599e-20;
876 nfdB5earfcn500nrb15[9] = 1.265543519599e-20;
877 nfdB5earfcn500nrb15[10] = 1.265543519599e-20;
878 nfdB5earfcn500nrb15[11] = 1.265543519599e-20;
879 nfdB5earfcn500nrb15[12] = 1.265543519599e-20;
880 nfdB5earfcn500nrb15[13] = 1.265543519599e-20;
881 nfdB5earfcn500nrb15[14] = 1.265543519599e-20;
883 new LteNoisePsdTestCase("nfdB5earfcn500nrb15", 500, 15, 5.000000, nfdB5earfcn500nrb15),
884 TestCase::Duration::QUICK);
885
886 SpectrumValue nfdB10earfcn500nrb15(LteSpectrumValueHelper::GetSpectrumModel(500, 15));
887 nfdB10earfcn500nrb15[0] = 4.002000000000e-20;
888 nfdB10earfcn500nrb15[1] = 4.002000000000e-20;
889 nfdB10earfcn500nrb15[2] = 4.002000000000e-20;
890 nfdB10earfcn500nrb15[3] = 4.002000000000e-20;
891 nfdB10earfcn500nrb15[4] = 4.002000000000e-20;
892 nfdB10earfcn500nrb15[5] = 4.002000000000e-20;
893 nfdB10earfcn500nrb15[6] = 4.002000000000e-20;
894 nfdB10earfcn500nrb15[7] = 4.002000000000e-20;
895 nfdB10earfcn500nrb15[8] = 4.002000000000e-20;
896 nfdB10earfcn500nrb15[9] = 4.002000000000e-20;
897 nfdB10earfcn500nrb15[10] = 4.002000000000e-20;
898 nfdB10earfcn500nrb15[11] = 4.002000000000e-20;
899 nfdB10earfcn500nrb15[12] = 4.002000000000e-20;
900 nfdB10earfcn500nrb15[13] = 4.002000000000e-20;
901 nfdB10earfcn500nrb15[14] = 4.002000000000e-20;
902
903 std::vector<int> activeRbs_txpowdB10nrb6run1earfcn500(2);
904 activeRbs_txpowdB10nrb6run1earfcn500[0] = 0.000000000000e+00;
905 activeRbs_txpowdB10nrb6run1earfcn500[1] = 1.000000000000e+00;
906 SpectrumValue spectrumValue_txpowdB10nrb6run1earfcn500(
908 spectrumValue_txpowdB10nrb6run1earfcn500[0] = 9.259259259259e-09;
909 spectrumValue_txpowdB10nrb6run1earfcn500[1] = 9.259259259259e-09;
910 spectrumValue_txpowdB10nrb6run1earfcn500[2] = 0.000000000000e+00;
911 spectrumValue_txpowdB10nrb6run1earfcn500[3] = 0.000000000000e+00;
912 spectrumValue_txpowdB10nrb6run1earfcn500[4] = 0.000000000000e+00;
913 spectrumValue_txpowdB10nrb6run1earfcn500[5] = 0.000000000000e+00;
914 AddTestCase(new LteTxPsdTestCase("txpowdB10nrb6run1earfcn500",
915 500,
916 6,
917 10.000000,
918 activeRbs_txpowdB10nrb6run1earfcn500,
919 spectrumValue_txpowdB10nrb6run1earfcn500),
920 TestCase::Duration::QUICK);
921
922 std::vector<int> activeRbs_txpowdB30nrb6run1earfcn500(1);
923 activeRbs_txpowdB30nrb6run1earfcn500[0] = 5.000000000000e+00;
924 SpectrumValue spectrumValue_txpowdB30nrb6run1earfcn500(
926 spectrumValue_txpowdB30nrb6run1earfcn500[0] = 0.000000000000e+00;
927 spectrumValue_txpowdB30nrb6run1earfcn500[1] = 0.000000000000e+00;
928 spectrumValue_txpowdB30nrb6run1earfcn500[2] = 0.000000000000e+00;
929 spectrumValue_txpowdB30nrb6run1earfcn500[3] = 0.000000000000e+00;
930 spectrumValue_txpowdB30nrb6run1earfcn500[4] = 0.000000000000e+00;
931 spectrumValue_txpowdB30nrb6run1earfcn500[5] = 9.259259259259e-07;
932 AddTestCase(new LteTxPsdTestCase("txpowdB30nrb6run1earfcn500",
933 500,
934 6,
935 30.000000,
936 activeRbs_txpowdB30nrb6run1earfcn500,
937 spectrumValue_txpowdB30nrb6run1earfcn500),
938 TestCase::Duration::QUICK);
939
940 std::vector<int> activeRbs_txpowdB10nrb25run1earfcn500(8);
941 activeRbs_txpowdB10nrb25run1earfcn500[0] = 1.000000000000e+00;
942 activeRbs_txpowdB10nrb25run1earfcn500[1] = 2.000000000000e+00;
943 activeRbs_txpowdB10nrb25run1earfcn500[2] = 5.000000000000e+00;
944 activeRbs_txpowdB10nrb25run1earfcn500[3] = 1.000000000000e+01;
945 activeRbs_txpowdB10nrb25run1earfcn500[4] = 1.500000000000e+01;
946 activeRbs_txpowdB10nrb25run1earfcn500[5] = 1.700000000000e+01;
947 activeRbs_txpowdB10nrb25run1earfcn500[6] = 1.800000000000e+01;
948 activeRbs_txpowdB10nrb25run1earfcn500[7] = 2.400000000000e+01;
949 SpectrumValue spectrumValue_txpowdB10nrb25run1earfcn500(
951 spectrumValue_txpowdB10nrb25run1earfcn500[0] = 0.000000000000e+00;
952 spectrumValue_txpowdB10nrb25run1earfcn500[1] = 2.222222222222e-09;
953 spectrumValue_txpowdB10nrb25run1earfcn500[2] = 2.222222222222e-09;
954 spectrumValue_txpowdB10nrb25run1earfcn500[3] = 0.000000000000e+00;
955 spectrumValue_txpowdB10nrb25run1earfcn500[4] = 0.000000000000e+00;
956 spectrumValue_txpowdB10nrb25run1earfcn500[5] = 2.222222222222e-09;
957 spectrumValue_txpowdB10nrb25run1earfcn500[6] = 0.000000000000e+00;
958 spectrumValue_txpowdB10nrb25run1earfcn500[7] = 0.000000000000e+00;
959 spectrumValue_txpowdB10nrb25run1earfcn500[8] = 0.000000000000e+00;
960 spectrumValue_txpowdB10nrb25run1earfcn500[9] = 0.000000000000e+00;
961 spectrumValue_txpowdB10nrb25run1earfcn500[10] = 2.222222222222e-09;
962 spectrumValue_txpowdB10nrb25run1earfcn500[11] = 0.000000000000e+00;
963 spectrumValue_txpowdB10nrb25run1earfcn500[12] = 0.000000000000e+00;
964 spectrumValue_txpowdB10nrb25run1earfcn500[13] = 0.000000000000e+00;
965 spectrumValue_txpowdB10nrb25run1earfcn500[14] = 0.000000000000e+00;
966 spectrumValue_txpowdB10nrb25run1earfcn500[15] = 2.222222222222e-09;
967 spectrumValue_txpowdB10nrb25run1earfcn500[16] = 0.000000000000e+00;
968 spectrumValue_txpowdB10nrb25run1earfcn500[17] = 2.222222222222e-09;
969 spectrumValue_txpowdB10nrb25run1earfcn500[18] = 2.222222222222e-09;
970 spectrumValue_txpowdB10nrb25run1earfcn500[19] = 0.000000000000e+00;
971 spectrumValue_txpowdB10nrb25run1earfcn500[20] = 0.000000000000e+00;
972 spectrumValue_txpowdB10nrb25run1earfcn500[21] = 0.000000000000e+00;
973 spectrumValue_txpowdB10nrb25run1earfcn500[22] = 0.000000000000e+00;
974 spectrumValue_txpowdB10nrb25run1earfcn500[23] = 0.000000000000e+00;
975 spectrumValue_txpowdB10nrb25run1earfcn500[24] = 2.222222222222e-09;
976 AddTestCase(new LteTxPsdTestCase("txpowdB10nrb25run1earfcn500",
977 500,
978 25,
979 10.000000,
980 activeRbs_txpowdB10nrb25run1earfcn500,
981 spectrumValue_txpowdB10nrb25run1earfcn500),
982 TestCase::Duration::QUICK);
983
984 std::vector<int> activeRbs_txpowdB30nrb25run1earfcn500(13);
985 activeRbs_txpowdB30nrb25run1earfcn500[0] = 0.000000000000e+00;
986 activeRbs_txpowdB30nrb25run1earfcn500[1] = 1.000000000000e+00;
987 activeRbs_txpowdB30nrb25run1earfcn500[2] = 2.000000000000e+00;
988 activeRbs_txpowdB30nrb25run1earfcn500[3] = 5.000000000000e+00;
989 activeRbs_txpowdB30nrb25run1earfcn500[4] = 6.000000000000e+00;
990 activeRbs_txpowdB30nrb25run1earfcn500[5] = 1.000000000000e+01;
991 activeRbs_txpowdB30nrb25run1earfcn500[6] = 1.100000000000e+01;
992 activeRbs_txpowdB30nrb25run1earfcn500[7] = 1.300000000000e+01;
993 activeRbs_txpowdB30nrb25run1earfcn500[8] = 1.400000000000e+01;
994 activeRbs_txpowdB30nrb25run1earfcn500[9] = 1.500000000000e+01;
995 activeRbs_txpowdB30nrb25run1earfcn500[10] = 1.600000000000e+01;
996 activeRbs_txpowdB30nrb25run1earfcn500[11] = 1.800000000000e+01;
997 activeRbs_txpowdB30nrb25run1earfcn500[12] = 2.400000000000e+01;
998 SpectrumValue spectrumValue_txpowdB30nrb25run1earfcn500(
1000 spectrumValue_txpowdB30nrb25run1earfcn500[0] = 2.222222222222e-07;
1001 spectrumValue_txpowdB30nrb25run1earfcn500[1] = 2.222222222222e-07;
1002 spectrumValue_txpowdB30nrb25run1earfcn500[2] = 2.222222222222e-07;
1003 spectrumValue_txpowdB30nrb25run1earfcn500[3] = 0.000000000000e+00;
1004 spectrumValue_txpowdB30nrb25run1earfcn500[4] = 0.000000000000e+00;
1005 spectrumValue_txpowdB30nrb25run1earfcn500[5] = 2.222222222222e-07;
1006 spectrumValue_txpowdB30nrb25run1earfcn500[6] = 2.222222222222e-07;
1007 spectrumValue_txpowdB30nrb25run1earfcn500[7] = 0.000000000000e+00;
1008 spectrumValue_txpowdB30nrb25run1earfcn500[8] = 0.000000000000e+00;
1009 spectrumValue_txpowdB30nrb25run1earfcn500[9] = 0.000000000000e+00;
1010 spectrumValue_txpowdB30nrb25run1earfcn500[10] = 2.222222222222e-07;
1011 spectrumValue_txpowdB30nrb25run1earfcn500[11] = 2.222222222222e-07;
1012 spectrumValue_txpowdB30nrb25run1earfcn500[12] = 0.000000000000e+00;
1013 spectrumValue_txpowdB30nrb25run1earfcn500[13] = 2.222222222222e-07;
1014 spectrumValue_txpowdB30nrb25run1earfcn500[14] = 2.222222222222e-07;
1015 spectrumValue_txpowdB30nrb25run1earfcn500[15] = 2.222222222222e-07;
1016 spectrumValue_txpowdB30nrb25run1earfcn500[16] = 2.222222222222e-07;
1017 spectrumValue_txpowdB30nrb25run1earfcn500[17] = 0.000000000000e+00;
1018 spectrumValue_txpowdB30nrb25run1earfcn500[18] = 2.222222222222e-07;
1019 spectrumValue_txpowdB30nrb25run1earfcn500[19] = 0.000000000000e+00;
1020 spectrumValue_txpowdB30nrb25run1earfcn500[20] = 0.000000000000e+00;
1021 spectrumValue_txpowdB30nrb25run1earfcn500[21] = 0.000000000000e+00;
1022 spectrumValue_txpowdB30nrb25run1earfcn500[22] = 0.000000000000e+00;
1023 spectrumValue_txpowdB30nrb25run1earfcn500[23] = 0.000000000000e+00;
1024 spectrumValue_txpowdB30nrb25run1earfcn500[24] = 2.222222222222e-07;
1025 AddTestCase(new LteTxPsdTestCase("txpowdB30nrb25run1earfcn500",
1026 500,
1027 25,
1028 30.000000,
1029 activeRbs_txpowdB30nrb25run1earfcn500,
1030 spectrumValue_txpowdB30nrb25run1earfcn500),
1031 TestCase::Duration::QUICK);
1032
1033 std::vector<int> activeRbs_txpowdB10nrb100run1earfcn500(60);
1034 activeRbs_txpowdB10nrb100run1earfcn500[0] = 0.000000000000e+00;
1035 activeRbs_txpowdB10nrb100run1earfcn500[1] = 1.000000000000e+00;
1036 activeRbs_txpowdB10nrb100run1earfcn500[2] = 4.000000000000e+00;
1037 activeRbs_txpowdB10nrb100run1earfcn500[3] = 5.000000000000e+00;
1038 activeRbs_txpowdB10nrb100run1earfcn500[4] = 6.000000000000e+00;
1039 activeRbs_txpowdB10nrb100run1earfcn500[5] = 8.000000000000e+00;
1040 activeRbs_txpowdB10nrb100run1earfcn500[6] = 1.000000000000e+01;
1041 activeRbs_txpowdB10nrb100run1earfcn500[7] = 1.200000000000e+01;
1042 activeRbs_txpowdB10nrb100run1earfcn500[8] = 1.300000000000e+01;
1043 activeRbs_txpowdB10nrb100run1earfcn500[9] = 1.400000000000e+01;
1044 activeRbs_txpowdB10nrb100run1earfcn500[10] = 1.500000000000e+01;
1045 activeRbs_txpowdB10nrb100run1earfcn500[11] = 1.600000000000e+01;
1046 activeRbs_txpowdB10nrb100run1earfcn500[12] = 1.800000000000e+01;
1047 activeRbs_txpowdB10nrb100run1earfcn500[13] = 2.000000000000e+01;
1048 activeRbs_txpowdB10nrb100run1earfcn500[14] = 2.400000000000e+01;
1049 activeRbs_txpowdB10nrb100run1earfcn500[15] = 2.500000000000e+01;
1050 activeRbs_txpowdB10nrb100run1earfcn500[16] = 2.600000000000e+01;
1051 activeRbs_txpowdB10nrb100run1earfcn500[17] = 2.700000000000e+01;
1052 activeRbs_txpowdB10nrb100run1earfcn500[18] = 2.800000000000e+01;
1053 activeRbs_txpowdB10nrb100run1earfcn500[19] = 2.900000000000e+01;
1054 activeRbs_txpowdB10nrb100run1earfcn500[20] = 3.000000000000e+01;
1055 activeRbs_txpowdB10nrb100run1earfcn500[21] = 3.100000000000e+01;
1056 activeRbs_txpowdB10nrb100run1earfcn500[22] = 3.300000000000e+01;
1057 activeRbs_txpowdB10nrb100run1earfcn500[23] = 3.500000000000e+01;
1058 activeRbs_txpowdB10nrb100run1earfcn500[24] = 3.600000000000e+01;
1059 activeRbs_txpowdB10nrb100run1earfcn500[25] = 3.700000000000e+01;
1060 activeRbs_txpowdB10nrb100run1earfcn500[26] = 3.900000000000e+01;
1061 activeRbs_txpowdB10nrb100run1earfcn500[27] = 4.000000000000e+01;
1062 activeRbs_txpowdB10nrb100run1earfcn500[28] = 4.500000000000e+01;
1063 activeRbs_txpowdB10nrb100run1earfcn500[29] = 4.600000000000e+01;
1064 activeRbs_txpowdB10nrb100run1earfcn500[30] = 4.800000000000e+01;
1065 activeRbs_txpowdB10nrb100run1earfcn500[31] = 4.900000000000e+01;
1066 activeRbs_txpowdB10nrb100run1earfcn500[32] = 5.000000000000e+01;
1067 activeRbs_txpowdB10nrb100run1earfcn500[33] = 5.300000000000e+01;
1068 activeRbs_txpowdB10nrb100run1earfcn500[34] = 5.700000000000e+01;
1069 activeRbs_txpowdB10nrb100run1earfcn500[35] = 5.800000000000e+01;
1070 activeRbs_txpowdB10nrb100run1earfcn500[36] = 6.000000000000e+01;
1071 activeRbs_txpowdB10nrb100run1earfcn500[37] = 6.300000000000e+01;
1072 activeRbs_txpowdB10nrb100run1earfcn500[38] = 6.600000000000e+01;
1073 activeRbs_txpowdB10nrb100run1earfcn500[39] = 6.800000000000e+01;
1074 activeRbs_txpowdB10nrb100run1earfcn500[40] = 6.900000000000e+01;
1075 activeRbs_txpowdB10nrb100run1earfcn500[41] = 7.100000000000e+01;
1076 activeRbs_txpowdB10nrb100run1earfcn500[42] = 7.300000000000e+01;
1077 activeRbs_txpowdB10nrb100run1earfcn500[43] = 7.700000000000e+01;
1078 activeRbs_txpowdB10nrb100run1earfcn500[44] = 7.800000000000e+01;
1079 activeRbs_txpowdB10nrb100run1earfcn500[45] = 7.900000000000e+01;
1080 activeRbs_txpowdB10nrb100run1earfcn500[46] = 8.200000000000e+01;
1081 activeRbs_txpowdB10nrb100run1earfcn500[47] = 8.500000000000e+01;
1082 activeRbs_txpowdB10nrb100run1earfcn500[48] = 8.600000000000e+01;
1083 activeRbs_txpowdB10nrb100run1earfcn500[49] = 8.700000000000e+01;
1084 activeRbs_txpowdB10nrb100run1earfcn500[50] = 8.800000000000e+01;
1085 activeRbs_txpowdB10nrb100run1earfcn500[51] = 9.000000000000e+01;
1086 activeRbs_txpowdB10nrb100run1earfcn500[52] = 9.100000000000e+01;
1087 activeRbs_txpowdB10nrb100run1earfcn500[53] = 9.200000000000e+01;
1088 activeRbs_txpowdB10nrb100run1earfcn500[54] = 9.300000000000e+01;
1089 activeRbs_txpowdB10nrb100run1earfcn500[55] = 9.400000000000e+01;
1090 activeRbs_txpowdB10nrb100run1earfcn500[56] = 9.500000000000e+01;
1091 activeRbs_txpowdB10nrb100run1earfcn500[57] = 9.600000000000e+01;
1092 activeRbs_txpowdB10nrb100run1earfcn500[58] = 9.700000000000e+01;
1093 activeRbs_txpowdB10nrb100run1earfcn500[59] = 9.800000000000e+01;
1094 SpectrumValue spectrumValue_txpowdB10nrb100run1earfcn500(
1096 spectrumValue_txpowdB10nrb100run1earfcn500[0] = 5.555555555556e-10;
1097 spectrumValue_txpowdB10nrb100run1earfcn500[1] = 5.555555555556e-10;
1098 spectrumValue_txpowdB10nrb100run1earfcn500[2] = 0.000000000000e+00;
1099 spectrumValue_txpowdB10nrb100run1earfcn500[3] = 0.000000000000e+00;
1100 spectrumValue_txpowdB10nrb100run1earfcn500[4] = 5.555555555556e-10;
1101 spectrumValue_txpowdB10nrb100run1earfcn500[5] = 5.555555555556e-10;
1102 spectrumValue_txpowdB10nrb100run1earfcn500[6] = 5.555555555556e-10;
1103 spectrumValue_txpowdB10nrb100run1earfcn500[7] = 0.000000000000e+00;
1104 spectrumValue_txpowdB10nrb100run1earfcn500[8] = 5.555555555556e-10;
1105 spectrumValue_txpowdB10nrb100run1earfcn500[9] = 0.000000000000e+00;
1106 spectrumValue_txpowdB10nrb100run1earfcn500[10] = 5.555555555556e-10;
1107 spectrumValue_txpowdB10nrb100run1earfcn500[11] = 0.000000000000e+00;
1108 spectrumValue_txpowdB10nrb100run1earfcn500[12] = 5.555555555556e-10;
1109 spectrumValue_txpowdB10nrb100run1earfcn500[13] = 5.555555555556e-10;
1110 spectrumValue_txpowdB10nrb100run1earfcn500[14] = 5.555555555556e-10;
1111 spectrumValue_txpowdB10nrb100run1earfcn500[15] = 5.555555555556e-10;
1112 spectrumValue_txpowdB10nrb100run1earfcn500[16] = 5.555555555556e-10;
1113 spectrumValue_txpowdB10nrb100run1earfcn500[17] = 0.000000000000e+00;
1114 spectrumValue_txpowdB10nrb100run1earfcn500[18] = 5.555555555556e-10;
1115 spectrumValue_txpowdB10nrb100run1earfcn500[19] = 0.000000000000e+00;
1116 spectrumValue_txpowdB10nrb100run1earfcn500[20] = 5.555555555556e-10;
1117 spectrumValue_txpowdB10nrb100run1earfcn500[21] = 0.000000000000e+00;
1118 spectrumValue_txpowdB10nrb100run1earfcn500[22] = 0.000000000000e+00;
1119 spectrumValue_txpowdB10nrb100run1earfcn500[23] = 0.000000000000e+00;
1120 spectrumValue_txpowdB10nrb100run1earfcn500[24] = 5.555555555556e-10;
1121 spectrumValue_txpowdB10nrb100run1earfcn500[25] = 5.555555555556e-10;
1122 spectrumValue_txpowdB10nrb100run1earfcn500[26] = 5.555555555556e-10;
1123 spectrumValue_txpowdB10nrb100run1earfcn500[27] = 5.555555555556e-10;
1124 spectrumValue_txpowdB10nrb100run1earfcn500[28] = 5.555555555556e-10;
1125 spectrumValue_txpowdB10nrb100run1earfcn500[29] = 5.555555555556e-10;
1126 spectrumValue_txpowdB10nrb100run1earfcn500[30] = 5.555555555556e-10;
1127 spectrumValue_txpowdB10nrb100run1earfcn500[31] = 5.555555555556e-10;
1128 spectrumValue_txpowdB10nrb100run1earfcn500[32] = 0.000000000000e+00;
1129 spectrumValue_txpowdB10nrb100run1earfcn500[33] = 5.555555555556e-10;
1130 spectrumValue_txpowdB10nrb100run1earfcn500[34] = 0.000000000000e+00;
1131 spectrumValue_txpowdB10nrb100run1earfcn500[35] = 5.555555555556e-10;
1132 spectrumValue_txpowdB10nrb100run1earfcn500[36] = 5.555555555556e-10;
1133 spectrumValue_txpowdB10nrb100run1earfcn500[37] = 5.555555555556e-10;
1134 spectrumValue_txpowdB10nrb100run1earfcn500[38] = 0.000000000000e+00;
1135 spectrumValue_txpowdB10nrb100run1earfcn500[39] = 5.555555555556e-10;
1136 spectrumValue_txpowdB10nrb100run1earfcn500[40] = 5.555555555556e-10;
1137 spectrumValue_txpowdB10nrb100run1earfcn500[41] = 0.000000000000e+00;
1138 spectrumValue_txpowdB10nrb100run1earfcn500[42] = 0.000000000000e+00;
1139 spectrumValue_txpowdB10nrb100run1earfcn500[43] = 0.000000000000e+00;
1140 spectrumValue_txpowdB10nrb100run1earfcn500[44] = 0.000000000000e+00;
1141 spectrumValue_txpowdB10nrb100run1earfcn500[45] = 5.555555555556e-10;
1142 spectrumValue_txpowdB10nrb100run1earfcn500[46] = 5.555555555556e-10;
1143 spectrumValue_txpowdB10nrb100run1earfcn500[47] = 0.000000000000e+00;
1144 spectrumValue_txpowdB10nrb100run1earfcn500[48] = 5.555555555556e-10;
1145 spectrumValue_txpowdB10nrb100run1earfcn500[49] = 5.555555555556e-10;
1146 spectrumValue_txpowdB10nrb100run1earfcn500[50] = 5.555555555556e-10;
1147 spectrumValue_txpowdB10nrb100run1earfcn500[51] = 0.000000000000e+00;
1148 spectrumValue_txpowdB10nrb100run1earfcn500[52] = 0.000000000000e+00;
1149 spectrumValue_txpowdB10nrb100run1earfcn500[53] = 5.555555555556e-10;
1150 spectrumValue_txpowdB10nrb100run1earfcn500[54] = 0.000000000000e+00;
1151 spectrumValue_txpowdB10nrb100run1earfcn500[55] = 0.000000000000e+00;
1152 spectrumValue_txpowdB10nrb100run1earfcn500[56] = 0.000000000000e+00;
1153 spectrumValue_txpowdB10nrb100run1earfcn500[57] = 5.555555555556e-10;
1154 spectrumValue_txpowdB10nrb100run1earfcn500[58] = 5.555555555556e-10;
1155 spectrumValue_txpowdB10nrb100run1earfcn500[59] = 0.000000000000e+00;
1156 spectrumValue_txpowdB10nrb100run1earfcn500[60] = 5.555555555556e-10;
1157 spectrumValue_txpowdB10nrb100run1earfcn500[61] = 0.000000000000e+00;
1158 spectrumValue_txpowdB10nrb100run1earfcn500[62] = 0.000000000000e+00;
1159 spectrumValue_txpowdB10nrb100run1earfcn500[63] = 5.555555555556e-10;
1160 spectrumValue_txpowdB10nrb100run1earfcn500[64] = 0.000000000000e+00;
1161 spectrumValue_txpowdB10nrb100run1earfcn500[65] = 0.000000000000e+00;
1162 spectrumValue_txpowdB10nrb100run1earfcn500[66] = 5.555555555556e-10;
1163 spectrumValue_txpowdB10nrb100run1earfcn500[67] = 0.000000000000e+00;
1164 spectrumValue_txpowdB10nrb100run1earfcn500[68] = 5.555555555556e-10;
1165 spectrumValue_txpowdB10nrb100run1earfcn500[69] = 5.555555555556e-10;
1166 spectrumValue_txpowdB10nrb100run1earfcn500[70] = 0.000000000000e+00;
1167 spectrumValue_txpowdB10nrb100run1earfcn500[71] = 5.555555555556e-10;
1168 spectrumValue_txpowdB10nrb100run1earfcn500[72] = 0.000000000000e+00;
1169 spectrumValue_txpowdB10nrb100run1earfcn500[73] = 5.555555555556e-10;
1170 spectrumValue_txpowdB10nrb100run1earfcn500[74] = 0.000000000000e+00;
1171 spectrumValue_txpowdB10nrb100run1earfcn500[75] = 0.000000000000e+00;
1172 spectrumValue_txpowdB10nrb100run1earfcn500[76] = 0.000000000000e+00;
1173 spectrumValue_txpowdB10nrb100run1earfcn500[77] = 5.555555555556e-10;
1174 spectrumValue_txpowdB10nrb100run1earfcn500[78] = 5.555555555556e-10;
1175 spectrumValue_txpowdB10nrb100run1earfcn500[79] = 5.555555555556e-10;
1176 spectrumValue_txpowdB10nrb100run1earfcn500[80] = 0.000000000000e+00;
1177 spectrumValue_txpowdB10nrb100run1earfcn500[81] = 0.000000000000e+00;
1178 spectrumValue_txpowdB10nrb100run1earfcn500[82] = 5.555555555556e-10;
1179 spectrumValue_txpowdB10nrb100run1earfcn500[83] = 0.000000000000e+00;
1180 spectrumValue_txpowdB10nrb100run1earfcn500[84] = 0.000000000000e+00;
1181 spectrumValue_txpowdB10nrb100run1earfcn500[85] = 5.555555555556e-10;
1182 spectrumValue_txpowdB10nrb100run1earfcn500[86] = 5.555555555556e-10;
1183 spectrumValue_txpowdB10nrb100run1earfcn500[87] = 5.555555555556e-10;
1184 spectrumValue_txpowdB10nrb100run1earfcn500[88] = 5.555555555556e-10;
1185 spectrumValue_txpowdB10nrb100run1earfcn500[89] = 0.000000000000e+00;
1186 spectrumValue_txpowdB10nrb100run1earfcn500[90] = 5.555555555556e-10;
1187 spectrumValue_txpowdB10nrb100run1earfcn500[91] = 5.555555555556e-10;
1188 spectrumValue_txpowdB10nrb100run1earfcn500[92] = 5.555555555556e-10;
1189 spectrumValue_txpowdB10nrb100run1earfcn500[93] = 5.555555555556e-10;
1190 spectrumValue_txpowdB10nrb100run1earfcn500[94] = 5.555555555556e-10;
1191 spectrumValue_txpowdB10nrb100run1earfcn500[95] = 5.555555555556e-10;
1192 spectrumValue_txpowdB10nrb100run1earfcn500[96] = 5.555555555556e-10;
1193 spectrumValue_txpowdB10nrb100run1earfcn500[97] = 5.555555555556e-10;
1194 spectrumValue_txpowdB10nrb100run1earfcn500[98] = 5.555555555556e-10;
1195 spectrumValue_txpowdB10nrb100run1earfcn500[99] = 0.000000000000e+00;
1196 AddTestCase(new LteTxPsdTestCase("txpowdB10nrb100run1earfcn500",
1197 500,
1198 100,
1199 10.000000,
1200 activeRbs_txpowdB10nrb100run1earfcn500,
1201 spectrumValue_txpowdB10nrb100run1earfcn500),
1202 TestCase::Duration::QUICK);
1203
1204 std::vector<int> activeRbs_txpowdB30nrb100run1earfcn500(39);
1205 activeRbs_txpowdB30nrb100run1earfcn500[0] = 0.000000000000e+00;
1206 activeRbs_txpowdB30nrb100run1earfcn500[1] = 5.000000000000e+00;
1207 activeRbs_txpowdB30nrb100run1earfcn500[2] = 6.000000000000e+00;
1208 activeRbs_txpowdB30nrb100run1earfcn500[3] = 8.000000000000e+00;
1209 activeRbs_txpowdB30nrb100run1earfcn500[4] = 1.000000000000e+01;
1210 activeRbs_txpowdB30nrb100run1earfcn500[5] = 1.100000000000e+01;
1211 activeRbs_txpowdB30nrb100run1earfcn500[6] = 1.300000000000e+01;
1212 activeRbs_txpowdB30nrb100run1earfcn500[7] = 1.700000000000e+01;
1213 activeRbs_txpowdB30nrb100run1earfcn500[8] = 1.800000000000e+01;
1214 activeRbs_txpowdB30nrb100run1earfcn500[9] = 1.900000000000e+01;
1215 activeRbs_txpowdB30nrb100run1earfcn500[10] = 2.200000000000e+01;
1216 activeRbs_txpowdB30nrb100run1earfcn500[11] = 2.400000000000e+01;
1217 activeRbs_txpowdB30nrb100run1earfcn500[12] = 2.500000000000e+01;
1218 activeRbs_txpowdB30nrb100run1earfcn500[13] = 2.800000000000e+01;
1219 activeRbs_txpowdB30nrb100run1earfcn500[14] = 2.900000000000e+01;
1220 activeRbs_txpowdB30nrb100run1earfcn500[15] = 3.300000000000e+01;
1221 activeRbs_txpowdB30nrb100run1earfcn500[16] = 3.600000000000e+01;
1222 activeRbs_txpowdB30nrb100run1earfcn500[17] = 3.800000000000e+01;
1223 activeRbs_txpowdB30nrb100run1earfcn500[18] = 4.000000000000e+01;
1224 activeRbs_txpowdB30nrb100run1earfcn500[19] = 4.500000000000e+01;
1225 activeRbs_txpowdB30nrb100run1earfcn500[20] = 4.600000000000e+01;
1226 activeRbs_txpowdB30nrb100run1earfcn500[21] = 4.800000000000e+01;
1227 activeRbs_txpowdB30nrb100run1earfcn500[22] = 5.200000000000e+01;
1228 activeRbs_txpowdB30nrb100run1earfcn500[23] = 5.300000000000e+01;
1229 activeRbs_txpowdB30nrb100run1earfcn500[24] = 5.400000000000e+01;
1230 activeRbs_txpowdB30nrb100run1earfcn500[25] = 5.600000000000e+01;
1231 activeRbs_txpowdB30nrb100run1earfcn500[26] = 6.600000000000e+01;
1232 activeRbs_txpowdB30nrb100run1earfcn500[27] = 6.700000000000e+01;
1233 activeRbs_txpowdB30nrb100run1earfcn500[28] = 7.000000000000e+01;
1234 activeRbs_txpowdB30nrb100run1earfcn500[29] = 7.300000000000e+01;
1235 activeRbs_txpowdB30nrb100run1earfcn500[30] = 7.700000000000e+01;
1236 activeRbs_txpowdB30nrb100run1earfcn500[31] = 8.200000000000e+01;
1237 activeRbs_txpowdB30nrb100run1earfcn500[32] = 8.800000000000e+01;
1238 activeRbs_txpowdB30nrb100run1earfcn500[33] = 9.000000000000e+01;
1239 activeRbs_txpowdB30nrb100run1earfcn500[34] = 9.100000000000e+01;
1240 activeRbs_txpowdB30nrb100run1earfcn500[35] = 9.200000000000e+01;
1241 activeRbs_txpowdB30nrb100run1earfcn500[36] = 9.600000000000e+01;
1242 activeRbs_txpowdB30nrb100run1earfcn500[37] = 9.800000000000e+01;
1243 activeRbs_txpowdB30nrb100run1earfcn500[38] = 9.900000000000e+01;
1244 SpectrumValue spectrumValue_txpowdB30nrb100run1earfcn500(
1246 spectrumValue_txpowdB30nrb100run1earfcn500[0] = 5.555555555556e-08;
1247 spectrumValue_txpowdB30nrb100run1earfcn500[1] = 0.000000000000e+00;
1248 spectrumValue_txpowdB30nrb100run1earfcn500[2] = 0.000000000000e+00;
1249 spectrumValue_txpowdB30nrb100run1earfcn500[3] = 0.000000000000e+00;
1250 spectrumValue_txpowdB30nrb100run1earfcn500[4] = 0.000000000000e+00;
1251 spectrumValue_txpowdB30nrb100run1earfcn500[5] = 5.555555555556e-08;
1252 spectrumValue_txpowdB30nrb100run1earfcn500[6] = 5.555555555556e-08;
1253 spectrumValue_txpowdB30nrb100run1earfcn500[7] = 0.000000000000e+00;
1254 spectrumValue_txpowdB30nrb100run1earfcn500[8] = 5.555555555556e-08;
1255 spectrumValue_txpowdB30nrb100run1earfcn500[9] = 0.000000000000e+00;
1256 spectrumValue_txpowdB30nrb100run1earfcn500[10] = 5.555555555556e-08;
1257 spectrumValue_txpowdB30nrb100run1earfcn500[11] = 5.555555555556e-08;
1258 spectrumValue_txpowdB30nrb100run1earfcn500[12] = 0.000000000000e+00;
1259 spectrumValue_txpowdB30nrb100run1earfcn500[13] = 5.555555555556e-08;
1260 spectrumValue_txpowdB30nrb100run1earfcn500[14] = 0.000000000000e+00;
1261 spectrumValue_txpowdB30nrb100run1earfcn500[15] = 0.000000000000e+00;
1262 spectrumValue_txpowdB30nrb100run1earfcn500[16] = 0.000000000000e+00;
1263 spectrumValue_txpowdB30nrb100run1earfcn500[17] = 5.555555555556e-08;
1264 spectrumValue_txpowdB30nrb100run1earfcn500[18] = 5.555555555556e-08;
1265 spectrumValue_txpowdB30nrb100run1earfcn500[19] = 5.555555555556e-08;
1266 spectrumValue_txpowdB30nrb100run1earfcn500[20] = 0.000000000000e+00;
1267 spectrumValue_txpowdB30nrb100run1earfcn500[21] = 0.000000000000e+00;
1268 spectrumValue_txpowdB30nrb100run1earfcn500[22] = 5.555555555556e-08;
1269 spectrumValue_txpowdB30nrb100run1earfcn500[23] = 0.000000000000e+00;
1270 spectrumValue_txpowdB30nrb100run1earfcn500[24] = 5.555555555556e-08;
1271 spectrumValue_txpowdB30nrb100run1earfcn500[25] = 5.555555555556e-08;
1272 spectrumValue_txpowdB30nrb100run1earfcn500[26] = 0.000000000000e+00;
1273 spectrumValue_txpowdB30nrb100run1earfcn500[27] = 0.000000000000e+00;
1274 spectrumValue_txpowdB30nrb100run1earfcn500[28] = 5.555555555556e-08;
1275 spectrumValue_txpowdB30nrb100run1earfcn500[29] = 5.555555555556e-08;
1276 spectrumValue_txpowdB30nrb100run1earfcn500[30] = 0.000000000000e+00;
1277 spectrumValue_txpowdB30nrb100run1earfcn500[31] = 0.000000000000e+00;
1278 spectrumValue_txpowdB30nrb100run1earfcn500[32] = 0.000000000000e+00;
1279 spectrumValue_txpowdB30nrb100run1earfcn500[33] = 5.555555555556e-08;
1280 spectrumValue_txpowdB30nrb100run1earfcn500[34] = 0.000000000000e+00;
1281 spectrumValue_txpowdB30nrb100run1earfcn500[35] = 0.000000000000e+00;
1282 spectrumValue_txpowdB30nrb100run1earfcn500[36] = 5.555555555556e-08;
1283 spectrumValue_txpowdB30nrb100run1earfcn500[37] = 0.000000000000e+00;
1284 spectrumValue_txpowdB30nrb100run1earfcn500[38] = 5.555555555556e-08;
1285 spectrumValue_txpowdB30nrb100run1earfcn500[39] = 0.000000000000e+00;
1286 spectrumValue_txpowdB30nrb100run1earfcn500[40] = 5.555555555556e-08;
1287 spectrumValue_txpowdB30nrb100run1earfcn500[41] = 0.000000000000e+00;
1288 spectrumValue_txpowdB30nrb100run1earfcn500[42] = 0.000000000000e+00;
1289 spectrumValue_txpowdB30nrb100run1earfcn500[43] = 0.000000000000e+00;
1290 spectrumValue_txpowdB30nrb100run1earfcn500[44] = 0.000000000000e+00;
1291 spectrumValue_txpowdB30nrb100run1earfcn500[45] = 5.555555555556e-08;
1292 spectrumValue_txpowdB30nrb100run1earfcn500[46] = 5.555555555556e-08;
1293 spectrumValue_txpowdB30nrb100run1earfcn500[47] = 0.000000000000e+00;
1294 spectrumValue_txpowdB30nrb100run1earfcn500[48] = 5.555555555556e-08;
1295 spectrumValue_txpowdB30nrb100run1earfcn500[49] = 0.000000000000e+00;
1296 spectrumValue_txpowdB30nrb100run1earfcn500[50] = 0.000000000000e+00;
1297 spectrumValue_txpowdB30nrb100run1earfcn500[51] = 0.000000000000e+00;
1298 spectrumValue_txpowdB30nrb100run1earfcn500[52] = 5.555555555556e-08;
1299 spectrumValue_txpowdB30nrb100run1earfcn500[53] = 5.555555555556e-08;
1300 spectrumValue_txpowdB30nrb100run1earfcn500[54] = 5.555555555556e-08;
1301 spectrumValue_txpowdB30nrb100run1earfcn500[55] = 0.000000000000e+00;
1302 spectrumValue_txpowdB30nrb100run1earfcn500[56] = 5.555555555556e-08;
1303 spectrumValue_txpowdB30nrb100run1earfcn500[57] = 0.000000000000e+00;
1304 spectrumValue_txpowdB30nrb100run1earfcn500[58] = 0.000000000000e+00;
1305 spectrumValue_txpowdB30nrb100run1earfcn500[59] = 0.000000000000e+00;
1306 spectrumValue_txpowdB30nrb100run1earfcn500[60] = 0.000000000000e+00;
1307 spectrumValue_txpowdB30nrb100run1earfcn500[61] = 0.000000000000e+00;
1308 spectrumValue_txpowdB30nrb100run1earfcn500[62] = 0.000000000000e+00;
1309 spectrumValue_txpowdB30nrb100run1earfcn500[63] = 0.000000000000e+00;
1310 spectrumValue_txpowdB30nrb100run1earfcn500[64] = 0.000000000000e+00;
1311 spectrumValue_txpowdB30nrb100run1earfcn500[65] = 0.000000000000e+00;
1312 spectrumValue_txpowdB30nrb100run1earfcn500[66] = 5.555555555556e-08;
1313 spectrumValue_txpowdB30nrb100run1earfcn500[67] = 5.555555555556e-08;
1314 spectrumValue_txpowdB30nrb100run1earfcn500[68] = 0.000000000000e+00;
1315 spectrumValue_txpowdB30nrb100run1earfcn500[69] = 0.000000000000e+00;
1316 spectrumValue_txpowdB30nrb100run1earfcn500[70] = 5.555555555556e-08;
1317 spectrumValue_txpowdB30nrb100run1earfcn500[71] = 0.000000000000e+00;
1318 spectrumValue_txpowdB30nrb100run1earfcn500[72] = 0.000000000000e+00;
1319 spectrumValue_txpowdB30nrb100run1earfcn500[73] = 5.555555555556e-08;
1320 spectrumValue_txpowdB30nrb100run1earfcn500[74] = 0.000000000000e+00;
1321 spectrumValue_txpowdB30nrb100run1earfcn500[75] = 0.000000000000e+00;
1322 spectrumValue_txpowdB30nrb100run1earfcn500[76] = 0.000000000000e+00;
1323 spectrumValue_txpowdB30nrb100run1earfcn500[77] = 5.555555555556e-08;
1324 spectrumValue_txpowdB30nrb100run1earfcn500[78] = 0.000000000000e+00;
1325 spectrumValue_txpowdB30nrb100run1earfcn500[79] = 0.000000000000e+00;
1326 spectrumValue_txpowdB30nrb100run1earfcn500[80] = 0.000000000000e+00;
1327 spectrumValue_txpowdB30nrb100run1earfcn500[81] = 0.000000000000e+00;
1328 spectrumValue_txpowdB30nrb100run1earfcn500[82] = 5.555555555556e-08;
1329 spectrumValue_txpowdB30nrb100run1earfcn500[83] = 0.000000000000e+00;
1330 spectrumValue_txpowdB30nrb100run1earfcn500[84] = 0.000000000000e+00;
1331 spectrumValue_txpowdB30nrb100run1earfcn500[85] = 0.000000000000e+00;
1332 spectrumValue_txpowdB30nrb100run1earfcn500[86] = 0.000000000000e+00;
1333 spectrumValue_txpowdB30nrb100run1earfcn500[87] = 0.000000000000e+00;
1334 spectrumValue_txpowdB30nrb100run1earfcn500[88] = 5.555555555556e-08;
1335 spectrumValue_txpowdB30nrb100run1earfcn500[89] = 0.000000000000e+00;
1336 spectrumValue_txpowdB30nrb100run1earfcn500[90] = 5.555555555556e-08;
1337 spectrumValue_txpowdB30nrb100run1earfcn500[91] = 5.555555555556e-08;
1338 spectrumValue_txpowdB30nrb100run1earfcn500[92] = 5.555555555556e-08;
1339 spectrumValue_txpowdB30nrb100run1earfcn500[93] = 0.000000000000e+00;
1340 spectrumValue_txpowdB30nrb100run1earfcn500[94] = 0.000000000000e+00;
1341 spectrumValue_txpowdB30nrb100run1earfcn500[95] = 0.000000000000e+00;
1342 spectrumValue_txpowdB30nrb100run1earfcn500[96] = 5.555555555556e-08;
1343 spectrumValue_txpowdB30nrb100run1earfcn500[97] = 0.000000000000e+00;
1344 spectrumValue_txpowdB30nrb100run1earfcn500[98] = 5.555555555556e-08;
1345 spectrumValue_txpowdB30nrb100run1earfcn500[99] = 5.555555555556e-08;
1346 AddTestCase(new LteTxPsdTestCase("txpowdB30nrb100run1earfcn500",
1347 500,
1348 100,
1349 30.000000,
1350 activeRbs_txpowdB30nrb100run1earfcn500,
1351 spectrumValue_txpowdB30nrb100run1earfcn500),
1352 TestCase::Duration::QUICK);
1353
1354 std::vector<int> activeRbs_txpowdB10nrb6run2earfcn500(3);
1355 activeRbs_txpowdB10nrb6run2earfcn500[0] = 1.000000000000e+00;
1356 activeRbs_txpowdB10nrb6run2earfcn500[1] = 4.000000000000e+00;
1357 activeRbs_txpowdB10nrb6run2earfcn500[2] = 5.000000000000e+00;
1358 SpectrumValue spectrumValue_txpowdB10nrb6run2earfcn500(
1360 spectrumValue_txpowdB10nrb6run2earfcn500[0] = 0.000000000000e+00;
1361 spectrumValue_txpowdB10nrb6run2earfcn500[1] = 9.259259259259e-09;
1362 spectrumValue_txpowdB10nrb6run2earfcn500[2] = 0.000000000000e+00;
1363 spectrumValue_txpowdB10nrb6run2earfcn500[3] = 0.000000000000e+00;
1364 spectrumValue_txpowdB10nrb6run2earfcn500[4] = 9.259259259259e-09;
1365 spectrumValue_txpowdB10nrb6run2earfcn500[5] = 9.259259259259e-09;
1366 AddTestCase(new LteTxPsdTestCase("txpowdB10nrb6run2earfcn500",
1367 500,
1368 6,
1369 10.000000,
1370 activeRbs_txpowdB10nrb6run2earfcn500,
1371 spectrumValue_txpowdB10nrb6run2earfcn500),
1372 TestCase::Duration::QUICK);
1373
1374 std::vector<int> activeRbs_txpowdB30nrb6run2earfcn500(3);
1375 activeRbs_txpowdB30nrb6run2earfcn500[0] = 3.000000000000e+00;
1376 activeRbs_txpowdB30nrb6run2earfcn500[1] = 4.000000000000e+00;
1377 activeRbs_txpowdB30nrb6run2earfcn500[2] = 5.000000000000e+00;
1378 SpectrumValue spectrumValue_txpowdB30nrb6run2earfcn500(
1380 spectrumValue_txpowdB30nrb6run2earfcn500[0] = 0.000000000000e+00;
1381 spectrumValue_txpowdB30nrb6run2earfcn500[1] = 0.000000000000e+00;
1382 spectrumValue_txpowdB30nrb6run2earfcn500[2] = 0.000000000000e+00;
1383 spectrumValue_txpowdB30nrb6run2earfcn500[3] = 9.259259259259e-07;
1384 spectrumValue_txpowdB30nrb6run2earfcn500[4] = 9.259259259259e-07;
1385 spectrumValue_txpowdB30nrb6run2earfcn500[5] = 9.259259259259e-07;
1386 AddTestCase(new LteTxPsdTestCase("txpowdB30nrb6run2earfcn500",
1387 500,
1388 6,
1389 30.000000,
1390 activeRbs_txpowdB30nrb6run2earfcn500,
1391 spectrumValue_txpowdB30nrb6run2earfcn500),
1392 TestCase::Duration::QUICK);
1393
1394 std::vector<int> activeRbs_txpowdB10nrb25run2earfcn500(15);
1395 activeRbs_txpowdB10nrb25run2earfcn500[0] = 0.000000000000e+00;
1396 activeRbs_txpowdB10nrb25run2earfcn500[1] = 1.000000000000e+00;
1397 activeRbs_txpowdB10nrb25run2earfcn500[2] = 2.000000000000e+00;
1398 activeRbs_txpowdB10nrb25run2earfcn500[3] = 4.000000000000e+00;
1399 activeRbs_txpowdB10nrb25run2earfcn500[4] = 5.000000000000e+00;
1400 activeRbs_txpowdB10nrb25run2earfcn500[5] = 6.000000000000e+00;
1401 activeRbs_txpowdB10nrb25run2earfcn500[6] = 8.000000000000e+00;
1402 activeRbs_txpowdB10nrb25run2earfcn500[7] = 9.000000000000e+00;
1403 activeRbs_txpowdB10nrb25run2earfcn500[8] = 1.100000000000e+01;
1404 activeRbs_txpowdB10nrb25run2earfcn500[9] = 1.200000000000e+01;
1405 activeRbs_txpowdB10nrb25run2earfcn500[10] = 1.400000000000e+01;
1406 activeRbs_txpowdB10nrb25run2earfcn500[11] = 1.600000000000e+01;
1407 activeRbs_txpowdB10nrb25run2earfcn500[12] = 1.800000000000e+01;
1408 activeRbs_txpowdB10nrb25run2earfcn500[13] = 1.900000000000e+01;
1409 activeRbs_txpowdB10nrb25run2earfcn500[14] = 2.400000000000e+01;
1410 SpectrumValue spectrumValue_txpowdB10nrb25run2earfcn500(
1412 spectrumValue_txpowdB10nrb25run2earfcn500[0] = 2.222222222222e-09;
1413 spectrumValue_txpowdB10nrb25run2earfcn500[1] = 2.222222222222e-09;
1414 spectrumValue_txpowdB10nrb25run2earfcn500[2] = 2.222222222222e-09;
1415 spectrumValue_txpowdB10nrb25run2earfcn500[3] = 0.000000000000e+00;
1416 spectrumValue_txpowdB10nrb25run2earfcn500[4] = 2.222222222222e-09;
1417 spectrumValue_txpowdB10nrb25run2earfcn500[5] = 2.222222222222e-09;
1418 spectrumValue_txpowdB10nrb25run2earfcn500[6] = 2.222222222222e-09;
1419 spectrumValue_txpowdB10nrb25run2earfcn500[7] = 0.000000000000e+00;
1420 spectrumValue_txpowdB10nrb25run2earfcn500[8] = 2.222222222222e-09;
1421 spectrumValue_txpowdB10nrb25run2earfcn500[9] = 2.222222222222e-09;
1422 spectrumValue_txpowdB10nrb25run2earfcn500[10] = 0.000000000000e+00;
1423 spectrumValue_txpowdB10nrb25run2earfcn500[11] = 2.222222222222e-09;
1424 spectrumValue_txpowdB10nrb25run2earfcn500[12] = 2.222222222222e-09;
1425 spectrumValue_txpowdB10nrb25run2earfcn500[13] = 0.000000000000e+00;
1426 spectrumValue_txpowdB10nrb25run2earfcn500[14] = 2.222222222222e-09;
1427 spectrumValue_txpowdB10nrb25run2earfcn500[15] = 0.000000000000e+00;
1428 spectrumValue_txpowdB10nrb25run2earfcn500[16] = 2.222222222222e-09;
1429 spectrumValue_txpowdB10nrb25run2earfcn500[17] = 0.000000000000e+00;
1430 spectrumValue_txpowdB10nrb25run2earfcn500[18] = 2.222222222222e-09;
1431 spectrumValue_txpowdB10nrb25run2earfcn500[19] = 2.222222222222e-09;
1432 spectrumValue_txpowdB10nrb25run2earfcn500[20] = 0.000000000000e+00;
1433 spectrumValue_txpowdB10nrb25run2earfcn500[21] = 0.000000000000e+00;
1434 spectrumValue_txpowdB10nrb25run2earfcn500[22] = 0.000000000000e+00;
1435 spectrumValue_txpowdB10nrb25run2earfcn500[23] = 0.000000000000e+00;
1436 spectrumValue_txpowdB10nrb25run2earfcn500[24] = 2.222222222222e-09;
1437 AddTestCase(new LteTxPsdTestCase("txpowdB10nrb25run2earfcn500",
1438 500,
1439 25,
1440 10.000000,
1441 activeRbs_txpowdB10nrb25run2earfcn500,
1442 spectrumValue_txpowdB10nrb25run2earfcn500),
1443 TestCase::Duration::QUICK);
1444
1445 std::vector<int> activeRbs_txpowdB30nrb25run2earfcn500(13);
1446 activeRbs_txpowdB30nrb25run2earfcn500[0] = 0.000000000000e+00;
1447 activeRbs_txpowdB30nrb25run2earfcn500[1] = 1.000000000000e+00;
1448 activeRbs_txpowdB30nrb25run2earfcn500[2] = 2.000000000000e+00;
1449 activeRbs_txpowdB30nrb25run2earfcn500[3] = 5.000000000000e+00;
1450 activeRbs_txpowdB30nrb25run2earfcn500[4] = 6.000000000000e+00;
1451 activeRbs_txpowdB30nrb25run2earfcn500[5] = 8.000000000000e+00;
1452 activeRbs_txpowdB30nrb25run2earfcn500[6] = 1.000000000000e+01;
1453 activeRbs_txpowdB30nrb25run2earfcn500[7] = 1.200000000000e+01;
1454 activeRbs_txpowdB30nrb25run2earfcn500[8] = 1.300000000000e+01;
1455 activeRbs_txpowdB30nrb25run2earfcn500[9] = 1.600000000000e+01;
1456 activeRbs_txpowdB30nrb25run2earfcn500[10] = 1.900000000000e+01;
1457 activeRbs_txpowdB30nrb25run2earfcn500[11] = 2.300000000000e+01;
1458 activeRbs_txpowdB30nrb25run2earfcn500[12] = 2.400000000000e+01;
1459 SpectrumValue spectrumValue_txpowdB30nrb25run2earfcn500(
1461 spectrumValue_txpowdB30nrb25run2earfcn500[0] = 2.222222222222e-07;
1462 spectrumValue_txpowdB30nrb25run2earfcn500[1] = 2.222222222222e-07;
1463 spectrumValue_txpowdB30nrb25run2earfcn500[2] = 2.222222222222e-07;
1464 spectrumValue_txpowdB30nrb25run2earfcn500[3] = 0.000000000000e+00;
1465 spectrumValue_txpowdB30nrb25run2earfcn500[4] = 0.000000000000e+00;
1466 spectrumValue_txpowdB30nrb25run2earfcn500[5] = 2.222222222222e-07;
1467 spectrumValue_txpowdB30nrb25run2earfcn500[6] = 2.222222222222e-07;
1468 spectrumValue_txpowdB30nrb25run2earfcn500[7] = 0.000000000000e+00;
1469 spectrumValue_txpowdB30nrb25run2earfcn500[8] = 2.222222222222e-07;
1470 spectrumValue_txpowdB30nrb25run2earfcn500[9] = 0.000000000000e+00;
1471 spectrumValue_txpowdB30nrb25run2earfcn500[10] = 2.222222222222e-07;
1472 spectrumValue_txpowdB30nrb25run2earfcn500[11] = 0.000000000000e+00;
1473 spectrumValue_txpowdB30nrb25run2earfcn500[12] = 2.222222222222e-07;
1474 spectrumValue_txpowdB30nrb25run2earfcn500[13] = 2.222222222222e-07;
1475 spectrumValue_txpowdB30nrb25run2earfcn500[14] = 0.000000000000e+00;
1476 spectrumValue_txpowdB30nrb25run2earfcn500[15] = 0.000000000000e+00;
1477 spectrumValue_txpowdB30nrb25run2earfcn500[16] = 2.222222222222e-07;
1478 spectrumValue_txpowdB30nrb25run2earfcn500[17] = 0.000000000000e+00;
1479 spectrumValue_txpowdB30nrb25run2earfcn500[18] = 0.000000000000e+00;
1480 spectrumValue_txpowdB30nrb25run2earfcn500[19] = 2.222222222222e-07;
1481 spectrumValue_txpowdB30nrb25run2earfcn500[20] = 0.000000000000e+00;
1482 spectrumValue_txpowdB30nrb25run2earfcn500[21] = 0.000000000000e+00;
1483 spectrumValue_txpowdB30nrb25run2earfcn500[22] = 0.000000000000e+00;
1484 spectrumValue_txpowdB30nrb25run2earfcn500[23] = 2.222222222222e-07;
1485 spectrumValue_txpowdB30nrb25run2earfcn500[24] = 2.222222222222e-07;
1486 AddTestCase(new LteTxPsdTestCase("txpowdB30nrb25run2earfcn500",
1487 500,
1488 25,
1489 30.000000,
1490 activeRbs_txpowdB30nrb25run2earfcn500,
1491 spectrumValue_txpowdB30nrb25run2earfcn500),
1492 TestCase::Duration::QUICK);
1493
1494 std::vector<int> activeRbs_txpowdB10nrb100run2earfcn500(48);
1495 activeRbs_txpowdB10nrb100run2earfcn500[0] = 2.000000000000e+00;
1496 activeRbs_txpowdB10nrb100run2earfcn500[1] = 4.000000000000e+00;
1497 activeRbs_txpowdB10nrb100run2earfcn500[2] = 8.000000000000e+00;
1498 activeRbs_txpowdB10nrb100run2earfcn500[3] = 9.000000000000e+00;
1499 activeRbs_txpowdB10nrb100run2earfcn500[4] = 1.000000000000e+01;
1500 activeRbs_txpowdB10nrb100run2earfcn500[5] = 1.100000000000e+01;
1501 activeRbs_txpowdB10nrb100run2earfcn500[6] = 1.300000000000e+01;
1502 activeRbs_txpowdB10nrb100run2earfcn500[7] = 1.400000000000e+01;
1503 activeRbs_txpowdB10nrb100run2earfcn500[8] = 1.800000000000e+01;
1504 activeRbs_txpowdB10nrb100run2earfcn500[9] = 1.900000000000e+01;
1505 activeRbs_txpowdB10nrb100run2earfcn500[10] = 2.100000000000e+01;
1506 activeRbs_txpowdB10nrb100run2earfcn500[11] = 2.200000000000e+01;
1507 activeRbs_txpowdB10nrb100run2earfcn500[12] = 2.500000000000e+01;
1508 activeRbs_txpowdB10nrb100run2earfcn500[13] = 2.900000000000e+01;
1509 activeRbs_txpowdB10nrb100run2earfcn500[14] = 3.200000000000e+01;
1510 activeRbs_txpowdB10nrb100run2earfcn500[15] = 3.700000000000e+01;
1511 activeRbs_txpowdB10nrb100run2earfcn500[16] = 3.900000000000e+01;
1512 activeRbs_txpowdB10nrb100run2earfcn500[17] = 4.000000000000e+01;
1513 activeRbs_txpowdB10nrb100run2earfcn500[18] = 4.100000000000e+01;
1514 activeRbs_txpowdB10nrb100run2earfcn500[19] = 4.300000000000e+01;
1515 activeRbs_txpowdB10nrb100run2earfcn500[20] = 4.600000000000e+01;
1516 activeRbs_txpowdB10nrb100run2earfcn500[21] = 4.800000000000e+01;
1517 activeRbs_txpowdB10nrb100run2earfcn500[22] = 5.100000000000e+01;
1518 activeRbs_txpowdB10nrb100run2earfcn500[23] = 5.300000000000e+01;
1519 activeRbs_txpowdB10nrb100run2earfcn500[24] = 5.400000000000e+01;
1520 activeRbs_txpowdB10nrb100run2earfcn500[25] = 5.500000000000e+01;
1521 activeRbs_txpowdB10nrb100run2earfcn500[26] = 5.700000000000e+01;
1522 activeRbs_txpowdB10nrb100run2earfcn500[27] = 5.900000000000e+01;
1523 activeRbs_txpowdB10nrb100run2earfcn500[28] = 6.000000000000e+01;
1524 activeRbs_txpowdB10nrb100run2earfcn500[29] = 6.100000000000e+01;
1525 activeRbs_txpowdB10nrb100run2earfcn500[30] = 6.300000000000e+01;
1526 activeRbs_txpowdB10nrb100run2earfcn500[31] = 6.500000000000e+01;
1527 activeRbs_txpowdB10nrb100run2earfcn500[32] = 6.600000000000e+01;
1528 activeRbs_txpowdB10nrb100run2earfcn500[33] = 6.800000000000e+01;
1529 activeRbs_txpowdB10nrb100run2earfcn500[34] = 7.000000000000e+01;
1530 activeRbs_txpowdB10nrb100run2earfcn500[35] = 7.200000000000e+01;
1531 activeRbs_txpowdB10nrb100run2earfcn500[36] = 7.300000000000e+01;
1532 activeRbs_txpowdB10nrb100run2earfcn500[37] = 7.600000000000e+01;
1533 activeRbs_txpowdB10nrb100run2earfcn500[38] = 7.800000000000e+01;
1534 activeRbs_txpowdB10nrb100run2earfcn500[39] = 8.000000000000e+01;
1535 activeRbs_txpowdB10nrb100run2earfcn500[40] = 8.100000000000e+01;
1536 activeRbs_txpowdB10nrb100run2earfcn500[41] = 8.300000000000e+01;
1537 activeRbs_txpowdB10nrb100run2earfcn500[42] = 8.400000000000e+01;
1538 activeRbs_txpowdB10nrb100run2earfcn500[43] = 8.600000000000e+01;
1539 activeRbs_txpowdB10nrb100run2earfcn500[44] = 8.700000000000e+01;
1540 activeRbs_txpowdB10nrb100run2earfcn500[45] = 9.100000000000e+01;
1541 activeRbs_txpowdB10nrb100run2earfcn500[46] = 9.200000000000e+01;
1542 activeRbs_txpowdB10nrb100run2earfcn500[47] = 9.700000000000e+01;
1543 SpectrumValue spectrumValue_txpowdB10nrb100run2earfcn500(
1545 spectrumValue_txpowdB10nrb100run2earfcn500[0] = 0.000000000000e+00;
1546 spectrumValue_txpowdB10nrb100run2earfcn500[1] = 0.000000000000e+00;
1547 spectrumValue_txpowdB10nrb100run2earfcn500[2] = 5.555555555556e-10;
1548 spectrumValue_txpowdB10nrb100run2earfcn500[3] = 0.000000000000e+00;
1549 spectrumValue_txpowdB10nrb100run2earfcn500[4] = 5.555555555556e-10;
1550 spectrumValue_txpowdB10nrb100run2earfcn500[5] = 0.000000000000e+00;
1551 spectrumValue_txpowdB10nrb100run2earfcn500[6] = 0.000000000000e+00;
1552 spectrumValue_txpowdB10nrb100run2earfcn500[7] = 0.000000000000e+00;
1553 spectrumValue_txpowdB10nrb100run2earfcn500[8] = 5.555555555556e-10;
1554 spectrumValue_txpowdB10nrb100run2earfcn500[9] = 5.555555555556e-10;
1555 spectrumValue_txpowdB10nrb100run2earfcn500[10] = 5.555555555556e-10;
1556 spectrumValue_txpowdB10nrb100run2earfcn500[11] = 5.555555555556e-10;
1557 spectrumValue_txpowdB10nrb100run2earfcn500[12] = 0.000000000000e+00;
1558 spectrumValue_txpowdB10nrb100run2earfcn500[13] = 5.555555555556e-10;
1559 spectrumValue_txpowdB10nrb100run2earfcn500[14] = 5.555555555556e-10;
1560 spectrumValue_txpowdB10nrb100run2earfcn500[15] = 0.000000000000e+00;
1561 spectrumValue_txpowdB10nrb100run2earfcn500[16] = 0.000000000000e+00;
1562 spectrumValue_txpowdB10nrb100run2earfcn500[17] = 0.000000000000e+00;
1563 spectrumValue_txpowdB10nrb100run2earfcn500[18] = 5.555555555556e-10;
1564 spectrumValue_txpowdB10nrb100run2earfcn500[19] = 5.555555555556e-10;
1565 spectrumValue_txpowdB10nrb100run2earfcn500[20] = 0.000000000000e+00;
1566 spectrumValue_txpowdB10nrb100run2earfcn500[21] = 5.555555555556e-10;
1567 spectrumValue_txpowdB10nrb100run2earfcn500[22] = 5.555555555556e-10;
1568 spectrumValue_txpowdB10nrb100run2earfcn500[23] = 0.000000000000e+00;
1569 spectrumValue_txpowdB10nrb100run2earfcn500[24] = 0.000000000000e+00;
1570 spectrumValue_txpowdB10nrb100run2earfcn500[25] = 5.555555555556e-10;
1571 spectrumValue_txpowdB10nrb100run2earfcn500[26] = 0.000000000000e+00;
1572 spectrumValue_txpowdB10nrb100run2earfcn500[27] = 0.000000000000e+00;
1573 spectrumValue_txpowdB10nrb100run2earfcn500[28] = 0.000000000000e+00;
1574 spectrumValue_txpowdB10nrb100run2earfcn500[29] = 5.555555555556e-10;
1575 spectrumValue_txpowdB10nrb100run2earfcn500[30] = 0.000000000000e+00;
1576 spectrumValue_txpowdB10nrb100run2earfcn500[31] = 0.000000000000e+00;
1577 spectrumValue_txpowdB10nrb100run2earfcn500[32] = 5.555555555556e-10;
1578 spectrumValue_txpowdB10nrb100run2earfcn500[33] = 0.000000000000e+00;
1579 spectrumValue_txpowdB10nrb100run2earfcn500[34] = 0.000000000000e+00;
1580 spectrumValue_txpowdB10nrb100run2earfcn500[35] = 0.000000000000e+00;
1581 spectrumValue_txpowdB10nrb100run2earfcn500[36] = 0.000000000000e+00;
1582 spectrumValue_txpowdB10nrb100run2earfcn500[37] = 5.555555555556e-10;
1583 spectrumValue_txpowdB10nrb100run2earfcn500[38] = 0.000000000000e+00;
1584 spectrumValue_txpowdB10nrb100run2earfcn500[39] = 5.555555555556e-10;
1585 spectrumValue_txpowdB10nrb100run2earfcn500[40] = 5.555555555556e-10;
1586 spectrumValue_txpowdB10nrb100run2earfcn500[41] = 5.555555555556e-10;
1587 spectrumValue_txpowdB10nrb100run2earfcn500[42] = 0.000000000000e+00;
1588 spectrumValue_txpowdB10nrb100run2earfcn500[43] = 5.555555555556e-10;
1589 spectrumValue_txpowdB10nrb100run2earfcn500[44] = 0.000000000000e+00;
1590 spectrumValue_txpowdB10nrb100run2earfcn500[45] = 0.000000000000e+00;
1591 spectrumValue_txpowdB10nrb100run2earfcn500[46] = 5.555555555556e-10;
1592 spectrumValue_txpowdB10nrb100run2earfcn500[47] = 0.000000000000e+00;
1593 spectrumValue_txpowdB10nrb100run2earfcn500[48] = 5.555555555556e-10;
1594 spectrumValue_txpowdB10nrb100run2earfcn500[49] = 0.000000000000e+00;
1595 spectrumValue_txpowdB10nrb100run2earfcn500[50] = 0.000000000000e+00;
1596 spectrumValue_txpowdB10nrb100run2earfcn500[51] = 5.555555555556e-10;
1597 spectrumValue_txpowdB10nrb100run2earfcn500[52] = 0.000000000000e+00;
1598 spectrumValue_txpowdB10nrb100run2earfcn500[53] = 5.555555555556e-10;
1599 spectrumValue_txpowdB10nrb100run2earfcn500[54] = 5.555555555556e-10;
1600 spectrumValue_txpowdB10nrb100run2earfcn500[55] = 5.555555555556e-10;
1601 spectrumValue_txpowdB10nrb100run2earfcn500[56] = 0.000000000000e+00;
1602 spectrumValue_txpowdB10nrb100run2earfcn500[57] = 5.555555555556e-10;
1603 spectrumValue_txpowdB10nrb100run2earfcn500[58] = 0.000000000000e+00;
1604 spectrumValue_txpowdB10nrb100run2earfcn500[59] = 5.555555555556e-10;
1605 spectrumValue_txpowdB10nrb100run2earfcn500[60] = 5.555555555556e-10;
1606 spectrumValue_txpowdB10nrb100run2earfcn500[61] = 5.555555555556e-10;
1607 spectrumValue_txpowdB10nrb100run2earfcn500[62] = 0.000000000000e+00;
1608 spectrumValue_txpowdB10nrb100run2earfcn500[63] = 5.555555555556e-10;
1609 spectrumValue_txpowdB10nrb100run2earfcn500[64] = 0.000000000000e+00;
1610 spectrumValue_txpowdB10nrb100run2earfcn500[65] = 5.555555555556e-10;
1611 spectrumValue_txpowdB10nrb100run2earfcn500[66] = 5.555555555556e-10;
1612 spectrumValue_txpowdB10nrb100run2earfcn500[67] = 0.000000000000e+00;
1613 spectrumValue_txpowdB10nrb100run2earfcn500[68] = 5.555555555556e-10;
1614 spectrumValue_txpowdB10nrb100run2earfcn500[69] = 0.000000000000e+00;
1615 spectrumValue_txpowdB10nrb100run2earfcn500[70] = 5.555555555556e-10;
1616 spectrumValue_txpowdB10nrb100run2earfcn500[71] = 0.000000000000e+00;
1617 spectrumValue_txpowdB10nrb100run2earfcn500[72] = 5.555555555556e-10;
1618 spectrumValue_txpowdB10nrb100run2earfcn500[73] = 5.555555555556e-10;
1619 spectrumValue_txpowdB10nrb100run2earfcn500[74] = 0.000000000000e+00;
1620 spectrumValue_txpowdB10nrb100run2earfcn500[75] = 0.000000000000e+00;
1621 spectrumValue_txpowdB10nrb100run2earfcn500[76] = 5.555555555556e-10;
1622 spectrumValue_txpowdB10nrb100run2earfcn500[77] = 0.000000000000e+00;
1623 spectrumValue_txpowdB10nrb100run2earfcn500[78] = 5.555555555556e-10;
1624 spectrumValue_txpowdB10nrb100run2earfcn500[79] = 0.000000000000e+00;
1625 spectrumValue_txpowdB10nrb100run2earfcn500[80] = 5.555555555556e-10;
1626 spectrumValue_txpowdB10nrb100run2earfcn500[81] = 5.555555555556e-10;
1627 spectrumValue_txpowdB10nrb100run2earfcn500[82] = 0.000000000000e+00;
1628 spectrumValue_txpowdB10nrb100run2earfcn500[83] = 5.555555555556e-10;
1629 spectrumValue_txpowdB10nrb100run2earfcn500[84] = 5.555555555556e-10;
1630 spectrumValue_txpowdB10nrb100run2earfcn500[85] = 0.000000000000e+00;
1631 spectrumValue_txpowdB10nrb100run2earfcn500[86] = 5.555555555556e-10;
1632 spectrumValue_txpowdB10nrb100run2earfcn500[87] = 5.555555555556e-10;
1633 spectrumValue_txpowdB10nrb100run2earfcn500[88] = 0.000000000000e+00;
1634 spectrumValue_txpowdB10nrb100run2earfcn500[89] = 0.000000000000e+00;
1635 spectrumValue_txpowdB10nrb100run2earfcn500[90] = 0.000000000000e+00;
1636 spectrumValue_txpowdB10nrb100run2earfcn500[91] = 5.555555555556e-10;
1637 spectrumValue_txpowdB10nrb100run2earfcn500[92] = 5.555555555556e-10;
1638 spectrumValue_txpowdB10nrb100run2earfcn500[93] = 0.000000000000e+00;
1639 spectrumValue_txpowdB10nrb100run2earfcn500[94] = 0.000000000000e+00;
1640 spectrumValue_txpowdB10nrb100run2earfcn500[95] = 0.000000000000e+00;
1641 spectrumValue_txpowdB10nrb100run2earfcn500[96] = 0.000000000000e+00;
1642 spectrumValue_txpowdB10nrb100run2earfcn500[97] = 5.555555555556e-10;
1643 spectrumValue_txpowdB10nrb100run2earfcn500[98] = 0.000000000000e+00;
1644 spectrumValue_txpowdB10nrb100run2earfcn500[99] = 0.000000000000e+00;
1645 AddTestCase(new LteTxPsdTestCase("txpowdB10nrb100run2earfcn500",
1646 500,
1647 100,
1648 10.000000,
1649 activeRbs_txpowdB10nrb100run2earfcn500,
1650 spectrumValue_txpowdB10nrb100run2earfcn500),
1651 TestCase::Duration::QUICK);
1652
1653 std::vector<int> activeRbs_txpowdB30nrb100run2earfcn500(52);
1654 activeRbs_txpowdB30nrb100run2earfcn500[0] = 0.000000000000e+00;
1655 activeRbs_txpowdB30nrb100run2earfcn500[1] = 2.000000000000e+00;
1656 activeRbs_txpowdB30nrb100run2earfcn500[2] = 3.000000000000e+00;
1657 activeRbs_txpowdB30nrb100run2earfcn500[3] = 4.000000000000e+00;
1658 activeRbs_txpowdB30nrb100run2earfcn500[4] = 7.000000000000e+00;
1659 activeRbs_txpowdB30nrb100run2earfcn500[5] = 8.000000000000e+00;
1660 activeRbs_txpowdB30nrb100run2earfcn500[6] = 9.000000000000e+00;
1661 activeRbs_txpowdB30nrb100run2earfcn500[7] = 1.300000000000e+01;
1662 activeRbs_txpowdB30nrb100run2earfcn500[8] = 1.400000000000e+01;
1663 activeRbs_txpowdB30nrb100run2earfcn500[9] = 1.900000000000e+01;
1664 activeRbs_txpowdB30nrb100run2earfcn500[10] = 2.000000000000e+01;
1665 activeRbs_txpowdB30nrb100run2earfcn500[11] = 2.100000000000e+01;
1666 activeRbs_txpowdB30nrb100run2earfcn500[12] = 2.300000000000e+01;
1667 activeRbs_txpowdB30nrb100run2earfcn500[13] = 2.500000000000e+01;
1668 activeRbs_txpowdB30nrb100run2earfcn500[14] = 2.700000000000e+01;
1669 activeRbs_txpowdB30nrb100run2earfcn500[15] = 2.800000000000e+01;
1670 activeRbs_txpowdB30nrb100run2earfcn500[16] = 3.100000000000e+01;
1671 activeRbs_txpowdB30nrb100run2earfcn500[17] = 3.200000000000e+01;
1672 activeRbs_txpowdB30nrb100run2earfcn500[18] = 3.600000000000e+01;
1673 activeRbs_txpowdB30nrb100run2earfcn500[19] = 3.800000000000e+01;
1674 activeRbs_txpowdB30nrb100run2earfcn500[20] = 3.900000000000e+01;
1675 activeRbs_txpowdB30nrb100run2earfcn500[21] = 4.000000000000e+01;
1676 activeRbs_txpowdB30nrb100run2earfcn500[22] = 4.300000000000e+01;
1677 activeRbs_txpowdB30nrb100run2earfcn500[23] = 4.600000000000e+01;
1678 activeRbs_txpowdB30nrb100run2earfcn500[24] = 5.100000000000e+01;
1679 activeRbs_txpowdB30nrb100run2earfcn500[25] = 5.200000000000e+01;
1680 activeRbs_txpowdB30nrb100run2earfcn500[26] = 5.300000000000e+01;
1681 activeRbs_txpowdB30nrb100run2earfcn500[27] = 5.400000000000e+01;
1682 activeRbs_txpowdB30nrb100run2earfcn500[28] = 5.500000000000e+01;
1683 activeRbs_txpowdB30nrb100run2earfcn500[29] = 5.800000000000e+01;
1684 activeRbs_txpowdB30nrb100run2earfcn500[30] = 5.900000000000e+01;
1685 activeRbs_txpowdB30nrb100run2earfcn500[31] = 6.200000000000e+01;
1686 activeRbs_txpowdB30nrb100run2earfcn500[32] = 6.600000000000e+01;
1687 activeRbs_txpowdB30nrb100run2earfcn500[33] = 6.700000000000e+01;
1688 activeRbs_txpowdB30nrb100run2earfcn500[34] = 6.800000000000e+01;
1689 activeRbs_txpowdB30nrb100run2earfcn500[35] = 7.000000000000e+01;
1690 activeRbs_txpowdB30nrb100run2earfcn500[36] = 7.100000000000e+01;
1691 activeRbs_txpowdB30nrb100run2earfcn500[37] = 7.200000000000e+01;
1692 activeRbs_txpowdB30nrb100run2earfcn500[38] = 7.300000000000e+01;
1693 activeRbs_txpowdB30nrb100run2earfcn500[39] = 7.400000000000e+01;
1694 activeRbs_txpowdB30nrb100run2earfcn500[40] = 7.600000000000e+01;
1695 activeRbs_txpowdB30nrb100run2earfcn500[41] = 7.800000000000e+01;
1696 activeRbs_txpowdB30nrb100run2earfcn500[42] = 8.200000000000e+01;
1697 activeRbs_txpowdB30nrb100run2earfcn500[43] = 8.300000000000e+01;
1698 activeRbs_txpowdB30nrb100run2earfcn500[44] = 8.500000000000e+01;
1699 activeRbs_txpowdB30nrb100run2earfcn500[45] = 8.900000000000e+01;
1700 activeRbs_txpowdB30nrb100run2earfcn500[46] = 9.000000000000e+01;
1701 activeRbs_txpowdB30nrb100run2earfcn500[47] = 9.100000000000e+01;
1702 activeRbs_txpowdB30nrb100run2earfcn500[48] = 9.400000000000e+01;
1703 activeRbs_txpowdB30nrb100run2earfcn500[49] = 9.500000000000e+01;
1704 activeRbs_txpowdB30nrb100run2earfcn500[50] = 9.800000000000e+01;
1705 activeRbs_txpowdB30nrb100run2earfcn500[51] = 9.900000000000e+01;
1706 SpectrumValue spectrumValue_txpowdB30nrb100run2earfcn500(
1708 spectrumValue_txpowdB30nrb100run2earfcn500[0] = 5.555555555556e-08;
1709 spectrumValue_txpowdB30nrb100run2earfcn500[1] = 0.000000000000e+00;
1710 spectrumValue_txpowdB30nrb100run2earfcn500[2] = 5.555555555556e-08;
1711 spectrumValue_txpowdB30nrb100run2earfcn500[3] = 5.555555555556e-08;
1712 spectrumValue_txpowdB30nrb100run2earfcn500[4] = 5.555555555556e-08;
1713 spectrumValue_txpowdB30nrb100run2earfcn500[5] = 0.000000000000e+00;
1714 spectrumValue_txpowdB30nrb100run2earfcn500[6] = 0.000000000000e+00;
1715 spectrumValue_txpowdB30nrb100run2earfcn500[7] = 5.555555555556e-08;
1716 spectrumValue_txpowdB30nrb100run2earfcn500[8] = 5.555555555556e-08;
1717 spectrumValue_txpowdB30nrb100run2earfcn500[9] = 5.555555555556e-08;
1718 spectrumValue_txpowdB30nrb100run2earfcn500[10] = 0.000000000000e+00;
1719 spectrumValue_txpowdB30nrb100run2earfcn500[11] = 0.000000000000e+00;
1720 spectrumValue_txpowdB30nrb100run2earfcn500[12] = 0.000000000000e+00;
1721 spectrumValue_txpowdB30nrb100run2earfcn500[13] = 5.555555555556e-08;
1722 spectrumValue_txpowdB30nrb100run2earfcn500[14] = 5.555555555556e-08;
1723 spectrumValue_txpowdB30nrb100run2earfcn500[15] = 0.000000000000e+00;
1724 spectrumValue_txpowdB30nrb100run2earfcn500[16] = 0.000000000000e+00;
1725 spectrumValue_txpowdB30nrb100run2earfcn500[17] = 0.000000000000e+00;
1726 spectrumValue_txpowdB30nrb100run2earfcn500[18] = 0.000000000000e+00;
1727 spectrumValue_txpowdB30nrb100run2earfcn500[19] = 5.555555555556e-08;
1728 spectrumValue_txpowdB30nrb100run2earfcn500[20] = 5.555555555556e-08;
1729 spectrumValue_txpowdB30nrb100run2earfcn500[21] = 5.555555555556e-08;
1730 spectrumValue_txpowdB30nrb100run2earfcn500[22] = 0.000000000000e+00;
1731 spectrumValue_txpowdB30nrb100run2earfcn500[23] = 5.555555555556e-08;
1732 spectrumValue_txpowdB30nrb100run2earfcn500[24] = 0.000000000000e+00;
1733 spectrumValue_txpowdB30nrb100run2earfcn500[25] = 5.555555555556e-08;
1734 spectrumValue_txpowdB30nrb100run2earfcn500[26] = 0.000000000000e+00;
1735 spectrumValue_txpowdB30nrb100run2earfcn500[27] = 5.555555555556e-08;
1736 spectrumValue_txpowdB30nrb100run2earfcn500[28] = 5.555555555556e-08;
1737 spectrumValue_txpowdB30nrb100run2earfcn500[29] = 0.000000000000e+00;
1738 spectrumValue_txpowdB30nrb100run2earfcn500[30] = 0.000000000000e+00;
1739 spectrumValue_txpowdB30nrb100run2earfcn500[31] = 5.555555555556e-08;
1740 spectrumValue_txpowdB30nrb100run2earfcn500[32] = 5.555555555556e-08;
1741 spectrumValue_txpowdB30nrb100run2earfcn500[33] = 0.000000000000e+00;
1742 spectrumValue_txpowdB30nrb100run2earfcn500[34] = 0.000000000000e+00;
1743 spectrumValue_txpowdB30nrb100run2earfcn500[35] = 0.000000000000e+00;
1744 spectrumValue_txpowdB30nrb100run2earfcn500[36] = 5.555555555556e-08;
1745 spectrumValue_txpowdB30nrb100run2earfcn500[37] = 0.000000000000e+00;
1746 spectrumValue_txpowdB30nrb100run2earfcn500[38] = 5.555555555556e-08;
1747 spectrumValue_txpowdB30nrb100run2earfcn500[39] = 5.555555555556e-08;
1748 spectrumValue_txpowdB30nrb100run2earfcn500[40] = 5.555555555556e-08;
1749 spectrumValue_txpowdB30nrb100run2earfcn500[41] = 0.000000000000e+00;
1750 spectrumValue_txpowdB30nrb100run2earfcn500[42] = 0.000000000000e+00;
1751 spectrumValue_txpowdB30nrb100run2earfcn500[43] = 5.555555555556e-08;
1752 spectrumValue_txpowdB30nrb100run2earfcn500[44] = 0.000000000000e+00;
1753 spectrumValue_txpowdB30nrb100run2earfcn500[45] = 0.000000000000e+00;
1754 spectrumValue_txpowdB30nrb100run2earfcn500[46] = 5.555555555556e-08;
1755 spectrumValue_txpowdB30nrb100run2earfcn500[47] = 0.000000000000e+00;
1756 spectrumValue_txpowdB30nrb100run2earfcn500[48] = 0.000000000000e+00;
1757 spectrumValue_txpowdB30nrb100run2earfcn500[49] = 0.000000000000e+00;
1758 spectrumValue_txpowdB30nrb100run2earfcn500[50] = 0.000000000000e+00;
1759 spectrumValue_txpowdB30nrb100run2earfcn500[51] = 5.555555555556e-08;
1760 spectrumValue_txpowdB30nrb100run2earfcn500[52] = 5.555555555556e-08;
1761 spectrumValue_txpowdB30nrb100run2earfcn500[53] = 5.555555555556e-08;
1762 spectrumValue_txpowdB30nrb100run2earfcn500[54] = 5.555555555556e-08;
1763 spectrumValue_txpowdB30nrb100run2earfcn500[55] = 5.555555555556e-08;
1764 spectrumValue_txpowdB30nrb100run2earfcn500[56] = 0.000000000000e+00;
1765 spectrumValue_txpowdB30nrb100run2earfcn500[57] = 0.000000000000e+00;
1766 spectrumValue_txpowdB30nrb100run2earfcn500[58] = 5.555555555556e-08;
1767 spectrumValue_txpowdB30nrb100run2earfcn500[59] = 5.555555555556e-08;
1768 spectrumValue_txpowdB30nrb100run2earfcn500[60] = 0.000000000000e+00;
1769 spectrumValue_txpowdB30nrb100run2earfcn500[61] = 0.000000000000e+00;
1770 spectrumValue_txpowdB30nrb100run2earfcn500[62] = 5.555555555556e-08;
1771 spectrumValue_txpowdB30nrb100run2earfcn500[63] = 0.000000000000e+00;
1772 spectrumValue_txpowdB30nrb100run2earfcn500[64] = 0.000000000000e+00;
1773 spectrumValue_txpowdB30nrb100run2earfcn500[65] = 0.000000000000e+00;
1774 spectrumValue_txpowdB30nrb100run2earfcn500[66] = 5.555555555556e-08;
1775 spectrumValue_txpowdB30nrb100run2earfcn500[67] = 5.555555555556e-08;
1776 spectrumValue_txpowdB30nrb100run2earfcn500[68] = 5.555555555556e-08;
1777 spectrumValue_txpowdB30nrb100run2earfcn500[69] = 0.000000000000e+00;
1778 spectrumValue_txpowdB30nrb100run2earfcn500[70] = 5.555555555556e-08;
1779 spectrumValue_txpowdB30nrb100run2earfcn500[71] = 5.555555555556e-08;
1780 spectrumValue_txpowdB30nrb100run2earfcn500[72] = 5.555555555556e-08;
1781 spectrumValue_txpowdB30nrb100run2earfcn500[73] = 5.555555555556e-08;
1782 spectrumValue_txpowdB30nrb100run2earfcn500[74] = 5.555555555556e-08;
1783 spectrumValue_txpowdB30nrb100run2earfcn500[75] = 0.000000000000e+00;
1784 spectrumValue_txpowdB30nrb100run2earfcn500[76] = 5.555555555556e-08;
1785 spectrumValue_txpowdB30nrb100run2earfcn500[77] = 0.000000000000e+00;
1786 spectrumValue_txpowdB30nrb100run2earfcn500[78] = 5.555555555556e-08;
1787 spectrumValue_txpowdB30nrb100run2earfcn500[79] = 0.000000000000e+00;
1788 spectrumValue_txpowdB30nrb100run2earfcn500[80] = 0.000000000000e+00;
1789 spectrumValue_txpowdB30nrb100run2earfcn500[81] = 0.000000000000e+00;
1790 spectrumValue_txpowdB30nrb100run2earfcn500[82] = 5.555555555556e-08;
1791 spectrumValue_txpowdB30nrb100run2earfcn500[83] = 5.555555555556e-08;
1792 spectrumValue_txpowdB30nrb100run2earfcn500[84] = 0.000000000000e+00;
1793 spectrumValue_txpowdB30nrb100run2earfcn500[85] = 5.555555555556e-08;
1794 spectrumValue_txpowdB30nrb100run2earfcn500[86] = 0.000000000000e+00;
1795 spectrumValue_txpowdB30nrb100run2earfcn500[87] = 0.000000000000e+00;
1796 spectrumValue_txpowdB30nrb100run2earfcn500[88] = 0.000000000000e+00;
1797 spectrumValue_txpowdB30nrb100run2earfcn500[89] = 5.555555555556e-08;
1798 spectrumValue_txpowdB30nrb100run2earfcn500[90] = 5.555555555556e-08;
1799 spectrumValue_txpowdB30nrb100run2earfcn500[91] = 5.555555555556e-08;
1800 spectrumValue_txpowdB30nrb100run2earfcn500[92] = 0.000000000000e+00;
1801 spectrumValue_txpowdB30nrb100run2earfcn500[93] = 0.000000000000e+00;
1802 spectrumValue_txpowdB30nrb100run2earfcn500[94] = 5.555555555556e-08;
1803 spectrumValue_txpowdB30nrb100run2earfcn500[95] = 5.555555555556e-08;
1804 spectrumValue_txpowdB30nrb100run2earfcn500[96] = 0.000000000000e+00;
1805 spectrumValue_txpowdB30nrb100run2earfcn500[97] = 0.000000000000e+00;
1806 spectrumValue_txpowdB30nrb100run2earfcn500[98] = 5.555555555556e-08;
1807 spectrumValue_txpowdB30nrb100run2earfcn500[99] = 5.555555555556e-08;
1808 AddTestCase(new LteTxPsdTestCase("txpowdB30nrb100run2earfcn500",
1809 500,
1810 100,
1811 30.000000,
1812 activeRbs_txpowdB30nrb100run2earfcn500,
1813 spectrumValue_txpowdB30nrb100run2earfcn500),
1814 TestCase::Duration::QUICK);
1815}
Test that the function for creation of LTE noise power spectral density is working properly.
void DoRun() override
Implementation to actually run this TestCase.
LteNoisePsdTestCase(const char *str, uint16_t earfcn, uint8_t bw, double noiseFigureDb, SpectrumValue &expected)
Constructor.
Ptr< SpectrumValue > m_expected
expected spectrum value
Ptr< SpectrumValue > m_actual
actual spectrum value
Test checks if lte spectrum model is generated properly.
Ptr< SpectrumModel > m_expected
expected spectrum model
LteSpectrumModelTestCase(const char *str, uint16_t earfcn, uint8_t bw, std::vector< double > fcs)
Constructor.
Ptr< SpectrumModel > m_actual
actual spectrum model
void DoRun() override
Implementation to actually run this TestCase.
Test suite for LteSpectrumValueHelper.
Test that the funtcion for the creation of the Lte transmission power spectral density is working as ...
Ptr< SpectrumValue > m_actual
actual spectrum value
Ptr< SpectrumValue > m_expected
expected spectrum value
void DoRun() override
Implementation to actually run this TestCase.
LteTxPsdTestCase(const char *str, uint16_t earfcn, uint8_t bw, double txPowerDbm, std::vector< int > activeRbs, SpectrumValue &expected)
Constructor.
This class defines all functions to create spectrum model for lte.
static Ptr< SpectrumModel > GetSpectrumModel(uint32_t earfcn, uint16_t bandwidth)
Smart pointer class similar to boost::intrusive_ptr.
Set of values corresponding to a given SpectrumModel.
encapsulates test code
Definition test.h:1050
void AddTestCase(TestCase *testCase, Duration duration=Duration::QUICK)
Add an individual child TestCase to this test suite.
Definition test.cc:292
A suite of tests to run.
Definition test.h:1267
Type
Type of test.
Definition test.h:1274
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition log.h:191
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_LOG_INFO(msg)
Use NS_LOG to output a message of level LOG_INFO.
Definition log.h:264
static LteSpectrumValueHelperTestSuite g_lteSpectrumValueHelperTestSuite
Static variable for test initialization.
Ptr< T > Create(Ts &&... args)
Create class instances by constructors with varying numbers of arguments and return them by Ptr.
Definition ptr.h:436
#define NS_TEST_ASSERT_MSG_SPECTRUM_MODEL_EQ_TOL(actual, expected, tol, msg)
Test if two SpectrumModel instances are equal within a given tolerance.
#define NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL(actual, expected, tol, msg)
Test if two SpectrumValue instances are equal within a given tolerance.
#define NS_TEST_ASSERT_MSG_EQ(actual, limit, msg)
Test that an actual and expected (limit) value are equal and report and abort if not.
Definition test.h:134
Every class exported by the ns3 library is enclosed in the ns3 namespace.
STL namespace.
Ptr< SpectrumValue > CreateNoisePowerSpectralDensity(double fcHz, double noiseFigureDb, double bwHz, double rbWidthHz)
Create the noise PSD for the.
Ptr< SpectrumValue > CreateTxPowerSpectralDensity(double fcHz, double pwrDbm, double bwHz, double rbWidthHz)
Create the PSD for the TX.