Tags: EuropeanForestInstitute/aiphoria
Tags
Fixed DataChecker.py to properly use selected year range data instead… … of all years. Added two optional boolean parameters: fill_missing_absolute_flows and fill_missing_relative_flows. If parameter is set to True, then DataChecker fills the missing data depending on the flow unit type. Both parameters are set to True if parameters are not found inside settings file.
Fixed DataChecker not using provided parameters: parameters use_virtu… …al_flows and virtual_flows_epsilon was always returning the default values instead of values read from file. Added tqdm progress bars to FlowSolver to indicate what timestep is currently being solved. Added transformation stage "Other" to transformation stage color mapping.
Implemented major quality-of-life improvements: - Settings are now read from the Excel file - Parameter checking is done automatically when data is read from Excel file and proper error message is shown to the user - Mass balance summary - Cleaned and refactored codebase - Added some missing required Python package names to requirements.txt aiphoria internal changes: - Unified naming of aiphoria object properties - Parametrization and automatic type checking is now done automatically for settings read from the Excel file. Error message is shown to the user when parameter does not match with the expected type (e.g. user set string "abc" when checker expected int). This allows easy way to add new parameters that needs to be read from Excel file