地对地导弹测试

This commit is contained in:
2025-10-15 11:23:32 +08:00
parent 9163fad251
commit a236fcde15
365 changed files with 380521 additions and 261 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

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

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

View File

@@ -0,0 +1,86 @@
# ****************************************************************************
# 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 mach_4_missile.txt
weapon_effects WEAPON_TOOL_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 15.0 ft 1.00 # All Platforms
end_weapon_effects
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
icon F-18E
weapon launching_weapon MACH_4_MISSILE
end_weapon
end_platform_type
radar_signature TARGET_RADAR_SIG
constant 0 dbsm
end_radar_signature
platform_type TARGET_PLATFORM_TYPE WSF_PLATFORM
icon Ground_Radar
radar_signature TARGET_RADAR_SIG
end_platform_type
tool ATG_LAR_AND_LC_GENERATOR
position 00:00n 00:00w
output_object_name mach_4_missile_atg_launch_computer # *** TEMPORARY NON_DEFAULT OVERRIDE
output_file_name mach_4_missile_atg_launch_computer.txt # *** TEMPORARY NON_DEFAULT OVERRIDE
# altitude_and_mach 40000 ft 0.8 target_ranges 40 miles 5.0 miles 26
# altitude_and_mach 40000 ft 1.2 target_ranges 50 miles 5.0 miles 27
# altitude_and_mach 40000 ft 1.4 target_ranges 60 miles 5.0 miles 28
# altitude_and_mach 35000 ft 0.8 target_ranges 40 miles 5.0 miles 23
# altitude_and_mach 35000 ft 1.2 target_ranges 40 miles 5.0 miles 27
# altitude_and_mach 35000 ft 1.4 target_ranges 55 miles 5.0 miles 28
# altitude_and_mach 25000 ft 0.8 target_ranges 40 miles 5.0 miles 20
# altitude_and_mach 25000 ft 1.2 target_ranges 50 miles 5.0 miles 23
# altitude_and_mach 25000 ft 1.4 target_ranges 50 miles 5.0 miles 24
altitude_and_mach 20000 ft 0.8 target_ranges 10 miles 25.0 miles 24
# altitude_and_mach 20000 ft 1.2 target_ranges 40 miles 5.0 miles 22
# altitude_and_mach 20000 ft 1.4 target_ranges 45 miles 5.0 miles 23
# altitude_and_mach 15000 ft 0.8 target_ranges 30 miles 5.0 miles 17
# altitude_and_mach 15000 ft 1.2 target_ranges 35 miles 5.0 miles 19
# altitude_and_mach 15000 ft 1.4 target_ranges 40 miles 5.0 miles 20
# altitude_and_mach 10000 ft 0.8 target_ranges 25 miles 5.0 miles 15
# altitude_and_mach 10000 ft 1.2 target_ranges 35 miles 5.0 miles 16
# altitude_and_mach 10000 ft 1.4 target_ranges 40 miles 5.0 miles 17
# altitude_and_mach 5000 ft 0.8 target_ranges 25 miles 5.0 miles 13
# altitude_and_mach 1000 ft 0.8 target_ranges 25 miles 5.0 miles 10
# target_ranges 40 miles 5.0 miles 21 # min, delta, number of target offsets forward of the launcher
# target_ranges 40 miles 2.5 miles 50 # min, delta, number of target offsets forward of the launcher
# target_offsets 10.0 miles 4 # delta, number of target offsets lateral to the launcher
target_offsets 25.0 miles 30 # delta, number of target offsets lateral to the launcher
# target_offsets .1 meter 2 # delta, number of target offsets lateral to the launcher
#shrink_factor 0.8
end_tool
event_pipe
file lc_generation.aer
end_event_pipe
#event_output
# file myweapon.evt
# enable WEAPON_HIT
# enable WEAPON_MISSED
# enable WEAPON_TERMINATED
#end_event_output
script void WeaponHit(WsfWeaponEngagement aWeaponEngagement, WsfPlatform aTargetPlatform)
WsfPlatform weapon = aWeaponEngagement.WeaponPlatform();
WsfGeoPoint launchpoint = aWeaponEngagement.WeaponLocationAtLaunch();
WsfGeoPoint weaponpoint = aWeaponEngagement.WeaponLocation();
double groundrange = launchpoint.GroundRangeTo(weaponpoint);
double timeofflight = aWeaponEngagement.TimeSinceStarted();
writeln(weapon.MachNumber(), " ", weapon.Speed(), " ", weapon.Pitch(), " ", groundrange, " ",timeofflight);
end_script
observer
enable WEAPON_HIT
end_observer

View File

@@ -0,0 +1,112 @@
# ****************************************************************************
# 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
# NOT FOR EXPORT (ITAR).
#This is an unclassified model of a blue_adv_cruise_missile weapon
# The LAR logic to fire the weapon is as follows:
# 5,000 ft - 5 nmiles
# 10,000 ft - 15 nmiles
# 20,000 ft - 30 nmiles
# 30,000 ft - 45 nmiles
# 40,000 ft - 60 nmiles
#The following are the internet sources and data used to create the model
#http://www.navy.mil/navydata/fact_display.asp?cid=2100&tid=300&ct=2 (states max range as 63nm)
#Length: 160 inches (4.1 meters).
#Diameter: Box-shaped, 13 inches (33.02 cm) on a side.
#Wingspan: 106 inches (2.69 meters).
#Weight: 1,065 pounds (approximate).
#Range: Low-altitude, 12 nautical miles; high-altitude, 63 nautical miles.
#Guidance System: GPS/INS (Global Position/Inertial), Terminal IR Seeker
#http://en.wikipedia.org/wiki/AGM-154_Joint_Standoff_Weapon
#http://www.deagel.com/Standoff-Weapons/AGM-154C-JSOW_a001153003.aspx
radar_signature BLUE_ADV_CRUISE_MISSILE_RADAR_SIG
constant 1 m^2
end_radar_signature
aero BLUE_ADV_CRUISE_MISSILE_WINGS_FOLDED WSF_AERO #used for initial drop from aircraft
reference_area 169 in2 #13x13box
cd_zero_subsonic 0.100
cd_zero_supersonic 0.40
mach_begin_cd_rise 0.800
mach_end_cd_rise 1.200
mach_max_supersonic 2.000
cl_max 3.00 # unknown
aspect_ratio 4.000 # unknown
end_aero
aero BLUE_ADV_CRUISE_MISSILE_WINGS_EXTENDED WSF_AERO
reference_area 169 in2 #13x13box
cd_zero_subsonic 0.100
cd_zero_supersonic 0.40
mach_begin_cd_rise 0.800
mach_end_cd_rise 1.200
mach_max_supersonic 2.000
cl_max 15.00 # give it lift and adjusted to get 63nm at 40kft@.8m
aspect_ratio 50.000 # unknown
end_aero
weapon_effects BLUE_ADV_CRUISE_MISSILE_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 30 m 0.8
end_weapon_effects
platform_type BLUE_ADV_CRUISE_MISSILE WSF_PLATFORM
icon JSOW
side blue
radar_signature BLUE_ADV_CRUISE_MISSILE_RADAR_SIG
mover WSF_GUIDED_MOVER
update_interval 0.1 secs
stage 1
aero BLUE_ADV_CRUISE_MISSILE_WINGS_FOLDED
total_mass 0 lbs
pre_ignition_coast_time 0.1 sec
pre_separation_coast_time 10.0 sec #give it 10 secs to open wings
end_stage
stage 2
aero BLUE_ADV_CRUISE_MISSILE_WINGS_EXTENDED
total_mass 1065 lbs
end_stage
end_mover
processor guidance WSF_GUIDANCE_COMPUTER
#show_status
#show_evaluations
#debug
phase LAUNCH
maximum_commanded_g 1.2 g
next_phase GLIDE when phase_time > 10 sec
end_phase
phase GLIDE
maximum_commanded_g 3 g
maximum_descent_rate 5 fps
g_bias 1.03
#next_phase TERMINAL when los_target_angle > 25 deg
next_phase TERMINAL when target_slant_range < 5 nm
end_phase
phase TERMINAL
proportional_navigation_gain 5 # 10
maximum_pitch_angle 80 deg
maximum_commanded_g 10 g
end_phase
end_processor
processor fuse WSF_GROUND_TARGET_FUSE end_processor
end_platform_type
# Define the explicit weapon from the type def...
weapon BLUE_ADV_CRUISE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_ADV_CRUISE_MISSILE
weapon_effects BLUE_ADV_CRUISE_MISSILE_EFFECT
end_weapon

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.
# ****************************************************************************
# Made up air to surface / surface to surface missile MACH_4_MISSILE
# Booster with ramjet engine.
# missile that goes 500 nmi and cruises at 72000 ft at mach 4
# include the sensor that goes on the missile
include_once ../../sensors/radar/red_missile_seeker.txt
aero MACH_4_MISSILE_BOOST_AERO WSF_AERO
reference_area 63.62 in2
mach_and_cd 0.1 0.3258
mach_and_cd 0.6 0.3258
mach_and_cd 0.9 0.3554
mach_and_cd 1.05 0.5718
mach_and_cd 1.3 0.5994
mach_and_cd 1.51 0.5824
mach_and_cd 1.97 0.5639
mach_and_cd 2.47 0.5448
aspect_ratio 4.5
cl_max 2.669
end_aero
aero MACH_4_MISSILE_CRUISE_AERO WSF_AERO
reference_area 63.62 in2
mach_and_cd 0.1 0.2497
mach_and_cd 0.8 0.2497
mach_and_cd 0.9 0.2727
mach_and_cd 1.05 0.4232
mach_and_cd 1.3 0.4087
mach_and_cd 1.51 0.4014
mach_and_cd 1.97 0.3257
mach_and_cd 2.47 0.2672
mach_and_cd 2.97 0.2378
mach_and_cd 3.96 0.2032
mach_and_cd 5.07 0.1855
aspect_ratio 4.5
cl_max 2.669
end_aero
weapon_effects MACH_4_MISSILE_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 30 m 0.8
end_weapon_effects
platform_type MACH_4_MISSILE WSF_PLATFORM
icon missile
weapon_effects MACH_4_MISSILE_LETHALITY
mover WSF_GUIDED_MOVER
# debug
# show_status
update_interval 0.5 s
integration_timestep 0.05 s
stage 1 # get the missile up to velocity to light off ramjet
# Boost 1st phase
empty_mass 170 lb
fuel_mass 190 lb
thrust 14900.0 lbsf
thrust_duration 3.25 sec
aero MACH_4_MISSILE_BOOST_AERO
end_stage
stage 2 # Second Stage LightOff
# Really only 2 stages but this shows how to apply initial thrust
empty_mass 0.01 lb
fuel_mass 10.0 lb
thrust 800 lbsf
thrust_duration 23 sec
aero MACH_4_MISSILE_CRUISE_AERO
end_stage
stage 3 # ramjet sustain thrust
# cruise stage
empty_mass 300.00 lb
fuel_mass 60.00 lb
thrust 140 lbsf
thrust_duration 700 sec # maximum thrust duration time
aero MACH_4_MISSILE_CRUISE_AERO
end_stage
end_mover
processor guidance WSF_GUIDANCE_COMPUTER
#show_status
#show_evaluations
#debug
phase LAUNCH
commanded_altitude 72000 ft
maximum_pitch_angle 30 deg
proportional_navigation_gain 15.0
velocity_pursuit_gain 15.0
next_phase TERMINAL if target_slant_range < 30 miles
next_phase CRUISE when phase_time > 100 sec
end_phase
phase CRUISE
commanded_altitude 72000 ft
commanded_speed 3950 fps #mach 4
maximum_pitch_angle 40 deg
proportional_navigation_gain 15.0
maximum_commanded_g 2 g
next_phase TERMINAL when los_target_angle > 35 deg
end_phase
phase TERMINAL
commanded_speed 2200 fps
proportional_navigation_gain 40
maximum_pitch_angle 90 deg
maximum_commanded_g 4 g
end_phase
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
# radar_signature VEHICLE_RADAR_SIGNATURE
comm uplink WSF_COMM_TRANSCEIVER
internal_link data_mgr
end_comm
processor task_mgr WSF_TASK_PROCESSOR
end_processor
processor data_mgr WSF_TRACK_PROCESSOR
purge_interval 400 seconds
end_processor
# processor seeker WSF_PERFECT_TRACKER
# update_interval 0.5 sec
# end_processor
sensor seeker RED_MISSILE_SEEKER
# on
ignore_same_side
processor data_mgr
end_sensor
processor seeker_turn_on WSF_WEAPON_TRACK_PROCESSOR
turn_on_sensor seeker at_range 30000.0 m before_intercept
end_processor
end_platform_type
weapon MACH_4_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type MACH_4_MISSILE
weapon_effects MACH_4_MISSILE_LETHALITY
quantity 1
firing_delay 0.0 sec
salvo_interval 2.0 sec
slew_mode azimuth
azimuth_slew_limits -180.0 deg 180.0 deg
tilt 88.9 deg
launch_delta_v 60.0 0.0 0.0 fps
end_weapon

View File

@@ -0,0 +1,121 @@
# ****************************************************************************
# 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.
# ****************************************************************************
#Launching platform and a scripted launch computer that creates a predicted intercept point needs to be made yet.
#12/05/2014
aero BULLET_AERO WSF_AERO
reference_area 7.0 cm2
cl_max 0.1
mach_and_cd 0.2 .2
mach_and_cd 0.8 .21
mach_and_cd 0.95 .29
mach_and_cd 1.1 .45
mach_and_cd 1.5 .3
mach_and_cd 4.2 .23
end_aero
platform_type BULLET WSF_PLATFORM
icon gbu-15
mover WSF_UNGUIDED_MOVER
# show status
update_interval 0.01 sec
stage 1
total_mass 0.4 kg
aero BULLET_AERO
end_stage
end_mover
processor fuse WSF_AIR_TARGET_FUSE
#update_interval 0.01 sec
gross_update_interval 0.10 sec
fine_update_interval 0.01 sec
end_processor
# processor write_info WSF_SCRIPT_PROCESSOR
# update_interval 1 sec
# on_update
# writeln("Time ", PLATFORM.TimeSinceCreation(), " Speed ", PLATFORM.Speed()*MATH.FT_PER_M(), " Range ", PLATFORM.SlantRangeTo(0,0,0));
# end_on_update
# end_processor
end_platform_type
weapon_effects BULLET_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 10 m 0.9 # bullet dispersion
script void on_weapon_target_engagement(WsfPlatform aTarget)
WsfPlatform weapon = WeaponPlatform();
WsfPlatform target = aTarget;
double slantrange = weapon.SlantRangeTo(TargetLocationAtLaunch());
if ((!target.IsValid()) || (!weapon.IsValid()))
{
return;
}
#if (slantrange > 1300)
if (slantrange > 650) #meters
{
SetPkDegrade(0.5);
}
end_script
end_weapon_effects
launch_computer BULLET_LAUNCH_COMPUTER WSF_SCRIPT_LAUNCH_COMPUTER #first attempt
# This is the required script method name and signature.
script void compute_intercept(WsfTrack aTrack, double aLaunchDelay)
# If needed the following additional script variables are pre-defined:
#
# WEAPON references the WsfWeapon to which the launch computer is attached.
# PLATFORM references the WsfPlatform to which the weapon is attached.
double weaponSpeed = 3000.0; # feet/sec
WsfWaypoint intercept = WsfWaypoint();
#double tti = PLATFORM.InterceptLocation2D(aTrack, intercept, weaponSpeed, aLaunchDelay);
double tti = PLATFORM.InterceptLocation3D(aTrack, intercept, weaponSpeed, aLaunchDelay);
if (tti > 0.0)
{
double az = PLATFORM.RelativeAzimuthOf(intercept.Location());
double el = PLATFORM.RelativeElevationOf(intercept.Location());
if (az < WEAPON.SlewMaximumAzimuth() && az > WEAPON.SlewMinimumAzimuth() &&
el < WEAPON.SlewMaximumElevation() && el > WEAPON.SlewMinimumElevation())
{
#compute additional drop in altitude from gravity
double drop = 0.5 * Earth.ACCEL_OF_GRAVITY() * tti * tti;
#add it back in (so the given point is above actual intercept point)
intercept.SetAltitude(intercept.Altitude()+drop, false);
SetInterceptPoint(intercept.Location());
# The next call is the minimum requirement for reporting an intercept.
SetInterceptTime(TIME_NOW + tti);
SetLaunchTime(TIME_NOW + aLaunchDelay);
SetTimeOfFlight(tti - aLaunchDelay);
}
}
end_script
end_launch_computer
weapon BULLET WSF_EXPLICIT_WEAPON
launch_computer BULLET_LAUNCH_COMPUTER #first attempt
end_launch_computer
launched_platform_type BULLET
weapon_effects BULLET_LETHALITY
# Slew is really not true but only for the air mover platform to be able to align to a target for it to shoot.
slew_mode azimuth_and_elevation
#azimuth_slew_limits -4 deg 4 deg
#elevation_slew_limits -4 deg 4 deg
azimuth_slew_limits -1.0 deg 1.0 deg
elevation_slew_limits -1.0 deg 1.0 deg
quantity 10 #(each shot represents a quantity of bullets as established by Pk)
firing_delay 0.1 sec
salvo_interval 5 sec # 5 seconds between bursts
#launch_delta_v 1900 0 0 ft/s # muzzle velocity
launch_delta_v 3000 0 0 ft/s # muzzle velocity - brawler: GUN_0_MD.GUN
#cue_to_predicted_intercept true
automatic_target_cueing false
cue_to_predicted_intercept false
end_weapon

