|
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.
Addition-
ally, thanks the aggregation technique described above, Node objects can
be associated with other objects, such mobility model, that can used to
define the position and movement certain Node.
Application class specifies the functionality for Node.
Channel abstraction the medium available the node, typically wire or
13
.
NetDevice represents network interface and enables Node objects communicate
with each other over given Channel.
Many existing protocol stacks NS-3 introduce separate Phy and Mac classes
to model the respective layers when interfacing NetDevice and Channel. Its main purpose there-
fore generating and replying traffic.
To achieve this, the derived classes Application may either create whole
packets and exchange them directly with the lower layer models, gradually
build packets including their headers using specific model for each layer.Fig. For example, certain Channel
model could implemented work both with Node objects that have their
position set via Mobility model, and with ones that not. general, this class used interface between
the network layer and the device-specific functions, the higher layer models
can switched and reused for different devices. The
choice depends the desired realism the simulation and design preference. Devices and applications can associated with
a Node object similar way the real world and Node keeps list of
pointers all the associated Application and NetDevice objects. The Channel and the NetDevice have
to compatible type.
They are all representened respective C++ classes and their meanings are:
Node represents node the network topology, or, more specifically, computer
or device the network.
Using aggregation enables the simulation stay flexible implementation
of certain model can check object given type aggregated its
Node and able handle different scenarios. This especially useful for
the Internet protocol suite.1: Diagram the basic blocks NS-3 network simulations: Node,
Application, Channel and NetDevice. 2