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

View File

@@ -0,0 +1,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,90 @@
# ****************************************************************************
# 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.
# ****************************************************************************
# * * * * * * * * * * * * * * * * #
# All information below is representative only, #
# and is estimated or obtained from open sources. #
# It is not yet substantiated or corroborated by #
# definitive data. #
# * * * * * * * * * * * * * * * * #
# -------------------------
radar_signature BLUE_GLIDE_BOMB_1_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero BLUE_GLIDE_BOMB_1_AERO WSF_AERO
cd_zero_subsonic 0.150
cd_zero_supersonic 0.220
mach_begin_cd_rise 0.850
mach_end_cd_rise 1.150
mach_max_supersonic 2.000
reference_area 0.028 m2 # 19cm body dia
cl_max 7.000 # unknown
aspect_ratio 4.000 # unknown
oswalds_factor 0.950 # unknown
end_aero
# -------------------------
platform_type BLUE_GLIDE_BOMB_1 WSF_PLATFORM
icon jdam
#radar_signature BLUE_GLIDE_BOMB_1_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
aero BLUE_GLIDE_BOMB_1_AERO
mass 250.0 lbm
update_interval 0.5 s
#debug
#show_trajectory
end_mover
processor guidance_computer WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 10.0
velocity_pursuit_gain 10.0
g_bias 1.0
maximum_commanded_g 25.0 g
guidance_delay 0.0 sec
#debug
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
max_time_of_flight_to_detonate 900.0 sec
# gross_proximity_range 150.0 m
# hit_proximity_range 15.0 m
# proximity_cancel_on_loss_of_target
end_processor
end_platform_type
# -------------------------
weapon_effects BLUE_GLIDE_BOMB_1_EFFECTS WSF_SPHERICAL_LETHALITY
# Note: Does not consider the hardness of any target. All are treated the same.
minimum_radius 30.0 ft # largest blast radius at which damage inflicted is maximum.
maximum_damage 1.0 # maximum damage level achievable upon the target.
maximum_radius 100.0 ft # blast radius beyond which the damage inflicted is Zero.
minimum_damage 0.05 # 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.
# ( e = 1.0 ==> linear damage within blast region,
# e > 1.0 ==> more damaging within the blast region,
# 0.0 < e < 1.0 ==> less damaging within blast region. )
end_weapon_effects
# -------------------------
weapon BLUE_GLIDE_BOMB_1 WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_GLIDE_BOMB_1
aux_data
double lar_meters = 74080 # meters = 40 nm
end_aux_data
weapon_effects BLUE_GLIDE_BOMB_1_EFFECTS
end_weapon

View File

@@ -0,0 +1,99 @@
# ****************************************************************************
# 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.
# ****************************************************************************
###############################################################################
# * * * * * * * * * * * * * * * *
# All information below is representative only,
# and is estimated or obtained from open sources.
# It is not yet substantiated or corroborated by
# definitive data.
# * * * * * * * * * * * * * * * *
###############################################################################
#############################################################################
# Define the aerodynamic characteristics
#############################################################################
radar_signature BLUE_GPS_BOMB_1_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero BLUE_GPS_BOMB_1_AERO WSF_AERO
# Note: Values for Mk-82-like slick bomb.
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
reference_area 0.059 m2 # 273mm body dia
cl_max 10.400 # unknown
aspect_ratio 4.000 # unknown
end_aero
###############################################################################
# Define the explicit platforms for the bombs
###############################################################################
platform_type BLUE_GPS_BOMB_1 WSF_PLATFORM
icon jdam
#radar_signature BLUE_GPS_BOMB_1_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
aero BLUE_GPS_BOMB_1_AERO
mass 500.0 lbm
update_interval 0.5 s
end_mover
processor guidance_computer WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 10.0
velocity_pursuit_gain 10.0
g_bias 1.0
maximum_commanded_g 25.0 g
guidance_delay 0.0 sec
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# proximity_cancel_on_loss_of_target
end_processor
end_platform_type
###############################################################################
# Define the weapon lethality
###############################################################################
weapon_effects BLUE_GPS_BOMB_1_EFFECT WSF_SPHERICAL_LETHALITY
allow_incidental_damage
minimum_radius 25.0 m # largest blast radius at which damage inflicted is maximum.
maximum_radius 30.0 m # blast radius beyond which the damage inflicted is Zero.
maximum_damage 1.0 # maximum damage level achievable upon the target.
minimum_damage 0.1 # damage level acheived at the maximum radius.
threshold_damage 0.2 # initial damage level which must be acheived
# before effects begin to accumulate upon the target
exponent 1.0 # exponent of proportionality of damage with radius.
# ( e = 1.0 ==> linear damage within blast region,
# e > 1.0 ==> more damaging within the blast region,
# 0.0 < e < 1.0 ==> less damaging within blast region. )
end_weapon_effects
###############################################################################
# Define the weapon types
###############################################################################
# *** NOTE: If the ejector rack imparts initial velocity to the bomb, it should
# be specified in the weapons below as keyword "launch_delta_v", and
# the launch computers and LARs will need to be re-generated.
weapon BLUE_GPS_BOMB_1 WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_GPS_BOMB_1
aux_data
double lar_meters = 18520 # meters = 10 nm
end_aux_data
weapon_effects BLUE_GPS_BOMB_1_EFFECT
end_weapon

View File

@@ -0,0 +1,95 @@
# ****************************************************************************
# 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.
# ****************************************************************************
###############################################################################
# * * * * * * * * * * * * * * * *
# All information below is representative only,
# and is estimated or obtained from open sources.
# It is not yet substantiated or corroborated by
# definitive data.
# * * * * * * * * * * * * * * * *
###############################################################################
#############################################################################
# Define the aerodynamic characteristics
#############################################################################
radar_signature BLUE_GPS_BOMB_2_RADAR_SIGNATURE
constant 1 m^2
end_radar_signature
aero BLUE_GPS_BOMB_2_AERO WSF_AERO
reference_area 0.108 m2 # 370mm body dia
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 10.400 # unknown
aspect_ratio 4.000 # unknown
end_aero
platform_type BLUE_GPS_BOMB_2 WSF_PLATFORM
icon jdam
#radar_signature BLUE_GPS_BOMB_2_RADAR_SIGNATURE
mover WSF_GUIDED_MOVER
aero BLUE_GPS_BOMB_2_AERO
mass 2015.0 lbm
update_interval 0.5 s
#debug
#show_trajectory
end_mover
processor guidance_computer WSF_GUIDANCE_COMPUTER
proportional_navigation_gain 10.0
velocity_pursuit_gain 10.0
g_bias 1.0
maximum_commanded_g 25.0 g
guidance_delay 0.0 sec
#debug
end_processor
processor fuse WSF_GROUND_TARGET_FUSE
# proximity_cancel_on_loss_of_target
end_processor
end_platform_type
###############################################################################
# Define the weapon lethality
###############################################################################
weapon_effects BLUE_GPS_BOMB_2_EFFECT WSF_SPHERICAL_LETHALITY
allow_incidental_damage
minimum_radius 35.0 m # largest blast radius at which damage inflicted is maximum.
maximum_radius 40.0 m # blast radius beyond which the damage inflicted is Zero.
maximum_damage 1.0 # maximum damage level achievable upon the target.
minimum_damage 0.1 # damage level acheived at the maximum radius.
threshold_damage 0.2 # initial damage level which must be acheived
# before effects begin to accumulate upon the target
exponent 1.0 # exponent of proportionality of damage with radius.
# ( e = 1.0 ==> linear damage within blast region,
# e > 1.0 ==> more damaging within the blast region,
# 0.0 < e < 1.0 ==> less damaging within blast region. )
end_weapon_effects
###############################################################################
# Define the weapon types
###############################################################################
# *** NOTE: If the ejector rack imparts initial velocity to the bomb, it should
# be specified in the weapons below as keyword "launch_delta_v"
weapon BLUE_GPS_BOMB_2 WSF_EXPLICIT_WEAPON
launched_platform_type BLUE_GPS_BOMB_2
aux_data
double lar_meters = 18520 # meters = 10 nm
end_aux_data
weapon_effects BLUE_GPS_BOMB_2_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