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
When linking variables across phases with equivalent units, dymos will raise this error:
ValueError: traj: Linkage units were not specified but the units of var_a (NM) and var_b (nmi) are not the same. Units for this linkage constraint must be specified explicitly.
This is due to the fact that it's checking the unit string for equality (NM != nmi) rather than checking the conversion factor between the units (openmdao.utils.units.unit_conversion('NM', 'nmi') = (1.0, 0.0)).
Description
When linking variables across phases with equivalent units, dymos will raise this error:
This is due to the fact that it's checking the unit string for equality (
NM
!=nmi
) rather than checking the conversion factor between the units (openmdao.utils.units.unit_conversion('NM', 'nmi') = (1.0, 0.0)
).Example
Dymos Version
1.7.1-dev
Relevant environment information
No response
The text was updated successfully, but these errors were encountered: