Skip to content

csv input of settings:payload_range results in infinite looping of payload range code #1033

@cmbenne3

Description

@cmbenne3

Description

In load_inputs when settings:payload_range comes from aviary_inputs, Aviary sets self.generate_payload_range = aviary_inputs.get_val(Settings.PAYLOAD_RANGE).

In run_aviary_problem the final line is to check if generate_payload_range = True then run run_payload_range.

run_payload_range involves loading the inputs from the original problem into a new off design problem and calling run_aviary_problem, which then triggers the above run_payload_range again in an infinite loop.

We need to break this cycle by resetting Settings.Payload_RANGE = False at somepoint before run_aviary_problem is called in the off design mission.

Example

add settings:payload_range, True to any aircraft .csv file and run through level 1 or level 2 will recreate this issue

Aviary Version

0.10.0-dev

Relevant environment information

No response

Metadata

Metadata

Assignees

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