Running the Application
Command Line Arguments
Flag | Description | Required | Default |
---|---|---|---|
-c,--conf <CONFIGURATION> | Specifies the path to the config file. | Yes | load-processor.conf |
--detailed-stats-log | Show detailed messages for each warning collected in the stats output, instead of just the summary. | No | Disabled |
-h,--help | Shows this help message. | No | No |
--ignore-after <DATE> | Ignore all meter reading after the specified ISO date. | No | None |
--ignore-before <DATE> | Ignore all meter reading before the specified ISO date. | No | None |
--parse-format <CPPAL\|ESSENTIAL\|ENDEAVOUR> | Specifies the format file to parse and ingest. | Yes | CPPAL |
--rebuild-index | Rebuild the load readings index instead of processing the consumption data. Use if your index is gets deleted or corrupted. | No | Disabled |
To run the tool, execute the following command at a terminal:
java -Xmx<heap size> -Xms<heap size> -jar <path to load-processor-jar> [-c <CONFIGURATION>] [--detailed-stats-log] [-h] [--ignore-after <DATE>] [--ignore-before <DATE>] [--parse-format <CPPAL|ESSENTIAL|ENDEAVOUR>] [--rebuild-index]
where:
- heap size is the desired size of the heap. E.g. 12g
e.g:
java -Xmx12g -Xms12g -jar load-processor.jar -c config.json --parse-format CPPAL --ignore-before 2020-01-01
Heap Size Estimation
The LV Mapping data requires around 1.5GB/day
The meter data requires around 1GB/day
A 3 day
interval input data would require around 7.5GB
Together with the process overhead, the recommended heap size is 12GB