LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Old August 21st 06, 01:24 AM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 56
Default 9 m Monopole Analysis

You might want to consider a scripting environment to build, run, and
summarise NEC runs.

Windows lacks a good scripting language for this type of application.
Fortunately there are others available, and at no charge. Two that I
have used are PERL and Python.

I prefer PERL mainly for historical reasons and the huge base of
packages to extend the PERL base, though Python is probably a better
designed language, and less likely to change radically (as PERL looks
likely to do with V6). Importantly, both natively support complex
number type. For instance, you can write in PERL:

#calculate Zo and gamma
my $a=$R+i*2*PI*$this-{f}*$L;
my $b=$G+i*2*PI*$this-{f}*$C;
$this-{zo}=($a/$b)**0.5;
$this-{gamma}=($a*$b)**0.5;

PERL is excellent for reading megabytes of NEC output and extracting
key figures for summarisation.

An example, I recently wanted to explore the relationship between
predicted beamwidth (in E and H planes separately) and gain for DL6WU
long boom Yagis. I built and ran literally hundreds of models with
pattern reporting at 0.1deg intervals, producing over 50MB of output.
Models were automatically generated from a PERL port of the DL6WU
design algorithms, and NEC runs of the generated models were
automated. Half power point was found by linear interpolation between
0.1deg points around the half power points. If I did that by hand, I
would be working for months, whereas a half hour of scripting produced
a solution that was more accurate and reusable.

Is there a place for Excel? Certainly, I usually create tab delimited
summary files with PERL scripts and drop them on Excel to the final
ad-hoc analysis and presentation. DPLOT is also a pretty neat tool for
graphical analysis and presentation. For example, the regression
analysis of the data from the study above
http://www.vk1od.net/dl6wu/new_pa2.gif was calculated and displayed
using DPLOT.

Worth the investment in learning PERL (or the like)!

http://www.perl.org/ (You need the Activestate PERL for Windows.)

http://www.python.org/

http://www.dlot.com/


Owen


Thanks for the info Owen, also the comments from Jonsey. The
scripting languages look very interesting. From your sample
code above it does look very logical and easy to use; not
to mention that it can handle complex numbers.

Regards,

Frank


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folded monopole dilemma The other John Smith Antenna 33 April 27th 04 02:00 AM
Folded monopole dilemma The other John Smith Antenna 15 April 23rd 04 07:20 PM
Virtual ground monopole HF Antenna Radiondistics Antenna 8 February 8th 04 03:29 AM
Virtual ground monopole HF Antenna Radiondistics Equipment 16 February 8th 04 03:29 AM
Virtual ground monopole HF Antenna Radiondistics Equipment 0 January 15th 04 02:01 AM


All times are GMT +1. The time now is 10:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017