Go to the bottom.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	QBPCS_DEF.SDDL
!
! Purpose:      This SDDL file defines the qbpcs_def relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 11/17/94    27329     RJS   Original implementation
! 03/06/96    31021     nlc   Add new field reacq_no_def
! 05/02/96    27745     bao   Eliminate two-step GS acquisition support 
!			      from database and SPSS
! 03/12/98 n  30633     egb   New fields reconf_time, slew_set_tim, and 
!                             reacq_tm_nsl
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!

LANGUAGE	FORTRAN, SQL

INCLUDE         ZSPSS_USER_TYPES.SDDL

RECORD  QBPCSD_TYPE

!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------

    DESCRIPTION       "This PDB-controlled relation defines the default PCS 
		       acquisition parameters associated with a scenario 
		       acquisition.  These acquisition parameters are used by 
		       SPSS to determine the duration of guide star 
		       acquisition and reacquisition activities.  

		       The command GSSS/ACQ uses parameters in this relation 
		       to compute the acquisition time parameters.  However,
		       the relation QBS_OBSET contains 	acquisition and 
		       reacquisition override flags to allow SPSS to ignore 
		       these acquisition time parameters computed by GSSS/ACQ 
		       and stored in WGACQUIS, and instead use other default 
		       parameters specified in this relation.

                       GSSS/ACQ bases its calculations on properties of
                       guide star pairs which it has grouped into acquisition
                       data sets."

!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------


    FIELD  pcs_mode
        TYPE PCS_MODE_TYPE
    END_FIELD


    FIELD  scenario_acq
        TYPE GSACQ_SCENARIO_NAME_TYPE
    END_FIELD


    FIELD  acqcoef1
        TYPE            R4
        DESCRIPTION     "This field specifies the first coefficient of
                        the guide star acquisition time model. This default
                        value will be used if the PCS acquisition override
                        flag QBS_OBSET.acq_co_ovr='Y'. The guide star
                        acquisition time is computed from the ST position
                        uncertainty 'U' and the pitch/yaw error coefficient
                        for the obset (atterror) to be :
                        acqcoef1 + acqcoef2 * (U + atterror ** acqcoef3).
                        Otherwise, SPSS will use the user specified value
                        (PFORM BGD) in QBS_OBSET.acqcoef1."
        RELATED_FIELDS  "qbs_obset.acqcoef1" "qbs_obset.acqcoef2" "qbs_obset.acqcoef3" "qbs_obset.atterror" "qbs_obset.acq_co_ovr"

        UNITS           "SECONDS"
    END_FIELD


    FIELD  acqcoef2
        TYPE            R4
        DESCRIPTION     "This field specifies the second coefficient of the
                        guide star acquisition time model. This default
                        value will be used if the PCS acquisition override
                        flag QBS_OBSET.acq_co_ovr='N'.  Otherwise, SPSS will
                        use the user specified value (PFORM BGD) in
                        QBS_OBSET.acqcoef2."
        RELATED_FIELDS  "qbs_obset.acqcoef2" "qbs_obset.acq_co_ovr"

        UNITS           "SECONDS/ARCSECONDS"
    END_FIELD


    FIELD  acqcoef3
        TYPE            R4
        DESCRIPTION     "This field specifies the third coefficient of the
                        guide star acquisition time model. This default
                        value will be used if the PCS acquisition override
                        flag QBS_OBSET.acq_co_ovr='N'.  Otherwise, SPSS will
                        use the user specified value (PFORM BGD) in 
                        QBS_OBSET.acqcoef3."
        RELATED_FIELDS  "qbs_obset.acqcoef3" "qbs_obset.acq_co_ovr"

    END_FIELD


    FIELD  gs_acq_parm
        TYPE            R4
        DESCRIPTION     "This field specifies the default guide star
                        acquisition time model parameter. ( user input ).
                        This is used by GSSS/ACQ to compute the values of the
                        fields WGACQUIS.acq_tim_mod2, WGACQUIS.min_acq_tim,
                        and WGACQUIS.nom_acq_tim."
        RELATED_FIELDS  "wgacquis.acq_tim_mod2" "wgacquis.min_acq_tim" "wgacquis.nom_acq_tim"

    END_FIELD


    FIELD  overhead
        TYPE            R4
        DESCRIPTION     "This field specifies the overhead for the
                        acquisition on the acquisition timing model. It is
                        used by GSSS/ACQ to compute the values of the fields
                        WGACQUIS.acq_tim_mod1."
        UNITS           "SECONDS"
        RELATED_FIELDS  "wgacquis.acq_tim_mod1"
    END_FIELD


    FIELD  gs_acq_time
        TYPE            R4
        DESCRIPTION     "This field specifies the time to acquire each GS/
		 	GS pair of the acquisition. GSSS/ACQ sums the value of 
			this field and the value of qbpcs_def.overhead and the 
			centerline maneuver durations to compute 
			WGACQUIS.acq_tim_mod1."
        UNITS           "MINUTES"
        RELATED_FIELDS  "wgacquis.acq_tim_mod1"
    END_FIELD


    FIELD  rollerror
        TYPE            R4
        DESCRIPTION     "This field specifies the roll error coefficient
                        of the ST position uncertainty model associated with
                        the PCS mode. This is the default value used if the PCS
                        acquisition override flag QBS_OBSET.acq_co_ovr='N'.
                        Otherwise, SPSS will the use value in 
			QBS_OBSET.rollerror."
        RELATED_FIELDS  "qbs_obset.rollerror" "qbs_obset.acq_co_ovr"

        UNITS           "ARCSECONDS"
    END_FIELD


    FIELD  rollrate
        TYPE            R4
        DESCRIPTION     "This fields specifies the roll error degradation
                        coefficient of the ST position uncertainty model
                        associated with the PCS mode. It is the default
                        value used if the PCS acquisition override flag
                        QBS_OBSET.acq_co_ovr='N'."
        UNITS           "ARCSECONDS/SECOND"
        RELATED_FIELDS  "qbs_obset.acq_co_ovr"
    END_FIELD


    FIELD  atterror
        TYPE            R4
        DESCRIPTION     "This field specifies the pitch/yaw error coefficient
                        of the ST position uncertainty model associated with the
                        PCS mode. It DEFAULT value from the PCS acquisition
                        default parameters relation if the PCS
                        acquisition override flag is 'Y'."
        UNITS           "ARCSECONDS"
    END_FIELD


    FIELD  attrate
        TYPE            R4
        DESCRIPTION     "This field specifies the pitch/yaw error
                        degradation coefficient of the ST position
                        uncertainty model associated with the PCS mode.
                        DEFAULT value from the PCS acquisition default
                        parameters relation if the PCS acquisition override
                        flag is 'Y'."
        UNITS           "ARCSECONDS/SECOND"
    END_FIELD


    FIELD  reacq_sn
        TYPE GSACQ_SCENARIO_NAME_TYPE
        DESCRIPTION     "This field specifies the PCS reqcquisition
                        scenario name."
    END_FIELD


    FIELD  reacqcoef1
        TYPE            R4
        DESCRIPTION     "This field specifies the first coefficient of the
                        guide star acquisition time model. DEFAULT value from
                        the PCS acquisition default parameters relation if
                        the PCS re-acquisition override flag is 'Y'."
        UNITS           "SECONDS"
    END_FIELD


    FIELD  reacqcoef2
        TYPE            R4
        DESCRIPTION     "This field specifies the second coefficient of the
                        guide star reacquisition time model. DEFAULT value
                        from the PCS acquisition default parameters relation if
                        the PCS re-acquisition override flag is 'Y'."
        UNITS           "SECONDS/ARCSECONDS"
    END_FIELD


    FIELD  reacqcoef3
        TYPE            R4
        DESCRIPTION     "This field specifies the third coefficient of the
                        guide star reacquisition time model. DEFAULT value
                        from the PCS acquisition default parameters relation if
                        the PCS re-acquisition override flag is 'Y'."
        UNITS           
    END_FIELD


    FIELD  numfhsts
        TYPE            C1
        DESCRIPTION     "This field specifies the number of FHSTs required to be
                        visible during the observation set. THIS field may
                        specify from 1-3 FHSTs are required. DEFAULT value
                        from the PCS acquisition default parameters
                        relation if the PCS acquisition override flag
                        is set to 'Y'."
        DISCRETE        "1", "2", "3"
    END_FIELD


    FIELD  fhstroll
        TYPE            C1
        DESCRIPTION     "This field controls the scheduling of FHST roll
                        updates when slewing from the observation set, where
                             'N' = do not do an FHST update, 
                             'D' = schedule an FHST update as required by
                                   the scheduling algorithm (default),
                             'Y' = schedule an FHST full update. "
        DISCRETE        "N", "Y", "D"
    END_FIELD


    FIELD  fhstfull
        TYPE            C1
        DESCRIPTION     "This field controls the scheduling of FHST full updates
                        following a slew to the observation set, where
                             'N' = do not do an FHST update, 
                             'D' = schedule an FHST update as required by
                                   the scheduling algorithm (default),
                             'Y' = schedule an FHST full update. "
        DISCRETE        "N", "Y", "D"
    END_FIELD


    FIELD  fhstroll1
        TYPE            C1
        DESCRIPTION     "This field specifies the FHST which cannot be used
                        to schedule an FHST update before a slew from the
                        observation set. IF two FHSTs (fhstroll1,fhstroll2) are
                        specified, then only a 1-FHST roll update will be
                        scheduled. IF neither are specified, then all three
                        FHSTs will be considered for FHST update
                        scheduling."
    END_FIELD



    FIELD  fhstroll2
        TYPE            C1
        DESCRIPTION     "This field specifies the FHST which cannot be used
                        to schedule an FHST update before a slew from the
                        observation set. IF two FHSTs (fhstroll1,fhstroll2) are
                        specified, then only a 1-FHST roll update will be
                        scheduled. If neither are specified, then all three
                        FHSTs will be considered for FHST update
                        scheduling. "
    END_FIELD


    FIELD  fhstfull1
        TYPE            C1
        DESCRIPTION     "This field specifies the FHST which cannot be used to
                        schedule an FHST full update (before or after a slew).
                        if specified, only the other
                        2 FHSTs can be considered for scheduling.
                        if none is specified, all three
                        FHSTs will be considered for FHST update
                        scheduling. "
    END_FIELD


    FIELD  pcsgap
        TYPE            C1
        DESCRIPTION     "This field is a flag which specifies whether a
                        gap between the PCS acquisition and the first
                        alignment of the observation set which cannot be
                        done in parallel with a slew is allowed. A gap may
                        result if an FHST update is required after a slew,
                        but the delay between the latest time the update can
                        be scheduled and the latest start time of the PCS
                        acquisition activity exceeds fhstdel2."
        RELATED_FIELDS  "qbs_obset.pcsgap" "widcr_parms.fhstdel2" "qbsoverrides.fhstdel2"

    END_FIELD


    FIELD  pcs_max_dur
        TYPE            I4
        DESCRIPTION     "This field specifies the maximum PCS acquisition
                        duration."
        UNITS           "SECONDS"
    END_FIELD


    FIELD  comment1
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment2
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment3
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment4
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment5
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment6
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment7
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment8
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment9
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  comment10
        TYPE COMMENT_LINE_TYPE
    END_FIELD


    FIELD  acq_overhead
        TYPE            I4
        UNITS           "SECONDS"
        DESCRIPTION     "This field specifies the duration of the overhead
                        portion of the guide star acquistion."
        RANGE           
    END_FIELD


    FIELD  rcq_overhead
        TYPE            I4
        DESCRIPTION     "This field specifies the duration of the
                        overhead portion of the guide star reacquistion."
        UNITS           "SECONDS"
    END_FIELD


    FIELD  min_cent_dur
        TYPE            I4
        DESCRIPTION     "This field specifies the minimum centerline
                        maneuver duration if centerlining is requested "
        UNITS           "SECONDS"
    END_FIELD


    FIELD  fgslock
        TYPE            C7
        DESCRIPTION     "This field specifies the value to be used in
                        PODPS science data header keyword FGSLOCK.  The
                        allowed values controlled by the SCARS science
                        software branch "
    END_FIELD


    FIELD  reacq_no_def
        TYPE            I4
        DESCRIPTION     "This field is used to set the duration of a 
			 reacquisition without an FGS slew from default.

                        This duration will also be used to schedule
                        reacquisitions that follow an alignment that must be
                        executed under gyro control (as long as the pause to
                        gyro and reacquisition are within  the same FGS
                        visibilty interval).

                        Reference OPR 30936 for other details on this
                        field."

        UNITS           "SECONDS"
    END_FIELD


    FIELD  reconf_time
        TYPE            I4
        DESCRIPTION     "This field specifies the time required to configure
                        the PCS prior to a slew"
         UNITS           "SECONDS"
	RELATED_FIELDS  "qbs_obset.reconf_time"
    END_FIELD


    FIELD  slew_set_tim
        TYPE            I4
        DESCRIPTION     "This field specifies the time to permit settling of
                        the solar arrays"
        UNITS           "SECONDS"
	RELATED_FIELDS  "qbs_obset.slew_set_tim"
    END_FIELD


    FIELD  reacq_tm_nsl
        TYPE            I4
        DESCRIPTION     "This field specifies the PCS reacquisition time for
                        a 'noslew' type reacquisition."
        UNITS           "SECONDS"
	RELATED_FIELDS  "qbs_obset.reacq_tm_nsl"
    END_FIELD
 
END_RECORD

!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------

RELATION  qbpcs_def

    TYPE             QBPCSD_TYPE

    DESCRIPTION      "PCS Scenario-Dependent Defaults Relation"

    SUBSYSTEM_USING  "SPSS", "SCIOPSDB"

    RELATED_FIELDS  "qbs_obset.*" "qbacqs.*" "qbacqd_def.*"

    INDEX qbpcs_def_1          
	TYPE         unique, clustered
        FIELDS       scenario_acq
    END_INDEX
  
END_RELATION

!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------


INSTANCE  qbpcs_def

    GLOBAL

    TYPE        QBPCSD_TYPE

END_INSTANCE

Go to the top.