Skip to content

Commit

Permalink
Merge branch 'features/#1001-desaggregate-industry-demands' into feat…
Browse files Browse the repository at this point in the history
…ures/#1014-load-areas
  • Loading branch information
nesnoj committed Nov 8, 2022
2 parents 1d0970b + e066a69 commit 1533ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/egon/data/datasets/industry/temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def identify_voltage_level(df):
df['voltage_level']= np.nan

# Identify voltage_level for every demand area taking thresholds into account which were defined in the eGon project
df.loc[df["peak_load"] < 0.1, "voltage_level"] = 7
df.loc[df["peak_load"] <= 0.1, "voltage_level"] = 7
df.loc[df["peak_load"] > 0.1, "voltage_level"] = 6
df.loc[df["peak_load"] > 0.2, "voltage_level"] = 5
df.loc[df["peak_load"] > 5.5, "voltage_level"] = 4
Expand Down

0 comments on commit 1533ca1

Please sign in to comment.