Intro_Course_6_4 - nasa/gunns GitHub Wiki

Intro Course 6.4: Tuning Iteration

There are several levels at which you can iterate the tuning of parameters, with advantages & drawbacks to each. These are shown as concentric loops in the diagram below:

GUNNS Network Tuning Iteration Cycles

The outer red loop is the slowest because it requires you to have Draw.io open, export each tweak to the drawing and rebuild the sim between iterations. The advantage of this method is that you’re recording your changes in the drawing as you go, so there is little risk of forgetting what you’ve changed.

The inner blue loop is the fastest because it all happens at run-time, by tweaking parameters during RUN. The drawback is you need more knowledge of the link’s internal variables to know what to tune. Usually you tune a link’s configuration data, but in run-time the configuration data has been copied into internal variables. Usually these variables have the same name so it’s obvious what you need to tune. In come cases, however, you have to tune different parameters that are derived from the configuration data, then back-calculate the configuration data values that would produce the tuned parameter.

The middle green loop may be a happy medium for you: it doesn’t require re-exporting & rebuilding the sim every time, and you’re using the input file to override the same configuration terms you set in the drawing. More on using input files in Trick Sim Products: Input Files.

Use whichever loop or combination of loops works for you.

Previous Page / Next Page

⚠️ **GitHub.com Fallback** ⚠️