sweepSloshDisplacement

Cross-engine slosh-displacement metric for scenarioCompareVariableMass.

The base scenario plots the spring-mass-damper slosh displacements but does not write their cross-engine difference to JSON. This driver runs the uncompensated comparison in both the deep-space and in-orbit configurations and records the maximum absolute displacement difference over the burn.

Results are written to results/sweepSloshDisplacement.json.

sweepSloshDisplacement.maxSloshDifference(inOrbit, tf=900.0)[source]

Max abs cross-engine SMD displacement difference [m] for one configuration.

sweepSloshDisplacement.run(configurations=(False, True), tf=900.0, saveJson=True, resultsDir=None)[source]

Run the selected deep-space/orbit cases and return the generated metrics.