|
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.
A diagram their relations the Figure 2. [2] general, these representations are implemented classes, sets classes,
with given interface that are programmed mimic certain aspects the real
objects.
A short overview few other open-source network simulators the Ap-
pendix The NS-3 simulator was chosen the most mature one with potential
for stable future development. wired and wireless channel)
and therefore two types NetDevice have exist, will explained below. Both downcasting and getting the aggregated objects are done using
the NS-3 method GetObject().g. One
Node has NetDevice for both them, the two others are only connected one
of the types.The design NS-3 also allows run real-time while connected virtual
machines running real networking stacks. Topology Helpers are not included the diagram.
In addition the above, NS-3 defines concept Node, Application,
a Channel, NetDevice and Topology Helpers aid developing simulations and
implementing models [3]. That approach helps modularity because one model does
not need keep pointer other model’s object given type, instead just
keeps the callback reference.
2.
NS-3 models are abstract representations real-world objects, protocols, devices
etc.e. the simulation, broadly speaking, consists
of functions that schedule other functions run certain time.
12
. [1]
To achieve high level modularity and flexibility, callbacks, downcasting and
object aggregation are supported NS-3 and are widely used the models. Down-
casting allows retrieve pointer derived class using pointer its base
(parent) class. Aggregation two objects allows the programmer to
retrieve pointer one the objects using the pointer the other.1. The simula-
tion engine manages the proper order the execution and offers comprehensive
framework for managing the execution and defining new simulation scenarios using
the existing models. The choice which aspects simulate and how faithfully major
concern when creating and using models. important choose the right balance
between the desired accuracy and complexity and speed. The diagram shows example
where there are two types Channel used (e. Application can use any Channel depending the address and
its function.1 Simulation Model Design
The NS-3 architecture event-driven, i. Call-
backs allow functions passed parameters and are often used set up
inter-layer data exchange