mission_groups.py

openconcept.mission.mission_groups.get_prom_name(system, abs_name, iotype)

Get the promoted name of a input or output variable

Parameters:
  • system (OpenMDAO System (e.g Group, component)) – The system to search

  • abs_name (str) – Absolute name of the variable

  • iotype (str) – Variable type, either ‘input’ or ‘output’

Returns:

Promoted name of the variable, or None if not found

Return type:

str or None

openconcept.mission.mission_groups.find_integrators_in_model(system, abs_namespace, timevars, states, durationvar)

Recursively find integration-related variables (time, states, and duration) under this system and put them in imtevars and states lists.

TODO: user-defined integrators are breaking things, and I suspect it is from here