Skip to content
Snippets Groups Projects

Updated LH2 tank design method

Merged s-roscher requested to merge feature/tank_design_lh2 into main
2 files
+ 27
11
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -74,7 +74,7 @@ def method_kerosene(paths_and_names, routing_dict, dict_ac_exchange, dict_mod_co
for key, value in dict_ac_exchange.items():
# Check, if any value is 'None'.
if (key not in unnecessary_values_for_kerosene) and (value is None):
# If any value is 'None', the calculation of the costs is impossible and the program aborted.
# If any value is 'None', the tank design is impossible and the program aborted.
runtime_output.critical('Error: Tank design not possible due to missing parameter in aircraft exchange '
+ 'file (' + key + ')! '
+ 'Program aborted.')
@@ -87,7 +87,7 @@ def method_kerosene(paths_and_names, routing_dict, dict_ac_exchange, dict_mod_co
for key, value in dict_mod_config.items():
# Check, if any value is 'None'.
if key in necessary_values_for_kerosene and value is None:
# If any value is 'None', the calculation of the costs is impossible and the program aborted.
# If any value is 'None', the tank design is impossible and the program aborted.
runtime_output.critical('Error: Tank design not possible due to missing parameter in module configuration '
+ 'file (' + key + ')! '
+ 'Program aborted.')
Loading