pymodulepackage (schueltke): fix for tool_level access
Problem:
- when
tool_levelin aircraft exchange file is accessed by a module but is not existing, the pymodulepackage throws an error as it can be seen and discussed inweight_and_balance_analysis: aircraft-design!31 (comment 2743760) Solution: - implement a handling procedure how to continue, when tool_level access failed and set
tool_levelto 0 in that case
Test:
- test previous version using weight_and_balance_analysis with an aircraft exchange file in a first loop, when
tool_levelis not yet written in the nodemasses_cg_inertiaand compare it with an execution when the attribute was already written byweight_and_balance_analysis - test the same procedure with the fix from this MR