Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-1439

Parameter design for multiple dependency

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: R2016a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      This is follow up bug of 977.

      Steve wrote:

      Currently, there is no way to view data associated with a thruster
      via the GUI, and probably not via the script either.

      This issue presents us with two problems. The first is how to update the GUI,
      which I think is relatively easy. The second, is how to treat the script, and
      more importantly, how parameter dependencies are handled. Here is an example
      of how we may allow a user to access thruster data

      Report MyReport MySpacecraft.Thruster1.ScaleFactor

      What we've done here, is created a new type of dependency though, what I would
      call a hardware dependency. If there is a parameter of a Thruster that is then
      Coordinate System or Central Body dependent, the current syntax won't work.

      So before we can address this, we have to determine if we should support a
      syntax where there are multiple dependencies, like this:

      Report MyReport MySpacecraft.Thruster1.EarthMJ2000Eq.X

      Linda, do you think the current design would support this? How big is the job
      to modify the parameter code to support this? Once we have these questions
      answered we can move forward to the next step.

      Linda wrote:

      There needs to be some design change.
      The current Parameter design supports only one dependency input,
      no dependency, origin dependent, coordinate system dependent.

      I think we can add one more dependency type, such as related object or owned
      object.

      So for MySpacecraft.Thruster1.ScaleFactor, ScaleFactor will have owned object
      of thruster and no dependency.

      It will be helpful if you can come up with list of parameter types that
      can have owned objects. The parameter types must be unique, since each
      parameter type is implemented as individual class.

        Gliffy Diagrams

          Attachments

            Activity

            gmatloj Linda Jun created issue -
            jjkparker Joel Parker made changes -
            Field Original Value New Value
            Fix Version/s April 15 [ 10338 ]
            jjkparker Joel Parker made changes -
            Affects Version/s Development [ 10335 ]
            jjkparker Joel Parker made changes -
            Component/s ZOLD_Design [ 10572 ]
            Component/s Base [ 10584 ]
            djcinsb Darrel Conway made changes -
            Workflow bug_new [ 12666 ] jira [ 14142 ]
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            jjkparker Joel Parker made changes -
            Labels Parameters Parameters calc
            jjkparker Joel Parker made changes -
            Component/s Base [ 10584 ]
            Component/s Calculation Parameters (FRR-38) [ 10515 ]
            jjkparker Joel Parker made changes -
            Labels Parameters calc
            shughes Steven Hughes made changes -
            Workflow jira [ 14142 ] Simple [ 16725 ]
            shughes Steven Hughes made changes -
            Affects Version/s R2016a [ 10800 ]

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: