|
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.
2 Using the Model APIs
If the helpers are not sufficient not flexible enough, the users have the option to
create all the objects and topology themselves. The
helpers will later used create their respective objects with given attributes.2.refactor them the future, necessary.
More details about the implementation are described the sections for the
particular protocols modelled.2 Defining and Running Simulation
2. It
uses the MAC and physical layer helpers create new MAC and physical layer
models and connect them the Channel.2. All the procedures that the helpers
would do, such creating the Channel and the Node objects, binding NetDevice
15
.
2. An
example procedure outlined the Figure 2.
First, the desired number Node objects created, Channel the given type
is created and, our case, helper objects for the physical and the MAC layers. The application helper then creates a
desired Application for each Node.
Loading the data and using set the address and the position, outlined
in the diagram, specific for this project and has been developed for it, is
not usual part NS-3 simulations.
The NetDevice Helper uses the Channel, NodeContainer containing the Node
objects and both the helpers create new NetDevice object for each node.2: Diagram simulation setup procedure using helper functions.
2.1 Using the Helper Classes
The most straightforward way define simulation use the helper classes. 2.
Fig.2. The tools for loading the measured data are
described Appendix B