OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
202 stars 65 forks source link

Control rates are being included in timeseries outputs by default. #986

Closed robfalck closed 11 months ago

robfalck commented 12 months ago

Description

As of version 1.9.0 control rates should not be in the timeseries outputs by default but they are. The culprit is the fact that their addition to the timeseries occurs during setup rather than during configure. Moving the logic to configure, after introspection has occurred, will fix the issue.

Example

Testing the following condition after the standard brachistochrone example will fail:

        outputs = [op[1]['prom_name'] for op in p.model.list_outputs(out_stream=None)]
        self.assertNotIn('traj0.phase0.timeseries.theta_rate', outputs)

Dymos Version

1.9.1-dev

Relevant environment information

No response