:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** error_model ----------- .. command:: error_model ... end_error_model :block: .. parsed-literal:: error_model_ ** ** ... Input for the error model ... end_error_model Overview ======== error_model can be used to create configured *error models* that can be referenced in the definition of a :ref:`Predefined_Sensor_Types`. ** is the name by which the user wishes to refer to the configured error model. ****** is one of the `Available Error Models`_: .. include:: error_model_types.txt Effective Use Of Error Models ============================= An error model definition may be embedded directly in the definition of a radar. For example, assume you have a file called 'ex_radar.txt':: sensor EX_RADAR WSF_RADAR_SENSOR transmitter ... transmitter commands ... end_transmitter receiver ... receiver commands ... end_receiver error_model ... error model commands ... end_error_model end_sensor The problem with this method is that one must modify the radar definition to change or eliminate the error model. In many production uses this is undesirable or infeasible. What would be more desirable is to provide a 'default' error model definition that can be overridden. The new 'ex_radar.txt' would now contain:: # Define the 'default' error model error_model EX_RADAR_ERROR ... error model commands ... end_error_model sensor EX_RADAR WSF_RADAR_SENSOR transmitter ... transmitter commands ... end_transmitter receiver ... receiver commands ... end_receiver error_model EX_RADAR_ERROR # References the error model symbolically end_sensor Then to override the error model:: #include ex_radar.txt # Provide a new definition that overrides the existing definition. # This example disables error calculations. error_model EX_RADAR_ERROR none end_error_model The radar model will use the **last** definition of EX_RADAR_ERROR when it finally creates instances of the radar in the simulation. Available Error Models ====================== .. _error_model.none: none **** A 'dummy' error model that is the equivalent of no error. :: error_model none end_error_model .. _error_model.standard_sensor_error: standard_sensor_error ********************* A 'standard' error model that uses the :command:`sensor_mode.azimuth_error_sigma`, :command:`sensor_mode.elevation_error_sigma`, :command:`sensor_mode.range_error_sigma` and :command:`sensor_mode.range_rate_error_sigma` to calculate the error values. :: error_model standard_sensor_error end_error_model .. _error_model.radar_sensor_error: radar_sensor_error ****************** A 'radar sensor' error model that uses the beam errors specified by the receiver/transmitter data, e.g. beamwidths and bandwidths or the :command:`WSF_RADAR_SENSOR.error_model_parameters` block overrides. .. warning:: Sensor type must be a :model:`WSF_RADAR_SENSOR`. :: error_model radar_sensor_error end_error_model .. _error_model.absolute_sensor_error: absolute_sensor_error ********************* An 'absolute' error model that defines a one standard deviation absolute position error measurement in two or three dimensions about the sensor detection target. :: error_model absolute_sensor_error end_error_model .. command:: 2d_position_error_sigma Specify a one standard deviation position error to be applied to the track location in North and East directions about the sensor detection target. Applying this error will result in 68% of track position measurements being within a circle of radius `` centered on the target's truth position. Target altitude will be reported without error. .. command:: 3d_position_error_sigma Specify a one standard deviation position error to the track in the NED (North, East, and Down) directions about the sensor detection target. Applying this error will result in 68% of track position measurements being within a sphere of radius `` centered on the target's truth position. .. include:: _error_model.wsf_mil.txt .. include:: _error_model.wsf_nx.txt