Skip to content

Commit

Permalink
Merge pull request #256 from PowerGridModel/feature/filtering-option
Browse files Browse the repository at this point in the history
filtering option in mapping
  • Loading branch information
mgovers authored Jun 25, 2024
2 parents 02ff48a + 18877fe commit a136e3a
Show file tree
Hide file tree
Showing 14 changed files with 609 additions and 209 deletions.
14 changes: 14 additions & 0 deletions src/power_grid_model_io/config/excel/vision_en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,11 @@ grid:
extra:
- ID
- Name
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- Load.P
- Load.Q
sym_gen:
- id:
auto_id:
Expand All @@ -444,6 +449,11 @@ grid:
extra:
- ID
- Name
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- Generation.P
- Generation.Q
- id:
auto_id:
name: pv_generation
Expand All @@ -466,6 +476,10 @@ grid:
extra:
- ID
- Name
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- PV.Pnom
Sources:
source:
id:
Expand Down
14 changes: 14 additions & 0 deletions src/power_grid_model_io/config/excel/vision_en_9_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ grid:
extra:
- ID
- Name
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- Load.P
- Load.Q
sym_gen:
- id:
auto_id:
Expand All @@ -445,6 +450,11 @@ grid:
extra:
- ID
- Name
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- Generation.P
- Generation.Q
- id:
auto_id:
name: pv_generation
Expand All @@ -467,6 +477,10 @@ grid:
extra:
- ID
- Name
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- PV.Pnom
Sources:
source:
id:
Expand Down
14 changes: 14 additions & 0 deletions src/power_grid_model_io/config/excel/vision_nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,11 @@ grid:
extra:
- ID
- Naam
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- Belasting.P
- Belasting.Q
sym_gen:
- id:
auto_id:
Expand All @@ -435,6 +440,11 @@ grid:
extra:
- ID
- Naam
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- Opwekking.P
- Opwekking.Q
- id:
auto_id:
name: pv_generation
Expand All @@ -457,6 +467,10 @@ grid:
extra:
- ID
- Naam
filters:
- power_grid_model_io.functions.filters.exclude_all_columns_empty_or_zero:
cols:
- PV.Pnom
Netvoedingen:
source:
id:
Expand Down
Loading

0 comments on commit a136e3a

Please sign in to comment.