NetLogo banner

 Home
 Download
 Help
 Resources
 Extensions
 FAQ
 References
 Contact Us
 Donate

 Models:
 Library
 Community
 Modeling Commons

 User Manuals:
 Web
 Printable
 Chinese
 Czech
 Japanese

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

radar

by James Steiner (Submitted: 10/17/2003)

[screen shot]

Download radar
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".

(You can also run this model in your browser, but we don't recommend it; details here.)

WHAT IS IT?

This model is a demonstration of how RADAR works.

RADAR is an acronym for RAdio Detection And Ranging

RADAR works by measuring the time it takes for a directed radio pulse to bounce off a distant object and return to the source.

The return time is directly proportional to the distance of the object related to the speed of light. ( d = t/2c )

A real radar pulse travels at the speed of light. Our radar is not so fast, but still works pretty well.

Sonor works in a similar fashion, but uses sound waves instead of radio waves.

HOW TO USE IT

Click Setup.
Click Go.

CONTROLS

sweep-angle
How many degrees the antenna turns between pulses.
reciprocate?
Whether the antenna sweeps in a circle, or goes back-and-forth.
ufo-speed
How fast the ufos move
RF-visible?
Makes the radar waves visible to the naked eye
resolution
adjusts the fineness of the simulation.
In practical terms, higher resolution means
the wave takes more steps to traverse the sky.

THINGS TO TRY

Adjust the sweep-angle, ufo-speed, and resolution.

Note how these variables affect the success of radar at finding the UFOs.

Use the slow-down slider to slow down time. Now you can follow the radio waves as they propigate out, bounce back, and are received again.

EXTENDING THE MODEL

How about doppler radar?

NETLOGO FEATURES

To get the sweeping single line of the scope, a custom turtle shape of a circle with a line from the center is used.
Since patch resolution is not important, but large shapes are, the model uses few patches and a large patch size.

(back to the NetLogo User Community Models)