This command-line tool is used to process CSV files with power consumption data downloaded from https://elering.ee.
The tool can be built on Linux or MacOS and requires the following dependencies:
- CMake
- Qt (5.15) - core, network and sql components are used
- libfmt - for formatting output
Create a build directory and run the following commands:
mkdir bld
cd bld
cmake ..
make
Dependencies can be installed automatically using vcpkg
:
cmake -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake ..
Download CSV power consumption files from https://elering.ee and then analyze them with this tool.
Print out total consumption and calculate the cost using Nord Pool hourly prices:
elekter Tunnitarbimise\ andmed.csv -p -k