Skip to content

The ascent_initial_time_slack_constraint is not correctly hooked up. #1051

@Kenneth-T-Moore

Description

@Kenneth-T-Moore

Description

The ascent_initial_time_slack_constraint resid constraint has two problems.

  1. The constraint has no upper/lower/equals specified.
    This was actually allowed in OpenMDAO, but it results in a con that is always satisfied, which is pointless. OpenMDAO has just fixed this loophole, so this con will raise an error: OpenMDAO now issues a warning if a constraint is added without a lower, upper, or equals. OpenMDAO#3740

  2. The constraint is not hooked up to the actual ascent initial time.

Example

aviary_group.add_constraint('ascent_initial_time_slack_constraint.con_val', ref=30.0)

Aviary Version

0.10.0-dev

Relevant environment information

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions