This commit is contained in:
2025-09-12 15:20:28 +08:00
commit 3257a14c32
449 changed files with 388780 additions and 0 deletions

View File

@@ -0,0 +1,160 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# ****************************************************************************
# WEAPON TOOL INPUT FILE - ATA Launch Computer Generator
# ****************************************************************************
# Example input data file to configure and exercise the ATA Launch Computer
# Generator Weapon Tool. Examples for all possible input keywords and values
# are given below; however, default values are often sufficient, and when so,
# the input keyword and its corresponding default value is commented out to
# show the input is not mandatory.
# ****************************************************************************
include_once test_medium_range_missile.txt
# *****************************************************************************
# This lethality is "perfect" if within lethal range. Necessary, because
# for the Tool to work properly we must have a kill if the missile is
# kinematically able to pass within lethal range of its target.
# NOTE: The weapon's fuse should not have 'hit_proximity_range' set
# greater than the radius indicated below.
weapon_effects WEAPON_TOOL_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 25.0 ft 1.00 # All Platforms
end_weapon_effects
# *****************************************************************************
# The following is used as the launch platform type
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
icon F-18E
# (The default weapon fired by all Weapon Tools is the first one
# encountered on the launch platform.)
weapon launching_weapon TEST_MEDIUM_RANGE_MISSILE
end_weapon
end_platform_type
# *****************************************************************************
# The following is used as a target
platform_type TARGET_PLATFORM_TYPE WSF_PLATFORM
icon F-18
//mover WSF_AIR_MOVER end_mover
mover TARGET_MOVER end_mover
end_platform_type
# *****************************************************************************
tool AIR_TO_AIR_LAUNCH_COMPUTER_GENERATOR # air_to_air_launch_computer_generator
# === Tool Input Keywords ===
#tool_debug
# The inputs below position the test case somewhere
# on the globe, and indicate the firing conditions
position 34:54n 117:53w # Near Edwards AFB
heading 0.0 deg
#frame_step 0.5 sec # Time interval between Tool updates
#target_platform_type TARGET_PLATFORM_TYPE
#launch_platform_type LAUNCH_PLATFORM_TYPE
# The default is to select the first weapon on the launch_platform_type
#weapon_name <first_weapon_on_launch_platform_type> # (No matter what it is named.)
# (The PK should usually boosted to 1.0 for this generator to work properly.)
#weapon_effects WEAPON_TOOL_LETHALITY
# The following two string values are used to assist with naming output
# objects and files, if the names are not explicitly provided by user input.
#tool_produces _air_to_air_launch_computer
#output_file_extension .txt
# The user may have letter case preferences on file names, or a preferred naming
# convention, so may choose to explicitly override the two Tool-provided names below:
# 1. Output object name
# (If not provided, the default name is to aggregate the two items shown below.)
#output_object_name <weapon_platform_type><tool_produces>
# 2. Output file name
# (If not provided, the default name is to aggregate the two items shown below.)
#output_file_name <output_object_name><output_file_extension>
output_object_name TEST_MEDIUM_RANGE_MISSILE_AIR_TO_AIR_LAUNCH_COMPUTER # *** TEMPORARY NON_DEFAULT OVERRIDE
output_file_name test_medium_range_missile_air_to_air_launch_computer.txt # *** TEMPORARY NON_DEFAULT OVERRIDE
# === WsfAirtoAirLaunchComputer Input Keywords ===
maximum_iterations_per_engagement 20
engagement_range_tolerance 5 m
start_range_for_increasing 1000.0 m
start_range_for_decreasing 10000.0 m
#maximum_rmax_limit 25000.0 m
maximum_rmax_limit 222240.0 m ### 120 nm
# ==== The file included and read in below will specify the independent ====
# ==== variable engagment conditions for which results are generated ====
//load_table test_medium_range_missile_air_to_air_launch_computer_table.txt
# ==== OR ALTERNATELY, READ IN IV's BELOW ====
# ==== (NO DV's are given here, as the Tool will Generate them.) ====
launch_computer_table
no_escape_maneuver 7 g
independent_variables
shooter_altitudes 10000 ft 20000 ft 30000 ft end_shooter_altitudes
shooter_machs 0.8 1.0 1.2 1.4 1.6 1.8 2.0 end_shooter_machs
target_altitudes 10000 ft 20000 ft 30000 ft end_target_altitudes
target_machs 0.8 1.0 1.2 1.4 1.6 1.8 2.0 end_target_machs
target_aspects 0 deg 30 deg 60 deg 90 deg 135 deg 180 deg end_target_aspects
target_lead_angles 0 deg 30 deg 60 deg 90 deg 135 deg 180 deg end_target_lead_angles
end_independent_variables
end_launch_computer_table
/*
## for testing:
launch_computer_table
no_escape_maneuver 7 g
independent_variables
shooter_altitudes 10000 ft end_shooter_altitudes
shooter_machs 1.0 end_shooter_machs
target_altitudes 10000 ft end_target_altitudes
target_machs 1.0 end_target_machs
target_aspects 0 deg 20 deg end_target_aspects
target_lead_angles 0 deg 70 deg end_target_lead_angles
end_independent_variables
end_launch_computer_table
*/
# ==== --------------------------------- ====
end_tool
# *****************************************************************************
# Define the DIS replay file output, if needed, for post-processing, visualization, etc.
# (Generation runs much faster if you turn this off...)
#event_pipe
# file lc_generation.aer
#end_event_pipe

View File

@@ -0,0 +1,105 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# ****************************************************************************
# WEAPON TOOL INPUT FILE - ATA Launch Computer Generator
# ****************************************************************************
# Example input data file to configure and exercise the ATA Launch Computer
# Generator Weapon Tool. Examples for all possible input keywords and values
# are given below; however, default values are often sufficient, and when so,
# the input keyword and its corresponding default value is commented out to
# show the input is not mandatory.
# ****************************************************************************
include_once blue_lr_a2a_rf_missile.txt
# *****************************************************************************
# This lethality is "perfect" if within lethal range. Necessary, because
# for the Tool to work properly we must have a kill if the missile is
# kinematically able to pass within lethal range of its target.
# NOTE: The weapon's fuse should not have 'hit_proximity_range' set
# greater than the radius indicated below.
weapon_effects WEAPON_TOOL_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 50.0 ft 1.00 # All Platforms
end_weapon_effects
# *****************************************************************************
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
icon F-18E
weapon launching_weapon BLUE_LR_A2A_RF_MISSILE
end_weapon
end_platform_type
# *****************************************************************************
platform_type TARGET_PLATFORM_TYPE WSF_PLATFORM
icon F-18
//mover WSF_AIR_MOVER end_mover
mover TARGET_MOVER end_mover
end_platform_type
tool AIR_TO_AIR_LAUNCH_COMPUTER_GENERATOR
# === Tool Input Keywords ===
#tool_debug
# The inputs below position the test case somewhere on the globe, and indicate the firing conditions
position 34:54n 117:53w # Near Edwards AFB
heading 0.0 deg
output_object_name AIM120_AIR_TO_AIR_LAUNCH_COMPUTER # *** TEMPORARY NON_DEFAULT OVERRIDE
output_file_name aim120_air_to_air_launch_computer.txt # *** TEMPORARY NON_DEFAULT OVERRIDE
# === WsfAirtoAirLaunchComputer Input Keywords ===
maximum_iterations_per_engagement 20
range_tolerance 5 m
start_range_for_increasing 1000.0 m
start_range_for_decreasing 10000.0 m
rmax_limit 222240.0 m ### 120 nm
# launch_computer_table
# no_escape_maneuver 7 g
# independent_variables
# shooter_altitudes 10000 ft 20000 ft 30000 ft end_shooter_altitudes
# shooter_machs 0.8 1.0 1.2 1.4 1.6 1.8 2.0 end_shooter_machs
# target_altitudes 10000 ft 20000 ft 30000 ft end_target_altitudes
# target_machs 0.8 1.0 1.2 1.4 1.6 1.8 2.0 end_target_machs
# target_aspects 0 deg 30 deg 60 deg 90 deg 135 deg 180 deg end_target_aspects
# target_lead_angles 0 deg 30 deg 60 deg 90 deg 135 deg 180 deg end_target_lead_angles
# end_independent_variables
# end_launch_computer_table
# For testing: (smaller set of independent variables)
launch_computer_table
no_escape_maneuver 7 g
independent_variables
shooter_altitudes 20000 ft end_shooter_altitudes
shooter_machs 0.8 end_shooter_machs
target_altitudes 20000 ft end_target_altitudes
target_machs 0.8 end_target_machs
target_aspects 44 deg 46 deg end_target_aspects
target_lead_angles -45 deg 45 deg end_target_lead_angles
end_independent_variables
end_launch_computer_table
end_tool
## *****************************************************************************
## Define the DIS replay file output, if needed, for post-processing, visualization, etc.
## (Generation runs much faster if you turn this off...)
#event_pipe
# file lc_generation.aer
#end_event_pipe
## *****************************************************************************

View File

@@ -0,0 +1,138 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature TEST_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature TEST_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature TEST_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero GUESSED_AERO WSF_AERO
// This is actually for an blue_sr_a2a_ir_missile, but we will assume similarity
#mach_and_cd 0.0 1.35 # ref AIAA 79-0091
#mach_and_cd 0.8 1.35 # ref AIAA 79-0091
#mach_and_cd 1.0 1.85 # ref AIAA 79-0091
#mach_and_cd 1.2 2.0 # ref AIAA 79-0091
#mach_and_cd 1.5 1.8 # ref AIAA 79-0091
#mach_and_cd 2.0 1.65 # ref AIAA 79-0091
#mach_and_cd 3.0 1.2 # ref AIAA 79-0091
#mach_and_cd 4.0 1.0 # ref AIAA 79-0091
mach_and_cd 0.0 1.25 # ref AIAA 79-0091
mach_and_cd 0.8 1.25 # ref AIAA 79-0091
mach_and_cd 1.0 1.65 # ref AIAA 79-0091
mach_and_cd 1.2 1.75 # ref AIAA 79-0091
mach_and_cd 1.5 1.6 # ref AIAA 79-0091
mach_and_cd 2.0 1.45 # ref AIAA 79-0091
mach_and_cd 3.0 1.1 # ref AIAA 79-0091
mach_and_cd 4.0 1.0 # ref AIAA 79-0091
reference_area 0.02488 m2 # 17.8 cm dia (Wikipedia)
#cl_max 10.0 # Unknown
#aspect_ratio 17.7 # Unknown
cl_max 15.0 # Unknown
aspect_ratio 25.0 # Unknown
end_aero
weapon_effects TEST_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 50.0 ft 1.0
end_weapon_effects
platform_type BLUE_LR_A2A_RF_MISSILE WSF_PLATFORM
weapon_effects TEST_EFFECT
icon SA-10_Missile
infrared_signature TEST_INFRARED_SIGNATURE
optical_signature TEST_OPTICAL_SIGNATURE
radar_signature TEST_RADAR_SIGNATURE
#mover WSF_OLD_GUIDED_MOVER
mover WSF_GUIDED_MOVER
#thrust 2500.0 lbf
#fuel_mass 55.0 kg
#specific_impulse 250.0 sec
#thrust_duration 12.12 sec
total_mass 150.0 kg
fuel_mass 80.0 kg
thrust_duration 40.0 sec
burn_rate 2.0 kg/s
specific_impulse 907.18 sec
thrust 4000.0 lbf
update_interval 0.1 sec
aero GUESSED_AERO
#show_status # Turns on some mass properties diagnostic output
end_mover
#processor autopilot WSF_OLD_GUIDANCE_COMPUTER
processor autopilot WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 30.0
velocity_pursuit_gain 30.0
g_bias 1.2
#continuous_g_bias
maximum_commanded_g 40.0 g
#omit_velocity_pursuit
update_interval 0.1 s
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.10 s
end_processor
processor fuse WSF_AIR_TARGET_FUSE
time_of_flight_to_arm 2.0 sec
max_time_of_flight_to_detonate 140.0 sec
detonate_on_mach_decreasing_to 1.0 # DRB Added 5/10/10
detonate_below_height_AGL 0.0 ft # -200.0 m
# DRB: Make sure does not detonate prematurely during generation.
# PROBLEM: For sea level test, cannot set negative!
end_processor
end_platform_type
weapon_effects TEST_EFFECT WSF_GRADUATED_LETHALITY
# A Pk of 1.0 is needed for weapon launch computer generation.
radius_and_pk 100.0 m 1.0
end_weapon_effects
### A weapon can have the same name as its launched platform type
weapon BLUE_LR_A2A_RF_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_LR_A2A_RF_MISSILE
weapon_effects TEST_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,20 @@
# ****************************************************************************
# 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.
# ****************************************************************************
include_once blue_lr_a2a_rf_missile.txt
weapon BLUE_LR_A2A_RF_MISSILE_WITH_LAUNCH_COMPUTER BLUE_LR_A2A_RF_MISSILE
launch_computer WSF_AIR_TO_AIR_LAUNCH_COMPUTER
load_table blue_lr_a2a_rf_missile_air_to_air_launch_computer_table.txt
end_launch_computer
end_weapon

View File

@@ -0,0 +1,131 @@
# ****************************************************************************
# 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.
# ****************************************************************************
###############################################################################
#
# ------ UNCLASSIFIED ------
# Short-Range Infrared Air-To-Air Missile
#
# This file contains definitions for the 'mover', guidance computer, fuse and
# lethality and a base platform type. It should be considered a rudimentary
# beginning point for further refinement. The user is then responsible for:
#
# A) Creating a 'platform_type' that derives from BLUE_SR_A2A_IR_MISSILE_BASE which defines
# the seeker and any other subsystems that may be required.
#
# B) Creating a 'platform_type' that represents the launcher.
#
# The last part of the file is commented out and demonstrates the above steps.
#
# All information below is representative only, and is estimated or obtained
# from open sources.
################################################################################
aero BLUE_SR_A2A_IR_MISSILE_AERO WSF_AERO
mach_and_cd 0.0 1.35 # ref AIAA 79-0091
mach_and_cd 0.8 1.35 # ref AIAA 79-0091
mach_and_cd 1.0 1.85 # ref AIAA 79-0091
mach_and_cd 1.2 2.0 # ref AIAA 79-0091
mach_and_cd 1.5 1.8 # ref AIAA 79-0091
mach_and_cd 2.0 1.65 # ref AIAA 79-0091
mach_and_cd 3.0 1.2 # ref AIAA 79-0091
mach_and_cd 4.0 1.0 # ref AIAA 79-0091
reference_area 0.13635 ft2 # 5.0 in body dia
cl_max 10.0 # Experimentally set, to cause approx 30G max turn rate
# Note: Pi * AR * e = 50 => AR = 50 / Pi / e = 17.7 # ref Steve Knapp
aspect_ratio 17.7
oswalds_factor 0.9 # Approximate Guess
end_aero
platform_type BLUE_SR_A2A_IR_MISSILE_BASE WSF_PLATFORM
icon AIM-9X
mover WSF_GUIDED_MOVER
total_mass 188.0 lbm # init=188, bo=127
fuel_mass 61.0 lbm
# Isp values of 250 are typical of solid rocket motors of
# today, but that value would not close, so was reduced.
specific_impulse 222.0 sec
thrust 2700.0 lbf
thrust_duration 5.1 sec
update_interval 0.10 s
aero BLUE_SR_A2A_IR_MISSILE_AERO
#show_status # Turns on some mass properties diagnostic output
end_mover
processor blue_sr_a2a_ir_missile_autopilot WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 30.0
velocity_pursuit_gain 30.0
g_bias 1.0
maximum_commanded_g 40.0 g
update_interval 0.1 s
end_processor
processor blue_sr_a2a_ir_missile_seeker WSF_PERFECT_TRACKER
update_interval 0.10 s
end_processor
processor blue_sr_a2a_ir_missile_fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 120.0 sec
end_processor
end_platform_type
weapon_effects BLUE_SR_A2A_IR_MISSILE_EFFECT WSF_SPHERICAL_LETHALITY
# Note: Does not consider the hardness of any target. All are treated the same.
minimum_radius 50.0 ft # largest blast radius at which damage inflicted is maximum.
maximum_damage 1.0 # maximum damage level achievable upon the target.
maximum_radius 60.0 ft # blast radius beyond which the damage inflicted is Zero.
minimum_damage 0.2 # damage level acheived at the maximum radius.
threshold_damage 0.20 # initial damage level which must be acheived
# before effects begin to accumulate upon the target
exponent 1.00 # exponent of proportionality of damage with radius.
end_weapon_effects
weapon BLUE_SR_A2A_IR_MISSILE WSF_EXPLICIT_WEAPON
#debug
launched_platform_type BLUE_SR_A2A_IR_MISSILE_BASE
quantity 2
launch_delta_v 10.0 0.0 0.0 m/s
weapon_effects BLUE_SR_A2A_IR_MISSILE_EFFECT
end_weapon
# Following is an example launch computer for this weapon,
# valid only at the specified launch altitude and speed.
#include_once blue_sr_a2a_ir_missile_ata_launch_computer_alt10kft_0.6mach.txt #not used right now
###############################################################################
# START OF EXAMPLE SECTION
###############################################################################
/* <----- START BLOCK COMMENT
platform_type BLUE_SR_A2A_IR_MISSILE BLUE_SR_A2A_IR_MISSILE_BASE
comm uplink <comm-type>
<comm-data>
end_comm
sensor seeker <sensor-type>
<sensor-data>
end_sensor
end_platform_type
platform_type BLUE_SR_A2A_IR_MISSILE_LAUNCHER WSF_PLATFORM
#icon <unknown>
weapon blue_sr_a2a_ir_missile BLUE_SR_A2A_IR_MISSILE
launched_platform_type BLUE_SR_A2A_IR_MISSILE
end_weapon
end_platform_type
-----> END BLOCK COMMENT */

View File

@@ -0,0 +1,78 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# WARNING: LAR Generator encountered a weapon hit at the shortest specified range.
launch_computer BLUE_SR_A2A_IR_MISSILE_ATA_LAUNCH_COMPUTER_10KFT_0.6MACH WSF_ATA_LAUNCH_COMPUTER
# Use caution when hand-editing this file. Some values are computer generated, and should not
# be overridden. Written by ATALaunchComputerGenerator on Fri Jul 06 11:03:14 2007
# Valid for altitude = 3048 m, and speed = 197.035 m/s ( Mach = 0.6 ), and DeltaV = (10 0 0) m/s
# Global launch constraints (below) will always be checked before a more expensive table lookup is done.
minimum_slant_range 3472.5 m
maximum_slant_range 17362.5 m
maximum_boresight_angle 80.6647 deg
maximum_opening_speed 228.6 m/s
minimum_opening_speed -228.6 m/s
intercept_results
# The independent variable ranges below must be defined before the results table...
# Aspect angle has to cover zero to 180 degrees approach angle,
# and results are assumed symmetric about Left and Right,
# so the only question is how many bins (what resolution).
number_of_aspect_angle_bins 4
# Azimuth results are assumed symmetric about the centerline, so should cover zero to
# <limit value> target azimuth angle, user must specify how many bins (what resolution).
azimuth_bin_count_and_limit 4 90 deg
# Elevation results are not assumed symmetric about the horizon, so should cover
# <negative limit> to <positive limit> target elevation angle, and how many bins (what resolution).
elevation_bin_count_min_and_max_limits 4 -45 deg 45 deg
range_rate_bin_count_min_and_max_limits 4 -304.8 m/s 304.8 m/s
firing_range_bin_count_and_values 4
0 m 6945 m 13890 m 20835 m 27780 m
time_of_flight_values
# Dependent Variable = Time Of Flight (sec.) [0 => Miss] Hits/Misses = 146 / 344
5.95 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5.85 21.45 0 0 0 0 0 0 0 0 0 0 0 0
0 0 5.9 20.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.15 19.5 0 0 0 0 0 0 0 0 0 0
0 0 0 0 6.1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5.9 20.45 0 0 0 0 0 0 0 0
0 0 0 0 0 0 6 19.75 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.4 19.4 0 0 0 0 0 0
0 0 0 0 0 0 0 0 6.85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.25 18.35 0 0 0 0
0 0 0 0 0 0 0 0 0 0 6.5 18.05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 19 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7.9 0 0 0 5.55 0 0 0 0 0 0 0 0 15.7
0 0 7.8 24.1 0 0 0 10.4 0 0 0 0 0 0 0 15.85 0 0 8.15 23.9 0 0 0 10.45 19.15 0 0 0 0 0
0 0 0 0 8.8 24.2 0 0 0 0 0 0 0 0 0 0 6.3 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 6 22.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.05 21.8 0 0 0 0 0 0 0 0 0 0
0 0 0 0 6.5 22.7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.75 0 0 0 6.5 0 0 0 0 0
0 0 0 0 0 0 6.3 23.9 0 0 6.5 0 0 0 0 0 0 0 0 0 0 0 6.4 23 0 0 6.55 0 0 0
0 0 0 0 0 0 0 0 7.05 24.55 0 0 6.7 0 0 0 0 0 0 0 0 0 0 0 8.45 0 0 0 6.9 0
0 0 6.55 0 0 0 0 0 0 0 7.4 26.7 0 0 6.55 24.8 0 0 6.15 0 0 0 0 0 0 0 7.65 26.05 0 0
6.65 24.05 0 0 6.25 0 0 0 0 0 0 0 9.45 0 0 0 7.15 25.4 0 0 6.75 0 0 0 0 0 0 0 0 0
0 0 8.7 0 0 0 6.9 0 0 0 7.15 0 0 0 14.85 0 0 0 8.45 29.75 0 0 6.85 24.9 0 0 6.6 0 0 0
0 0 0 0 8.7 29.65 0 0 7 24.35 0 0 6.65 0 0 0 0 0 0 0 9.45 31 0 0 7.15 25.2 0 0 7.35 0
0 0 0 0 0 0 7.15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7.35 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 7.35 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7.25 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 6.7 0 0 0 8.8 0 0 0 0 0 0 0 0 0 0 0 6.6 35.75 0 0
8.55 0 0 0 0 0 0 0 0 0 0 0 6.65 32.25 0 0 8.55 0 0 0 0 0 0 0 0 0 0 0 6.85 28.65
0 0 8.85 0 0 0 0 0 0 0 0 0 0 0 7.1 0 0 0 7.6 0 0 0 0 0 0 0 12.25 0 0 0
6.95 29 0 0 7.5 0 0 0 0 0 0 0 12.5 0 0 0 7.05 28.05 0 0 7.55 0 0 0 11.4 0 0 0 0 0
0 0 7.35 27.45 0 0 7.75 0 0 0 0 0 0 0 0 0 0 0 9.4 0 0 0 8.05 0 0 0 0 0 0 0
0 0 0 0 8.95 36.7 0 0 8.05 0 0 0 0 0 0 0 0 0 0 0 9.25 36.7 0 0 8.2 0 0 0 0 0
0 0 0 0 0 0 10.15 0 0 0 8.35 0 0 0 0 0 0 0 0 0 0 0 7.05 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 7.15 0 0 0 11.4 0 0 0 0 0 0 0 0 0 0 0 7.2 0 0 0 11.1 0
0 0 0 0 0 0 0 0 0 0 7.2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 7.1 0 0 0 10.15 0 0 0 0 0 0 0 0 0 0 0 7.15 0
0 0 10.05 0 0 0 0 0 0 0 0 0 0 0 7.2 34.65 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7.25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7.25 33.45 0 0 0 0 0 0 0 0 0 0 0 0
0 0 7.35 32.35 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7.5 29.2 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0
end_time_of_flight_values
end_intercept_results
end_launch_computer

View File

@@ -0,0 +1,88 @@
# ****************************************************************************
# 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.
# ****************************************************************************
##############################################################################
### signatures
##############################################################################
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.75
end_weapon_effects
##############################################################################
### weapon platform
##############################################################################
platform_type MEDIUM_RANGE_MISSILE WSF_PLATFORM
weapon_effects SIMPLE_EFFECT
icon Scud_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
###########################################################################
### straight line movers guide themselves, towards the platform's target
###########################################################################
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3221.5 kts # mach 5
update_interval 0.006 sec
##update_time_tolerance 0.0006 sec # this mover travels 1 meter in 0.00060339 seconds
maximum_lateral_acceleration 15.0 g # average turner
guidance_mode pure_pursuit # or lead_pursuit
guide_to_truth false # guide to perception
end_mover
###########################################################################
### simple fuse
###########################################################################
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 100.0 sec
end_processor
###########################################################################
### perfect trackers provide target truth data for the missile
### no uplink or tracking required for this missile
###########################################################################
#processor seeker WSF_PERFECT_TRACKER
# update_interval 0.1 s
#end_processor
###########################################################################
### simple track manager. make sure comm & sensor feed it
###########################################################################
processor track_mgr WSF_TRACK_PROCESSOR
master_track_processor
end_processor
end_platform_type
##############################################################################
### simple missile to use, flies straight at original target (extrapolated)
##############################################################################
weapon MEDIUM_RANGE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type MEDIUM_RANGE_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
end_weapon

View File

@@ -0,0 +1,189 @@
# ****************************************************************************
# 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.
# ****************************************************************************
##############################################################################
### signatures
##############################################################################
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.75
end_weapon_effects
##############################################################################
### antenna patterns
##############################################################################
antenna_pattern SEEKER_ANTENNA
circular_pattern
beamwidth 6.0 deg
peak_gain 30.0 dB
minimum_gain -10.0 dB
end_circular_pattern
end_antenna_pattern
antenna_pattern RADAR_ANTENNA
circular_pattern
beamwidth 3.0 deg
peak_gain 30.0 dB
minimum_gain -10.0 dB
end_circular_pattern
end_antenna_pattern
##############################################################################
### normal radar sensor; weapon's radar seeker
##############################################################################
sensor RADAR_SEEKER WSF_RADAR_SENSOR
off
ignore_domain land
ignore_domain subsurface
selection_mode single #multiple
initial_mode SEARCH
slew_mode azimuth_and_elevation
azimuth_slew_limits -45 deg 45 deg
elevation_slew_limits -45 deg 45 deg
mode_template
scan_mode azimuth_and_elevation
azimuth_scan_limits -90 deg 90 deg
elevation_scan_limits -90 deg 90 deg
frame_time 1.0 sec
transmitter
antenna_pattern SEEKER_ANTENNA
power 1.0 kW
frequency 10.0 GHz
pulse_repetition_interval 3.3 usec #HPRF 300 kHz
pulse_width 1.0 usec #30% duty factor
end_transmitter
receiver
bandwidth 1 MHz
end_receiver
one_m2_detect_range 50.0 km
hits_to_establish_track 1 2
hits_to_maintain_track 1 3
reports_location
reports_velocity
reports_iff
track_quality 1.0
end_mode_template
mode SEARCH
frame_time 0.1 sec
end_mode
end_sensor
##############################################################################
### weapon platform that requires an uplink, and will go active
##############################################################################
platform_type MEDIUM_RANGE_RADAR_MISSILE WSF_PLATFORM
script_variables
bool mDrawTarget = true;
WsfDraw draw = WsfDraw();
end_script_variables
execute at_interval_of 1 sec
if (mDrawTarget)
{
WsfTrack tgt = PLATFORM.CurrentTargetTrack();
if (tgt.IsValid())
{
draw.SetDuration(1.0); //same as execute interval
draw.SetColor(1, 0, 1); //purple
draw.SetLineSize(2); //double thick
draw.BeginLines();
draw.Vertex(PLATFORM.Location());
draw.Vertex(tgt.CurrentLocation());
draw.End();
}
}
end_execute
weapon_effects SIMPLE_EFFECT
icon Scud_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
###########################################################################
### straight line movers guide themselves, towards the platform's target
###########################################################################
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3221.5 kts # mach 5
update_interval 0.006 sec
update_time_tolerance 0.0006 sec # this mover travels 1 meter in 0.00060339 seconds
maximum_lateral_acceleration 15.0 g # average turner
guidance_mode lead_pursuit # or pure_pursuit
guide_to_truth false # guide to perception
end_mover
###########################################################################
### simple fuse
###########################################################################
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 100.0 sec
end_processor
###########################################################################
### perfect trackers provide target truth data for the missile
### no uplink or tracking required for this missile
###########################################################################
#processor seeker WSF_PERFECT_TRACKER
# update_interval 0.5 s
#end_processor
###########################################################################
### imperfect radar provide target data for the missile
###########################################################################
sensor seeker RADAR_SEEKER
off
internal_link track_mgr
internal_link weapon_manager
end_sensor
###########################################################################
### simple track manager. make sure comm & sensor feed it
###########################################################################
processor track_mgr WSF_TRACK_PROCESSOR
master_track_processor
end_processor
###########################################################################
### turns on the weapon radar at the right time
###########################################################################
processor weapon_manager WSF_WEAPON_TRACK_PROCESSOR
turn_on_sensor seeker at_time 30 s before_intercept
#turn_on_sensor seeker at_range 3500 m before_intercept
coast_time 100 s
uplink_required false #this version is active missile only (no no command guidance uplink)
end_processor
end_platform_type
##############################################################################
### simple missile to use, requires uplink
##############################################################################
weapon MEDIUM_RANGE_RADAR_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type MEDIUM_RANGE_RADAR_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
end_weapon

View File

@@ -0,0 +1,141 @@
# ****************************************************************************
# 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.
# ****************************************************************************
##############################################################################
### signatures
##############################################################################
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.75
end_weapon_effects
##############################################################################
### antenna patterns
##############################################################################
antenna_pattern weapon_datalink_gain
constant 10 dB
end_antenna_pattern
##############################################################################
### weapon platform that requires an uplink, and will go active
##############################################################################
platform_type MEDIUM_RANGE_UPLINK_MISSILE WSF_PLATFORM
script_variables
bool mDrawTarget = false;
WsfDraw draw = WsfDraw();
end_script_variables
execute at_interval_of 1 sec
if (mDrawTarget)
{
WsfTrack tgt = PLATFORM.CurrentTargetTrack();
if (tgt.IsValid())
{
draw.SetDuration(1.0); //same as execute interval
draw.SetColor(1, 0, 1); //purple
draw.SetLineSize(2); //double thick
draw.BeginLines();
draw.Vertex(PLATFORM.Location());
draw.Vertex(tgt.CurrentLocation());
draw.End();
}
}
end_execute
weapon_effects SIMPLE_EFFECT
icon Scud_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
###########################################################################
### straight line movers guide themselves, towards the platform's target
###########################################################################
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3221.5 kts # mach 5
update_interval 0.006 sec
update_time_tolerance 0.0006 sec # this mover travels 1 meter in 0.00060339 seconds
maximum_lateral_acceleration 15.0 g # average turner
guidance_mode lead_pursuit # or pure_pursuit
guide_to_truth false # guide to perception
end_mover
###########################################################################
### simple fuse
###########################################################################
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 100.0 sec
end_processor
###########################################################################
### perfect trackers provide target truth data for the missile
### no uplink or tracking required for this missile
###########################################################################
#processor seeker WSF_PERFECT_TRACKER
# update_interval 0.5 s
#end_processor
###########################################################################
### comm to receive target uplink track reports for weapon manuevering
###########################################################################
comm weapon_downlink WSF_RADIO_RCVR
network_name weapons_subnet
internal_link track_mgr
receiver
antenna_pattern weapon_datalink_gain
frequency 10 GHz
bandwidth 500 MHz
detection_threshold 0 dB
end_receiver
end_comm
###########################################################################
### simple track manager. make sure comm & sensor feed it
###########################################################################
processor track_mgr WSF_TRACK_PROCESSOR
master_track_processor
end_processor
###########################################################################
### turns on the weapon radar at the right time
###########################################################################
processor weapon_manager WSF_WEAPON_TRACK_PROCESSOR
coast_time 100 s
ignore_uplink_target_change #the processor ignores track messages that dont pertain to the current target
uplink_required true #this version is command guided missile only (no missile-active state)
end_processor
end_platform_type
##############################################################################
### simple missile to use, requires uplink
##############################################################################
weapon MEDIUM_RANGE_UPLINK_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type MEDIUM_RANGE_UPLINK_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
end_weapon

View File

@@ -0,0 +1,77 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
platform_type RED_MR_A2A_RF_MISSILE WSF_PLATFORM
icon SA-10_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3221.5 kts # mach 5
maximum_lateral_acceleration 20.0 g # decent turner
guidance_mode lead_pursuit
end_mover
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 50.29 sec # 45 nm range
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.5 s
end_processor
end_platform_type
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.75
end_weapon_effects
weapon RED_MR_A2A_RF_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type RED_MR_A2A_RF_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,173 @@
# ****************************************************************************
# 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.
# ****************************************************************************
define_path_variable CASE scenario_test_launch_computer
log_file $(CASE).log
file_path .
file_path ..
file_path ../..
#include_once event_pipe.txt
#include_once event_output.txt
#include_once terrain.txt
#include_once dis_network.txt
#include_once platforms/common.txt
#include_once platforms/striker.txt
#include_once platforms/flight_lead.txt
event_output
file $(CASE).evt
end_event_output
event_pipe
file $(CASE).aer
end_event_pipe
random_seed 731165679
end_time 3.0 sec
include_once blue_lr_a2a_rf_missile_with_launch_computer.txt
platform_type STRIKER WSF_PLATFORM
category fighter
#radar_signature SIG_RADAR_ONE_M_SQUARED
comm sub_net WSF_COMM_TRANSCEIVER
network_name <local:slave>
internal_link track_manager
end_comm
mover WSF_AIR_MOVER
roll_rate_limit 1 rad/sec
default_linear_acceleration 1.0 g
default_radial_acceleration 6.5 g
default_climb_rate 400 fps
maximum_climb_rate 400 fps
maximum_speed 600.0 knots
minimum_speed 150.0 knots
maximum_altitude 50000 ft
minimum_altitude 50 ft
maximum_linear_acceleration 9 g
at_end_of_path extrapolate
turn_rate_limit 4.0 deg/sec
end_mover
processor track_manager WSF_TRACK_PROCESSOR
purge_interval 60 sec
report_interval 1 sec
fused_track_reporting off
raw_track_reporting on
report_to commander via sub_net
circular_report_rejection true
end_processor
weapon blue_lr_a2a_rf_missile BLUE_LR_A2A_RF_MISSILE_WITH_LAUNCH_COMPUTER
quantity 999
end_weapon
sensor geo_sensor WSF_GEOMETRIC_SENSOR
on
azimuth_field_of_view -180.0 degrees 180.0 degrees
elevation_field_of_view -90.0 degrees 90.0 degrees
minimum_range 0 m
maximum_range 277800 m //about 150 nm
frame_time 0.5 sec
reports_location
reports_velocity
reports_iff
track_quality 1.0
internal_link track_manager
ignore_same_side
end_sensor
end_platform_type
platform Shooter STRIKER
indestructible
icon F-22
side blue
commander blue-FL
route
position 0.6n 4.12e altitude 30000 ft msl speed 500 kts
position 1.6n 4.12e altitude 30000 ft msl speed 500 kts
end_route
heading 0 deg
end_platform
platform Target STRIKER
indestructible
side red
icon SU-27
heading 300 deg
commander SELF
route
position 0.70n 4.12e altitude 30000 ft msl speed 500 kts
position 1.70n 4.12e altitude 30000 ft msl speed 500 kts
end_route
heading 0 deg
end_platform
# WsfLaunchComputer lcPtr = weapon.LaunchComputer();
#
# if (lcPtr.IsValid() && lcPtr.IsA_TypeOf("WSF_AIR_TO_AIR_LAUNCH_COMPUTER"))
# {
# // The returned array contains: Rmax, RmaxTOF, Rne, RneTOF, Rmin, RminTOF
# // in that order. -1.0 means "not valid".
#
# Array<double> returnedValues = lcPtr.LookupResult(track);
#
# // Now have to consider whether we have enough information to continue with a weapon shot:
# double theRmax = returnedValues[0]; //"Rmax";
# double theRmaxTOF = returnedValues[1]; //"RmaxTOF";
# double theRne = returnedValues[2]; //"Rne";
# double theRneTOF = returnedValues[3]; //"RneTOF";
# double theRmin = returnedValues[4]; //"Rmin";
# double theRminTOF = returnedValues[5]; //"RminTOF";
#
execute at_time 1 sec absolute
Array<double> leadAngles = Array<double>();
leadAngles[0] = 45.0;
leadAngles[1] = -45.0;
Array<double> aspectAngles = Array<double>();
aspectAngles[0] = 45.0;
aspectAngles[1] = -45.0;
WsfPlatform shooter = WsfSimulation.FindPlatform("Shooter");
WsfPlatform target = WsfSimulation.FindPlatform("Target");
WsfGeoPoint origin = shooter.Location();
WsfWeapon weapon = shooter.Weapon("blue_lr_a2a_rf_missile");
WsfLaunchComputer launch = weapon.LaunchComputer(); //IsA_TypeOf("WSF_AIR_TO_AIR_LAUNCH_COMPUTER")
foreach(double lead in leadAngles)
{
foreach(double aspect in aspectAngles)
{
origin = shooter.Location();
origin.Extrapolate(lead, 18520); //10 miles out, orientation is all that matters
target.SetLocation(origin);
double targetheading = MATH.NormalizeAngle0_360(lead + 180 + aspect);
target.SetOrientationNED(targetheading, 0, 0);
target.SetVelocityECS(257.2222, 0, 0); //257.2222 (met/sec) == 500 kts
WsfTrack targetTrack = target.MakeTrack();
Array<double> launchRanges = launch.LookupResult(targetTrack);
writeln("lead = ", lead, ", aspect = ", aspect, ", max = ", launchRanges[0], ", min = ", launchRanges[4], ", nesc = ", launchRanges[2]);
}
}
end_execute

View File

@@ -0,0 +1,28 @@
# ****************************************************************************
# 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.
# ****************************************************************************
include_once blue_sr_a2a_ir_missile.txt
include_once blue_sr_a2a_ir_missile_ata_launch_computer_alt10kft_0.6mach.txt
platform_type SIMPLE_A2A_MISSILE BLUE_SR_A2A_IR_MISSILE_BASE
// max speed about 850 m/s according to Wikipedia (mach 2.5)
category ignored-by-iads-radar
end_platform_type
launch_computer SIMPLE_A2A_LAUNCH_COMPUTER BLUE_SR_A2A_IR_MISSILE_ATA_LAUNCH_COMPUTER_10KFT_0.6MACH
end_launch_computer
weapon SIMPLE_A2A_MISSILE_WEAPON BLUE_SR_A2A_IR_MISSILE
launched_platform_type SIMPLE_A2A_MISSILE
launch_computer SIMPLE_A2A_LAUNCH_COMPUTER end_launch_computer
quantity 4 // should be 2
end_weapon

View File

@@ -0,0 +1,23 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
include_once simple_medium_range_missile.txt
weapon SIMPLE_BLUE_SR_A2A_RF_MISSILE SIMPLE_MEDIUM_RANGE_MISSILE
launch_computer WSF_AIR_TO_AIR_LAUNCH_COMPUTER
debug
load_table blue_lr_a2a_rf_missile_launch_computer_table.txt
end_launch_computer
end_weapon

View File

@@ -0,0 +1,13 @@
# ****************************************************************************
# 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.
# ****************************************************************************
launch_computer INSTANCE_NAME WSF_AIR_TO_AIR_LAUNCH_COMPUTER
# Written by AirToAirLaunchComputerGenerator on Thu Jun 17 09:27:02 2010
load_table blue_lr_a2a_rf_missile_launch_computer_table.txt
end_launch_computer

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,77 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
platform_type SIMPLE_LONG_RANGE_MISSILE WSF_PLATFORM
icon SA-10_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3221.5 kts # mach 5
maximum_lateral_acceleration 12.0 g # bad turner
guidance_mode lead_pursuit
end_mover
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 111.75 sec # 100 nm range
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.5 s
end_processor
end_platform_type
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 120.0 m 0.8
end_weapon_effects
weapon SIMPLE_LONG_RANGE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type SIMPLE_LONG_RANGE_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,118 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero GUESSED_AERO WSF_AERO
// This is actually for an blue_sr_a2a_ir_missile, but we will assume similarity
mach_and_cd 0.0 1.35 # ref AIAA 79-0091
mach_and_cd 0.8 1.35 # ref AIAA 79-0091
mach_and_cd 1.0 1.85 # ref AIAA 79-0091
mach_and_cd 1.2 2.0 # ref AIAA 79-0091
mach_and_cd 1.5 1.8 # ref AIAA 79-0091
mach_and_cd 2.0 1.65 # ref AIAA 79-0091
mach_and_cd 3.0 1.2 # ref AIAA 79-0091
mach_and_cd 4.0 1.0 # ref AIAA 79-0091
reference_area 0.02488 m2 # 17.8 cm dia (Wikipedia)
cl_max 10.0 # Unknown
aspect_ratio 17.7 # Unknown
end_aero
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.75
end_weapon_effects
platform_type SIMPLE_MEDIUM_RANGE_MISSILE WSF_PLATFORM
weapon_effects SIMPLE_EFFECT
icon SA-10_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
total_mass 161.5 kg # (Wikipedia)
fuel_mass 55.0 kg
# Isp values of 250 are typical of solid rocket motors of today
specific_impulse 250.0 sec
thrust 2500.0 lbf
thrust_duration 12.12 sec
update_interval 0.10 s
aero GUESSED_AERO
#show_status # Turns on some mass properties diagnostic output
end_mover
processor autopilot WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 30.0
velocity_pursuit_gain 30.0
g_bias 1.2
maximum_commanded_g 40.0 g
#omit_velocity_pursuit
update_interval 0.1 s
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.10 s
end_processor
processor fuse WSF_AIR_TARGET_FUSE
time_of_flight_to_arm 2.0 sec
max_time_of_flight_to_detonate 140.0 sec
detonate_on_mach_decreasing_to 1.0 # DRB Added 5/10/10
detonate_below_height_AGL 0.0 ft # -200.0 m
# DRB: Make sure does not detonate prematurely during generation.
# PROBLEM: For sea level test, cannot set negative!
end_processor
end_platform_type
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
# A Pk of 1.0 is needed for weapon launch computer generation.
radius_and_pk 100.0 m 1.0
end_weapon_effects
weapon SIMPLE_MEDIUM_RANGE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type SIMPLE_MEDIUM_RANGE_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,77 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
platform_type SIMPLE_SHORT_RANGE_MISSILE WSF_PLATFORM
icon SA-10_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3221.5 kts # mach 5
maximum_lateral_acceleration 25.0 g # good turner
guidance_mode lead_pursuit
end_mover
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 39.11 sec # 35 nm range
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.5 s
end_processor
end_platform_type
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.7
end_weapon_effects
weapon SIMPLE_SHORT_RANGE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type SIMPLE_SHORT_RANGE_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,77 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature SIMPLE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature SIMPLE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature SIMPLE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
platform_type SUPER_LONG_RANGE_MISSILE WSF_PLATFORM
icon SA-10_Missile
infrared_signature SIMPLE_INFRARED_SIGNATURE
optical_signature SIMPLE_OPTICAL_SIGNATURE
radar_signature SIMPLE_RADAR_SIGNATURE
mover WSF_STRAIGHT_LINE_MOVER
average_speed 3865.84 kts # mach 6
maximum_lateral_acceleration 12.0 g # bad turner
guidance_mode lead_pursuit
end_mover
processor fuse WSF_AIR_TARGET_FUSE
max_time_of_flight_to_detonate 149.00 sec # 160 nm range
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.5 s
end_processor
end_platform_type
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 150.0 m 0.8
end_weapon_effects
weapon SUPER_LONG_RANGE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type SUPER_LONG_RANGE_MISSILE
weapon_effects SIMPLE_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,11 @@
@echo off
rem ****************************************************************************
rem CUI
rem
rem The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
rem
rem The use, dissemination or disclosure of data in this file is subject to
rem limitation or restriction. See accompanying README and LICENSE for details.
rem ****************************************************************************
..\..\..\..\bin\mission.exe scenario_test_launch_computer.txt > std_out.txt

