You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.yaml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. version: 0.1
  2. logging_level: INFO
  3. summary_dir: results
  4. scenario:
  5. sectors: [E] # ,E+EV,E+BEV,E+BEV+V2G] # [ E+EV, E+BEV, E+BEV+V2G ]
  6. simpl: ['']
  7. #ll: ['v1.0', 'v1.09', 'v1.125', 'v1.18', 'v1.25', 'v1.35', 'v1.5', 'v1.7', 'v2.0', 'vopt'] # line limit a 'v' prefix means volume
  8. ll: ['vopt', 'copt'] #['v1.0', 'v1.125', 'v1.25', 'v1.5', 'v2.0', 'vopt'] # line limit a 'v' prefix means volume
  9. #ll: ['c1.0', 'v1.125', 'v1.25', 'v1.5', 'v2.0', 'vopt'] # line limit a 'v' prefix means volume
  10. clusters: [37, 45, 64, 90, 128, 181, 256, 362, 512] # (2**np.r_[5.5:9:.5]).astype(int)
  11. opts: [Co2L-3H] #, LC-FL, LC-T, Ep-T, Co2L-T]
  12. countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK']
  13. snapshots:
  14. # arguments to pd.date_range
  15. start: "2013-01-01"
  16. end: "2014-01-01"
  17. closed: 'left' # end is not inclusive
  18. enable:
  19. powerplantmatching: false
  20. prepare_links_p_nom: false
  21. electricity:
  22. voltages: [220., 300., 380.]
  23. co2limit: 7.75e+7 # 0.05 * 3.1e9*0.5
  24. agg_p_nom_limits: data/agg_p_nom_minmax.csv
  25. extendable_carriers:
  26. Generator: [OCGT]
  27. StorageUnit: [battery, H2] # [CAES]
  28. max_hours:
  29. battery: 6
  30. H2: 168
  31. # estimate_renewable_capacities_from_capacity_stats:
  32. # # Wind is the Fueltype in ppm.data.Capacity_stats, onwind, offwind-{ac,dc} the carrier in PyPSA-Eur
  33. # Wind: [onwind, offwind-ac, offwind-dc]
  34. # Solar: [solar]
  35. conventional_carriers: [] # nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
  36. atlite:
  37. nprocesses: 4
  38. cutouts:
  39. europe-2013-era5:
  40. module: era5
  41. xs: [-12., 35.]
  42. ys: [72., 33.]
  43. years: [2013, 2013]
  44. europe-2013-sarah:
  45. module: sarah
  46. resolution: 0.2
  47. xs: [-12., 42.]
  48. ys: [65., 33.]
  49. years: [2013, 2013]
  50. renewable:
  51. onwind:
  52. cutout: europe-2013-era5
  53. resource:
  54. method: wind
  55. turbine: Vestas_V112_3MW
  56. # ScholzPhd Tab 4.3.1: 10MW/km^2
  57. capacity_per_sqkm: 3
  58. # correction_factor: 0.93
  59. corine:
  60. #The selection of CORINE Land Cover [1] types that are allowed for wind and solar are based on [2] p.42 / p.28
  61. #
  62. #[1] https://www.eea.europa.eu/ds_resolveuid/C9RK15EA06
  63. #
  64. #[2] Scholz, Y. (2012). Renewable energy based electricity supply at low costs: development of the REMix model and application for Europe.
  65. grid_codes: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
  66. 24, 25, 26, 27, 28, 29, 31, 32]
  67. distance: 1000
  68. distance_grid_codes: [1, 2, 3, 4, 5, 6]
  69. natura: true
  70. potential: simple # or conservative
  71. clip_p_max_pu: 1.e-2
  72. offwind-ac:
  73. cutout: europe-2013-era5
  74. resource:
  75. method: wind
  76. turbine: NREL_ReferenceTurbine_5MW_offshore
  77. capacity_per_sqkm: 3
  78. # correction_factor: 0.93
  79. corine: [44, 255]
  80. natura: true
  81. max_depth: 50
  82. max_shore_distance: 80000
  83. potential: simple # or conservative
  84. clip_p_max_pu: 1.e-2
  85. offwind-dc:
  86. cutout: europe-2013-era5
  87. resource:
  88. method: wind
  89. turbine: NREL_ReferenceTurbine_5MW_offshore
  90. # ScholzPhd Tab 4.3.1: 10MW/km^2
  91. capacity_per_sqkm: 3
  92. # correction_factor: 0.93
  93. corine: [44, 255]
  94. natura: true
  95. max_depth: 50
  96. min_shore_distance: 80000
  97. potential: simple # or conservative
  98. clip_p_max_pu: 1.e-2
  99. solar:
  100. cutout: europe-2013-sarah
  101. resource:
  102. method: pv
  103. panel: CSi
  104. orientation:
  105. slope: 35.
  106. azimuth: 180.
  107. # ScholzPhd Tab 4.3.1: 170 MW/km^2
  108. capacity_per_sqkm: 1.7
  109. correction_factor: 0.854337
  110. # Determined by comparing uncorrected area-weighted full-load hours to those
  111. # published in Supplementary Data to
  112. # Pietzcker, Robert Carl, et al. "Using the sun to decarbonize the power
  113. # sector: The economic potential of photovoltaics and concentrating solar
  114. # power." Applied Energy 135 (2014): 704-720.
  115. # Comparison is shown in resources/country_flh_aggregated_solar.csv
  116. corine: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
  117. 14, 15, 16, 17, 18, 19, 20, 26, 31, 32]
  118. natura: true
  119. potential: simple # or conservative
  120. clip_p_max_pu: 1.e-2
  121. hydro:
  122. cutout: europe-2013-era5
  123. carriers: [ror, PHS, hydro]
  124. PHS_max_hours: 6
  125. hydro_max_hours: "energy_capacity_totals_by_country" # one of energy_capacity_totals_by_country,
  126. # estimate_by_large_installations or a float
  127. clip_min_inflow: 1.0
  128. lines:
  129. types:
  130. 220.: "Al/St 240/40 2-bundle 220.0"
  131. 300.: "Al/St 240/40 3-bundle 300.0"
  132. 380.: "Al/St 240/40 4-bundle 380.0"
  133. s_max_pu: 0.7
  134. length_factor: 1.25
  135. under_construction: 'zero' # 'zero': set capacity to zero, 'remove': remove, 'keep': with full capacity
  136. links:
  137. p_max_pu: 1.0
  138. include_tyndp: true
  139. under_construction: 'zero' # 'zero': set capacity to zero, 'remove': remove, 'keep': with full capacity
  140. transformers:
  141. x: 0.1
  142. s_nom: 2000.
  143. type: ''
  144. load:
  145. scaling_factor: 1.0
  146. costs:
  147. year: 2030
  148. # From a Lion Hirth paper, also reflects average of Noothout et al 2016
  149. discountrate: 0.07
  150. # [EUR/USD] ECB: https://www.ecb.europa.eu/stats/exchange/eurofxref/html/eurofxref-graph-usd.en.html # noqa: E501
  151. USD2013_to_EUR2013: 0.7532
  152. # Marginal and capital costs can be overwritten
  153. # capital_cost:
  154. # Wind: Bla
  155. marginal_cost: #
  156. solar: 0.01
  157. onwind: 0.015
  158. offwind: 0.015
  159. hydro: 0.
  160. H2: 0.
  161. battery: 0.
  162. emission_prices: # only used with the option Ep (emission prices)
  163. co2: 0.
  164. solving:
  165. options:
  166. formulation: kirchhoff
  167. #load_shedding: true
  168. noisy_costs: true
  169. min_iterations: 3
  170. max_iterations: 5
  171. #nhours: 10
  172. clip_p_max_pu: 0.01
  173. solver:
  174. name: gurobi
  175. threads: 4
  176. method: 2 # barrier
  177. crossover: 0
  178. BarConvTol: 1.e-5
  179. FeasibilityTol: 1.e-6
  180. AggFill: 0
  181. PreDual: 0
  182. GURO_PAR_BARDENSETHRESH: 200
  183. # solver:
  184. # name: cplex
  185. # threads: 4
  186. # lpmethod: 4 # barrier
  187. # solutiontype: 2 # non basic solution, ie no crossover
  188. # barrier_convergetol: 1.e-5
  189. # feasopt_tolerance: 1.e-6
  190. plotting:
  191. map:
  192. figsize: [7, 7]
  193. boundaries: [-10.2, 29, 35, 72]
  194. p_nom:
  195. bus_size_factor: 5.e+4
  196. linewidth_factor: 3.e+3 # 1.e+3 #3.e+3
  197. costs_max: 800
  198. costs_threshold: 1
  199. energy_max: 15000.
  200. energy_min: -10000.
  201. energy_threshold: 50.
  202. vre_techs: ["onwind", "offwind-ac", "offwind-dc", "solar", "ror"]
  203. conv_techs: ["OCGT", "CCGT", "Nuclear", "Coal"]
  204. storage_techs: ["hydro+PHS", "battery", "H2"]
  205. # store_techs: ["Li ion", "water tanks"]
  206. load_carriers: ["AC load"] #, "heat load", "Li ion load"]
  207. AC_carriers: ["AC line", "AC transformer"]
  208. link_carriers: ["DC line", "Converter AC-DC"]
  209. heat_links: ["heat pump", "resistive heater", "CHP heat", "CHP electric",
  210. "gas boiler", "central heat pump", "central resistive heater", "central CHP heat",
  211. "central CHP electric", "central gas boiler"]
  212. heat_generators: ["gas boiler", "central gas boiler", "solar thermal collector", "central solar thermal collector"]
  213. tech_colors:
  214. "onwind" : "#235ebc"
  215. "onshore wind" : "#235ebc"
  216. 'offwind' : "#6895dd"
  217. 'offwind-ac' : "#6895dd"
  218. 'offshore wind' : "#6895dd"
  219. 'offshore wind ac' : "#6895dd"
  220. 'offwind-dc' : "#74c6f2"
  221. 'offshore wind dc' : "#74c6f2"
  222. "hydro" : "#08ad97"
  223. "hydro+PHS" : "#08ad97"
  224. "PHS" : "#08ad97"
  225. "hydro reservoir" : "#08ad97"
  226. 'hydroelectricity' : '#08ad97'
  227. "ror" : "#4adbc8"
  228. "run of river" : "#4adbc8"
  229. 'solar' : "#f9d002"
  230. 'solar PV' : "#f9d002"
  231. 'solar thermal' : '#ffef60'
  232. 'biomass' : '#0c6013'
  233. 'solid biomass' : '#06540d'
  234. 'biogas' : '#23932d'
  235. 'waste' : '#68896b'
  236. 'geothermal' : '#ba91b1'
  237. "OCGT" : "#d35050"
  238. "OCGT marginal" : "#d35050"
  239. "OCGT-heat" : "#d35050"
  240. "gas boiler" : "#d35050"
  241. "gas boilers" : "#d35050"
  242. "gas boiler marginal" : "#d35050"
  243. "gas-to-power/heat" : "#d35050"
  244. "gas" : "#d35050"
  245. "natural gas" : "#d35050"
  246. "CCGT" : "#b20101"
  247. "CCGT marginal" : "#b20101"
  248. "Nuclear" : "#ff9000"
  249. "Nuclear marginal" : "#ff9000"
  250. "nuclear" : "#ff9000"
  251. "coal" : "#707070"
  252. "Coal" : "#707070"
  253. "Coal marginal" : "#707070"
  254. "lignite" : "#9e5a01"
  255. "Lignite" : "#9e5a01"
  256. "Lignite marginal" : "#9e5a01"
  257. "Oil" : "#262626"
  258. "oil" : "#262626"
  259. "H2" : "#ea048a"
  260. "hydrogen storage" : "#ea048a"
  261. "Sabatier" : "#a31597"
  262. "methanation" : "#a31597"
  263. "helmeth" : "#a31597"
  264. "DAC" : "#d284ff"
  265. "co2 stored" : "#e5e5e5"
  266. "CO2 sequestration" : "#e5e5e5"
  267. "battery" : "#b8ea04"
  268. "battery storage" : "#b8ea04"
  269. "Li ion" : "#b8ea04"
  270. "BEV charger" : "#e2ff7c"
  271. "V2G" : "#7a9618"
  272. "transport fuel cell" : "#e884be"
  273. "retrofitting" : "#e0d6a8"
  274. "building retrofitting" : "#e0d6a8"
  275. "heat pumps" : "#ff9768"
  276. "heat pump" : "#ff9768"
  277. "air heat pump" : "#ffbea0"
  278. "ground heat pump" : "#ff7a3d"
  279. "power-to-heat" : "#a59e7c"
  280. "power-to-gas" : "#db8585"
  281. "power-to-liquid" : "#a9acd1"
  282. "Fischer-Tropsch" : "#a9acd1"
  283. "resistive heater" : "#aa4925"
  284. "water tanks" : "#401f75"
  285. "hot water storage" : "#401f75"
  286. "hot water charging" : "#351c5e"
  287. "hot water discharging" : "#683ab2"
  288. "CHP" : "#d80a56"
  289. "CHP heat" : "#d80a56"
  290. "CHP electric" : "#d80a56"
  291. "district heating" : "#93864b"
  292. "Ambient" : "#262626"
  293. "Electric load" : "#f9d002"
  294. "electricity" : "#f9d002"
  295. "Heat load" : "#d35050"
  296. "heat" : "#d35050"
  297. "Transport load" : "#235ebc"
  298. "transport" : "#235ebc"
  299. "lines" : "#70af1d"
  300. "transmission lines" : "#70af1d"
  301. "AC-AC" : "#70af1d"
  302. "AC line" : "#70af1d"
  303. "links" : "#8a1caf"
  304. "HVDC links" : "#8a1caf"
  305. "DC-DC" : "#8a1caf"
  306. "DC link" : "#8a1caf"
  307. # _helpers.load_network requirements
  308. nice_names:
  309. # OCGT: "Gas"
  310. # OCGT marginal: "Gas (marginal)"
  311. offwind: "offshore wind"
  312. onwind: "onshore wind"
  313. battery: "Battery storage"
  314. lines: "Transmission lines"
  315. AC line: "AC lines"
  316. AC-AC: "DC lines"
  317. ror: "Run of river"
  318. nice_names_n:
  319. offwind: "offshore\nwind"
  320. onwind: "onshore\nwind"
  321. # OCGT: "Gas"
  322. H2: "Hydrogen\nstorage"
  323. # OCGT marginal: "Gas (marginal)"
  324. lines: "transmission\nlines"
  325. ror: "run of river"