fast-aircraft-design / FAST-OAD

FAST-OAD: An open source framework for rapid Overall Aircraft Design
GNU General Public License v3.0
47 stars 25 forks source link

Consumed fuel is now directly computed for each time step #505

Closed christophe-david closed 5 months ago

christophe-david commented 5 months ago

This PR simply adds the consumed_fuel column in mission csv output file.

This is done by adding this field in FlightPoint class. Though this information is somehow redundant with the mass field, it may prove useful to know at each step of the mission the consumed fuel without having to know what was the start mass of the aircraft.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (a06f542) 84.24% compared to head (9f49e2a) 84.22%.

Files Patch % Lines
...stoad/models/performances/mission/segments/base.py 60.00% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #505 +/- ## ========================================== - Coverage 84.24% 84.22% -0.03% ========================================== Files 132 132 Lines 6095 6109 +14 Branches 899 901 +2 ========================================== + Hits 5135 5145 +10 - Misses 805 807 +2 - Partials 155 157 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.