Giter VIP home page Giter VIP logo

descent-app's Introduction

✈️ Top of descent calculator

Calculate your descent

twitter badge linkedin badge dev.to badge medium badge


In my free time, I often flying with the X Plane 11 simulator and recently I thought to create the Top of descent (TOD) calculator, to calculate descent path. TOD is the point when the aircraft should start to descent to approach or any other target altitude. The calculator which I created is not strictly accurate, because it just depends on aviation rules of thumb and simply trigonometry. But it is sufficient for the initial decision.


Calculate your descent here: descent.now.sh

Have ideas on how to improve it or found a bug? Feel free to share it on the GitHub Issues.

sound code gif

How it works

TOD point is just a distance, how much nautical miles (or other units) take the descent procedure from altitude A to B.

The main parameters we should have are origin altitude, destination altitude, and glideslope:

By simple trigonometry formula, we can calculate the distance:

Usually, when aircraft descending, it not only decreases altitude but reduces speed too. By the rule of thumb, 1 nautical mile for a speed reduction of 10 knots is a good value to start with. So we include it to the distance calculation:

The same rule of thumb is used to add the wind impact on distance. 1 nautical mile for 10 knots of head or tailwind.

Now we know how much distance takes the aircraft descent. But we need to calculate how fast we should descent to maintain the glideslope profile. The descent speed is called vertical speed (feet per minute) and is calculated by the following formula:


If you have any questions, feel free to ask. Feedback and questions are very appreciated.

Follow on Twitter, GitHub, and let’s connect on LinkedIn.

Also check my personal website: epranka.com

descent-app's People

Contributors

dependabot[bot] avatar epranka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.