Faulty Ceiling Calculation
Bug Report
Description
Ceiling calculataion is not executed correctly due to several points:
- ROC calculation occasionally throws "NaN" that is not handled
- ICAO ref code decypherment is incorrect since the ref code uses roman numerals and can have more than 5 digits.
- Also the throw statement in this case is not catched by anything and leads to an uncommented exit of performance_assessment
- There is an old conversion factor ft->m in the console output statement of the ceiling checks
- Check if the ceiling checks are performed against the correct variables (service ceiling, max ceiling,...)
- Consider ceiling calculation iterating over the masses might be better to start from MTOM and reduce the A/C mass incrementally (MTOM->OME instead of OME->MTOM) since the next iteration starts from the ceiling calculated in in the previous iteration
- Consider a higher starting altitude than 0 (e.g. 500m) as the drag is too high for cruise mach number in very low heights.
Steps to Reproduce
- Don't
Expected Behavior
Ceiling height at about 200m
Environment
- OS: Win10
- Version/Branch: current develop
Additional Context
Edited by Philipp Hansmann