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