You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several components (AnalyticTimeseriesOutputComp, ExplicitShootingTimeseriesComp,
PseudospectralTimeseriesOutputComp, and SolveIVPTimeseriesOutputComp) have the following logic:
Later, unit conversion is done if name is found in self._conversion_factors.
This results in unnecessary unit conversions in cases where units and input_units are the same.
GaussLobattoInterleaveComp also seems to have a similar issue.
Example
I noticed this when looking through the code, but it looks like calling _add_output_configure on one of these timeseries comps with units that are the same as the src units (or if src is None) will result in unnecessary conversions.
Dymos Version
1.8.1
Relevant environment information
No response
The text was updated successfully, but these errors were encountered:
Description
Several components (AnalyticTimeseriesOutputComp, ExplicitShootingTimeseriesComp,
PseudospectralTimeseriesOutputComp, and SolveIVPTimeseriesOutputComp) have the following logic:
Later, unit conversion is done if name is found in self._conversion_factors.
This results in unnecessary unit conversions in cases where units and input_units are the same.
GaussLobattoInterleaveComp also seems to have a similar issue.
Example
I noticed this when looking through the code, but it looks like calling _add_output_configure on one of these timeseries comps with units that are the same as the src units (or if src is None) will result in unnecessary conversions.
Dymos Version
1.8.1
Relevant environment information
No response
The text was updated successfully, but these errors were encountered: