Note: This page is no longer being maintained and is kept for archival purposes only.
For current information see our main page.
Garden with Insight Kurtz-Fernhout Software
Developers of custom software and educational simulations.
Home ... News ... Products ... Download ... Order ... Support ... Consulting ... Company
Garden with Insight
Product area
Help System
Contents
Quick start
Tutorial
How-to
Models

Garden with Insight v1.0 Help: Weather next day functions: generate today's wind direction


This function generates a wind direction for the day. This is the direction from which the wind is blowing.

If the "simulated" option for wind direction is chosen: The wind direction is chosen from one of the sixteen wind directions using the proportion of wind from each direction (this month) as a probability distribution. What that means is: A number is randomly selected from a uniform distribution from zero to one. Dividing up the range from zero to one into a map of the probabilities of wind from each direction, the random number falls within one of the ranges, and so the wind is from that direction today. The diagram below shows how the random number is laid against the probabilities (but here we only show eight directions for clarity). Since many uniformly-distributed random numbers will cover the entire map, we end up with a distribution of wind directions over time similar to that in the data.

gif/00000242.gif

If the "always E" option for wind direction is chosen: The wind direction is from the East. If the "always W" option for wind direction is chosen: The wind direction is from the West (there is no "smoothed" option for wind direction). If the "unchanging" option for wind direction is chosen: The wind direction stays the same as it was yesterday.

EPIC Wind
Model contents

Home ... News ... Products ... Download ... Order ... Support ... Consulting ... Company
Updated: March 10, 1999. Questions/comments on site to webmaster@kurtz-fernhout.com.
Copyright © 1998, 1999 Paul D. Fernhout & Cynthia F. Kurtz.