|
Kategorie: Diplomové, bakalářské práce |
Tento dokument chci!
Tato práce zkoumá vhodnost a požadavky návrhu simulací pro simulátor NS-3 pro případ bezdrátových sítí používaných v měřící infrastruktuře společnosti Kamstrup. V práci jepopsán simulátor NS-3 a je vytvořena základní implementace dvou protokolů. WirelessM-Bus jako příklad jednosměrného protokolu pro zařízení napájené z baterií. Simulace Wireless M-Bus je porovnána s daty naměřenými v reálném systému. NS-3 poskytuje flexibilní prostředí pro vývoj simulací různých síťových protokolů, včetně těch určených pro sítě inteligentních měřidel.
program genMeansDB.allConcentrators
WHERE SignalVariance!=0 AND SignalMean!=0 GROUP BaseNumber, Number;
Both crawllogs.cc does ex-
actly that loads file outpudb.sqlite and generates file outputdb_means.1 Measurements
The measurements were available set hourly SQLite datafiles for each the
concentrators.
39
.sqlite and can set the
source code. The columns this project used contained data
about: meter number, meter type, average received signal, average hit rate. They both used
the libsqlite [13] library work with the SQLite files.
Each the files contained table with row for every meter and repeater whose
signal was received during that hour.DESCRIPTION THE AVAILABLE DATA
B.6:
INSERT INTO allConcentrators
(BaseNumber, Ip, Number, Manufacture, Type,
SignalMean, SignalVariance, PacketHit, PacketHitRepeated)
SELECT BaseNumber, Ip, Number, Manufacture, Type,
avg(SignalMean), avg(SignalVariance)/count(SignalVariance),
avg(PacketHit), avg(PacketHitRepeated)
FROM orig.cc and accepts list the datasets as
arguments, the output database name outputdb.sqlite. The program can used using the following shell command search
for all datasets:
find location −iname −print0 xargs crawllogs
To increase the execution speed the simulation and other operations, was useful
to also create database with mean values only.
The program’s name crawllogs.
It was generated using the following SQL command, which represents the equa-
tion 3.cc can create their output databases, but
leave the existing data the database exists; most cases therefore necessary
to delete rename the existing database files before running them.cc and genMeansDB.
To make the measurements more convenient, small program was created in
order copy the contents the datafiles into one master database