#--------------------------------------------------------------------------
#
# The @CYBER keyword is used to specify CyberApps commands.
#
#  "code"             - specifies the CyberApps command (see list below)
#  "name"             - specifies the first argument (some commands only)
#  "value"            - specifies the second argument (some commands only)
#
#  CA_LOAD      One argument only.  Loads the model specified by
#                           the argument  into memory.  Does not
#                           run the model.   may be a
#                           string constant or string variable.
#
#  CA_LOAD          'CyberEngineTestCIL1ds0nu0'
#  CA_LOAD           cgFlavorTop
#
#  The following three commands change the state of the currently
#  loaded model.  There are no arguments.
#
#  CA_RUN                   Puts the loaded model in running state.
#
#  CA_PAUSE                 Puts the loaded model in paused state.
#
#  CA_STOP                  Stops the currently loaded model
#                           and removes it from memory.
#
#  The following three commands causes parameter tuning of model.  Each
#  of the commands have two arguments.  The model must be in paused state
#  before parameter tuning can be done.
#
#  CA_PARAMETER  
#                           Causes parameter tuning of the specified model
#                            to the specified .
#                           Only scalar parameters can be tuned this way.
#                            must be specified as a string constant
#                           from the valid list appropriate to the model.
#                            may be specified as a real constant or
#                           real variable and must be in the units expected
#                           by the model which is almost always base SI units.
#                           NO UNITS CONVERSION IS DONE!
#
#  CA_PARAMETER     'VehMass'        36000[kg]
#  CA_PARAMETER     'VehMass'        36000
#  CA_PARAMETER     'VehMass'        cgTruckWeight
#
#  CA_COMPONENT  
#                           Causes parameter tuning of the specified model
#                            to the values specified in the
#                           cyber database file .
#                            must be specified as a string constant
#                           from the valid list appropriate to the model.
#                           Examples are 'engine', 'axle', and 'route'.
#                            may be specified as string constant
#                           or string variable and is the filename without its
#                           .cdb extention.  It must include the subdirectory
#                           shared or private underneath the standard cyber database
#                           location /specs/cyberapps/components//
#
#  CA_COMPONENT     'route'          'private/CumminsToCyberMetrix'
#  CA_COMPONENT     'route'          cgCMRouteConfig
#
#  CA_APPLICATION  
#                           Causes parameter tuning of the entire model of type
#                            to the values specified in the
#                           cyber database file .
#                            must be specified as a string constant
#                           and must correspond to the model loaded.
#                           Examples are 'truck', 'car', and 'engine_test'.
#                            may be specified as string constant
#                           or string variable and is the filename without its
#                           .cdb extention.  It must include the subdirectory
#                           shared or private underneath the standard cyber database
#                           location /specs/cyberapps/machine//
#
#  CA_APPLICATION   'truck'          'shared/Truck67'
#  CA_APPLICATION   'truck'          cgMyTruck

@CYBER
   #code             name            value
   CA_LOAD          'CyberEngineTestCIL1ds0nu0'
   CA_LOAD           cgFlavorTop

   CA_RUN

   CA_PAUSE

   CA_STOP

   CA_PARAMETER     'VehMass'        36000[kg]
   CA_PARAMETER     'VehMass'        cgTruckWeight

   CA_COMPONENT     'route'          'private/CumminsToCyberMetrix'
   CA_COMPONENT     'route'          cgCMRouteConfig

   CA_APPLICATION   'truck'          'shared/Truck67'
   CA_APPLICATION   'truck'          cgMyTruck