From 5e82dedea4c56eafc1bba4f3ec8677b15f51c03f Mon Sep 17 00:00:00 2001 From: blendoit Date: Sun, 20 Oct 2019 19:33:53 -0700 Subject: Commence declassification of Evaluator Pointless to have a separate object for the Evaluator when a collection of evaluator.py methods does the trick. --- evaluator/mass.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 evaluator/mass.py (limited to 'evaluator/mass.py') diff --git a/evaluator/mass.py b/evaluator/mass.py new file mode 100644 index 0000000..514c59b --- /dev/null +++ b/evaluator/mass.py @@ -0,0 +1,8 @@ +def get_mass_distribution(self, total_mass): + F_z = [total_mass / self.semi_span for x in range(0, self.semi_span)] + return F_z + + +def get_mass_total(self, aircraft): + """Get the total aircraft mass.""" + return 2000 -- cgit v1.2.3