In the following, the modularized structure of a Python module is explained using the `cost_estimation` module. The according folder structure is shown in the following picture. It is also available for download.
@warning Check, if images displayed correctly here!
## File structure
...
...
@@ -192,23 +193,25 @@ rAircraftDesign
## Files that require changes by the module manager
The code is designed to be highly generalized, meaning that only a few files need changes by the module manager. These files are shown in the following image and are discussed below in more detail. In some parts of the code, dynamic import commands and function names are generated, with examples provided at relevant points to illustrate how these commands work.
@warning Check, if images displayed correctly here!
### The `data_preprocessing` (`datapreprocessing.py`)
- Update the layer description in the docString
- Customize the layer description within `layer_description_dict`. If a layer is unknown (e.g., `user_layer`), set it to 'None' rather than a path and call the relevant function (e.g., `read_energy_carrier`) as indicated (see lines 69 and following).
@warning Check, if images displayed correctly here!
# Logging and printing {#logging-and-printing}
The Python framework in this project has a customized logging function, which builds on Python’s [logging facility](https://docs.python.org/3/library/logging.html). The following logging levels are available:
...
...
@@ -279,8 +285,8 @@ The necessary steps are listed below. Please ensure to read the respective expla