Failure to simulate ... episode artwork

EPISODE · Nov 18, 2023 · 6 MIN

Failure to simulate ...

from Foundations of Amateur Radio · host Onno VK6FLAB

Foundations of Amateur Radio During the week I started a new project. If you know me at all, this is not unusual. Having worked in the IT industry for nearly 40 years it's also not unusual that projects have a way of surprising you and this project was no different. Recently I've been talking about antennas, a topic close to the heart of many amateurs and one that garners a lot of opinion and in my experience, much less in the way of facts, so being a firm believer of facts, I set out to add some of those to the discussion. After having described that the environment is not often discussed in the context of antenna behaviour, coupled with the personal experience that it has by far the biggest influence, I set out to discover if I could use my computing skills to simulate this problem to build a picture that would speak a thousand words. Prompted by a friend who shared with me a link to an opinion that stated that dipole antennas didn't have 2.15 dBi gain, but in fact, apparently, had 8.5 dBi gain, I was energised to find out where this number came from. I figured I'd spin up some antenna modelling software, use a standard model of a dipole, then simulate it at various heights above the ground and see what I could learn. Any good journey starts with a single step, so I started with looking for a generic model of a dipole antenna. I've played in this space before, so I was familiar with the fact that most, but not all, antenna modelling tools use a piece of software called NEC2 to do the actual calculations. Its models are described using text files ending in the .NEC extension. This software goes back to punch card days, so the format for the NEC2 files is essentially a stack of punch cards, so much so that every line in the text file is called a card and any software that uses the underlying NEC2 tool describes it in that way. I won't bore you with the syntax, it's, let's put it this way. If you've been around computers for as long as I have, you're familiar with a tool called "sendmail", which is known to be user-friendly, just very particular with whom it makes friends. The NEC2 card format is much the same. It's not that surprising, and for added nostalgia, NEC2 was written in FORTRAN, originally in 1981 at the Lawrence Livermore Labs by Jerry Burke and Andrew Poggio. It was later released to the public. There's translations to C and C++, but they use the same notion of cards, so no magic progress there. I started learning the syntax, and eventually came across a text-book with an example of cards that describe a dipole. Mind you, there were plenty of disclaimers around how poorly the ground was simulated and wouldn't you know it, the file format uses meters as the dimension, rather than wavelengths, so as far as I can tell, you can't simulate a quarter wave antenna, you have to simulate one of a specific length, so much for using a standard model of a dipole. I found a tool that uses Python to issue NEC2 commands and as a surprise to nobody, it too uses cards. I used it to discover that for a particular type of ground, at some unknown height, the optimum length for a 10m WSPR dipole antenna is 5,225.87 millimetres long, apparently. You know it's true, it says so right there on the screen. I'm skipping over having to compile the software that was supposed to be a ready made Python library, but I digress. There was a tool, written in TCL, that visualised NEC2 output, last updated 18 or so years ago and I unsuccessfully tried to make it work. Then there were those who suggested to fire up some random Windows tool on my Linux box, but as far as I can tell, I'd have to do the height adjustments manually, not ideal if you want to visualise from say, ground to geostationary orbit, one millimetre at a time and output an image at every step. I searched the net for others who would surely have trodden this path long before I came along, only to discover that my search-fu is clearly broken, or any website with promising information has long ago been booted off the Internet, leaving "For Sale" signs on the domain name. I came across one file which simulated a dipole in free space. It had, to use the NEC2 terms, 11 cards. When I run that through "nec2c", it generates a 12 megabyte file with over 104-thousand lines of output. Only takes 650 milliseconds to generate. If only I could visualise it. I also came across a whole range of physics programs, which is not that surprising, since essentially antenna design is physics, but those tools require that I start learning a whole new way of building antennas, apparently from electrons, preferably whilst getting a degree in physics with a specialisation in computational electromagnetics. Then there was the Wolfram Alpha notebook model for a simple dipole, only 3,200 lines of code, so, you know, trivial to use. So, here's the thing. Has nobody in living memory simulated a dipole at more than three heights and documented the process? Am I really the first human on the planet to think of this? Oh, yes, I did find a project that simulated different lengths of dipoles, but I'll leave those for another day. And finally, I also found "xnecview", which does generate images, but it too is very particular whom it makes friends with and I've yet to discover if it can generate what I'm looking for. As for the 8.5 dBi, I'm still looking. My current best guess is that at some specific height a dipole has an ugly spike that has 8.5 dBi gain and that someone used that number without looking at the detail, but, who knows, there's plenty of opinion to go around. I'm Onno VK6FLAB

NOW PLAYING

Failure to simulate ...

0:00 6:17

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Ask A Spaceman Archives - 365 Days of Astronomy Ask A Spaceman Archives - 365 Days of Astronomy Podcasting Astronomy Every Day of the Year Eat to Live Jenna Fuhrman, Dr. Fuhrman Our health is our most precious gift and smart nutrition can change your life. Each month, join Dr. Fuhrman and his daughter, Jenna Fuhrman as they discuss important topics in the world of nutrition. Eat to Live will change the way you eat and think about food. French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? That Hoarder: Overcome Compulsive Hoarding That Hoarder Hoarding disorder is stigmatised and people who hoard feel vast amounts of shame. This podcast began life as an audio diary, an anonymous outlet for somebody with this weird condition. That Hoarder speaks about her experiences living with compulsive hoarding, she interviews therapists, academics, researchers, children of hoarders, professional organisers and influencers, and she shares insight and tips for others with the problem. Listened to by people who hoard as well as those who love them and those who work with them, Overcome Compulsive Hoarding with That Hoarder aims to shatter the stigma, share the truth and speak openly and honestly to improve lives.

Frequently Asked Questions

How long is this episode of Foundations of Amateur Radio?

This episode is 6 minutes long.

When was this Foundations of Amateur Radio episode published?

This episode was published on November 18, 2023.

What is this episode about?

Foundations of Amateur Radio During the week I started a new project. If you know me at all, this is not unusual. Having worked in the IT industry for nearly 40 years it's also not unusual that projects have a way of surprising you and this project...

Can I download this Foundations of Amateur Radio episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!