jacobbieker commited on
Commit
d194488
1 Parent(s): c3f4294

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +52 -0
  2. config.json +66 -0
  3. data_config.yaml +40 -0
  4. pytorch_model.bin +3 -0
README.md CHANGED
@@ -1,3 +1,55 @@
1
  ---
 
2
  license: mit
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: en
3
  license: mit
4
+ library_name: pytorch
5
  ---
6
+
7
+
8
+
9
+
10
+
11
+
12
+ # PVNet2
13
+
14
+ ## Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is/does. -->
17
+ This model class uses satellite data, numericl weather predictions, and recent Grid Service Point( GSP) PV power output to forecast the near-term (~8 hours) PV power output at all GSPs. More information can be found in the model repo [1] and experimental notes in [this google doc](https://docs.google.com/document/d/1fbkfkBzp16WbnCg7RDuRDvgzInA6XQu3xh4NCjV-WDA/edit?usp=sharing).
18
+
19
+ - **Developed by:** openclimatefix
20
+ - **Model type:** Fusion model
21
+ - **Language(s) (NLP):** en
22
+ - **License:** mit
23
+
24
+
25
+ # Training Details
26
+
27
+ ## Data
28
+
29
+ <!-- This should link to a Data Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
30
+
31
+ The model is trained on data from 2017-2020 and validated on data from 2021. See experimental notes in the [the google doc](https://docs.google.com/document/d/1fbkfkBzp16WbnCg7RDuRDvgzInA6XQu3xh4NCjV-WDA/edit?usp=sharing) for more details.
32
+
33
+
34
+ ### Preprocessing
35
+
36
+ Data is prepared with the `ocf_datapipes.training.pvnet` datapipe [2].
37
+
38
+
39
+ ## Results
40
+
41
+ The training logs for the current model can be found [here on wandb](https://wandb.ai/openclimatefix/pvnet2.1/runs/None).
42
+
43
+ The training logs for all model runs of PVNet2 can be found [here](https://wandb.ai/openclimatefix/pvnet2.1).
44
+
45
+ Some experimental notes can be found at in [the google doc](https://docs.google.com/document/d/1fbkfkBzp16WbnCg7RDuRDvgzInA6XQu3xh4NCjV-WDA/edit?usp=sharing)
46
+
47
+
48
+ ### Hardware
49
+
50
+ Trained on a single NVIDIA Tesla T4
51
+
52
+ ### Software
53
+
54
+ - [1] https://github.com/openclimatefix/PVNet
55
+ - [2] https://github.com/openclimatefix/ocf_datapipes
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_target_": "pvnet.models.multimodal.multimodal.Model",
3
+ "output_quantiles": [
4
+ 0.02,
5
+ 0.1,
6
+ 0.25,
7
+ 0.5,
8
+ 0.75,
9
+ 0.9,
10
+ 0.98
11
+ ],
12
+ "interval_minutes": 15,
13
+ "pv_interval_minutes": 15,
14
+ "nwp_encoders_dict": {
15
+ "ecmwf": {
16
+ "_target_": "pvnet.models.multimodal.encoders.encoders3d.DefaultPVNet",
17
+ "_partial_": true,
18
+ "in_channels": 12,
19
+ "out_features": 256,
20
+ "number_of_conv3d_layers": 6,
21
+ "conv3d_channels": 32,
22
+ "image_size_pixels": 32
23
+ }
24
+ },
25
+ "pv_encoder": {
26
+ "_target_": "pvnet.models.multimodal.site_encoders.encoders.SingleAttentionNetwork",
27
+ "_partial_": true,
28
+ "num_sites": 1,
29
+ "out_features": 40,
30
+ "num_heads": 4,
31
+ "kdim": 40,
32
+ "id_embed_dim": 20
33
+ },
34
+ "output_network": {
35
+ "_target_": "pvnet.models.multimodal.linear_networks.networks.ResFCNet2",
36
+ "_partial_": true,
37
+ "fc_hidden_features": 128,
38
+ "n_res_blocks": 6,
39
+ "res_block_layers": 2,
40
+ "dropout_frac": 0.0
41
+ },
42
+ "embedding_dim": 16,
43
+ "include_sun": false,
44
+ "include_gsp_yield_history": false,
45
+ "forecast_minutes": 2880,
46
+ "history_minutes": 60,
47
+ "min_sat_delay_minutes": 60,
48
+ "sat_history_minutes": 90,
49
+ "nwp_history_minutes": {
50
+ "ecmwf": 60
51
+ },
52
+ "nwp_forecast_minutes": {
53
+ "ecmwf": 2880
54
+ },
55
+ "pv_history_minutes": 60,
56
+ "target_key": "pv",
57
+ "optimizer": {
58
+ "_target_": "pvnet.optimizers.EmbAdamWReduceLROnPlateau",
59
+ "lr": 0.0001,
60
+ "weight_decay": 0.01,
61
+ "amsgrad": true,
62
+ "patience": 5,
63
+ "factor": 0.1,
64
+ "threshold": 0.002
65
+ }
66
+ }
data_config.yaml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ general:
2
+ description: Config for training the saved PVNet model
3
+ name: PVNet current
4
+ input_data:
5
+ data_source_which_defines_geospatial_locations: pv
6
+ default_forecast_minutes: 2880
7
+ default_history_minutes: 60
8
+ nwp:
9
+ ecmwf:
10
+ forecast_minutes: 2880
11
+ history_minutes: 60
12
+ nwp_channels:
13
+ - hcc
14
+ - lcc
15
+ - mcc
16
+ - prate
17
+ - sde
18
+ - sr
19
+ - t2m
20
+ - tcc
21
+ - u10
22
+ - v10
23
+ - dlwrf
24
+ - dswrf
25
+ nwp_image_size_pixels_height: 32
26
+ nwp_image_size_pixels_width: 32
27
+ nwp_provider: ecmwf
28
+ nwp_zarr_path: PLACEHOLDER.zarr
29
+ time_resolution_minutes: 60
30
+ x_dim_name: longitude
31
+ y_dim_name: latitude
32
+ pv:
33
+ get_center: true
34
+ n_pv_systems_per_example: 1
35
+ pv_files_groups:
36
+ - label: india
37
+ pv_filename: PLACEHOLDER.netcdf
38
+ pv_metadata_filename: PLACEHOLDER.csv
39
+ pv_ml_ids: []
40
+ time_resolution_minutes: 15
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e751f3b650ff9f15dd7d487c33245acbd22f56cf5a15b7cfc93b4855299599a1
3
+ size 330260298