Fix unused tanks
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files with large changes are collapsed by default.
Fixed bug and updated logic so that tanks are only filled if their used_tank flag is True, otherwise they are filled with 0 kg. (e.g. if a tank is available but not used during mission).
weight_and_balance
module to the project provided in #198 (closed).calculate_fuel_mass_properties
and not during defueling anymore, as the used_tank flag for the wing center tank is False and the fuel mass to be filled up exceeds the total capacity of the available tanks.maximum_energy_capacity
to a meaningful value and the energy_capacity_required_for_mission
to true
and execute w&b again.At the moment the used_tank flag is set by tank_design. W&b throws an error after the third iteration loop for kerosene if there is still remaining fuel to be refilled, but not enough capacity in the tanks. W&B is not responsabile for resizing the tanks, it only checks if the mission fuel fits in the available tanks.
For a faster browsing experience, some files are collapsed by default.
Files with large changes are collapsed by default.