View File

@@ -0,0 +1,377 @@
# ****************************************************************************
# 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 ------
# BLUE_LR_SAM
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'blue_lr_sam_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# References: (PDF files contained in the subdirectory blue_lr_sam_ref)
#
# 1) http://www.mda.mil/mdaLink/pdf/38112.pdf
# User Operational Evaluation System (UOES) THAAD Missile Configuration
# (NOTE: This document has vanished, but the captured wiki page in Ref 4
# has the same picture).
#
# 2) http://search.janes.com/Search/documentView.do?docId=/content1/janesdata/binder/jsws/jsws0203.htm@current&pageSelected=allJanes&keyword=THAAD&backPath=http://search.janes.com/Search&Prod_Name=JSWS&
# Jane's (JSWS) THAAD
# Launch weight: 630 kg
# Length and diameter same as Ref 1
# Range: 300 km
# Uses HTPB propellant
#
# There is some contradiction between the Jane's JSWS and JLAD documentation
# with regards to launch weight (630 kg vs. 800 kg), .
#
# 3) http://www.army-technology.com/projects/thaad/specs.html
# Launch weight: 900 kg
# Velocity: 2,800 m/s
# Range: > 200 km
# Maximum altitude of intercept: 150 km
#
# 4) http://en.wikipedia.org/wiki/Terminal_High_Altitude_Area_Defense
#
# 5) http://en.wikipedia.org/wiki/Space_Shuttle_Solid_Rocket_Booster
# Because there is no data that gives the mass of the propellant, it is
# assumed that it will follow the ratio of the fuel mass/total mass for
# the Space Shuttle solid rockets:
#
# Propellant Mass: 500,000 kg
# Inert (empty) Mass: 91,000 kg
# Fuel Mass / Total Mass = 500,000 / 591,000 = 0.846
#
# 6) http://en.wikipedia.org/wiki/Solid-fuel_rocket
# Indicates 'a typical solid fuel rocket motor may have a specific impulse
# of 265 sec'. But we'll assume the use of 'High Energy Composite (HEC)
# propellants, which is indicated a specific impulse of 275 sec.
###############################################################################
###############################################################################
# Support for explicit representation of spent stages
#
# Platforms will be created for spent stages if one the global script variables
# is defined as follows:
#
# script_variables
# SHOW_SPENT_STAGES["ALL"] = true; # For any weapon
# SHOW_SPENT_STAGES["BLUE_LR_SAM"] = true; # For just this weapon type
# end_script_variables
###############################################################################
include_once ../ssm/show_spent_stages.txt
aero BLUE_LR_SAM_SPENT_BOOSTER_AERO WSF_AERO
reference_area 0.09079 m^2 # Ref 1
aspect_ratio 1.0
cl_max 5.0
# zero_lift_cd 0.7
cd_zero_subsonic 1.5 # Extreme cd
cd_zero_supersonic 3.0 # Extreme cd
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
infrared_signature BLUE_LR_SAM_SPENT_BOOSTER_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature BLUE_LR_SAM_SPENT_BOOSTER_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature BLUE_LR_SAM_SPENT_BOOSTER_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
platform_type BLUE_LR_SAM_SPENT_BOOSTER WSF_PLATFORM
icon Scud_Missile
infrared_signature BLUE_LR_SAM_SPENT_BOOSTER_INFRARED_SIGNATURE
optical_signature BLUE_LR_SAM_SPENT_BOOSTER_OPTICAL_SIGNATURE
radar_signature BLUE_LR_SAM_SPENT_BOOSTER_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero BLUE_LR_SAM_SPENT_BOOSTER_AERO
total_mass 128.0 kg # Total - fuel
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
###############################################################################
# Signature data is unknown...
infrared_signature BLUE_LR_SAM_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature BLUE_LR_SAM_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature BLUE_LR_SAM_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects BLUE_LR_SAM_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.9
# This script will reduce the effectiveness if the impact geometry is not desirable.
script void on_weapon_target_engagement(WsfPlatform aTarget)
WsfPlatform weapon = WeaponPlatform();
if (! (aTarget.IsValid() && weapon.IsValid())) return;
// Compute the angle between the velocity vectors. A head-on hit would be 180 degrees.
// (velocity vectors in opposite directions).
Vec3 weaponVel = weapon.VelocityWCS();
Vec3 targetVel = aTarget.VelocityWCS();
double weaponVelMag = weaponVel.Magnitude();
double targetVelMag = targetVel.Magnitude();
if ((weaponVelMag > 1.0) && (targetVelMag > 1.0))
{
double cosAngle = Vec3.Dot(weaponVel, targetVel) / (weaponVelMag * targetVelMag);
if (cosAngle < -1.0) cosAngle = -1.0;
if (cosAngle > 1.0) cosAngle = 1.0;
double angle = Math.ACos(cosAngle);
writeln("Angle=", angle);
//TODO if (angle < xxx) SetPkDegrade(0.6);
}
end_script
end_weapon_effects
###############################################################################
aero BLUE_LR_SAM_BOOSTER_AERO WSF_AERO
# Booster is actually 340 mm in diameter, but kill vehicle masks it.
reference_area 0.10752 m^2 # Ref 1 - 370 mm diameter
#aspect_ratio 2.0
#cl_max 6.0
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
aero BLUE_LR_SAM_KILL_VEHICLE_AERO WSF_AERO
reference_area 0.10752 m^2 # Ref 1 - 370 mm diameter
#aspect_ratio 2.0
#cl_max 6.0
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
mover BLUE_LR_SAM_MOVER WSF_GUIDED_MOVER
integration_timestep 0.001 secs
update_interval 0.01 secs
# 20 sec of divert @ 1.5 G or 6 sec of divert @ 5.0 G
# (assuming empty mass of 80kg)
#
# Thrust = 80 kg (empty mass) * 9.80665 m/s^2 (g) * 5 = 3922.66 Nt
# Assume a specific impulse (I) of 267 sec
# m(dot) = thrust / I / g = 1.4979 Kg/s
# m = 5 sec * 1.4545 = 7.4894 kg
divert_thrust 3922.66 Nt
divert_fuel_mass 7.4894 kg
divert_fuel_mass 10.0 kg # Gave it a little more for testing (bad initial conditions)
divert_fuel_flow_rate 1.4979 kg/s
divert_altitude_limits 80 km 500 km
# The nozzle exit area and nozzle throat area were derived by ratios using the picture in Ref 1.
# The measured diameters (NOT ACTUAL) from the picture were:
#
# Booster: 41.0 mm
# Nozzle Throat: 7.2 mm
# Nozzle Exit: 23.5 mm
#
# The derived values are then:
#
# Nozzle Throat: Diameter = 0.340 m * (7.2 / 41.0) = 0.0597 m, Area = 0.0938 m^2
# Nozzle Exit : Diameter = 0.340 m * (23.5 / 41.0) = 0.195 m, Area = 0.305 m^2
#
# The volume of the fuel mass is also calculated from the drawing
#
# Inside length: 6.170 * (91 / 185) ~= 3.035 m
# Inside diameter: = 0.340 * (39 / 41) ~= 0.3234 m
# Inside volume = 3.168 * (pi * (0.3234/2)^2) ~= .2408 m^3
#
# HTPB has a density of 0.92 g/ml, but is typically mixed with aluminum (2.7 g/ml) and
# ammonium perchlorate (1.95 g/ml). An HTPB/AP/AL mixture of 12%/68%/20% resulted in a
# density 1.98 g/ml which resulted in a fuel mass of 476 kg. The mass fraction will be
# assumed to be 0.8 instead of the 0.85 of the Space Shuttle because of the increased
# acceleration. This gives a mass of 595 kg. An addition 5 kg will be added for the
# interstage and the shroud for a total of 600 kg.
stage 1
aero BLUE_LR_SAM_BOOSTER_AERO
nozzle_exit_area 0.305 m^2 # See calculations above
total_mass 600 kg # See calculations above
fuel_mass 485 kg # See calculations above
#thrust_duration 11.0 sec
#sea_level_specific_impulse 265 sec # Ref 6
thrust_duration 18 sec # Adjusted to get close to 2800 m/s
sea_level_specific_impulse 250 sec # Adjusted to get close to 2800 m/s
end_stage
stage 2
aero BLUE_LR_SAM_KILL_VEHICLE_AERO
total_mass 30 kg # Just the kill vehicle (630 - 600)
end_stage
end_mover
###############################################################################
processor BLUE_LR_SAM_GUIDANCE WSF_GUIDANCE_COMPUTER
# No datalink or seeker is being used, so we must guide to the true target
guide_to_truth true
phase LAUNCH
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 2.0 g
next_phase MIDCOURSE when on_commanded_flight_path_angle
end_phase
phase MIDCOURSE
# no guidance (just use gravity turn)
guidance_delay 1000.0 sec
next_phase TERMINAL when target_slant_range < 140.0 km
end_phase
phase TERMINAL
proportional_navigation_gain 10.0
proportional_navigation_method augmented
# Disable velocity pursuit. The angle which controls the switch between
# velocity pursuit and pronav are too sensitive at short ranges.
velocity_pursuit_gain 0.0
# Disable g-bias. The target is also falling, so we don't want to fight
# against it! (this is assuming terminal intercept, not boost)
g_bias 0.0
end_phase
end_processor
###############################################################################
platform_type BLUE_LR_SAM_BASE WSF_PLATFORM
icon SA-10_Missile
infrared_signature BLUE_LR_SAM_INFRARED_SIGNATURE
optical_signature BLUE_LR_SAM_OPTICAL_SIGNATURE
radar_signature BLUE_LR_SAM_RADAR_SIGNATURE
weapon_effects BLUE_LR_SAM_EFFECT
mover BLUE_LR_SAM_MOVER
#show_status
end_mover
processor guidance BLUE_LR_SAM_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_AIR_TARGET_FUSE
detonate_below_mach 1.0
end_processor
weapon booster WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_LR_SAM_SPENT_BOOSTER
launch_delta_v -50.0 0.0 0.0 m/s
quantity 1
end_weapon
script void on_stage_separation(int aStage)
extern Map<string, bool> SHOW_SPENT_STAGES;
if (SHOW_SPENT_STAGES["ALL"] ||
SHOW_SPENT_STAGES["BLUE_LR_SAM"])
{
if (aStage == 1) Weapon("booster").Fire(WsfTrack());
}
end_script
end_platform_type
###############################################################################
launch_computer BLUE_LR_SAM_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_air_table weapons/sam/blue_lr_sam_launch_data.txt
integration_time_step 0.05 sec
# Disallow intercepts at unreasonable angles
maximum_intercept_angle 60 deg
end_launch_computer
###############################################################################
weapon BLUE_LR_SAM WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -2.085 m # Ref 1, length = 6170 mm
launched_platform_type BLUE_LR_SAM
launch_computer BLUE_LR_SAM_LAUNCH_COMPUTER
end_launch_computer
tilt 75 deg
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
quantity 8
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

View File

@@ -0,0 +1,93 @@
# ****************************************************************************
# 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 ------
# BLUE_LR_SAM - Complex (with uplink and seeker)
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This BLUE_LR_SAM representation extends upon the baseline seeker representation
# by providing a datalink and a seeker.
#
###############################################################################
include blue_lr_sam_common.txt
###############################################################################
platform_type BLUE_LR_SAM BLUE_LR_SAM_BASE
comm datalink WSF_COMM_TRANSCEIVER
internal_link data_mgr
end_comm
# The seeker is modeled very simplisticly. There is no performance data.
# This is really just a method to model seeker errors.
sensor seeker WSF_GEOMETRIC_SENSOR
off
frame_time 0.1 sec
azimuth_field_of_view -30 deg 30 deg
elevation_field_of_view -30 deg 30 deg
maximum_range 50 km
maximum_request_count 1
range_error_sigma 1 m
azimuth_error_sigma 0.001 deg
elevation_error_sigma 0.001 deg
filter WSF_KALMAN_FILTER
process_noise_sigmas_XYZ 50 50 50
process_noise_model constant_acceleration
end_filter
reports_range
reports_bearing
reports_elevation
reports_velocity
internal_link data_mgr
end_sensor
processor data_mgr WSF_WEAPON_TRACK_PROCESSOR
end_processor
# Modify the guidance processor such that when it enters TERMINAL phase
# that it turns on the sensor and starts tracking the target. During this
# phase we guide to perception to allow the introduction of errors.
edit processor guidance
edit phase TERMINAL
guide_to_truth false
on_entry
WsfSensor seeker = PLATFORM.Sensor("seeker");
WsfTrack targetTrack = PLATFORM.CurrentTargetTrack();
if (seeker.IsValid() &&
targetTrack.IsValid())
{
seeker.TurnOn();
seeker.StartTracking(targetTrack, "");
}
end_on_entry
end_phase
end_processor
end_platform_type

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,54 @@
# ****************************************************************************
# 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 generator for BLUE_LR_SAM.
###############################################################################
file_path ../../../base_types
include blue_lr_sam_simple.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon blue_lr_sam BLUE_LR_SAM
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
frame_step 0.5 sec # sample time of trajectory
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
air_target_file blue_lr_sam_launch_data.txt
#gnuplot_file blue_lr_sam_trajectory.plt
loft_angles from 20 deg to 75 deg by 0.2 deg
############################################################################
# All of the remaining data is used to keep the launch computer dataset
# small and to only enable solutions that are doctrinally allowed.
############################################################################
# 'minimum_output_time' should be greater than or equal to the burn time.
# (No intercept during boost)
minimum_output_time 20 sec
# these are new (bwf)
# maximum_output_time 300.0 sec
maximum_output_range 200.0 km
#JAJ maximum_output_altitude 150.0 km
limited_to_preapogee
end_tool
event_pipe
#file replay.aer
end_event_pipe

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,33 @@
# ****************************************************************************
# 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 ------
# BLUE_LR_SAM - Simple (no uplink, no seeker, guide-to-truth)
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This is a simple representation that guides perfectly to the target. There
# is no uplink or seeker.
#
###############################################################################
include weapons/sam/blue_lr_sam_common.txt
###############################################################################
platform_type BLUE_LR_SAM BLUE_LR_SAM_BASE
end_platform_type

View File

