Readers
file reading support functions
read_yearly_load_projections(yearly_projections_p='resources/data/load/Province_Load_2020_2060.csv', conversion=1)
prepare projections for model use
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
yearly_projections_p
|
PathLike
|
the data path. Defaults to "resources/data/load/Province_Load_2020_2060.csv". |
'resources/data/load/Province_Load_2020_2060.csv'
|
conversion
|
int
|
the conversion factor to MWh. Defaults to 1. |
1
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
pd.DataFrame: the formatted data, in MWh |
Source code in workflow/scripts/readers.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |