Simone,

You can place your antenna profile manifest file and your antenna
profiles anywhere you would like on your system.  I would recommend
against writing to /usr/share/emane that is a system location which
contains dtds and some sample XML. Typically we place our XML in a
directory structure that corresponds with the experiments we are performing.

All you need to do is set the 'antennaprofilemanifesturi' parameter
(user manual section 7.2.12) to the absolute file name of your manifest
file.

The contents of your manifest file should contain 'antennapatternuri'
attributes that should be set to the absolute file name of your antenna
patterns.

Any manifest, profile or blockage file that you find in
/usr/share/emane/antennaprofiles are there for illustrative purposes only.

You do not need to define an antenna profile for an omni.  You can
configure your omni NEM to use a fixed antenna gain using the
'antennagain' parameter (section 7.2.2), set the 'antennaprofileenable'
parameter to 'off', and set the 'antennaprofilemanifesturi' parameter to
the absolute file name of your manifest file:

NEM using Omni
==
 antennagain=<GAIN or 0>
 antennaprofileenable=off
 antennaprofilemanifesturi=/absolute/path/to/your/manifest/file.xml

The 'antennaprofilemanifesturi' is required since the omni NEM will be
receiving traffic from an NEM using an antenna profile.

The NEM using the directional antenna will set 'antennaprofileenable' to
'on', set 'antennaprofilemanifesturi' to the absolute file name of your
manifest file, set 'antennaprofileid' to the appropriate profile and
set the antenna pointing information using 'antennaazimuth' and
'antennaelevation':

NEM using Antenna Profile
==
 antennaprofileenable=on
 antennaprofilemanifesturi=/absolute/path/to/your/manifest/file.xml
 antennaprofileid=<PROFILE ID>
 antennaazimuth=<AZIMUTH DEGREES>
 antennaelevation=<ELEVATION DEGREES>

Antenna patterns are difficult to create unless you are familiar with
radiation patterns:

 https://en.wikipedia.org/wiki/Omnidirectional_antenna
 https://en.wikipedia.org/wiki/Radiation_pattern


-- 
Steven Galgano
Adjacent Link LLC
www.adjacentlink.com


On 06/06/2013 06:06 PM, smlabs wrote:
> Hello,
> 
> I understood the following steps.
> I added also some questions where is not clear.
> 
> 1) do I have to create a new folder in "/usr/share/emane" named "antenna
> profile" as specified in in Listing 7.1?
> I'm asking because I found in "/usr/share/emane/models/universal/xml"
> antenna patterns and profiles. So is not clear where I should store
> these information.
> 
> 2) I wrote the following antenna manifest:
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE profiles SYSTEM
> "file://usr/share/emane/dtd/universalphyantennaprofile.dtd
> <file:///usr/share/emane/dtd/universalphyantennaprofile.dtd>"> <profiles>
> <profile id="1"
> antennapatternuri="/usr/share/emane/antennaprofiles/antennapattern_1.xml">
> </profile> <profile id="2"
> antennapatternuri="/usr/share/emane/antennaprofiles/antennapattern_2.xml"
> blockagepatternuri="/usr/share/emane/antennaprofiles/blockagepattern_1.xml">
> </profile>
> <profile id="3"
> antennapatternuri="/usr/share/emane/antennaprofiles/antennapattern_1.xml" 
> blockagepatternuri="/usr/share/emane/antennaprofiles/blockagepattern_2.xml">
> <placement north="20" east="10" up="5"/> </profile>
> <profile id="4"
> antennapatternuri="/usr/share/emane/antennaprofiles/antennapattern_4.xml">
> </profile>
> <profile id="5"
> antennapatternuri="/usr/share/emane/antennaprofiles/antennapattern_5.xml">
> </profile>
> </profiles>
> 
> I added two profiles number 4 and number 5 WITHOUT blockage because I'm
> not interested to this option.
> 
> Where do I have to store the manifest?
> 
> 3) finally I do have to write the antenna patterns one for profile 4 and
> one for profile 5.
> In my case profile 4 is OMNI-directional antenna so could I copy and
> paste Listing 7.2?
> 
> The most important question is about how to write "antenna pattern" for
> directional antenna.
> Is there someone that could explain that file?
> In fact I saw that your repeat these "blocks":
> 
> <elevation min=’-90’ max=’-16’>
> 
> <bearing min=’0’ max=’359’> <gain value=’-200’/>
> 
> </bearing>
> </elevation>
> 
> My antenna has:
> 
> Frequency (MHz) : 2450
> 
> VSWR 1.5
> 
> Gain (dBi)  14.5
> 
> 3dB beamwidth (h)(°)  40
> 
> 3dB beamwidth (v) (°) 22
> 
> 
> Are these information enough?
> 
> Thanks in advance.
> 
> Simone
_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to