Schematic overview of DAVEfunc

Shown below are schematic overviews of the various elements currently available in DAVEfunc. Each element is described in detail in appendix A. The following key is used to describe the elements and associated attributes.

	elementname : mandatory_attributes, [optional_attributes]
            [ choice_one_sub-element | choice_two_sub-element ]
	    (character data) implies Unicode text information

The DAVEfunc element has six possible sub-elements:

    DAVEfunc :

DAVEfunc sub-elements:


This mandatory element contains information about the origin and development of this model.


Each DAVEfunc model must contain at least one signal path (such as a constant output value). Each signal used within the model must be specified in a separate variableDef.

A signal can have only a single origin (an input block, a calculation, or a function output) but can be used (referenced) more than once as an input to one or more functions, signal calculations, and/or as a model output.

The variableDefs should appear in calculation order; that is, a variableDef should not appear before the definitions of variables upon which it is dependent. If a variable depends upon a function it can be assumed that dependence has been met, since functions are defined later in the DAVEfunc element.


A DAVEfunc model can contain zero, one or more breakpoint set definitions. These definitions can be shared among several gridded function tables. Breakpoint definitions can appear in any order.


A DAVEfunc model can contain zero, one, or more gridded nonlinear function table definitions. Each table must be used by at least one but can be used by more than one function definition if desired for efficiency. Alternatively, some or all functions in a model can specify their tables internally with an embedded griddedTableDef element.

A gridded function table contains dependent values, or data points, corresponding to the value of a function at the intersection of one or more breakpoint sets (one for each dimension of the table). The independent values (coordinates, or breakpoint sets) are not stored within the gridded table definition but are referenced by the parent function. This allows a function table to be supported by more than one set of breakpoint values (such as left and right aileron deflections).


A DAVEfunc model can contain zero, one, or more ungridded nonlinear function table definitions. Unlike a rectangularly-gridded table, an ungridded table specifies data points as individual sets of independent and dependent values. Each table must be used by at least one but can be used by more than one function definition if necessary for efficiency. Or all functions can retain their tables internally with a ungriddedTable element without sharing the table values with other functions.

Ungridded table values are specified as a single (unsorted) list of independent variable (input) values and associated dependent variable (output) values. While the list is not sorted, the order of the independent variable values is important and must match the order given in the using function. Thus, functions that share an ungridded table must have the same ordering of independent variables.

The method of interpolating the ungridded data is not specified.


A function ties together breakpoint sets (for gridded-table nonlinear functions), function values (either internally or by reference to table definitions), and the input- and output-variable signal definitions, as shown in figure 1. Functions also include provenance, or background history, of the function data such as wind tunnel test or other source information.

An example of each of these sub-elements is described further below. Complete descriptions of each element is given in detail in appendix A.

The fileHeader element contains information about the source of the data contained within the DAVEfunc major element, including the author, creation date, description, reference information, and a modification history.

    fileHeader : [name]
	author : name, org, [xns, email]
	    address? :	
	        (address character data)
	fileCreationDate : date
	fileVersion? : 
            (version identification character data)
	description? :
	    (description character data)
        reference* : refID, author, title, date, [accession, href]
        modificationRecord* : modID, [refID]
	    author : name, org, [xns, email]
		address? :
		    (address character data)
	    description? :
                (descriptive character data)
            extraDocRef? : refID

fileHeader sub-elements:


Name, organization, and optional XNS ID and mailing address of the author


Creation date of this file. See the "Additional DAVE-ML conventions" section later in this document for the recommended format.


A string that indicates the version of the document. No convention is specified for the format, but best practices would include an automated revision number from a configuration control process.


Optional but recommended text description: what does this DAVE-ML file represent?


A list of zero or more references with a document-unique ID (must begin with alpha character), author, title, date, and optional accession and URL of the reference.


An optional list of modifications with optional reference pointers, as well as author information and descriptions for each modification record. These modifications are referred to by individual function tables and/or data points, using the AIAA modification letter convention. If more than one document is associated with the modification, multiple sub-element extraDocRefs may be used in place of the modificationRecord 's refID attribute.

Example�1.�An example of a fileHeader element

<!--                          =================                          --> 1
<!-- =========================   FILE HEADER   ========================= -->
<!--                          =================                          -->

  <fileHeader> 2
    <author name="Bruce Jackson" org="NASA Langley Research Center" 
	xns="@bjax" email="[email protected]">
      <address>MS 132 NASA, Hampton, VA 23681</address>
    <fileCreationDate date="2003-03-18"/> 3

    <fileVersion>$Revision: 1.24 $</fileVersion> 4

     Version 2.0 aero model for HL-20 lifting body, as described in
     TM-107580. This aero model was used for HL-20 approach and
     landing studies at NASA Langley Research Center during 1989-1995
     and for a follow-on study at NASA Johnson Space Center in 1994
     and NASA Ames Research Center in 2001. This DAVE-ML version
     created 2003 by Bruce Jackson to demonstrate DAVE-ML.

    <reference refID="REF01" 5
	author="Jackson, E. Bruce; Cruz, Christopher I. & and Ragsdale, W. A." 
	title="Real-Time Simulation Model of the HL-20 Lifting Body" 
        accession="NASA TM-107580"

    <reference refID="REF02" 
        author="Cleveland, William B. <[email protected]>" 
        title="Possible Typo in HL20_aero.xml" 

    <modificationRecord modID="A" refID="REF02"> 6
      <author name="Bruce Jackson" org="NASA Langley Research Center" 
	xns="@bjax" email="[email protected]">
	<address>MS 132 NASA, Hampton, VA 23681</address>
	Revision 1.24: Fixed typo in CLRUD0 function description which
	gave dependent signal name as "CLRUD1." Bill Cleveland of NASA
	Ames caught this in his xml2ftp script. Also made use of 1.5b2
	fileHeader fields and changed date formats to comply with


Use of comments makes these big files more readable by humans.


Start of fileHeader element.


See the note regarding date format convention below.


In this example, the revision number is automatically inserted by CVS or RCS, an automated versioning system.


All documents referenced by notation throughout the file should be described here, in reference elements.


All modifications made to the contents of this file should be given here for easy reference in separate modificationRecord elements.