Meter_gen - gridpocket/project-iostack GitHub Wiki
This is the main page from GridPocket's Meter_Gen Wiki for IOStack Project !
| Opt | Parameter | Description |
|---|---|---|
| * | -help -h |
print help message instead of generating data |
| * | -config [.json file] | Specify a file that contains parameters default values |
| * | -out [file path template] | Specify generated file(s) path(s) |
| * | -maxFileSize [size] | Limit generated file size. If need more size, will create more files. |
| -metersNumber [integer] | with 'integer' is 1 or more, represent the total number of meter all meter_gen processes will generate | |
| * | -startID [integer] | Meters ID will start from the specified ID |
| * | -lastID [integer] | Meters ID will finish at lastID-1 |
| -beginDate [yyyy/mm/dd as string] | The first date data will be generated at (basically at 00h00:00 of this date) | |
| -interval [integer] | Specify the number of minutes between 2 data of the same meter. | |
| -endDate [yyyy/mm/dd as string] | Last date data will be generated at (the last will be at 00h00:00 of this date) | |
| * | -metersType ["elec"/"electric"/"gas"/"mix"/"mixed"] | Specify the meter type for all meters that will be generated. |
| * | -location ([boolean]) | add location information for each data (city name, longitude and latitude of where the meter is) |
| * | -temp ([boolean]) | add external temperature of meter for each data (°C) |
| * | -meteoFile [.json file] | Specity the path to the file containing meteo information for -temp option |
| -consumptionsFile [.json file] | Specify the path to the file containing consumption average and standard deviations | |
| -climatFile [.json file] | Specity the path to the file containing climats information | |
| -locationsFile [.json file] | Specify the path to the file containing locations information | |
| * | -debug ([boolean]) | Print information on console while generating (time spent, memory used, current progress and number of created files) |
*Opt: optional parameter.
Non optional parameters should be specified in command line or in config file for the meter_gen to work (except if -help option enabled, will always working)