@@ -0,0 +1,217 @@
# ****************************************************************************
# 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 blue_naval_sam
# Sources:
# http://en.wikipedia.org/wiki/RIM-161_Standard_Missile_3
# http://www.raytheon.com/capabilities/products/stellent/groups/public/documents/content/cms01_055769.pdf
# http://www.globalsecurity.org/space/systems/sm3.htm
# http://www.astronautix.com/lvs/staarder.htm
# http://www.designation-systems.net/dusrm/m-161.html
# http://www.designation-systems.net/dusrm/m-156.html (sm2 body information)
# http://www.dtic.mil/cgi-bin/GetTRDoc?AD=ADA457566&Location=U2&doc=GetTRDoc.pdf
# http://web.mit.edu/stgs/pdfs/Forden_Preliminary_analysis_USA_193_Shoot_down.pdf
# http://www.janes.com (requires subscription)
# http://www.deagel.com/Anti-Ballistic-Missiles/Standard-SM-3-Block-IB_a001148012.aspx
# Weapon Definition starts here.
# script_debug_writes on
# Signature data is unknown...
infrared_signature BLUE_NAVAL_SAM_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature BLUE_NAVAL_SAM_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature BLUE_NAVAL_SAM_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
# Weapon effects
weapon_effects BLUE_NAVAL_SAM_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 3 km 1.0
end_weapon_effects
########### Aero definitions ##################################################
aero BLUE_NAVAL_SAM_STAGE_1_AERO WSF_AERO
reference_area 2.35 ft^2
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
aero BLUE_NAVAL_SAM_STAGE_2_AERO WSF_AERO
reference_area 1.02 ft^2
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
aero BLUE_NAVAL_SAM_STAGE_3_AERO WSF_AERO
reference_area 1.02 ft^2
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
aero BLUE_NAVAL_SAM_STAGE_4_AERO WSF_AERO #warhead & sensor
reference_area 1.02 ft^2
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
########### Mover definitions ##################################################
mover BLUE_NAVAL_SAM_MOVER WSF_GUIDED_MOVER
#show_status
integration_timestep 0.001 secs
update_interval 0.01 secs
# divert thrust taken from unclass blue_lr_sam and doubled
divert_thrust 8000 Nt
divert_fuel_mass 10 kg
divert_fuel_flow_rate 1.0 kg/s
divert_altitude_limits 80 km 1000 km
# stage info came from janes.com,
# designation-systems.com
# astronautix.com
stage 1 # MK-72 Solid Rocket Booster
aero BLUE_NAVAL_SAM_STAGE_1_AERO
empty_mass 535 lbs
total_mass 1540 lbs
specific_impulse 260 sec
thrust_duration 6 sec
end_stage
stage 2 # MK-104 Solid Rocket Booster
aero BLUE_NAVAL_SAM_STAGE_2_AERO
pre_ignition_coast_time 1 sec
total_mass 1100 lbs
empty_mass 282 lbs
#fuel_mass 418 lbs
specific_impulse 260 sec
thrust_duration 25 sec
pre_separation_coast_time 30 sec
end_stage
stage 3 # MK-136 Solid Rocket
aero BLUE_NAVAL_SAM_STAGE_3_AERO
total_mass 220 lbs
empty_mass 187 lbs
# fuel_mass 125 lbs
specific_impulse 260 sec
thrust_duration 15 sec
pre_separation_coast_time 1 sec
end_stage
stage 4 # warhead and seeker (aka kill vehicle )
aero BLUE_NAVAL_SAM_STAGE_4_AERO
total_mass 70 lbs
fuel_mass 0 lbs
end_stage
end_mover
############### BLUE_NAVAL_SAM platform ##########################################
platform_type BLUE_NAVAL_SAM WSF_PLATFORM
icon Scud_Missile
infrared_signature BLUE_NAVAL_SAM_INFRARED_SIGNATURE
optical_signature BLUE_NAVAL_SAM_OPTICAL_SIGNATURE
radar_signature BLUE_NAVAL_SAM_RADAR_SIGNATURE
weapon_effects BLUE_NAVAL_SAM_LETHALITY
mover BLUE_NAVAL_SAM_MOVER
end_mover
processor BLUE_NAVAL_SAM_GUIDANCE WSF_GUIDANCE_COMPUTER
guide_to_truth true
phase LAUNCH
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
next_phase TERMINAL if target_slant_range < 200 km # 150 km
next_phase MIDCOURSE if on_commanded_flight_path_angle
end_phase
phase MIDCOURSE
guidance_delay 2000 secs # stay on commanded loft angle
next_phase TERMINAL when target_slant_range < 100 km #250 km
end_phase
phase TERMINAL
proportional_navigation_gain 10.0
proportional_navigation_method augmented
# Disable velocity pursuit. The angle which controls the switch between
# velocity pursuit and pronav are too sensitive at short ranges.
velocity_pursuit_gain 0.0
# Disable g-bias. The target is also falling, so we don't want to fight
# against it! (this is assuming terminal intercept, not boost)
g_bias 0.0
end_phase
end_processor
processor fuse WSF_AIR_TARGET_FUSE
use_current_target
gross_proximity_range 7 km
hit_proximity_range 5 km
update_interval 0.50 sec
fine_update_interval 0.01 sec
time_of_flight_to_arm 60 sec
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.25 sec
end_processor
end_platform_type
launch_computer BLUE_NAVAL_SAM_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
maximum_time_of_flight 1000 sec
surface_to_air_table weapons/sam/blue_naval_sam_launch_data.txt
integration_time_step 0.05 sec
# Disallow intercepts at unreasonable angles
maximum_intercept_angle 60 deg
end_launch_computer
########EXPLICIT WEAPON#############################
weapon BLUE_NAVAL_SAM WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_NAVAL_SAM
launch_computer BLUE_NAVAL_SAM_LAUNCH_COMPUTER
end_launch_computer
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
quantity 1
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,51 @@
# ****************************************************************************
# 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 generator for blue_naval_sam.
###############################################################################
file_path ../../../base_types
include blue_naval_sam.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon blue_naval_sam BLUE_NAVAL_SAM
firing_delay 0.0 sec
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
frame_step 0.5 sec # sample time of trajectory
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
air_target_file blue_naval_sam_launch_data.txt
#gnuplot_file blue_naval_sam_trajectory.plt
loft_angles from 62 deg to 89.8 deg by 0.2 deg
############################################################################
# All of the remaining data is used to keep the launch computer dataset
# small and to only enable solutions that are doctrinally allowed.
############################################################################
# 'minimum_output_time' should be greater than or equal to the burn time.
# (No intercept during boost)
minimum_output_time 46 sec
maximum_output_range 1000 km
#maximum_output_altitude 440 km
end_tool
event_pipe
# file blue_naval_sam_lc_replay.aer
end_event_pipe

View File

@@ -0,0 +1,236 @@
# ****************************************************************************
# 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 ------
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# References: (PDF files contained in the subdirectory blue_sr_sam_ref)
#
# 1) Jane's JLAD Patriot PAC-3, 21-May-2009
# Diameter: .255 m, Length 5.205
# Mass: 315 kg for BLUE_SR_SAM, 312 kg for BLUE_SR_SAM MSE
# Max Speed: 1700 m/s for BLUE_SR_SAM, >1700 m/s for BLUE_SR_SAM MSE
# Max Range: 15 km for BLUE_SR_SAM, 22 km for BLUE_SR_SAM MSE
#
# 2) http://en.wikipedia.org/wiki/MIM-104_Patriot
# 'The system's missiles are transported on and launched from the M901
# Launching Station, which can carry up to four PAC-2 missiles or up to
# sixteen PAC-3 missiles.'
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'blue_sr_sam_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
# Signature data is unknown...
infrared_signature BLUE_SR_SAM_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature BLUE_SR_SAM_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature BLUE_SR_SAM_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects BLUE_SR_SAM_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 100.0 m 0.9
# This script will reduce the effectiveness if the impact geometry is not desirable.
script void on_weapon_target_engagement(WsfPlatform aTarget)
WsfPlatform weapon = WeaponPlatform();
if (! (aTarget.IsValid() && weapon.IsValid())) return;
// Compute the angle between the velocity vectors. A head-on hit would be 180 degrees.
// (velocity vectors in opposite directions).
Vec3 weaponVel = weapon.VelocityWCS();
Vec3 targetVel = aTarget.VelocityWCS();
double weaponVelMag = weaponVel.Magnitude();
double targetVelMag = targetVel.Magnitude();
if ((weaponVelMag > 1.0) && (targetVelMag > 1.0))
{
double cosAngle = Vec3.Dot(weaponVel, targetVel) / (weaponVelMag * targetVelMag);
if (cosAngle < -1.0) cosAngle = -1.0;
if (cosAngle > 1.0) cosAngle = 1.0;
double angle = Math.ACos(cosAngle);
writeln("Angle=", angle);
//TODO if (angle < xxx) SetPkDegrade(0.6);
}
end_script
end_weapon_effects
###############################################################################
aero BLUE_SR_SAM_AERO WSF_AERO
reference_area 0.0510705 m2 # Ref 1, 0.255 m diameter
aspect_ratio 2.0
cl_max 4.5
cl_max 20.0 # TODO-TEST
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
mover BLUE_SR_SAM_MOVER WSF_GUIDED_MOVER
integration_timestep 0.001 secs
update_interval 0.01 secs
stage 1
aero BLUE_SR_SAM_AERO
total_mass 315 kg # Ref 1
# Ref 2 defines the warhead to be 73 kg
# Add another 20% of remaining mass for structure. (Space Shuttle SRB is
# about 15% structure, but we're making it 20% to account for higher G's.
#
# 315 kg - 73 kg = 242 kg
# 242 kg * 0.2 = 48.4 kg
# So empty mass = 73 + 48 = 121.4 kg
empty_mass 121.4 kg # See calculations above
specific_impulse 250 sec # Nominal solid rocket
burn_time 13 sec # Estimated to get speed ~= 1700 m/s
end_stage
end_mover
###############################################################################
processor BLUE_SR_SAM_GUIDANCE WSF_GUIDANCE_COMPUTER
# No datalink or seeker is being used, so we must guide to the true target
guide_to_truth true
phase LAUNCH
guidance_delay 100.0 sec
next_phase PITCH_OVER when phase_time >= 0.1 sec
end_phase
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 20.0 g
next_phase MIDCOURSE when on_commanded_flight_path_angle
end_phase
phase MIDCOURSE
# no guidance (just use gravity turn)
guidance_delay 1000.0 sec
next_phase TERMINAL when time_to_intercept < 12.0 sec
end_phase
phase TERMINAL
proportional_navigation_gain 10.0
proportional_navigation_method augmented
# Disable velocity pursuit. The angle which controls the switch between
# velocity pursuit and pronav are too sensitive at short ranges.
velocity_pursuit_gain 0.0
# Disable g-bias. The target is also falling, so we don't want to fight
# against it! (this is assuming terminal intercept, not boost)
g_bias 0.0
end_phase
end_processor
###############################################################################
platform_type BLUE_SR_SAM_BASE WSF_PLATFORM
icon SA-10_Missile
infrared_signature BLUE_SR_SAM_INFRARED_SIGNATURE
optical_signature BLUE_SR_SAM_OPTICAL_SIGNATURE
radar_signature BLUE_SR_SAM_RADAR_SIGNATURE
weapon_effects BLUE_SR_SAM_EFFECT
mover BLUE_SR_SAM_MOVER
#show_status
#time_history_path .
end_mover
processor guidance BLUE_SR_SAM_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_AIR_TARGET_FUSE
detonate_below_mach 1.0
# The following are used to limit the run time during launch computer
# generation. They can be removed for real simulation use if one really
# wants to see the missile do something after a big miss.
detonate_above_height_msl 35 km
max_time_of_flight_to_detonate 80 sec
end_processor
end_platform_type
###############################################################################
launch_computer BLUE_SR_SAM_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_air_table weapons/sam/blue_sr_sam_launch_data.txt
integration_time_step 0.05 sec
# Disallow intercepts at unreasonable angles
maximum_intercept_angle 60 deg
end_launch_computer
###############################################################################
weapon BLUE_SR_SAM WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -1.6025 m # Ref 1, length = 5.205 m
launched_platform_type BLUE_SR_SAM
launch_computer BLUE_SR_SAM_LAUNCH_COMPUTER
end_launch_computer
tilt 35 deg
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
quantity 16 # Ref 2
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

View File

@@ -0,0 +1,107 @@
# ****************************************************************************
# 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 ------
# BLUE_SR_SAM - Complex (with uplink and seeker)
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This BLUE_SR_SAM representation extends upon the baseline seeker representation
# by providing a datalink and a seeker.
#
# References:
#
# 1) http://www.globalsecurity.org/space/systems/patriot-ac-3.htm
#
# "The missile flies to an intercept point specified prior to launch by its
# ground-based fire solution computer, which is embedded in the engagement
# control station. Target trajectory data can be updated during missile flyout
# by means of a radio frequency uplink/downlink. Shortly before arrival at the
# intercept point, the PAC-3 Missile's on board Ka band seeker acquires the
# target, selects the optimal aim point and terminal guidance is initiated.
# The ACMs, which are small, short duration solid propellant rocket motors
# located in the missile forebody, fire explosively to refine the missile's
# course to assure body-to-body impact.
###############################################################################
include blue_sr_sam_common.txt
###############################################################################
platform_type BLUE_SR_SAM BLUE_SR_SAM_BASE
comm datalink WSF_COMM_TRANSCEIVER
internal_link data_mgr
end_comm
# The seeker is modeled very simplisticly. There is no performance data.
# This is really just a method to model seeker errors.
sensor seeker WSF_GEOMETRIC_SENSOR
off
frame_time 0.1 sec
azimuth_field_of_view -70 deg 70 deg
elevation_field_of_view -70 deg 70 deg
maximum_range 50 km
maximum_request_count 1
range_error_sigma 1 m
azimuth_error_sigma 0.001 deg
elevation_error_sigma 0.001 deg
filter WSF_KALMAN_FILTER
process_noise_sigmas_XYZ 50 50 50
process_noise_model constant_acceleration
end_filter
reports_range
reports_bearing
reports_elevation
reports_velocity
internal_link data_mgr
end_sensor
processor data_mgr WSF_WEAPON_TRACK_PROCESSOR
end_processor
# Modify the guidance processor such that when it enters TERMINAL phase
# that it turns on the sensor and starts tracking the target. During this
# phase we guide to perception to allow the introduction of errors.
edit processor guidance
edit phase TERMINAL
guide_to_truth false
on_entry
WsfSensor seeker = PLATFORM.Sensor("seeker");
WsfTrack targetTrack = PLATFORM.CurrentTargetTrack();
if (seeker.IsValid() &&
targetTrack.IsValid())
{
seeker.TurnOn();
seeker.StartTracking(targetTrack, "");
}
end_on_entry
end_phase
end_processor
end_platform_type

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,69 @@
# ****************************************************************************
# 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 generator for BLUE_SR_SAM.
###############################################################################
file_path ../../../base_types
include blue_sr_sam_simple.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon blue_sr_sam BLUE_SR_SAM
# Override the firing delay because we are using the firing delay during
# the real simulation to overcome a problem with ballistic intercept
# prediction not accounting for drag.
firing_delay 0.0 sec
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
frame_step 0.5 sec # sample time of trajectory
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
air_target_file blue_sr_sam_launch_data.txt
#gnuplot_file blue_sr_sam_trajectory.plt
loft_angles from 20 deg to 85 deg by 0.2 deg
############################################################################
# All of the remaining data is used to keep the launch computer dataset
# small and to only enable solutions that are doctrinally allowed.
#
# If you change these values, also review the weapon fuse definitions in
# blue_sr_sam.txt. It has limits that will cause the weapon to self-destruct in
# certain cases.
############################################################################
# 'minimum_output_time' should be greater than or equal to the burn time.
# (No intercept during boost)
minimum_output_time 10 sec
# Jane's says the max range is 15-20km, but may be more things like
# fighters or cruise missiles.
#
# (MJM) Missiles were fusing on min mach for low trajectories; setting range
# to just over 20 km.
maximum_output_range 22.5 km
# Jane's says the max intercept altitude is 15 km, but we may need to
# go past apogee, so we'll set it higher.
maximum_output_altitude 20 km
end_tool
event_pipe
#file replay.aer
end_event_pipe

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,33 @@
# ****************************************************************************
# 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 ------
# BLUE_SR_SAM - Simplified (no uplink, no seeker, guide-to-truth)
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This is a 'simplified' BLUE_SR_SAM (guide-to-truth, no uplink, no seeker). It uses
# the base BLUE_SR_SAM from blue_sr_sam_common.txt
#
###############################################################################
include blue_sr_sam_common.txt
###############################################################################
platform_type BLUE_SR_SAM BLUE_SR_SAM_BASE
end_platform_type

View File

@@ -0,0 +1,14 @@
@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 ****************************************************************************
setlocal
call ..\..\..\bin\weapon_tools.exe blue_sr_sam_lcg.txt
call ..\..\..\bin\weapon_tools.exe blue_lr_sam_lcg.txt
call ..\..\..\bin\weapon_tools.exe blue_naval_sam_lcg.txt
endlocal

View File

@@ -0,0 +1,124 @@
# ****************************************************************************
# 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
# Tomahawk surfaced launched version (has a booster)
# All data from internet sources
#
# No terminal sensor for now.
infrared_signature BLUE_CRUISE_MISSILE_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature BLUE_CRUISE_MISSILE_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature BLUE_CRUISE_MISSILE_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero BLUE_CRUISE_MISSILE_AERO WSF_AERO
cd_zero_subsonic 0.1
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.3
mach_max_supersonic 4
reference_area 0.21237 m2 #0.52 meter diameter
cl_max 10
aspect_ratio 16.0
end_aero
weapon_effects BLUE_CRUISE_MISSILE_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 30 m 0.85
end_weapon_effects
platform_type BLUE_CRUISE_MISSILE WSF_PLATFORM
icon CALCM
category cruise-missile
infrared_signature BLUE_CRUISE_MISSILE_INFRARED_SIGNATURE
optical_signature BLUE_CRUISE_MISSILE_OPTICAL_SIGNATURE
radar_signature BLUE_CRUISE_MISSILE_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
#show_status
update_interval .5 sec
integration_timestep 0.05 sec
stage 1 # Booster
initial_mass 550 lbs
fuel_mass 440 lbs
thrust 7418 lbf
thrust_duration 12 sec
aero BLUE_CRUISE_MISSILE_AERO
end_stage
stage 2 # Turbofan
initial_mass 2650 lb
fuel_mass 500 lb # guess
thrust 696.9 lbf
burn_rate 350 lb/hr
aero BLUE_CRUISE_MISSILE_AERO
thrust_delay 1.0 sec # no idea how long before it fires off after the booster falls off...
end_stage
end_mover
processor guidance WSF_GUIDANCE_COMPUTER
#show_status
#show_evaluations
#debug
guide_to_truth true # for testing
phase LAUNCH
commanded_altitude 5000 ft
commanded_flight_path_angle 60 deg
next_phase CRUISE when phase_time > 16 sec
end_phase
phase CRUISE
commanded_altitude 500 ft agl
commanded_speed 910 fps
maximum_commanded_g 2 g
next_phase TERMINAL if target_slant_range < 1 miles
end_phase
phase TERMINAL
commanded_speed 800 fps
proportional_navigation_gain 40
maximum_pitch_angle 90 deg
maximum_commanded_g 10 g
end_phase
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
comm uplink WSF_COMM_TRANSCEIVER
internal_link data_mgr
end_comm
processor task_mgr WSF_TASK_PROCESSOR
end_processor
processor data_mgr WSF_TRACK_PROCESSOR
purge_interval 4000 seconds
end_processor
end_platform_type
weapon BLUE_CRUISE_MISSILE WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_CRUISE_MISSILE
weapon_effects BLUE_CRUISE_MISSILE_LETHALITY
quantity 1
firing_delay 0.0 sec
salvo_interval 2 sec
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
tilt 88.9 deg
end_weapon

View File

@@ -0,0 +1,294 @@
# ****************************************************************************
# 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
# This missile model created from internet sources as listed.
# Although sources have range listed from 8,000km to 14,000km,
# this model achieves 1,140 km max range with a 1,050kg RV (payload).
# In the "Annual Report to Congress Military Power of the People's Republic
# of China Military Report 2008", it lists the range as 11,200km.
# http://www.sinodefence.com/strategic/missile/df31.asp
#Contractor: CASIC 4th Academy
#Service status: In service
#Configuration: Three-stage, solid propellant
#Deployment: Road mobile, 8X8 tractor truck + 8-wheel trailer; or silo
#Length: 13m
#Body diameter: 2.25m
#Launch weight: 42,000kg
#Range: 10,700~11,200km
#Re-entry vehicle mass: 700kg (or 1,050~1,750kg)
#Warhead: One single 1,000kT yield
#Guidance: Inertial + stellar update
#Accuracy: 100~300m CEP
#Launch preparation time: 15~30 min
#
#http://www.janes.com (subscription required)
#Length: 13.0 m (31), 18.7 m (31A)
#Body diameter: 2.0 m (1st and 2nd stages) and 1.5 m (3rd stage)
#Launch weight: 42,000 kg (31), 63,000 kg (31A)
#Payload: Single warhead or 3-5 MIRV, 1,050-1,750 kg
#Warhead: Nuclear 1 MT or 3-5 MIRV with selectable 20, 90 or 150 kT each
#Guidance: Inertial with stellar updates
#Propulsion: 3-stage solid propellant
#Range: 8,000 km (31), or 10,000 and 14,000 km (31A)
#Accuracy: 300 m CEP
#http://www.astronautix.com/lvs/df31.htm
#* Stage1: 1 x JL-2-1. Motor: 1 x red_icbm_1-1. Length: 8.00 m (26.20 ft). Diameter:
#* 2.00 m (6.50 ft). Propellants:
#Solid.
#* Stage2: 1 x KT-1-2. Motor: 1 x red_icbm_1-2. Length: 4.00 m (13.10 ft). Diameter:
#* 2.00 m (6.50 ft). Propellants:
#Solid.
#* Stage3: 1 x JL-2-3. Motor: 1 x red_icbm_1-3. Length: 2.00 m (6.50 ft). Diameter:
#* 2.00 m (6.50 ft). Propellants: S
#Solid.
infrared_signature RED_ICBM_1_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_ICBM_1_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_ICBM_1_RADAR_SIG
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects RED_ICBM_1_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0
end_weapon_effects
###############################################################################
aero RED_ICBM_1_STAGE_1_AERO WSF_AERO
reference_area 3.141 m^2 # 2.0 m diameter
aspect_ratio 4.0 # 8 meters length
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.20
mach_max_supersonic 6.00
end_aero
aero RED_ICBM_1_STAGE_2_AERO WSF_AERO
reference_area 3.141 m^2 # 2.0 m diameter
aspect_ratio 2.0 # 4 meters length
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.20
mach_max_supersonic 6.00
end_aero
aero RED_ICBM_1_STAGE_3_AERO WSF_AERO
# According to pictures, about 65% of diameter
reference_area 1.767 m^2 # 1.5 m diameter
aspect_ratio 1.0 # 2 meters length
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.20
mach_max_supersonic 6.00
end_aero
aero RED_ICBM_1_RV_AERO WSF_AERO
reference_area 1.767 m^2 # 1.5 m diameter
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.25
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
mover RED_ICBM_1_MOVER WSF_GUIDED_MOVER
integration_timestep 0.01 secs
update_interval 0.01 secs
# Length: 18.7 m (31A)
#Body diameter: 2.0 m (1st and 2nd stages) and 1.5 m (3rd stage)
#Launch weight: 63,000 kg (31A)
#Payload: Single warhead or 3-5 MIRV, 1,050-1,750 kg
#Warhead: Nuclear 1 MT or 3-5 MIRV with selectable 20, 90 or 150 kT each
#Guidance: Inertial with stellar updates
#Propulsion: 3-stage solid propellant
#Range: 14,000 km (31A) / 11,200 km wiki
#Stage1:Motor: 1 x red_icbm_1-1. Length: 8.00 m (26.20 ft). Diameter: 2.00 m (6.50 ft). Propellants: Solid.
#Stage2:Motor: 1 x red_icbm_1-2. Length: 4.00 m (13.10 ft). Diameter: 2.00 m (6.50 ft). Propellants: Solid.
#Stage3:Motor: 1 x red_icbm_1-3. Length: 2.00 m (6.50 ft). Diameter: 2.00 m (6.50 ft). Propellants: Solid.
#Appr:Taking 63,000 kg - 1,050kg for RV
#Appr:61,950 kg total x 22% for empty weight leaves
#Appr:13,629 kg structure weight and 48321 fuel weight
#Appr:Motor Total weight (lbs) is function of diameter and length:
#Appr:Rule of thumb: W = length(in) x diam^2(in) x 0.04
#Appr:First stage total mass 314.4 x 6084 x 0.04 = 76512.384 lbs = 34705 kg
#Appr:Second stage total mass 157.2 x 6084 x 0.04 = 38256.192 lbs = 17352 kg
#Appr:Third stage total mass 78.0 x 6084 x 0.04 = 18982.080 lbs = 8610 kg
#Appr:Total Weight of stages = 60667 kg - close to published weight
#Appr:Use 90% of total weight for fuel. Rule of thumb is 75-90%.
#Appr:Burn time = (total impulse)/(average thrust)
#Appr:Burn time = (motor impulse in newton seconds / (motor thrust in Newtons )
#Appr:Burn time = (Fuel Mass) / (Mass Flow Rate)
stage 1
aero RED_ICBM_1_STAGE_1_AERO
total_mass 34750 kg # rounded
fuel_mass 31275 kg # 90% of stage weight
specific_impulse 270 sec # typical
thrust_duration 70 sec # adjust for max g's
# COMPUTED FROM WSF RUN
#Empty Mass : 3475 kg; 7661.06 lbm
#Fuel Mass : 31275 kg; 68949.6 lbm
#Total Mass : 34750 kg; 76610.6 lbm
#Thrust : 1.183e+06 N; 265948 lbf; 120632 kgf
#Specific Impulse: 270 sec
#Burn Rate : 446.786 kg/sec; 984.994 lbm/sec
#Thrust Duration : 70 sec
#Fuel Used : 31275 kg; 68949.6 lbm
#Total Starting Mass: 61800 kg; 136246 lbm
#Total Ending Mass: 30525 kg; 67296.1 lbm
#Acceleration at stage 1 separation: 3.26g
end_stage
stage 2
aero RED_ICBM_1_STAGE_2_AERO
total_mass 17400 kg # rounded
fuel_mass 15660 kg # 90% of stage weight
specific_impulse 270 sec # typical
thrust_duration 80 sec # adjust for max g's
#Empty Mass : 1740 kg; 3836.04 lbm
#Fuel Mass : 15660 kg; 34524.4 lbm
#Total Mass : 17400 kg; 38360.4 lbm
#Thrust : 518306 N; 116520 lbf; 52852.5 kgf
#Specific Impulse: 270 sec
#Burn Rate : 195.75 kg/sec; 431.555 lbm/sec
#Thrust Duration : 80 sec
#Fuel Used : 15660 kg; 34524.4 lbm
#Total Starting Mass: 27050 kg; 59635 lbm
#Total Ending Mass: 11390 kg; 25110.7 lbm
#Acceleration at stage 2 separation: 4.30g
end_stage
stage 3
aero RED_ICBM_1_STAGE_3_AERO
total_mass 8600 kg # rounded
fuel_mass 7740 kg # 90% of stage weight
specific_impulse 270 sec # typical
thrust_duration 100 sec # adjust for max g's
#Empty Mass : 860 kg; 1895.98 lbm
#Fuel Mass : 7740 kg; 17063.8 lbm
#Total Mass : 8600 kg; 18959.8 lbm
#Thrust : 204939 N; 46072.2 lbf; 20898 kgf
#Specific Impulse: 270 sec
#Burn Rate : 77.4 kg/sec; 170.638 lbm/sec
#Thrust Duration : 100 sec
#Fuel Used : 7740 kg; 17063.8 lbm
#Total Starting Mass: 9650 kg; 21274.6 lbm
#Total Ending Mass: 1910 kg; 4210.83 lbm
#Acceleration at stage 3 separation: 9.9g (a little high)
end_stage
stage 4
aero RED_ICBM_1_RV_AERO
total_mass 1050 kg
end_stage
end_mover
processor RED_ICBM_1_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 5.0 sec
commanded_flight_path_angle 89.9 deg
next_phase PITCH_OVER when phase_time >= 5.0 sec
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
#commanded_flight_path_angle 89 deg
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0
velocity_pursuit_gain 0.0
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight without guidance (gravity turn).
phase BALLISTIC
guidance_delay 5000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_ICBM_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_ICBM_1_INFRARED_SIG
optical_signature RED_ICBM_1_OPTICAL_SIG
radar_signature RED_ICBM_1_RADAR_SIG
weapon_effects RED_ICBM_1_EFFECT
mover RED_ICBM_1_MOVER
show_status
#debug
end_mover
processor guidance RED_ICBM_1_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
end_platform_type
###############################################################################
launch_computer RED_ICBM_1_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table red_icbm_1_launch_data.txt
end_launch_computer
###############################################################################
weapon RED_ICBM_1 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -9.0 m # 1/2 distance of length of missile
launched_platform_type RED_ICBM_1
launch_computer RED_ICBM_1_LAUNCH_COMPUTER
end_launch_computer
tilt 89.9 degrees
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
end_weapon

View File

@@ -0,0 +1,210 @@
# ****************************************************************************
# 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.
# ****************************************************************************
#Ground target launch data for RED_ICBM_1
#Generated on Thu Jan 21 11:38:16 2010
#loft_angle burn_time ground_range time_of_flight
72.1000 151.0000 1161896.96 525.9297
72.1000 151.5000 1168363.93 527.0749
72.1000 152.0000 1174873.77 528.2250
72.1000 152.5000 1181427.02 529.3801
72.1000 153.0000 1188103.01 530.5760
72.1000 153.5000 1194745.38 531.7415
72.1000 154.0000 1201441.20 532.9122
72.1000 154.5000 1208174.36 534.0883
72.1000 155.0000 1214962.14 535.2697
72.1000 155.5000 1221796.80 536.4567
72.1000 156.0000 1228670.61 537.6492
72.1000 156.5000 1235600.89 538.8474
72.1000 157.0000 1242588.29 540.0513
72.1000 157.5000 1249616.75 541.2612
72.1000 158.0000 1256695.30 542.4769
72.1000 158.5000 1263824.60 543.6987
72.1000 159.0000 1271013.71 544.9267
72.1000 159.5000 1278254.98 546.1609
72.1000 160.0000 1285549.11 547.4015
72.1000 160.5000 1292888.50 548.6485
72.1000 161.0000 1300298.96 549.9021
72.1000 161.5000 1307756.18 551.1624
72.1000 162.0000 1315269.29 552.4294
72.1000 162.5000 1322847.47 553.7034
72.1000 163.0000 1330474.77 554.9844
72.1000 163.5000 1338168.76 556.2725
72.1000 164.0000 1345921.94 557.5679
72.1000 164.5000 1353735.14 558.8707
72.1000 165.0000 1361609.26 560.1809
72.1000 165.5000 1369545.18 561.4989
72.1000 166.0000 1377552.22 562.8245
72.1000 166.5000 1385524.10 564.1175
72.1000 167.0000 1393658.56 565.4589
72.1000 167.5000 1401858.61 566.8085
72.1000 168.0000 1410125.26 568.1665
72.1000 168.5000 1418459.51 569.5329
72.1000 169.0000 1426870.80 570.9079
72.1000 169.5000 1435343.43 572.2917
72.1000 170.0000 1443895.26 573.6844
72.1000 170.5000 1452519.00 575.0863
72.1000 171.0000 1461215.82 576.4974
72.1000 171.5000 1469995.25 577.9179
72.1000 172.0000 1478841.71 579.3479
72.1000 172.5000 1487773.20 580.7878
72.1000 173.0000 1496782.57 582.2376
72.1000 173.5000 1505871.11 583.6975
72.1000 174.0000 1515048.51 585.1678
72.1000 174.5000 1524299.31 586.6486
72.1000 175.0000 1533641.68 588.1400
72.1000 175.5000 1543068.62 589.6424
72.1000 176.0000 1552589.95 591.1559
72.1000 176.5000 1562190.37 592.6807
72.1000 177.0000 1571888.15 594.2170
72.1000 177.5000 1581676.45 595.7651
72.1000 178.0000 1591556.83 597.3251
72.1000 178.5000 1601530.93 598.8974
72.1000 179.0000 1611608.79 600.4822
72.1000 179.5000 1621783.71 602.0796
72.1000 180.0000 1632057.42 603.6900
72.1000 180.5000 1642567.68 605.3608
72.1000 181.0000 1653045.64 606.9981
72.1000 181.5000 1663636.30 608.6492
72.1000 182.0000 1674341.59 610.3142
72.1000 182.5000 1685146.70 611.9936
72.1000 183.0000 1696070.45 613.6875
72.1000 183.5000 1707106.52 615.3963
72.1000 184.0000 1718265.45 617.1204
72.1000 184.5000 1729541.02 618.8599
72.1000 185.0000 1740935.51 620.6152
72.1000 185.5000 1752451.22 622.3868
72.1000 186.0000 1764098.91 624.1748
72.1000 186.5000 1775872.65 625.9797
72.1000 187.0000 1787783.32 627.8018
72.1000 187.5000 1799816.74 629.6414
72.1000 188.0000 1811992.34 631.4991
72.1000 188.5000 1824312.82 633.3751
72.1000 189.0000 1836772.63 635.2699
72.1000 189.5000 1849374.64 637.1838
72.1000 190.0000 1862130.21 639.1173
72.1000 190.5000 1875034.01 641.0709
72.1000 191.0000 1888089.20 643.0450
72.1000 191.5000 1901307.38 645.0401
72.1000 192.0000 1914691.89 647.0566
72.1000 192.5000 1928229.43 649.0950
72.1000 193.0000 1941948.64 651.1559
72.1000 193.5000 1955828.08 653.2397
72.1000 194.0000 1969888.23 655.3471
72.1000 194.5000 1984132.99 657.4786
72.1000 195.0000 1998557.97 659.6347
72.1000 195.5000 2013175.67 661.8160
72.1000 196.0000 2027982.00 664.0232
72.1000 196.5000 2042989.69 666.2569
72.1000 197.0000 2058194.94 668.5178
72.1000 197.5000 2073610.79 670.8065
72.1000 198.0000 2089233.72 673.1237
72.1000 198.5000 2105077.09 675.4702
72.1000 199.0000 2121137.71 677.8466
72.1000 199.5000 2137437.61 680.2539
72.1000 200.0000 2153957.31 682.6927
72.1000 200.5000 2170727.53 685.1639
72.1000 201.0000 2187737.51 687.6683
72.1000 201.5000 2205001.70 690.2069
72.1000 202.0000 2222518.12 692.7806
72.1000 202.5000 2240301.66 695.3903
72.1000 203.0000 2258359.11 698.0369
72.1000 203.5000 2276697.52 700.7216
72.1000 204.0000 2295315.88 703.4454
72.1000 204.5000 2314238.40 706.2094
72.1000 205.0000 2333456.32 709.0146
72.1000 205.5000 2352761.84 711.7967
72.1000 206.0000 2372609.37 714.6877
72.1000 206.5000 2392785.97 717.6238
72.1000 207.0000 2413300.77 720.6062
72.1000 207.5000 2434154.98 723.6363
72.1000 208.0000 2455375.05 726.7156
72.1000 208.5000 2476954.66 729.8456
72.1000 209.0000 2498921.07 733.0278
72.1000 209.5000 2521277.10 736.2639
72.1000 210.0000 2544034.33 739.5555
72.1000 210.5000 2567204.83 742.9044
72.1000 211.0000 2590801.16 746.3125
72.1000 211.5000 2614836.43 749.7816
72.1000 212.0000 2639332.57 753.3138
72.1000 212.5000 2664295.58 756.9112
72.1000 213.0000 2689740.37 760.5760
72.1000 213.5000 2715690.75 764.3104
72.1000 214.0000 2742154.72 768.1168
72.1000 214.5000 2769149.29 771.9978
72.1000 215.0000 2796708.72 775.9559
72.1000 215.5000 2824826.94 779.9940
72.1000 216.0000 2853548.12 784.1148
72.1000 216.5000 2882876.24 788.3215
72.1000 217.0000 2912840.94 792.6171
72.1000 217.5000 2943464.69 797.0050
72.1000 218.0000 2974762.86 801.4887
72.1000 218.5000 3006776.61 806.0719
72.1000 219.0000 3039523.76 810.7584
72.1000 219.5000 3073031.68 815.5522
72.1000 220.0000 3107329.15 820.4578
72.1000 220.5000 3142446.47 825.4795
72.1000 221.0000 3178423.76 830.6222
72.1000 221.5000 3215286.49 835.8909
72.1000 222.0000 3253078.33 841.2909
72.1000 222.5000 3291836.77 846.8277
72.1000 223.0000 3331601.40 852.5074
72.1000 223.5000 3372405.92 858.3362
72.1000 224.0000 3414310.93 864.3207
72.1000 224.5000 3457355.18 870.4680
72.1000 225.0000 3501588.37 876.7857
72.1000 225.5000 3547071.33 883.2817
72.1000 226.0000 3593860.01 889.9643
72.1000 226.5000 3642005.74 896.8427
72.1000 227.0000 3691587.92 903.9264
72.1000 227.5000 3742665.72 911.2256
72.1000 228.0000 3795318.88 918.7512
72.1000 228.5000 3849615.71 926.5150
72.1000 229.0000 3905645.85 934.5293
72.1000 229.5000 3963504.49 942.8074
72.1000 230.0000 4023276.74 951.3637
72.1000 230.5000 4085070.42 960.2136
72.1000 231.0000 4148992.48 969.3734
72.1000 231.5000 4215165.67 978.8610
72.1000 232.0000 4283705.22 988.6953
72.1000 232.5000 4354759.75 998.8970
72.1000 233.0000 4428472.00 1009.4883
72.1000 233.5000 4504995.84 1020.4932
72.1000 234.0000 4584505.43 1031.9377
72.1000 234.5000 4667180.33 1043.8500
72.1000 235.0000 4753230.89 1056.2607
72.1000 235.5000 4842859.77 1069.2031
72.1000 236.0000 4936303.60 1082.7135
72.1000 236.5000 5033818.87 1096.8314
72.1000 237.0000 5135692.03 1111.6001
72.1000 237.5000 5242210.00 1127.0669
72.1000 238.0000 5353710.65 1143.2836
72.1000 238.5000 5470561.91 1160.3074
72.1000 239.0000 5593149.35 1178.2009
72.1000 239.5000 5721903.83 1197.0334
72.1000 240.0000 5857313.77 1216.8813
72.1000 240.5000 5999898.39 1237.8293
72.1000 241.0000 6150237.02 1259.9712
72.1000 241.5000 6308967.50 1283.4114
72.1000 242.0000 6477391.91 1308.4176
72.1000 242.5000 6655101.38 1334.8190
72.1000 243.0000 6843557.79 1362.9097
72.1000 243.5000 7043721.56 1392.8525
72.1000 244.0000 7256657.28 1424.8300
72.1000 244.5000 7483562.09 1459.0476
72.1000 245.0000 7725763.82 1495.7372
72.1000 245.5000 7984736.20 1535.1602
72.1000 246.0000 8262114.95 1577.6125
72.1000 246.5000 8559730.23 1623.4289
72.1000 247.0000 8879615.69 1672.9888
72.1000 247.5000 9224024.01 1726.7223
72.1000 248.0000 9595432.19 1785.1166
72.1000 248.5000 9996564.55 1848.7230
72.1000 249.0000 10430391.10 1918.1640
72.1000 249.5000 10900095.97 1994.1399
72.1000 250.0000 11409070.64 2077.4342

View File

@@ -0,0 +1,59 @@
# ****************************************************************************
# 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 generator for RED_ICBM_1.
###############################################################################
#
# This is a three step process:
#
# 1) Run once with a large loft angle sweep and no burn time constraint. Examine
# the output file to determine the loft angle that results in the maximum range.
#
# 2) Rerun with a finer loft angle sweep that brackets the maximum range. Again
# examine the output file to determine the loft angle that results in the
# maximum range.
#
# 3) Run one more time, specifying a single loft angle equal to the maximum loft
# angle equal to the value from step 2 that resulted in the maximum range.
# Also specify a burn time range that encompasses the second stage.
# the loft angle
###############################################################################
include red_icbm_1.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_icbm_1 RED_ICBM_1
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
#position 0n 0e altitude 1 m
position 50:19n 123:51e heading 40 deg altitude 1 m
surface_target_file red_icbm_1_launch_data.txt
# Step 1
#loft_angles from 70 deg to 80 deg by 2 deg
# Step 2
#loft_angles from 72.0 deg to 73.0 deg by 0.05 deg
# Step 3
loft_angle 72.1 deg
burn_times from 151 sec to 250 sec by 0.5 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,435 @@
# ****************************************************************************
# 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 ------
# RED_ICBM_2
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_icbm_2_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This model is built using data from unclassified sources as follows:
#
# 1) http://www.globalsecurity.org/wmd/world/dprk/td-2-specs.htm
# http://www.globalsecurity.org/wmd/world/dprk/td-2.htm
#
###############################################################################
###############################################################################
# Support for explicit representation of spent stages
#
# Platforms will be created for spent stages if one the global script variables
# is defined as follows:
#
# script_variables
# SHOW_SPENT_STAGES["ALL"] = true; # For any weapon
# SHOW_SPENT_STAGES["RED_ICBM_2"] = true; # For just this weapon type
# end_script_variables
###############################################################################
include_once show_spent_stages.txt
##### Stage 1
aero RED_ICBM_2_SPENT_STAGE_1_AERO WSF_AERO # TODO
reference_area 16.62 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.7
end_aero
infrared_signature RED_ICBM_2_SPENT_STAGE_1_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_ICBM_2_SPENT_STAGE_1_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_ICBM_2_SPENT_STAGE_1_RADAR_SIG
constant 1 m^2
end_radar_signature
platform_type RED_ICBM_2_SPENT_STAGE_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_ICBM_2_SPENT_STAGE_1_INFRARED_SIG
optical_signature RED_ICBM_2_SPENT_STAGE_1_OPTICAL_SIG
radar_signature RED_ICBM_2_SPENT_STAGE_1_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_ICBM_2_SPENT_STAGE_1_AERO
total_mass 3552.0 kg
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
##### Stage 2
aero RED_ICBM_2_SPENT_STAGE_2_AERO WSF_AERO # TODO
reference_area 16.62 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.7
end_aero
infrared_signature RED_ICBM_2_SPENT_STAGE_2_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_ICBM_2_SPENT_STAGE_2_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_ICBM_2_SPENT_STAGE_2_RADAR_SIG
constant 1 m^2
end_radar_signature
platform_type RED_ICBM_2_SPENT_STAGE_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_ICBM_2_SPENT_STAGE_2_INFRARED_SIG
optical_signature RED_ICBM_2_SPENT_STAGE_2_OPTICAL_SIG
radar_signature RED_ICBM_2_SPENT_STAGE_2_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_ICBM_2_SPENT_STAGE_2_AERO
total_mass 2346.0 kg
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
##### Stage 3
aero RED_ICBM_2_SPENT_STAGE_3_AERO WSF_AERO # TODO
reference_area 16.62 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.7
end_aero
infrared_signature RED_ICBM_2_SPENT_STAGE_3_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_ICBM_2_SPENT_STAGE_3_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_ICBM_2_SPENT_STAGE_3_RADAR_SIG
constant 1 m^2
end_radar_signature
platform_type RED_ICBM_2_SPENT_STAGE_3 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_ICBM_2_SPENT_STAGE_3_INFRARED_SIG
optical_signature RED_ICBM_2_SPENT_STAGE_3_OPTICAL_SIG
radar_signature RED_ICBM_2_SPENT_STAGE_3_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_ICBM_2_SPENT_STAGE_3_AERO
total_mass 833.0 kg
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
###############################################################################
# Signature data is unknown...
infrared_signature RED_ICBM_2_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_ICBM_2_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_ICBM_2_RADAR_SIG
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects RED_ICBM_2_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0
end_weapon_effects
###############################################################################
aero RED_ICBM_2_STAGE_1_AERO WSF_AERO
reference_area 3.8013 m^2 # 2.2 m diameter (Ref 1)
aspect_ratio 2.0
cl_max 4.5
zero_lift_cd 0.2
zero_lift_cd 0.4
end_aero
aero RED_ICBM_2_STAGE_2_AERO WSF_AERO
reference_area 1.767 m^2 # 1.5 m diameter (Ref 1)
aspect_ratio 2.0
cl_max 4.5
zero_lift_cd 0.2
zero_lift_cd 0.4
end_aero
aero RED_ICBM_2_STAGE_3_AERO WSF_AERO
reference_area 3.079 m^2 # 1.98 m diameter (Ref 1)
aspect_ratio 2.0
cl_max 4.5
zero_lift_cd 0.2
zero_lift_cd 0.4
end_aero
aero RED_ICBM_2_RV_AERO WSF_AERO
reference_area 3.079 m^2 # 1.98 m diameter (Ref 1)
aspect_ratio 2.0
cl_max 4.5
zero_lift_cd 0.18
end_aero
###############################################################################
mover RED_ICBM_2_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
# NOTE: There are many slight inconsistencies in the values in Ref 1.
# The thrust_duration and thrust in Ref 1 are assumed to be consistent.
# The specific_impulse and burn_rate are allowed to be internally
# computed so as to use all the fuel.
stage 1
aero RED_ICBM_2_STAGE_1_AERO
total_mass 55898 kg # Ref 1, Mi
fuel_mass 52124 kg # Ref 1, Mp
# fuel_mass 114672.0 lbs # Brian's value
# Dry 3340 + 212 inter-stage = 3552
# Note: Using The Isp eff. SL of 226 caused more fuel to be used than available.
#specific_impulse 230 sec # Ref 1, Isp actual SL
thrust_duration 112 sec # Ref 1
thrust 107040 kgf # Ref 1
end_stage
stage 2
aero RED_ICBM_2_STAGE_2_AERO
total_mass 19106.5 kg # Ref 1, Mi, lower value
fuel_mass 16760.5 kg # Ref 1, Mp
# fuel_mass 36872.0 lbs # Brian's value
# Dry 2146.75 + 200 inter-stage = 2346.75
#specific_impulse 296 sec # Ref 1 vacuum
#burn_rate 93.1138 kg/s # fuel_mass / thrust_duration
thrust_duration 180 sec # Ref 1
thrust 29600 kgf # Ref 1
end_stage
stage 3
aero RED_ICBM_2_STAGE_3_AERO
total_mass 2422 kg # Ref 1, Mi
fuel_mass 1804 kg # Ref 1, Mp (1589-1804 given)
# fuel_mass 3968.0 lbs # Brian's value
#empty_mass 833 kg # Ref 1, Mf
#Dry 246, Adapter 37, Shroud 250
#specific_impulse 289 sec # Ref 1
#burn_rate 72.16 kg/s # fuel_mass / thrust_duration
# The thrust duration was quoted as either 25 or 28. 25 was chosen because it
# results in the 317 sec total burn time that was quoted.
thrust_duration 25 sec # Ref 1 (25, 28 given)
thrust 18354.89 kgf # Ref 1
end_stage
stage 4
aero RED_ICBM_2_RV_AERO
# total_mass 300 kg # Ref 1
total_mass 2200 lbs # Brian's value
end_stage
end_mover
###############################################################################
processor RED_ICBM_2_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 2.0 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight without guidance (gravity turn).
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 9000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_ICBM_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_ICBM_2_INFRARED_SIG
optical_signature RED_ICBM_2_OPTICAL_SIG
radar_signature RED_ICBM_2_RADAR_SIG
weapon_effects RED_ICBM_2_EFFECT
mover RED_ICBM_2_MOVER
#show_status
end_mover
processor guidance RED_ICBM_2_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
weapon stage_1 WSF_EXPLICIT_WEAPON
launched_platform_type RED_ICBM_2_SPENT_STAGE_1
launch_delta_v -100.0 0.0 0.0 m/s
quantity 1
end_weapon
weapon stage_2 WSF_EXPLICIT_WEAPON
launched_platform_type RED_ICBM_2_SPENT_STAGE_2
launch_delta_v -100.0 0.0 0.0 m/s
quantity 1
end_weapon
weapon stage_3 WSF_EXPLICIT_WEAPON
launched_platform_type RED_ICBM_2_SPENT_STAGE_3
launch_delta_v -100.0 0.0 0.0 m/s
quantity 1
end_weapon
script void on_stage_separation(int aStage)
extern Map<string, bool> SHOW_SPENT_STAGES;
if (SHOW_SPENT_STAGES["ALL"] ||
SHOW_SPENT_STAGES["RED_ICBM_2"])
{
if (aStage == 1) Weapon("stage_1").Fire(WsfTrack());
if (aStage == 2) Weapon("stage_2").Fire(WsfTrack());
if (aStage == 3) Weapon("stage_3").Fire(WsfTrack());
}
end_script
end_platform_type
###############################################################################
launch_computer RED_ICBM_2_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table weapons/ssm/red_icbm_2_launch_data.txt
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_ICBM_2
aero RED_ICBM_2_RV_AERO # Aero type of final stage
mass 2200 lbs # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_ICBM_2 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -15.915 m # Ref 1, length = 33.83 m
launched_platform_type RED_ICBM_2
launch_computer RED_ICBM_2_LAUNCH_COMPUTER
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,43 @@
# ****************************************************************************
# 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 generator for RED_ICBM_2.
###############################################################################
include red_icbm_2.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_icbm_2 RED_ICBM_2
end_weapon
end_platform_type
platform_type TARGET_PLATFORM_TYPE WSF_PLATFORM
side blue
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_icbm_2_launch_data.txt
# Be a little more precise for this bad boy
pass_2_loft_angle_step 0.01 deg
# Best loft angle will automatically be determined
burn_times from 293 sec to 317 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,421 @@
# ****************************************************************************
# 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 ------
# RED_MRBM_1
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_mrbm_1_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# This model is built using data from unclassified sources as follows:
#
# 1) Jane's DF-21 (CSS-5)
# RED_MRBM parameters
# Length: 10.7 m
# Body Diameter: 1.4 m
# Launch weight: 14,700 kg
# Payload: Single warhead, 600 kg
# Minimum range 500 km, Maximum range 2500 km
#
# RED_MRBM_4/RED_MRBM_1 parameters
# Length: 12.3 m
# Body Diameter: 1.4 m
# Launch weight: 15,200 kg
# Payload: Single warhead, 500 kg
# Minimum range 600 km, Maximum range 2150 km
#
# RED_MRBM_1 RV is believed to have pop-out fins and an active radar seeker.
#
# 2) http://www.astronautix.com/lvs/df21.htm
# Length: 10.43 m
# Diameter: 1.4 m
# Total Mass: 14,664 kg
# Stage 1 gross mass: 10,000 kg
# Stage 2 gross mass: 4,000 kg
# Warhead mass: 600 kg
#
# 3) http://en.wikipedia.org/wiki/Space_Shuttle_Solid_Rocket_Booster
# Because there is no data that gives the mass of the propellant, it is
# assumed that it will follow the ratio of the fuel mass/total mass for
# the Space Shuttle solid rockets:
#
# Propellant Mass: 500,000 kg
# Inert (empty) Mass: 91,000 kg
# Fuel Mass / Total Mass = 500,000 / 591,000 = 0.846
#
# As a point of reference, it also quotes the specific impulse as 242 secs.
#
# 4) http://en.wikipedia.org/wiki/Solid-fuel_rocket
# Indicates 'a typical solid fuel rocket motor may have a specific impulse
# of 265 sec'.
#
# 5) http://en.wikipedia.org/wiki/Specific_impulse
# Indicates specific impulse of 250 sec for 'solid rocket technologies'.
#
###############################################################################
###############################################################################
# Support for explicit representation of spent stages
#
# Platforms will be created for spent stages if one the global script variables
# is defined as follows:
#
# script_variables
# SHOW_SPENT_STAGES["ALL"] = true; # For any weapon
# SHOW_SPENT_STAGES["RED_MRBM_1"] = true; # For just this weapon type
# end_script_variables
###############################################################################
include_once show_spent_stages.txt
##### Stage 1
aero RED_MRBM_1_SPENT_STAGE_1_AERO WSF_AERO # TODO
reference_area 16.62 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.7
end_aero
infrared_signature RED_MRBM_1_SPENT_STAGE_1_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_MRBM_1_SPENT_STAGE_1_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_MRBM_1_SPENT_STAGE_1_RADAR_SIG
constant 1 m^2
end_radar_signature
platform_type RED_MRBM_1_SPENT_STAGE_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_MRBM_1_SPENT_STAGE_1_INFRARED_SIG
optical_signature RED_MRBM_1_SPENT_STAGE_1_OPTICAL_SIG
radar_signature RED_MRBM_1_SPENT_STAGE_1_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_MRBM_1_SPENT_STAGE_1_AERO
total_mass 1618.0 kg
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
##### Stage 2
aero RED_MRBM_1_SPENT_STAGE_2_AERO WSF_AERO # TODO
reference_area 16.62 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.7
end_aero
infrared_signature RED_MRBM_1_SPENT_STAGE_2_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_MRBM_1_SPENT_STAGE_2_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_MRBM_1_SPENT_STAGE_2_RADAR_SIG
constant 1 m^2
end_radar_signature
platform_type RED_MRBM_1_SPENT_STAGE_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_MRBM_1_SPENT_STAGE_2_INFRARED_SIG
optical_signature RED_MRBM_1_SPENT_STAGE_2_OPTICAL_SIG
radar_signature RED_MRBM_1_SPENT_STAGE_2_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_MRBM_1_SPENT_STAGE_2_AERO
total_mass 708.0 kg
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
###############################################################################
# Signature data is unknown...
infrared_signature RED_MRBM_1_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_MRBM_1_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_MRBM_1_RADAR_SIG
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects RED_MRBM_1_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0
end_weapon_effects
###############################################################################
aero RED_MRBM_1_STAGE_1_AERO WSF_AERO
reference_area 1.539 m^2 # 1.4 m diameter (Ref 1)
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
aero RED_MRBM_1_STAGE_2_AERO WSF_AERO
reference_area 1.539 m^2 # 1.4 m diameter (Ref 1)
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
aero RED_MRBM_1_RV_AERO WSF_AERO
# Based on the line drawing from Janes, it appears the RV is about 60% of the
# stage 1/2 diameter. So, 1.4 * 0.6 = 0.84m
reference_area 0.554 m^2 # 0.84 m diameter
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 6.00
end_aero
###############################################################################
mover RED_MRBM_1_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
# Total mass for RED_MRBM_1 is 15,200 kg (Ref 1). Ref 2 is the only thing that
# states the mass of the stages and that is for the orignal RED_MRBM.
#
# For original RED_MRBM (Ref 2)
# Total = 14,664 kg
# Stage 1 = 10,000 kg
# Stage 2 = 4,000 kg
# Payload = 600 kg
# Assume the shroud is the remaining 64 kg
#
# For the RED_MRBM_1, we'll assume the shroud is the same 64 kg and the payload
# is 500 kg (Ref 1). We'll ratio the stage 1 and stage 2 masses.
#
# Total - Shroud - Payload = 15,200 - 64 - 500 = 14,636
# Stage 1 = 14,636 * (10,000 / 14,000) = 10,454
# Stage 2 = 14,636 * (4,000 / 14,000) = 4,182
# The burn times were set so as to match the ratio of the fuel masses.
# The specific impulse was tuned to get a match on maximium range.
stage 1
aero RED_MRBM_1_STAGE_1_AERO
total_mass 10454 kg
fuel_mass 8844 kg # 10,454 * 0.846 (using Ref 3)
specific_impulse 260 sec # Ref 4/5
thrust_duration 90 sec
end_stage
stage 2
aero RED_MRBM_1_STAGE_2_AERO
total_mass 4246 kg # Stage + shroud = 4182 + 64
fuel_mass 3538 kg # 4182 * 0.846 (using Ref 3)
specific_impulse 260 sec # Ref 4/5
thrust_duration 36 sec
end_stage
stage 3
aero RED_MRBM_1_RV_AERO
total_mass 500 kg # Ref 1
end_stage
end_mover
###############################################################################
processor RED_MRBM_1_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 2.0 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight without guidance (gravity turn).
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 2000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_MRBM_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_MRBM_1_INFRARED_SIG
optical_signature RED_MRBM_1_OPTICAL_SIG
radar_signature RED_MRBM_1_RADAR_SIG
weapon_effects RED_MRBM_1_EFFECT
mover RED_MRBM_1_MOVER
#show_status
#debug
end_mover
processor guidance RED_MRBM_1_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
weapon stage_1 WSF_EXPLICIT_WEAPON
launched_platform_type RED_MRBM_1_SPENT_STAGE_1
launch_delta_v -100.0 0.0 0.0 m/s
quantity 1
end_weapon
weapon stage_2 WSF_EXPLICIT_WEAPON
launched_platform_type RED_MRBM_1_SPENT_STAGE_2
launch_delta_v -100.0 0.0 0.0 m/s
quantity 1
end_weapon
script void on_stage_separation(int aStage)
extern Map<string, bool> SHOW_SPENT_STAGES;
if (SHOW_SPENT_STAGES["ALL"] ||
SHOW_SPENT_STAGES["RED_MRBM_1"])
{
if (aStage == 1) Weapon("stage_1").Fire(WsfTrack());
if (aStage == 2) Weapon("stage_2").Fire(WsfTrack());
}
end_script
end_platform_type
###############################################################################
launch_computer RED_MRBM_1_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table weapons/ssm/red_mrbm_1_launch_data.txt
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_MRBM_1
aero RED_MRBM_1_RV_AERO # Aero type of final stage
mass 500 kg # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_MRBM_1 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -5.15 m # Ref 1, length = 12.3 m
launched_platform_type RED_MRBM_1
launch_computer RED_MRBM_1_LAUNCH_COMPUTER
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
# ****************************************************************************
# 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 generator for RED_MRBM_1.
###############################################################################
include red_mrbm_1.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_mrbm_1 RED_MRBM_1
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_mrbm_1_launch_data.txt
# Best loft angle will automatically be determined
burn_times from 91 sec to 126 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,273 @@
# ****************************************************************************
# 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 ------
# RED_MRBM_2
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_mrbm_2_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# References:
###############################################################################
###############################################################################
# Support for explicit representation of spent stages
#
# Platforms will be created for spent stages if one the global script variables
# is defined as follows:
#
# script_variables
# SHOW_SPENT_STAGES["ALL"] = true; # For any weapon
# SHOW_SPENT_STAGES["RED_MRBM_2"] = true; # For just this weapon type
# end_script_variables
###############################################################################
include_once show_spent_stages.txt
aero RED_MRBM_2_SPENT_STAGE_1_AERO WSF_AERO
reference_area 16.62 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.7
end_aero
infrared_signature RED_MRBM_2_SPENT_STAGE_1_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_MRBM_2_SPENT_STAGE_1_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_MRBM_2_SPENT_STAGE_1_RADAR_SIG
constant 1 m^2
end_radar_signature
platform_type RED_MRBM_2_SPENT_STAGE_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_MRBM_2_SPENT_STAGE_1_INFRARED_SIG
optical_signature RED_MRBM_2_SPENT_STAGE_1_OPTICAL_SIG
radar_signature RED_MRBM_2_SPENT_STAGE_1_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_MRBM_2_SPENT_STAGE_1_AERO
total_mass 4806.0 lbs
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
###############################################################################
# Signature data is unknown...
infrared_signature RED_MRBM_2_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_MRBM_2_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_MRBM_2_RADAR_SIG
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects RED_MRBM_2_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0
end_weapon_effects
###############################################################################
aero RED_MRBM_2_STAGE_1_AERO WSF_AERO
reference_area 10.0 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.3 # Brian's value
end_aero
aero RED_MRBM_2_PAYLOAD_AERO WSF_AERO
reference_area 5.0 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.15 # Brian's value
end_aero
###############################################################################
mover RED_MRBM_2_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
stage 1
aero RED_MRBM_2_STAGE_1_AERO
#empty_mass 6300.0 lbs # Brian's data
empty_mass 4625.0 lbs # Brian's data - 1675.0
fuel_mass 28466.0 lbs # Brian's data
thrust 58995.0 lbf # Brian's data
specific_impulse 254.0 sec # Brian's data (220.0 vac)
thrust_duration 122.56 sec # Brian's data
end_stage
stage 2
aero RED_MRBM_2_PAYLOAD_AERO
total_mass 1675.0 lbs
end_stage
end_mover
###############################################################################
processor RED_MRBM_2_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 0.5 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight without guidance (gravity turn).
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 2000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_MRBM_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_MRBM_2_INFRARED_SIG
optical_signature RED_MRBM_2_OPTICAL_SIG
radar_signature RED_MRBM_2_RADAR_SIG
weapon_effects RED_MRBM_2_EFFECT
mover RED_MRBM_2_MOVER
#show_status
end_mover
processor guidance RED_MRBM_2_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
weapon stage_1 WSF_EXPLICIT_WEAPON
launched_platform_type RED_MRBM_2_SPENT_STAGE_1
launch_delta_v -100.0 0.0 0.0 m/s
quantity 1
end_weapon
script void on_stage_separation(int aStage)
extern Map<string, bool> SHOW_SPENT_STAGES;
if (SHOW_SPENT_STAGES["ALL"] ||
SHOW_SPENT_STAGES["RED_MRBM_2"])
{
if (aStage == 1) Weapon("stage_1").Fire(WsfTrack());
}
end_script
end_platform_type
###############################################################################
launch_computer RED_MRBM_2_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table red_mrbm_2_launch_data.txt
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_MRBM_2
aero RED_MRBM_2_PAYLOAD_AERO # Aero type of final stage
mass 1675.0 lbs # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_MRBM_2 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -4.625 m # TODO Ref 1, length = 11.25 m
launched_platform_type RED_MRBM_2
launch_computer RED_MRBM_2_LAUNCH_COMPUTER
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
# ****************************************************************************
# 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 generator for RED_MRBM_2.
###############################################################################
include red_mrbm_2.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_mrbm_2 RED_MRBM_2
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_mrbm_2_launch_data.txt
# Best loft angle will automatically be determined
burn_times from 89 sec to 122.56 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,502 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# This model was derived from unclassified sources
/* BEGIN COMMENT
http://www.sinodefence.com/strategic/missile/df21.asp
Specifications
Official name: DongFeng 21 (DF-21)
NATO reporting name: CSS-5
Contractor: CASIC 4th Academy
Service status: In service
Configuration: Two-stage, solid propellant
Deployment: Road mobile, 6X6 tractor truck + six-wheel trailer; or silo
Length: 10.7m
Diameter: 1.4m
Launch weight: 14,700kg
Range: 1,770km
Re-entry vehicle mass: 600kg
Warhead: One single 500kT yield, or conventional
Guidance: Inertial + terminal radar guidance
Accuracy: CEP 300~400m
http://www.missilethreat.com/missilesoftheworld/id.26/missile_detail.asp
CSS-5
Country: People's Republic of China
Alternate Name: DF-21
Class: MRBM
Basing: Road mobile
Length: 10.70 m
Diameter: 1.40 m
Launch Weight: 14700 kg
Payload: Single warhead, 600 kg
Warhead: Nuclear 250 or 500kT, HE, submunitions, or chemical
Propulsion: 2-stage solid
Range: 2150 km
Status: Operational
In Service: 1987
http://www.fas.org/nuke/guide/china/theater/df-21.htm
Contractor Academy of Rocket Motors Technology - ARMT
Operator Second Artillery Corps
# Basing Chuxiong # Jianshui # Lianxiwang # Tonghua
Configuration Two Stage
Length [meters] 10.7
Diameter [meters] 1.4
Mass [kilograms] 14,700
Propellant Solid
Guidance Inertial
First Flight May 1985
IOC 1989-1991
Deployment Mobile
Range (km) 1,800
Re-entry Vehicle Mass (kg) 600
Warhead Yield 200-300 KT
CEP (meters) 300-400
Launch Preparation Time 10-15 minutes
http://www8.janes.com/JDIC/JDET/documentView.do?docId=/content1/janesdata/binder/
jsws/jsws0411.htm@current&pageSelected=allJanes&keyword=css-5%20df-21&backPath=
http://jdet.janes.com/JDIC/JDET/search&Prod_Name=JSWS&activeNav=http://www8.janes.com/JDIC/JDET
DF-21
Length: 10.7 m
Body diameter: 1.4 m
Launch weight: 14,700 kg
Payload: Single warhead; 600 kg
Warhead: 250 or 500 kT nuclear, HE, submunitions or chemical
Guidance: Inertial
Propulsion: 2-stage solid propellant
Range: 2,150 km
Accuracy: 700 m CEP
DF-21A/-21B
Length: 12.3 m
Body diameter: 1.4 m
Launch weight: 15,200 kg
Payload: Single warhead, 500 kg
Warhead: 90 kT or selectable between 20, 90 and 150 kT nuclear, HE,
chemical, submunitions or EMP
Guidance: Inertial with GPS and radar correlation
Propulsion: 2-stage solid propellant
Range: 2,500 km
Accuracy: 50 m CEP (21A), 10 m CEP (21B)
http://www.astronautix.com/lvs/df21.htm
Intermediate range ballistic missile.
IOC: 1988.
Country: China.
Status: Active.
Department of Defence Designation: CSS-5.
Popular Name: Dong Feng-21.
JL-1 land based version. 2 stage vehicle.
Manufacturer: Shanxi.
Launches: 15. Failures: 3.
Success Rate: 80.00%.
First Launch Date: 1985-05-01.
Last Launch Date: 2007-01-11.
Launch data is: continuing.
Apogee: 500 km (310 mi).
Liftoff Thrust: 0 N ( lbf).
Total Mass: 14,664 kg (32,328 lb).
Core Diameter: 1.40 m (4.50 ft).
Total Length: 10.43 m (34.21 ft).
Span: 1.40 m (4.50 ft).
Standard warhead mass: 600 kg (1,320 lb).
Maximum range: 1,810 km (1,120 mi).
Number Standard Warheads: 1.
Standard warhead yield: 250 KT.
Boost Propulsion: Solid rocket.
Guidance: Inertial.
Total Number Built: 50.
* Stage1: 1 x JL-1-1.
Gross Mass: 10,000 kg (22,000 lb).
Motor: 1 x DF-21-1.
Length: 6.00 m (19.60 ft).
Diameter: 1.41 m (4.62 ft).
Propellants: Solid.
* Stage2: 1 x DF-21-2.
Gross Mass: 4,000 kg (8,800 lb).
Motor: 1 x DF-21-2.
Length: 4.00 m (13.10 ft).
Diameter: 1.41 m (4.62 ft).
END COMMENT
*/
# Weapon Definition starts here.
# script_debug_writes on
script_debug_writes on
# Signature data is unknown...
infrared_signature RED_MRBM_3_INFRARED_SIGNATURE
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_MRBM_3_OPTICAL_SIGNATURE
constant 1 m^2
end_optical_signature
radar_signature RED_MRBM_3_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
# Weapon effects
weapon_effects RED_MRBM_3_LETHALITY WSF_GRADUATED_LETHALITY
radius_and_pk 150 m 1.0
end_weapon_effects
########### Aero definitions ##################################################
aero RED_MRBM_3_STAGE_EMPTY_AERO WSF_AERO # The stage gets a lot of drag...
reference_area 1.56 m^2 # 1.41 m diameter
aspect_ratio 4.0
cl_max 1.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.40
cd_zero_supersonic 0.45
mach_begin_cd_rise 0.9
mach_end_cd_rise 1.30
mach_max_supersonic 5.00
end_aero
aero RED_MRBM_3_STAGE_1_AERO WSF_AERO
reference_area 1.56 m^2 # 1.41 m diameter
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
aero RED_MRBM_3_STAGE_2_AERO WSF_AERO
reference_area 1.56 m^2 # 1.41 m diameter
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
aero RED_MRBM_3_STAGE_3_AERO WSF_AERO #smaller cone warhead
reference_area .572 m^2
aspect_ratio 2.0
cl_max 4.5
# Values estimated from Hoerner's Drag book
cd_zero_subsonic 0.10
cd_zero_supersonic 0.35
mach_begin_cd_rise 0.95
mach_end_cd_rise 1.30
mach_max_supersonic 10.00
end_aero
########### RED_MRBM_3 Mover definition ##########################################
mover RED_MRBM_3_MOVER WSF_GUIDED_MOVER
show_status
update_interval 0.05 secs
stage 1
aero RED_MRBM_3_STAGE_1_AERO
total_mass 10000 kg
fuel_mass 8000 kg
specific_impulse 240 sec # The platform script will vary this.
thrust_duration 52 sec
end_stage
stage 2
aero RED_MRBM_3_STAGE_2_AERO
pre_ignition_coast_time 3 sec
total_mass 4000 kg
fuel_mass 3350 kg
specific_impulse 240 sec # adjusted for max range of 2000 km
thrust_duration 46 sec
pre_separation_coast_time 10 sec
end_stage
stage 3 # warhead
aero RED_MRBM_3_STAGE_3_AERO
total_mass 400 kg
fuel_mass 0 kg
end_stage
end_mover
############ RED_MRBM_3 Guidance ##################################################
############ The values are SPECIFIC to the aero and body mass information####
processor RED_MRBM_3_GUIDANCE WSF_GUIDANCE_COMPUTER
#show_status
#show_evaluations
phase LAUNCH
next_phase 200-1000 if target_ground_range < 1000 km
next_phase 1000-1100 if target_ground_range < 1100 km
next_phase 1100-1200 if target_ground_range < 1200 km
next_phase 1200-1300 if target_ground_range < 1300 km
next_phase 1300-1350 if target_ground_range < 1350 km
next_phase 1350-1400 if target_ground_range < 1400 km
next_phase 1400-1450 if target_ground_range < 1450 km
next_phase 1450-1500 if target_ground_range < 1500 km
next_phase 1500-1550 if target_ground_range < 1550 km
next_phase 1550-1600 if target_ground_range < 1600 km
next_phase 1600-1650 if target_ground_range < 1650 km
next_phase 1650-1700 if target_ground_range < 1700 km
next_phase 1700-1750 if target_ground_range < 1750 km
next_phase 1750-1800 if target_ground_range < 1790 km
next_phase 1780-1820 if target_ground_range < 1820 km
next_phase 1810-1840 if target_ground_range < 1840 km
next_phase 1840-1860 if target_ground_range < 1860 km
next_phase 1860-1900 if target_ground_range < 1900 km
next_phase 1900-1950 if target_ground_range < 1950 km
next_phase 1940-1980 if target_ground_range < 1980 km
next_phase 1980-2000 if target_ground_range < 2000 km
next_phase 2000-2050 if target_ground_range < 2100 km
end_phase
phase 200-1000
g_bias 1.1 # 200-1000
maximum_commanded_g 4 g # 200-1000
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1000-1100
g_bias 1.2 # 1000
maximum_commanded_g 5 g # 1000
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1100-1200
g_bias 1.4 #
maximum_commanded_g 1 g #
guidance_delay 8 sec
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1200-1300
g_bias 1.5 #
maximum_commanded_g 1 g #
guidance_delay 9.5 sec
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1300-1350
g_bias 1.6 #
maximum_commanded_g 1 g #
guidance_delay 10 sec
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1350-1400
g_bias 1.8 # 1200-1400
maximum_commanded_g 1 g # 1200-1400
guidance_delay 11 secs # 1200-1400
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1400-1450
g_bias 3 # 1500
maximum_commanded_g 1 g # 1500
guidance_delay 14 secs # 1500
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1450-1500
g_bias 3.5 # 1500
maximum_commanded_g 1 g # 1500
guidance_delay 15.3 secs # 1500
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1500-1550
g_bias 4.5 # 1500
maximum_commanded_g 1 g # 1500
guidance_delay 16.7 secs # 1500
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1550-1600
g_bias 5 # 1500
maximum_commanded_g 1 g # 1500
guidance_delay 17.1 secs # 1500
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1600-1650
g_bias 5.6 # 1500
maximum_commanded_g 1 g # 1500
guidance_delay 17.5 secs # 1500
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1650-1700
g_bias 6 # 1600-1700
maximum_commanded_g 1 g # 1600-1700
guidance_delay 17.7 secs # 1600-1700
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1700-1750
g_bias 6 # 1700-1750
maximum_commanded_g 1 g # 1700-1750
guidance_delay 18 secs # 1700-1750
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1750-1800
g_bias 7 # 1750-1800
maximum_commanded_g 1 g # 1750-1800
guidance_delay 18.4 secs # 1750-1800
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1780-1820
g_bias 7 # 1780-1820
maximum_commanded_g 1 g # 1780-1820
guidance_delay 18.5 secs # 1780-1820
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1810-1840
g_bias 7 # 1810-1840
maximum_commanded_g 1 g # 1810-1840
guidance_delay 18.7 secs # 1810-1840
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1840-1860
g_bias 8 # 1840-1860
maximum_commanded_g 1 g # 1840-1860
guidance_delay 18.7 secs # 1840-1860
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1860-1900
g_bias 8.5 # 1840-1860
maximum_commanded_g 1 g # 1840-1860
guidance_delay 18.8 secs # 1840-1860
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1900-1950
g_bias 9 # 1860-1950
maximum_commanded_g 1 g #
guidance_delay 19 secs #
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1940-1980
g_bias 9.2 # 1940-1980
maximum_commanded_g 1 g #
guidance_delay 19.2 secs #
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 1980-2000
g_bias 9.5 # 1980-2000
maximum_commanded_g 1 g #
guidance_delay 19.4 secs #
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase 2000-2050
g_bias 9.8 #
maximum_commanded_g 1 g #
guidance_delay 19.6 secs #
next_phase TERMINAL when phase_time > 101 secs # burnout time
end_phase
phase TERMINAL
maximum_commanded_g 2 g
end_phase
end_processor
#############STAGE 1 & 2 SPENT STAGES PLATFORM TYPES#########################################
platform_type RED_MRBM_3_STAGE1 WSF_PLATFORM
icon sam-a_missile
mover WSF_NEW_UNGUIDED_MOVER
update_interval 0.5 sec
show_status
aero RED_MRBM_3_STAGE_EMPTY_AERO
total_mass 2500 kg
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
weapon RED_MRBM_3_STAGE1 WSF_EXPLICIT_WEAPON
launched_platform_type RED_MRBM_3_STAGE1
firing_delay 0 secs
quantity 1
end_weapon
platform_type RED_MRBM_3_STAGE2 WSF_PLATFORM
icon sam-a_missile
mover WSF_NEW_UNGUIDED_MOVER
update_interval 0.5 sec
show_status
aero RED_MRBM_3_STAGE_EMPTY_AERO
total_mass 30 kg # extremely low to show ballistic fall
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
weapon RED_MRBM_3_STAGE2 WSF_EXPLICIT_WEAPON
launched_platform_type RED_MRBM_3_STAGE2
quantity 1
end_weapon
############### RED_MRBM_3 platform #############################################
platform_type RED_MRBM_3 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_MRBM_3_INFRARED_SIGNATURE
optical_signature RED_MRBM_3_OPTICAL_SIGNATURE
radar_signature RED_MRBM_3_RADAR_SIGNATURE
weapon_effects RED_MRBM_3_LETHALITY
mover RED_MRBM_3_MOVER
end_mover
# used to instantiate the stage falling off
weapon red_mrbm_3_stage1 RED_MRBM_3_STAGE1
quantity 1
launch_delta_v -1 0 0 fps
end_weapon
# used to instantiate the stage falling off
weapon red_mrbm_3_stage2 RED_MRBM_3_STAGE2
quantity 1
launch_delta_v -100 0 00 fps
end_weapon
script void on_stage_separation(int aStage)
writeln_d("T=", TIME_NOW, " ", PLATFORM.Name(), ": Stage ", aStage, " separation");
if (aStage == 1)
{
WsfWeapon weapon = PLATFORM.Weapon("red_mrbm_3_stage1");
weapon.Fire();
}
if (aStage == 2)
{
WsfWeapon weapon = PLATFORM.Weapon("red_mrbm_3_stage2");
weapon.Fire();
}
end_script
processor guidance RED_MRBM_3_GUIDANCE
# show_status
guide_to_truth true #TODO TESTING
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
processor seeker WSF_PERFECT_TRACKER
update_interval 0.5 sec
end_processor
end_platform_type
#####################RED_MRBM_3 EXPLICIT WEAPON###################################
weapon RED_MRBM_3 WSF_EXPLICIT_WEAPON
launched_platform_type RED_MRBM_3
tilt 89.9 degrees
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
firing_delay 1.0 secs
quantity 1
end_weapon

View File

@@ -0,0 +1,197 @@
# ****************************************************************************
# 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 ------
# RED_SRBM_1
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_srbm_1_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# References:
#
# 1) http://en.wikipedia.org/wiki/Scud
#
###############################################################################
###############################################################################
# Signature data is unknown...
infrared_signature RED_SRBM_1_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_SRBM_1_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_SRBM_1_RADAR_SIG
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects RED_SRBM_1_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0
end_weapon_effects
###############################################################################
aero RED_SRBM_1_AERO WSF_AERO
reference_area 6.5434 ft^2
aspect_ratio 1.0
cl_max 4.5
zero_lift_cd 0.3 # Brian's data
end_aero
###############################################################################
mover RED_SRBM_1_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
stage 1
aero RED_SRBM_1_AERO
empty_mass 4500.0 lbs # Brian's data
fuel_mass 9450.0 lbs # Brian's data
thrust 26000.0 lbf # Brian's data
specific_impulse 220.0 sec # Brian's data
thrust_duration 79.94 sec # Brian's data (From BallisticTable)
end_stage
end_mover
###############################################################################
processor RED_SRBM_1_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 0.5 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight without guidance (gravity turn).
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 2000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_SRBM_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_1_INFRARED_SIG
optical_signature RED_SRBM_1_OPTICAL_SIG
radar_signature RED_SRBM_1_RADAR_SIG
weapon_effects RED_SRBM_1_EFFECT
mover RED_SRBM_1_MOVER
#show_status
end_mover
processor guidance RED_SRBM_1_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
end_platform_type
###############################################################################
launch_computer RED_SRBM_1_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table red_srbm_1_launch_data.txt
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_SRBM_1
aero RED_SRBM_1_AERO # Aero type of final stage
mass 4500.0 lbs # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_SRBM_1 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -4.625 m # Ref 1, length = 11.25 m
launched_platform_type RED_SRBM_1
launch_computer RED_SRBM_1_LAUNCH_COMPUTER
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
# ****************************************************************************
# 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 generator for RED_SRBM_1.
###############################################################################
include red_srbm_1.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_srbm_1 RED_SRBM_1
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_srbm_1_launch_data.txt
# Best loft angle will automatically be determined
burn_times from 40 sec to 79.94 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,199 @@
# ****************************************************************************
# 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 ------
# RED_SRBM_2
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_srbm_2_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# References:
#
# 1) http://en.wikipedia.org/wiki/Scud
#
# 2) http://www.fas.org/nuke/guide/russia/theater/r-11.htm
###############################################################################
###############################################################################
# Signature data is unknown...
infrared_signature RED_SRBM_2_INFRARED_SIG
constant 1 watts/steradian
end_infrared_signature
optical_signature RED_SRBM_2_OPTICAL_SIG
constant 1 m^2
end_optical_signature
radar_signature RED_SRBM_2_RADAR_SIG
constant 1 m^2
end_radar_signature
# Nominal lethality data.
weapon_effects RED_SRBM_2_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0
end_weapon_effects
###############################################################################
aero RED_SRBM_2_AERO WSF_AERO
reference_area 6.5434 ft^2
aspect_ratio 1.0
cl_max 5.0
zero_lift_cd 0.3 # Brian's value
end_aero
###############################################################################
mover RED_SRBM_2_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
stage 1
aero RED_SRBM_2_AERO
empty_mass 3910.0 lbs # Brian's data
fuel_mass 11812.0 lbs # Brian's data
thrust 26000.0 lbf # Brian's data
specific_impulse 220.0 sec # Brian's data
thrust_duration 99.93 sec # Brian's data (from ballistic table)
end_stage
end_mover
###############################################################################
processor RED_SRBM_2_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 0.5 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight without guidance (gravity turn).
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 2000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_SRBM_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_2_INFRARED_SIG
optical_signature RED_SRBM_2_OPTICAL_SIG
radar_signature RED_SRBM_2_RADAR_SIG
weapon_effects RED_SRBM_2_EFFECT
mover RED_SRBM_2_MOVER
#show_status
end_mover
processor guidance RED_SRBM_2_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
end_platform_type
###############################################################################
launch_computer RED_SRBM_2_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table weapons/ssm/red_srbm_2_launch_data.txt
#maximum_time_of_flight 1000 sec
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_SRBM_2
aero RED_SRBM_2_AERO # Aero type of final stage
mass 3910.0 lbs # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_SRBM_2 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -4.625 m # Ref 1, length = 11.25 m
launched_platform_type RED_SRBM_2
launch_computer RED_SRBM_2_LAUNCH_COMPUTER
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
# ****************************************************************************
# 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 generator for RED_SRBM_2.
###############################################################################
include red_srbm_2.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_srbm_2 RED_SRBM_2
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_srbm_2_launch_data.txt
# Best loft angle will automatically be determined
burn_times from 50.93 sec to 99.93 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,372 @@
# ****************************************************************************
# 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 ------
# RED_SRBM_3
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_srbm_3_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This model is built using data from unclassified sources as follows:
#
# 1) "Technical Addendum to the Joint Threat Assessment on the Iran's Nuclear
# and Missile Potential -- The Sejil Ballistic Missile", Theodore Postol, 2009
#
# 2) "Professional Development Short Course on Tactical Missile Design"
# Eugene Fleeman, http://genefleeman.home.mindspring.com
#
###############################################################################
###############################################################################
# Support for explicit representation of spent stages
#
# Platforms will be created for spent stages if one the global script variables
# is defined as follows:
#
# script_variables
# SHOW_SPENT_STAGES["ALL"] = true; # For any weapon
# SHOW_SPENT_STAGES["RED_SRBM_3"] = true; # For just this weapon type
# end_script_variables
###############################################################################
include_once show_spent_stages.txt
include_once typical_ballistic_missile_aero.txt
# -----------------------------------------------------------------------------
##### Spent Stage 1
aero RED_SRBM_3_SPENT_STAGE_1_AERO TYPICAL_SPENT_STAGE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
# aspect_ratio 1.0 # Generic missile aero
# cl_max 2.0 # Generic missile aero
# zero_lift_cd 0.9 # Generic missile aero for blunt, spent stage
end_aero
infrared_signature RED_SRBM_3_SPENT_STAGE_1_INFRARED_SIG
constant 1 watts/steradian # Generic signature, not intended to be representative
end_infrared_signature
optical_signature RED_SRBM_3_SPENT_STAGE_1_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_3_SPENT_STAGE_1_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
platform_type RED_SRBM_3_SPENT_STAGE_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_3_SPENT_STAGE_1_INFRARED_SIG
optical_signature RED_SRBM_3_SPENT_STAGE_1_OPTICAL_SIG
radar_signature RED_SRBM_3_SPENT_STAGE_1_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_SRBM_3_SPENT_STAGE_1_AERO
total_mass 4862 lbs # Ref 1 - 2210 kg (4862 lbs)
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
# -----------------------------------------------------------------------------
##### Spent Stage 2
aero RED_SRBM_3_SPENT_STAGE_2_AERO TYPICAL_SPENT_STAGE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
# aspect_ratio 1.0 # Generic missile aero
# cl_max 2.0 # Generic missile aero
# zero_lift_cd 0.9 # Generic missile aero for blunt, spent stage
end_aero
infrared_signature RED_SRBM_3_SPENT_STAGE_2_INFRARED_SIG
constant 1 watts/steradian # Generic signature, not intended to be representative
end_infrared_signature
optical_signature RED_SRBM_3_SPENT_STAGE_2_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_3_SPENT_STAGE_2_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
platform_type RED_SRBM_3_SPENT_STAGE_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_3_SPENT_STAGE_2_INFRARED_SIG
optical_signature RED_SRBM_3_SPENT_STAGE_2_OPTICAL_SIG
radar_signature RED_SRBM_3_SPENT_STAGE_2_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_SRBM_3_SPENT_STAGE_2_AERO
total_mass 1914 lbs # Ref 1 - 870 kg (1914 lbs)
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
# -----------------------------------------------------------------------------
##### Main object observatbles
infrared_signature RED_SRBM_3_INFRARED_SIG
state default
band default
constant 654321 w/sr # Large signature when boosting
state boost_complete
band default
constant 1 w/sr # Generic signature after burnout
end_infrared_signature
optical_signature RED_SRBM_3_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_3_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
# -----------------------------------------------------------------------------
#### Nominal lethality data.
weapon_effects RED_SRBM_3_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0 # Kills target if impacting within 1000 m
end_weapon_effects
# -----------------------------------------------------------------------------
#### Aero during various flight phases
aero RED_SRBM_3_STAGE_1_AERO TYPICAL_MISSILE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
# aspect_ratio 1.0 # Generic missile aero
# cl_max 2.0 # Generic missile aero
# zero_lift_cd 0.2 # Generic missile aero
end_aero
aero RED_SRBM_3_STAGE_2_AERO TYPICAL_MISSILE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
# aspect_ratio 1.0 # Generic missile aero
# cl_max 2.0 # Generic missile aero
# zero_lift_cd 0.2 # Generic missile aero
end_aero
aero RED_SRBM_3_RV_AERO TYPICAL_RV_AERO
reference_area 6.469 ft^2 # Ref 1 - Diam is 70% of other stages - diam 2.87 ft
# aspect_ratio 1.0 # Generic missile aero
# cl_max 2.0 # Generic missile aero
# zero_lift_cd 0.1 # Generic missile aero
end_aero
###############################################################################
#### Mover definition
mover RED_SRBM_3_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
stage 1
aero RED_SRBM_3_STAGE_1_AERO
total_mass 32384 lbs # Ref 1, 14720 kg (32384 lbs)
fuel_mass 27522 lbs # Ref 1, Empty wgt 2210 kg (4862)
specific_impulse 235 sec # Ref 1, Average of 220-250
# thrust_duration 50 sec # Ref 1
thrust 122320 lbf # Ref 1, 55600 kgf (122320 lbf)
end_stage
stage 2
aero RED_SRBM_3_STAGE_2_AERO
total_mass 12716 lbs # Ref 1, 5780 kg (12716 lbs)
fuel_mass 10802 lbs # Ref 1, Empty wgt 870 kg (1914 lbs)
specific_impulse 250 sec # Ref 1
# thrust_duration 50 sec # Ref 1
thrust 47960 lbf # Ref 1, 21800 kgf (47960 lbf)
end_stage
stage 3
aero RED_SRBM_3_RV_AERO
total_mass 2200 lbs # Ref 1, 1000 kg (2200 lbs)
end_stage
end_mover
###############################################################################
processor RED_SRBM_3_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 2.0 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
maximum_commanded_g 1.0 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight with zero alpha, a gravity turn.
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 9000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_SRBM_3 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_3_INFRARED_SIG
optical_signature RED_SRBM_3_OPTICAL_SIG
radar_signature RED_SRBM_3_RADAR_SIG
weapon_effects RED_SRBM_3_EFFECT
mover RED_SRBM_3_MOVER
#show_status
end_mover
processor guidance RED_SRBM_3_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
weapon stage_1 WSF_EXPLICIT_WEAPON
launched_platform_type RED_SRBM_3_SPENT_STAGE_1
launch_delta_v -3.0 0.0 0.0 ft/s # Provide a slight nudge
quantity 1
end_weapon
weapon stage_2 WSF_EXPLICIT_WEAPON
launched_platform_type RED_SRBM_3_SPENT_STAGE_2
launch_delta_v -3.0 0.0 0.0 ft/s # Provide a slight nudge
quantity 1
end_weapon
script void on_stage_separation(int aStage)
extern Map<string, bool> SHOW_SPENT_STAGES;
if (SHOW_SPENT_STAGES["ALL"] ||
SHOW_SPENT_STAGES["RED_SRBM_3"])
{
if (aStage == 1) Weapon("stage_1").Fire(WsfTrack());
if (aStage == 2) Weapon("stage_2").Fire(WsfTrack());
}
end_script
script void on_stage_burnout(int stage)
if (stage == 2)
{
PLATFORM.SetAuxData("BOOST_COMPLETE", true);
PLATFORM.SetInfraredSigState("boost_complete");
}
end_script
end_platform_type
###############################################################################
launch_computer RED_SRBM_3_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table red_srbm_3_launch_data.txt
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_SRBM_3
aero RED_SRBM_3_RV_AERO # Aero type of final stage
mass 2200 lbs # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_SRBM_3 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -8.105 m # Ref 1, length = 18.21 m
launched_platform_type RED_SRBM_3
launch_computer RED_SRBM_3_LAUNCH_COMPUTER
#debug
#show_results
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
# ****************************************************************************
# 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 generator for RED_SRBM_3
###############################################################################
include red_srbm_3.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_srbm_3 RED_SRBM_3
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR # ballistic_missile_launch_computer_generator
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_srbm_3_launch_data.txt
pass_1_loft_angle_start 45.0 deg
pass_2_loft_angle_step 0.02 deg
# Best loft angle will automatically be determined
burn_times from 70 sec to 110 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,424 @@
# ****************************************************************************
# 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 ------
#
# This is a postulated red short range ballistic missile (red_srbm_4), which is
# based on the two-stage, solid-propellant red short range ballistic missile
# (red_srbm_3) with a third stage derived from the second stage by making
# it shorter and carrying a correspondingly reduced amount of propellant.
#
###############################################################################
#
# NOTE: If you modify any parameter in this file, you must rerun 'weapon_tools'
# with 'red_srbm_4_lcg.txt' as input to regenerate the launch computer data.
#
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This model is built using data from unclassified sources as follows:
#
# 1) "Technical Addendum to the Joint Threat Assessment on the Iran's Nuclear
# and Missile Potential -- The Sejil Ballistic Missile", Theodore Postol, 2009
#
# 2) "Professional Development Short Course on Tactical Missile Design"
# Eugene Fleeman, http://genefleeman.home.mindspring.com
#
###############################################################################
###############################################################################
# Support for explicit representation of spent stages
#
# Platforms will be created for spent stages if one the global script variables
# is defined as follows:
#
# script_variables
# SHOW_SPENT_STAGES["ALL"] = true; # For any weapon
# SHOW_SPENT_STAGES["RED_SRBM_4"] = true; # For just this weapon type
# end_script_variables
###############################################################################
include_once show_spent_stages.txt
include_once typical_ballistic_missile_aero.txt
# -----------------------------------------------------------------------------
##### Spent Stage 1
aero RED_SRBM_4_SPENT_STAGE_1_AERO TYPICAL_SPENT_STAGE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
end_aero
infrared_signature RED_SRBM_4_SPENT_STAGE_1_INFRARED_SIG
constant 1 watts/steradian # Generic signature, not intended to be representative
end_infrared_signature
optical_signature RED_SRBM_4_SPENT_STAGE_1_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_4_SPENT_STAGE_1_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
platform_type RED_SRBM_4_SPENT_STAGE_1 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_4_SPENT_STAGE_1_INFRARED_SIG
optical_signature RED_SRBM_4_SPENT_STAGE_1_OPTICAL_SIG
radar_signature RED_SRBM_4_SPENT_STAGE_1_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_SRBM_4_SPENT_STAGE_1_AERO
total_mass 4862 lbs # Ref 1 - 2210 kg (4862 lbs)
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
# -----------------------------------------------------------------------------
##### Spent Stage 2
aero RED_SRBM_4_SPENT_STAGE_2_AERO TYPICAL_SPENT_STAGE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
end_aero
infrared_signature RED_SRBM_4_SPENT_STAGE_2_INFRARED_SIG
constant 1 watts/steradian # Generic signature, not intended to be representative
end_infrared_signature
optical_signature RED_SRBM_4_SPENT_STAGE_2_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_4_SPENT_STAGE_2_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
platform_type RED_SRBM_4_SPENT_STAGE_2 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_4_SPENT_STAGE_2_INFRARED_SIG
optical_signature RED_SRBM_4_SPENT_STAGE_2_OPTICAL_SIG
radar_signature RED_SRBM_4_SPENT_STAGE_2_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_SRBM_4_SPENT_STAGE_2_AERO
total_mass 1914 lbs # Ref 1 - 870 kg (1914 lbs)
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
# -----------------------------------------------------------------------------
##### Spent Stage 3
aero RED_SRBM_4_SPENT_STAGE_3_AERO TYPICAL_SPENT_STAGE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
end_aero
infrared_signature RED_SRBM_4_SPENT_STAGE_3_INFRARED_SIG
constant 1 watts/steradian # Generic signature, not intended to be representative
end_infrared_signature
optical_signature RED_SRBM_4_SPENT_STAGE_3_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_4_SPENT_STAGE_3_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
platform_type RED_SRBM_4_SPENT_STAGE_3 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_4_SPENT_STAGE_3_INFRARED_SIG
optical_signature RED_SRBM_4_SPENT_STAGE_3_OPTICAL_SIG
radar_signature RED_SRBM_4_SPENT_STAGE_3_RADAR_SIG
mover WSF_GUIDED_MOVER
integration_timestep 0.01 secs
stage 1
aero RED_SRBM_4_SPENT_STAGE_3_AERO
total_mass 957 lbs # Assumed 50% of stage 2
end_stage
end_mover
processor fuse WSF_GROUND_TARGET_FUSE
end_processor
end_platform_type
# -----------------------------------------------------------------------------
##### Main object observatbles
infrared_signature RED_SRBM_4_INFRARED_SIG
state default
band default
constant 654321 w/sr # Large signature when boosting
state boost_complete
band default
constant 1 w/sr # Generic signature after burnout
end_infrared_signature
optical_signature RED_SRBM_4_OPTICAL_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_optical_signature
radar_signature RED_SRBM_4_RADAR_SIG
constant 1 m^2 # Generic signature, not intended to be representative
end_radar_signature
# -----------------------------------------------------------------------------
#### Nominal lethality data.
weapon_effects RED_SRBM_4_EFFECT WSF_GRADUATED_LETHALITY
radius_and_pk 1000.0 m 1.0 # Kills target if impacting within 1000 m
end_weapon_effects
# -----------------------------------------------------------------------------
#### Aero during various flight phases
aero RED_SRBM_4_STAGE_1_AERO TYPICAL_MISSILE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
end_aero
aero RED_SRBM_4_STAGE_2_AERO TYPICAL_MISSILE_AERO
reference_area 13.203 ft^2 # Ref 1 - 1.25 m diam (4.1 ft)
end_aero
aero RED_SRBM_4_STAGE_3_AERO TYPICAL_MISSILE_AERO
reference_area 13.203 ft^2 # Assumed shortened stage 2
end_aero
aero RED_SRBM_4_RV_AERO TYPICAL_RV_AERO
reference_area 6.469 ft^2 # Ref 1 - Diam is 70% of other stages - diam 2.87 ft
end_aero
###############################################################################
#### Mover definition
mover RED_SRBM_4_MOVER WSF_GUIDED_MOVER
integration_timestep 0.005 secs
update_interval 0.05 secs
stage 1
aero RED_SRBM_4_STAGE_1_AERO
total_mass 32384 lbs # Ref 1, 14720 kg (32384 lbs)
fuel_mass 27522 lbs # Ref 1, Empty wgt 2210 kg (4862)
specific_impulse 235 sec # Ref 1, Average of 220-250
# thrust_duration 50 sec # Ref 1
thrust 122320 lbf # Ref 1, 55600 kgf (122320 lbf)
end_stage
stage 2
aero RED_SRBM_4_STAGE_2_AERO
total_mass 12716 lbs # Ref 1, 5780 kg (12716 lbs)
fuel_mass 10802 lbs # Ref 1, Empty wgt 870 kg (1914 lbs)
specific_impulse 250 sec # Ref 1
# thrust_duration 50 sec # Ref 1
thrust 47960 lbf # Ref 1, 21800 kgf (47960 lbf)
end_stage
stage 3
aero RED_SRBM_4_STAGE_3_AERO
total_mass 6358 lbs # Assumed 50% of stage 2
fuel_mass 5401 lbs # Assumed 50% of stage 2
specific_impulse 250 sec # Same as stage 2
# thrust_duration 56 sec # Calculated
thrust 23980 lbf # Assumed 50% of stage 2
end_stage
stage 4
aero RED_SRBM_4_RV_AERO
total_mass 1100 lbs # Assumed using a 500 kg warhead
end_stage
end_mover
###############################################################################
processor RED_SRBM_4_GUIDANCE WSF_GUIDANCE_COMPUTER
# Go vertical for a short time.
phase LIFTOFF
guidance_delay 100.0 sec
# NOTE: Do not use altitude for the criteria for starting pitch over as
# trajectory is VERY sensitive to the TIME when pitch over starts. If it
# were to be used, a minor changes in the launcher altitude would cause
# pitch over to start at a different time!
next_phase PITCH_OVER when phase_time >= 2.0 sec # About 100 ft
end_phase
# Pitch over to the desired flight path angle from the launch computer.
phase PITCH_OVER
commanded_flight_path_angle from_launch_computer
proportional_navigation_gain 0.0 # Don't guide to target
velocity_pursuit_gain 0.0 # Don't guide to target
# maximum_commanded_g 1.0 g
maximum_commanded_g 0.5 g
next_phase BALLISTIC when on_commanded_flight_path_angle
end_phase
# Continue flight with zero alpha, a gravity turn.
phase BALLISTIC
# Turn the guidance processor off once pure ballistic mode is started.
# This shaves several percent off the processor time.
on_entry
TurnOff();
end_on_entry
guidance_delay 9000.0 sec
end_phase
end_processor
###############################################################################
platform_type RED_SRBM_4 WSF_PLATFORM
icon Scud_Missile
infrared_signature RED_SRBM_4_INFRARED_SIG
optical_signature RED_SRBM_4_OPTICAL_SIG
radar_signature RED_SRBM_4_RADAR_SIG
weapon_effects RED_SRBM_4_EFFECT
mover RED_SRBM_4_MOVER
#show_status
end_mover
processor guidance RED_SRBM_4_GUIDANCE
#show_status
#show_graphics
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# If the target is killed by another weapon we want to still keep going.
coast_time_on_loss_of_target 10000.0 secs
end_processor
weapon stage_1 WSF_EXPLICIT_WEAPON
launched_platform_type RED_SRBM_4_SPENT_STAGE_1
launch_delta_v -3.0 0.0 0.0 ft/s # Provide a slight nudge
quantity 1
end_weapon
weapon stage_2 WSF_EXPLICIT_WEAPON
launched_platform_type RED_SRBM_4_SPENT_STAGE_2
launch_delta_v -3.0 0.0 0.0 ft/s # Provide a slight nudge
quantity 1
end_weapon
weapon stage_3 WSF_EXPLICIT_WEAPON
launched_platform_type RED_SRBM_4_SPENT_STAGE_3
launch_delta_v -3.0 0.0 0.0 ft/s # Provide a slight nudge
quantity 1
end_weapon
script void on_stage_separation(int aStage)
extern Map<string, bool> SHOW_SPENT_STAGES;
if (SHOW_SPENT_STAGES["ALL"] ||
SHOW_SPENT_STAGES["RED_SRBM_4"])
{
if (aStage == 1) Weapon("stage_1").Fire(WsfTrack());
if (aStage == 2) Weapon("stage_2").Fire(WsfTrack());
if (aStage == 3) Weapon("stage_3").Fire(WsfTrack());
}
end_script
script void on_stage_burnout(int stage)
if (stage == 3)
{
PLATFORM.SetAuxData("BOOST_COMPLETE", true);
PLATFORM.SetInfraredSigState("boost_complete");
}
end_script
end_platform_type
###############################################################################
launch_computer RED_SRBM_4_LAUNCH_COMPUTER WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER
surface_to_surface_table red_srbm_4_launch_data.txt
end_launch_computer
###############################################################################
# Provide the aero and mass data to WSF_BALLISTIC_MISSILE_LAUNCH_COMPUTER. This
# is 'truth data' used by the launch computer for 'trajectory estimation'.
ballistic_missile_launch_computer
target_data RED_SRBM_4
aero RED_SRBM_4_RV_AERO # Aero type of final stage
mass 1100 lbs # Mass of final stage
end_target_data
end_ballistic_missile_launch_computer
###############################################################################
weapon RED_SRBM_4 WSF_EXPLICIT_WEAPON
# The location offset puts the weapon center at half the length - 1 m.
# This assumes the scenario creator puts the launching platform at 1 m agl.
location 0.0 0.0 -9.955 m # Ref 1, length = 18.21 m + 3.7 m (21.91m)
launched_platform_type RED_SRBM_4
launch_computer RED_SRBM_4_LAUNCH_COMPUTER
#debug
#show_results
end_launch_computer
# The missiles are launched vertically.
# We can't specify 90 degrees because of a singularity
tilt 89.9 degrees
# This causes a call to the launch computer to compute the predicted intercept.
# The launcher will then be cued to the proper angles (Subject to the slewing
# limits defined below). This is a bit of a hack until the guidance computer
# is changed...
cue_to_predicted_intercept true
slew_mode azimuth
azimuth_slew_limits -180 deg 180 deg
# Default to a single weapon on the vehicle
quantity 1
# Abort the launch if the launch computer didn't provide the required data
require_loft_angle
end_weapon

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
# ****************************************************************************
# 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 generator for RED_SRBM_4
###############################################################################
include red_srbm_4.txt
platform_type LAUNCH_PLATFORM_TYPE WSF_PLATFORM
side red
weapon red_srbm_4 RED_SRBM_4
end_weapon
end_platform_type
tool BALLISTIC_MISSILE_LAUNCH_COMPUTER_GENERATOR
tool_debug
# altitude 1 m choosen to correspond with typical scenario altitudes
position 0n 0e altitude 1 m
surface_target_file red_srbm_4_launch_data.txt
pass_1_loft_angle_start 45.0 deg
# Be a little more precise for this bad boy
pass_2_loft_angle_step 0.01 deg
# Best loft angle will automatically be determined
burn_times from 126 sec to 166 sec by 0.02 sec
end_tool
#event_pipe
# file replay.aer
#end_event_pipe

View File

@@ -0,0 +1,16 @@
# ****************************************************************************
# 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.
# ****************************************************************************
###############################################################################
# This file is included by weapons that use the SHOW_SPENT_STAGES facility
###############################################################################
script_variables
Map<string, bool> SHOW_SPENT_STAGES = Map<string, bool>();
end_script_variables

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.
# ****************************************************************************
###############################################################################
# ------ UNCLASSIFIED ------
###############################################################################
#
# This files includes typical aero paramaters for ballistic missiles.
#
###############################################################################
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
# This definition is intended to be EXPORTABLE. It is defined using publicly
# available, attributable sources. DO NOT ADD ANYTHING BASED ON OTHER SOURCES!
#
# ***** WARNING ***** WARNING ***** WARNING ***** WARNING ***** WARNING *****
#
###############################################################################
#
# This model is built using data from unclassified sources as follows:
#
# 1) "Professional Development Short Course on Tactical Missile Design"
# Eugene Fleeman, http://genefleeman.home.mindspring.com
#
###############################################################################
# This is typical missile aero that provides cd as a function of mach
aero TYPICAL_MISSILE_AERO WSF_AERO
reference_area 3.14159 ft^2 # Baseline 1 ft radius
aspect_ratio 1.00 # Generic missile aero
cl_max 2.00 # Generic missile aero
mach_and_cd 0.0 0.22 # Ref 2
mach_and_cd 0.8 0.22 # Ref 2
mach_and_cd 1.0 0.35 # Ref 2
mach_and_cd 1.2 0.42 # Ref 2
mach_and_cd 1.5 0.38 # Ref 2
mach_and_cd 2.0 0.30 # Ref 2
mach_and_cd 3.0 0.24 # Ref 2
mach_and_cd 4.0 0.20 # Ref 2
mach_and_cd 5.0 0.17 # Ref 2
mach_and_cd 6.0 0.15 # Ref 2
mach_and_cd 30.0 0.15 # Ref 2
end_aero
# This is typical spent stage aero that provides cd as a function of mach
aero TYPICAL_SPENT_STAGE_AERO WSF_AERO
reference_area 3.14159 ft^2 # Baseline 1 ft radius
aspect_ratio 1.00 # Generic missile aero
cl_max 2.00 # Generic missile aero
mach_and_cd 0.0 1.28 # Ref 2, assuming blunt front face
mach_and_cd 0.8 1.28 # Ref 2
mach_and_cd 1.0 1.41 # Ref 2
mach_and_cd 1.2 1.48 # Ref 2
mach_and_cd 1.5 1.44 # Ref 2
mach_and_cd 2.0 1.36 # Ref 2
mach_and_cd 3.0 1.30 # Ref 2
mach_and_cd 4.0 1.26 # Ref 2
mach_and_cd 5.0 1.23 # Ref 2
mach_and_cd 6.0 1.21 # Ref 2
mach_and_cd 30.0 1.21 # Ref 2
end_aero
# This is typical rv aero that provides cd as a function of mach
aero TYPICAL_RV_AERO WSF_AERO
reference_area 3.14159 ft^2 # Baseline 1 ft radius
aspect_ratio 1.00 # Generic missile aero
cl_max 2.00 # Generic missile aero
mach_and_cd 0.0 0.13 # Ref 2
mach_and_cd 0.8 0.13 # Ref 2
mach_and_cd 1.0 0.27 # Ref 2
mach_and_cd 1.2 0.35 # Ref 2
mach_and_cd 1.5 0.30 # Ref 2
mach_and_cd 2.0 0.26 # Ref 2
mach_and_cd 3.0 0.20 # Ref 2
mach_and_cd 4.0 0.17 # Ref 2
mach_and_cd 5.0 0.16 # Ref 2
mach_and_cd 6.0 0.15 # Ref 2
mach_and_cd 30.0 0.15 # Ref 2
end_aero