# FILE:
#       novsim1.tim
# TITLE:
#	Dav 1 of November Operations Simulation  (5 Nov 97)
# PURPOSE:
#       TRACE Operations Simulation Plan File for
#       first day of November Operations Simulation # 1
#	D-Day, D-Day + 1, Sequence Testing
#	
# HISTORY:
#       Created 30-Oct-97 by T. Tarbell, based on octsim1.tim
#	4-Nov-97 (TDT)  Added pass schedule, adjusted timings
#	modified to start at 15 UT rather than 14 UT by request of
#	FOT personnel
#	
# COMMENTS:
#
#       Run Time = 21 hours
#
# Station info starting
#       AOS Time                    Dur(min)  Next(hrs)    Station
ABS     15:14:18        AOS          11.2
ABS     16:51:45        AOS           9.6
ABS     19:26:08        AOS          11.2
ABS     22:04:37        AOS           9.0
ABS     23:40:46        AOS          10.6
ABS     02:48:05        AOS           9.4
ABS     04:24:05        AOS          10.6
ABS     07:36:23        AOS           9.3
ABS     10:45:54        AOS           8.2

#	Standard Sequence Test Set
ABS	15:00:00	Start STD.reset_regs
REL	PREV_DONE	Start STD.amplifierB
REL	PREV_DONE       Start DPM.ift_cmmodes
REL	PREV_DONE       Start DPM.ift_wlscan
REL	PREV_DONE       Start DPM.ift_mosaic		
REL	+00:40:00	Stop

#	Interactive Lamp exercises
REL	+00:01:00	Start STD.reset_regs
REL	PREV_DONE	Start COM.aec_wluv
REL	+00:05:00	Stop
REL	+00:02:00	Start CJS.transient_test_wl
REL	+00:15:00	Stop		
REL	+00:02:00	Start STD.reset_regs
REL	PREV_DONE	Start RAS.wl.flaretest
REL	+00:30:00	Stop	

#	D-Day Commissioning
REL	+00:05:00	PNT top1.pos1    65 -6
REL	+00:00:01	Start STD.reset_regs
REL	PREV_DONE	Start STD.repoint_top1
REL	PREV_DONE	Start COM.af1_front_al
REL	PREV_DONE	Start COM.af2_back_al
REL	PREV_DONE	Start COM.fe1_focus_wl
REL	PREV_DONE	Start COM.fe1_focus_uv
REL	PREV_DONE	Start COM.dc1_compress_wl
REL	+01:00:00	Stop		

REL	+00:01:00	Start STD.repoint_top1
REL	PREV_DONE 	Start STD.ISS_close_loop
REL	PREV_DONE	Start COM.fe1_focus_wl
# REL	PREV_DONE	Start COM.fe1_focus_uv		# Skip for the sim
REL	PREV_DONE	Start COM.subpixel_wluv		# Add for the sim
REL	PREV_DONE	Start COM.subpixel_wluv		# Add for the sim
REL	PREV_DONE	Start STD.ISS_open_loop
REL	+00:20:00	Stop
REL	+00:00:01	Start STD.ISS_open_loop

REL	+00:01:00	UTIM COM.gti1_gt_cal.utim		
REL	+00:01:00	PNT top1.pos1    65 -6	
REL	+00:00:10	Start STD.repoint_top1
REL	PREV_DONE 	Start STD.ISS_close_loop
REL	+00:01:00	UTIM COM.gti2_jitter.utim
REL	+00:01:00	Start COM.gti3_pzt_offset
REL	+00:10:00	UTIM COM.gti4_pzt_gain.utim

REL	+00:00:01	Stop	
REL	+00:00:01	PNT top1.pos1    65 -6
REL	+00:00:01	Start STD.repoint_top1
#REL	+00:05:00	UTIM COM.gti5_loop_gain.utim	# Skip in Sim to shorten timeline
REL	+00:00:01	Start STD.ISS_open_loop	

REL	+00:05:00	PNT top1.pos1    65 -6
REL	+00:00:10	Start STD.repoint_top1
REL	PREV_DONE	Start CJW.ccd4_ice
REL	PREV_DONE	Start CJW.darks_full_ccd
REL	PREV_DONE	Start CJW.vis_ltc
REL	PREV_DONE	Start COM.dc1_compress_uv
REL	PREV_DONE	Start COM.ff1_flats_wluv

REL	+00:40:00	Start COM.aec_wluv
REL	+00:02:00	Stop

REL     +00:01:00       PNT top1.pos1    -400 0
REL	+00:00:10	Start STD.repoint_top1
REL     PREV_DONE       Start COM.fe1_focus_wl
REL     PREV_DONE       Start COM.fe1_focus_uv
REL	PREV_DONE       Start COM.gti6_4limb
REL	+01:00:00       PNT top1.pos1    65 -6
REL	+00:00:10	Start STD.repoint_top1

#       Repeat Interactive Lamp exercises
REL     +00:01:00       Start STD.reset_regs
REL     PREV_DONE       Start COM.aec_wluv
REL     +00:05:00       Stop
REL     +00:02:00       Start CJS.transient_test_wl
REL     +00:15:00       Stop              
REL     +00:02:00       Start STD.reset_regs
REL	PREV_DONE	Start RAS.wl.flaretest
REL     +00:30:00       Stop             

#	Logic Series

REL	+00:01:00	Start STD.reset_regs
REL	+00:00:10	UTIM COM.sw4.logic.utim
REL	+00:05:00	Stop

#	EUV commissioning for D-Day + 1
REL	+00:01:00	Start STD.reset_regs
REL     PREV_DONE       Start COM.fe1_focus_euv
REL     PREV_DONE       Start COM.dc1_compress_euv
REL     +00:45:00       Start COM.ff1_flats_euv

#	Sequence tests

REL	+00:45:00	Start STD.reset_regs
REL	PREV_DONE	Start RAS.test.imax.imin
REL	PREV_DONE	Start COM.dc1_compress_dark
REL	PREV_DONE	Start COM.subpixel_wluv
REL	PREV_DONE	Start COM.subpixel_wluv
REL	+00:20:00	Start COM.fe3_std_focus_wluv
REL	PREV_DONE	Start COM.fe3_std_focus_euv
REL	+00:30:00	Start STD.reset_regs
REL	PREV_DONE	Start CCK.arflarewatch.1x1.195
REL	+00:45:00	Stop
REL	+00:01:00	Start STD.reset_regs
REL	PREV_DONE	Start CCK.northpolar.1x1.171
REL	+00:10:00	Start CCK.southpolar.1x1.171
REL	+00:10:00	Start STD.reset_regs
REL	PREV_DONE	Start RAS.test.imax.imin	#Run again just in case
REL	PREV_DONE	Start COM.dc1_compress_dark
REL	PREV_DONE	Start COM.subpixel_wluv
REL	PREV_DONE	Start COM.subpixel_wluv


#	Science Program from Day 1 of 30-Day Plan

ABS	02:00:00	Start CJS.priocaldiskcenter.1x1.all
ABS	02:15:00	Start CJS.scene.fulldisk.allpanel.1wave
REL	PREV_DONE	Start RAS.testsnapshots.1x1.all
ABS	02:20:00	PNT top1.pos1 -140 170
ABS	04:30:00	PNT top1.pos1 -120 170
ABS	05:59:00	Stop

ABS	06:00:00	SEQ_MEM_DUMP

#	Science program from Day 2

ABS	06:30:00	PNT top1.pos1 -100 170
ABS	06:30:01	Start RAS.dynamics.1x1.all.4
ABS	08:30:00	PNT top1.pos1 -80 170
ABS	10:30:00	PNT top1.pos1 -60 170
ABS	11:59:00	Stop