UserDefined

This attribute lets you define one or more additional conditions to be used in determining whether a stopping condition has been satisfied.

Syntax

Astrogator <Satellite Object Path> SetValue <Attribute Path>.StoppingConditions.{Stopping Condition}.Constraints.UserDefined.{Attribute}<Value>

Description

Select and assign values to the following attributes of a user-defined constraint on a stopping condition:

Attribute Description
Calculation Object {CalcObject}
Criteria Select one of the following options: {Equals, Greather Than, Greater Than Minimum, Less Than, Less Than Maximum, Not Equal To}
  • Equals -- The test parameter must be equal (within the specified tolerance) to the specified value.
  • Greater Than Minimum -- The current value for the calculation object is greater by the specified tolerance than the minimum reached by that object during the segment.
  • Greater Than -- The test parameter must be greater than the specified value.
  • Less Than Maximum -- The current value for the calculation object is less by the specified tolerance than the maximum reached by that object during the segment.
  • Less Than -- The test parameter must be less than the specified value.
  • Not Equal To -- The test parameter must be not equal (within the specified tolerance) to the specified value.
Tolerance Specify how closely the test parameter must approximate the desired value for the constraint. Tolerance does not apply to the Less Than or Greater Than criteria.
UseAbsoluteValue {true, false} Select true to use the absolute value of the calculation; otherwise, select false.
Value Specify the desired value for the constraint.

Note: User-defined constraints are also available for before conditions.

Examples

For Propagate Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.Constraints.UserDefined.CalcObject Altitude

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.Constraints.UserDefined.Criteria Greater Than

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.Constraints.UserDefined.Tolerance 1 m

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.Constraints.UserDefined.UseAbsoluteValue true

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.Constraints.UserDefined.Value 500 km

For Finite Maneuver Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.Constraints.UserDefined.CalcObject Altitude

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.Constraints.UserDefined.Criteria Greater Than

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.Constraints.UserDefined.Tolerance 1 m

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.Constraints.UserDefined.UseAbsoluteValue true

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.Constraints.UserDefined.Value 500 km

For Follow Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Follow.StoppingConditions.Duration.Constraints.UserDefined.CalcObject Altitude

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Follow.StoppingConditions.Duration.Constraints.UserDefined.Criteria Greater Than

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Follow.StoppingConditions.Duration.Constraints.UserDefined.Tolerance 1 m

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Follow.StoppingConditions.Duration.Constraints.UserDefined.UseAbsoluteValue true

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Follow.StoppingConditions.Duration.Constraints.UserDefined.Value 500 km

STK Programming Interface 11.0.1