Fix unused tanks
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
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.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.