I would like to compute what an altimeter would display given a true altitude and atmospheric conditions. Specifically:
Given:
- True altitude, in feet
- Outside air temperature, in degrees C
- Local altimeter setting, in inHg (e.g. from nearest metar)
- Kollsman setting, in inHg (which may or may not be set correctly to the nearest metar)
I would like to compute indicated altitude. If it simplifies things, assume I only care about altitudes below FL300.
I've tried applying the formula from here in reverse:
$$A_I = \dfrac{1000 \cdot A_T}{4 \cdot \Delta_{ISA}+1000}$$
but I'm not sure if this accurately represents how altimeters work or if it is meant to be an approximation. Also, it does not take into account the difference between Kollsman setting and local altimeter setting.
I suppose this question can be split into two separate parts:
- A pressure altimeter takes as input the ambient pressure and Kollsman setting and outputs an altitude. While this isn't done electronically (at least in the "steam gauge" type), what formula encapsulates what it is doing?
- Given true altitude, local altimeter setting, and ambient temperature, what will be the ambient pressure?