diff --git a/config/config.default.yaml b/config/config.default.yaml index d5d36fb0..05b271f7 100644 --- a/config/config.default.yaml +++ b/config/config.default.yaml @@ -227,9 +227,9 @@ lines: max_extension: .inf length_factor: 1.25 under_construction: 'zero' # 'zero': set capacity to zero, 'remove': remove, 'keep': with full capacity - cutout: europe-2013-era5 dynamic_line_rating: activate: false + cutout: europe-2013-era5 correction_factor: 0.95 max_voltage_difference: false max_line_rating: false diff --git a/config/test/config.electricity.yaml b/config/test/config.electricity.yaml index 06a86241..b750bf62 100644 --- a/config/test/config.electricity.yaml +++ b/config/test/config.electricity.yaml @@ -63,6 +63,7 @@ clustering: lines: dynamic_line_rating: activate: true + cutout: be-03-2013-era5 max_line_rating: 1.3 diff --git a/doc/configtables/lines.csv b/doc/configtables/lines.csv index 809c6635..ec9ec007 100644 --- a/doc/configtables/lines.csv +++ b/doc/configtables/lines.csv @@ -5,9 +5,9 @@ s_nom_max,MW,"float","Global upper limit for the maximum capacity of each extend max_extension,MW,"float","Upper limit for the extended capacity of each extendable line." length_factor,--,float,"Correction factor to account for the fact that buses are *not* connected by lines through air-line distance." under_construction,--,"One of {'zero': set capacity to zero, 'remove': remove completely, 'keep': keep with full capacity}","Specifies how to handle lines which are currently under construction." -cutout,--,"Should be a folder listed in the configuration ``atlite: cutouts:`` (e.g. 'europe-2013-era5') or reference an existing folder in the directory ``cutouts``. Source module must be ERA5.","Specifies the directory where the relevant weather data ist stored." dynamic_line_rating,,, -- activate,bool,"true or false","Whether to take dynamic line rating into account" +-- cutout,--,"Should be a folder listed in the configuration ``atlite: cutouts:`` (e.g. 'europe-2013-era5') or reference an existing folder in the directory ``cutouts``. Source module must be ERA5.","Specifies the directory where the relevant weather data ist stored." -- correction_factor,--,"float","Factor to compensate for overestimation of wind speeds in hourly averaged wind data" -- max_voltage_difference,deg,"float","Maximum voltage angle difference in degrees or 'false' to disable" -- max_line_rating,--,"float","Maximum line rating relative to nominal capacity without DLR, e.g. 1.3 or 'false' to disable" diff --git a/rules/build_electricity.smk b/rules/build_electricity.smk index 70e01793..6964a87d 100644 --- a/rules/build_electricity.smk +++ b/rules/build_electricity.smk @@ -279,7 +279,10 @@ if config["lines"]["dynamic_line_rating"]["activate"]: rule build_line_rating: input: base_network=RESOURCES + "networks/base.nc", - cutout="cutouts/" + CDIR + config["lines"]["cutout"] + ".nc", + cutout="cutouts/" + + CDIR + + config["lines"]["dynamic_line_rating"]["cutout"] + + ".nc", output: output=RESOURCES + "networks/line_rating.nc", log: diff --git a/scripts/build_line_rating.py b/scripts/build_line_rating.py index 2f4ddc19..7ece1c9d 100755 --- a/scripts/build_line_rating.py +++ b/scripts/build_line_rating.py @@ -142,7 +142,7 @@ if __name__ == "__main__": "build_line_rating", network="elec", simpl="", - clusters="40", + clusters="5", ll="v1.0", opts="Co2L-4H", )