View File

@@ -0,0 +1,133 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * ************************************** * *
# * ****** Demonstration input file ****** *
# * ****** UNCLASSIFIED ****** *
# * * ************************************** * *
infrared_signature TEST_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature TEST_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature TEST_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero GUESSED_AERO WSF_AERO
// This is actually for an blue_sr_a2a_ir_missile, but we will assume similarity
#mach_and_cd 0.0 1.35 # ref AIAA 79-0091
#mach_and_cd 0.8 1.35 # ref AIAA 79-0091
#mach_and_cd 1.0 1.85 # ref AIAA 79-0091
#mach_and_cd 1.2 2.0 # ref AIAA 79-0091
#mach_and_cd 1.5 1.8 # ref AIAA 79-0091
#mach_and_cd 2.0 1.65 # ref AIAA 79-0091
#mach_and_cd 3.0 1.2 # ref AIAA 79-0091
#mach_and_cd 4.0 1.0 # ref AIAA 79-0091
mach_and_cd 0.0 1.25 # ref AIAA 79-0091
mach_and_cd 0.8 1.25 # ref AIAA 79-0091
mach_and_cd 1.0 1.65 # ref AIAA 79-0091
mach_and_cd 1.2 1.75 # ref AIAA 79-0091
mach_and_cd 1.5 1.6 # ref AIAA 79-0091
mach_and_cd 2.0 1.45 # ref AIAA 79-0091
mach_and_cd 3.0 1.1 # ref AIAA 79-0091
mach_and_cd 4.0 1.0 # ref AIAA 79-0091
reference_area 0.02488 m2 # 17.8 cm dia (Wikipedia)
#cl_max 10.0 # Unknown
#aspect_ratio 17.7 # Unknown
cl_max 15.0 # Unknown
aspect_ratio 25.0 # Unknown
end_aero
weapon_effects TEST_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 75.0 m 1.0
end_weapon_effects
platform_type TEST_MEDIUM_RANGE_MISSILE WSF_PLATFORM
weapon_effects TEST_EFFECT
icon SA-10_Missile
infrared_signature TEST_INFRARED_SIGNATURE
optical_signature TEST_OPTICAL_SIGNATURE
radar_signature TEST_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
#thrust 2500.0 lbf
#fuel_mass 55.0 kg
#specific_impulse 250.0 sec
#thrust_duration 12.12 sec
total_mass 150.0 kg
fuel_mass 80.0 kg
thrust_duration 40.0 sec
burn_rate 2.0 kg/s
specific_impulse 907.18 sec
thrust 4000.0 lbf
update_interval 0.1 sec
aero GUESSED_AERO
#show_status # Turns on some mass properties diagnostic output
end_mover
processor autopilot WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 30.0
velocity_pursuit_gain 30.0
g_bias 1.2
maximum_commanded_g 40.0 g
#omit_velocity_pursuit
update_interval 0.1 s
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.10 s
end_processor
processor fuse WSF_AIR_TARGET_FUSE
time_of_flight_to_arm 2.0 sec
max_time_of_flight_to_detonate 140.0 sec
detonate_on_mach_decreasing_to 1.0 # DRB Added 5/10/10
detonate_below_height_AGL 0.0 ft # -200.0 m
# DRB: Make sure does not detonate prematurely during generation.
# PROBLEM: For sea level test, cannot set negative!
end_processor
end_platform_type
weapon_effects TEST_EFFECT WSF_GRADUATED_LETHALITY
# A Pk of 1.0 is needed for weapon launch computer generation.
radius_and_pk 100.0 m 1.0
end_weapon_effects
weapon TEST_MEDIUM_RANGE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type TEST_MEDIUM_RANGE_MISSILE
weapon_effects TEST_EFFECT
quantity 4
firing_delay 0.5 sec
salvo_interval 5.0 sec
slew_mode azimuth_and_elevation
azimuth_slew_limits -180.0 deg 180.0 deg
elevation_slew_limits 10.0 deg 70.0 deg
end_weapon

View File

@@ -0,0 +1,13 @@
# ****************************************************************************
# 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.
# ****************************************************************************
launch_computer INSTANCE_NAME WSF_AIR_TO_AIR_LAUNCH_COMPUTER
# Written by AirToAirLaunchComputerGenerator on Wed Jul 28 14:12:46 2010
load_table test_medium_range_missile_air_to_air_launch_computer_table.txt
end_launch_computer

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
@echo off
rem ****************************************************************************
rem CUI
rem
rem The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
rem
rem The use, dissemination or disclosure of data in this file is subject to
rem limitation or restriction. See accompanying README and LICENSE for details.
rem ****************************************************************************
..\..\..\bin\weapon_tools.exe ata4_generator.txt > std_out.txt