Skip to content

Conversation

@jkirk5
Copy link
Contributor

@jkirk5 jkirk5 commented Dec 1, 2025

Summary

A variety of bugfixes and changes to improve the turboprop freighter model. NOTE this is a partial fix and does not mean the turboprop freighter is finished at this point.

Changes include cleaning up and standardizing the electric breguet range ODEs and phases, getting parts of 2DOF working with external subsystems (a new feature technically!), and lots of fixes geared towards the freighter model itself

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

if var in lists_to_link[idx]:
phases_to_link.append(phase_name)

if len(phases_to_link) > 1: # TODO: hack
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Experimental fix for external subsystem linked variables across analytic phases

'upper': 0.5,
# 'val': 0.5,
},
# Aircraft.Engine.Propeller.ACTIVITY_FACTOR: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a new problem - these are the design variables that could get added, but you don't always want them added to the problem, only when you want to resize the propeller (and even then, maybe you don't want diameter to change, for example). We don't have a good way to easily let the user set this right now

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In MBSAE, the way to handle this has been to manually comment out design vars, but you could add a flag to the builder initialization arguments, and use this flag to determine the var configuration.

@jkirk5 jkirk5 marked this pull request as ready for review December 31, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants