teledesic-840.tcl

来自「卫星仿真软件 卫星仿真软件 卫星仿真软件」· TCL 代码 · 共 46 行

TCL
46
字号
## Teledesic## Original Calling 840-active-satellite design.# In reality, maintaining phasing between planes for all these# satellites would be impossible, making phasing random.# perfect simulations neglect that, optimising phasing.## $Id: teledesic-840.tcl,v 1.3 2004/12/26 14:47:20 lloydwood Exp $set SATS_PER_PLANE 40set NUM_PLANES 21set INTERPLANE_SPACING 9.5# setup orbital elementsset a [expr 750.0+$RADIUS_OF_EARTH]set e 0.00118set inc 98.7set omega 0.0# Ka-band and 40 degrees mask elevation.set coverage_angle 40.0# compute period of orbitset T_per [expr 2 * $PI * pow($a,1.5) / sqrt($MU)]satellites GV_BEGINfor {set j 0} {$j < $NUM_PLANES} {incr j} {	# space planes evenly so that intersection with the	# equatorial plane are separated by INTERPLANE_SPACING.	set Omega [expr $j * $INTERPLANE_SPACING]	# put planes at different heights	set a_plane [expr $a+0.5*$j]	for {set i 0} {$i < $SATS_PER_PLANE} {incr i} {		set T [expr $T_per * ($i + $j/double($NUM_PLANES)) / \			$SATS_PER_PLANE ]		set n [satellites LOAD $a_plane $e $inc $Omega $omega $T]		# only display one orbit in each plane		if {$i > 0} {satellites ORBIT_SET $n 0}	}}satellites GV_END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?