Function-Based API for Gas Turbine Engine Performance Programs
The SAE Aerospace Standard document AS681 is the parent document of this SAE Aerospace Recommended Practice (ARP). AS681 applies to Engine programs written to conform to this document. This ARP specifies a set of functions and their expected behaviors that constitute a function based Application Program Interface (API) for gas turbine engine customer programs. The functions specified in this API are delivered by the Supplier as part of the Engine model.
This document defines generic language independent functions and specific appendices for implementations in C and Fortran.
The function based API specified in this ARP represents an alternative to the Fortran COMMON block structure, as specified in AS4191, historically used to communicate with an engine program. The customer may request emulation of the AS4191 interface if desired.
This document does not specify how the parameter names in the Engine program are constructed, how program capabilities might be expanded or altered, or how error messages are constructed. See AS6502 for overall guidelines for nomenclature. See ARP5571 for information on nomenclature, expanding program operational capabilities and generating error values and messages for object-oriented models.
Delphi Language support – Added Appendix C
Extended function suite by adding functions to support:
Model dynamic library usage: x4868modelLibOpen and x4868modelLibClose
Evaluation of expressions: x4868evalExpression[IFDS] and x4868evalExpression[IFD]1D