Jump to content
Sign in to follow this  
taguilo

Formula for X-Wind component

Recommended Posts

Anyone have a formula to calculate an X-wind component on takeoff.I've been playing with this one, but it's not working out well. There is also the issue of magnetic variation, and I still need to work the GPS_MagVar into the formula.xwindcomponent = windspeed * sin ( windir - runwaydir ) ;//Where:runwaydir = runway * 10 ; // Example: Runway 34 = 340 windir = AMBIENT_WIND_DIRvar.var_value.n ; windspeed = AMBIENT_WIND_VELvar.var_value.n ;Cheers,Bryan

Share this post


Link to post
Share on other sites

Bryan,You have the right formula, but the direction values need to be in radians ,multiply by pi over 180 to get radians.xwindcomponent = windspeed * sin((winddir * pi/180)-(runwaydir * pi/180));RegardsErnie.


ea_avsim_sig.jpg

Share this post


Link to post
Share on other sites

Hi,You could just use the sim var AMBIENT WIND X, which gives the wind component on the X axis, in meters per second (for C gauges), or translable to knots units in XML.I believe positive values were for right wind and negative for left, or maybe otherwise, I'm not sure.Tom

Share this post


Link to post
Share on other sites

AMBIENT WIND X is described as being the wind velocity in the East/West orientation. This would be relative to the world and not the aircraft.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...