diff --git a/dev/test_premise.ipynb b/dev/test_premise.ipynb index 4769fcd6..277af4dd 100644 --- a/dev/test_premise.ipynb +++ b/dev/test_premise.ipynb @@ -34,7 +34,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "id": "1e5fa46b-8823-4390-bea6-3f8e204ac9c3", "metadata": {}, "outputs": [], @@ -64,7 +64,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "186769fe-f212-4a6e-b2b5-93dc7bf0fd73", "metadata": { "tags": [] @@ -74,7 +74,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "premise v.(1, 8, 2, 'dev7')\n", + "premise v.(2, 0, 0, 'dev0')\n", "+------------------------------------------------------------------+\n", "| Warning |\n", "+------------------------------------------------------------------+\n", @@ -110,547 +110,354 @@ "NewDatabase(..., use_multiprocessing=False)\n", "\n", "Hide these messages?\n", - "NewDatabase(..., quiet=True)\n", - "\n", - "//////////////////// EXTRACTING SOURCE DATABASE ////////////////////\n", - "Done!\n", - "\n", - "////////////////// IMPORTING DEFAULT INVENTORIES ///////////////////\n", + "NewDatabase(..., quiet=True)\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Extracting source database: 0%| | 0/3 [00:00, ?it/s]\n", + " 0%| | 0/21238 [00:00, ?it/s]\u001b[A\n", + "100%|█████████████████████████████████| 21238/21238 [00:00<00:00, 160393.08it/s]\u001b[A\n", "\n", - "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", - "Extracted 1 worksheets in 0.77 seconds\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "The following datasets to import already exist in the source database. They will not be imported\n", - "+--------------------------------+--------------------------------+----------+-------------+\n", - "| Name | Reference product | Location | File |\n", - "+--------------------------------+--------------------------------+----------+-------------+\n", - "| bromine, at plant | bromine, at plant | RER | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | PT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | SE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MY | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CN | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ZA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | JP | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | KR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MX | lci-PV.xlsx |\n", - "| emulsion polymerisation, polyv | emulsion polymerisation, polyv | RER | lci-PV.xlsx |\n", - "| ethylene bromide, at plant | ethylene bromide, at plant | RER | lci-PV.xlsx |\n", - "| fluorspar production, 97% puri | fluorspar, 97% purity | GLO | lci-PV.xlsx |\n", - "| hydrogen fluoride production | hydrogen fluoride | GLO | lci-PV.xlsx |\n", - "| iodine | iodine | RER | lci-PV.xlsx |\n", - "| metallization paste production | metallization paste, back side | RER | lci-PV.xlsx |\n", - "| metallization paste production | metallization paste, back side | RER | lci-PV.xlsx |\n", - "| metallization paste production | metallization paste, front sid | RER | lci-PV.xlsx |\n", - "| methyl iodide | methyl iodide | RER | lci-PV.xlsx |\n", - "| nitrogen trifluoride, at plant | nitrogen trifluoride, at plant | RER | lci-PV.xlsx |\n", - "| open ground construction, on g | open ground construction, on g | RER | lci-PV.xlsx |\n", - "| photovoltaic cell factory | photovoltaic cell factory | DE | lci-PV.xlsx |\n", - "| photovoltaic module production | photovoltaic module, building- | RER | lci-PV.xlsx |\n", - "| photovoltaic module production | photovoltaic module, building- | RER | lci-PV.xlsx |\n", - "| photovoltaic mounting system p | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", - "| photovoltaic mounting system p | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", - "| photovoltaic mounting system p | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", - "| photovoltaic panel factory con | photovoltaic panel factory | GLO | lci-PV.xlsx |\n", - "| polyvinylalcohol, at plant | polyvinylalcohol, at plant | RER | lci-PV.xlsx |\n", - "| polyvinylbutyral foil, at plan | polyvinylbutyral foil, at plan | RER | lci-PV.xlsx |\n", - "| polyvinylbutyral, powder, at p | polyvinylbutyral, powder, at p | RER | lci-PV.xlsx |\n", - "| polyvinylfluoride production | polyvinylfluoride | US | lci-PV.xlsx |\n", - "| polyvinylfluoride production, | polyvinylfluoride, dispersion | US | lci-PV.xlsx |\n", - "| polyvinylfluoride, film produc | polyvinylfluoride, film | US | lci-PV.xlsx |\n", - "| silane, at plant | silane, at plant | RER | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | NO | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | CN | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | US | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | APAC | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | GLO | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | CN | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | APAC | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | US | lci-PV.xlsx |\n", - "| vinyl fluoride production | vinyl fluoride | US | lci-PV.xlsx |\n", - "| wafer factory construction | wafer factory | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | BE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CN | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DK | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FI | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | HU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | JP | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | KR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | LU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MY | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MX | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NO | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | PT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ZA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ES | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | SE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GB | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | US | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | BE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CN | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DK | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FI | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | HU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | JP | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | KR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | LU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MY | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MX | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NO | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | PT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ZA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ES | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | SE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GB | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | US | lci-PV.xlsx |\n", - "+--------------------------------+--------------------------------+----------+-------------+\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "Done!\n", + " 0%| | 0/674593 [00:00, ?it/s]\u001b[A\n", + " 0%| | 1845/674593 [00:00<00:36, 18350.18it/s]\u001b[A\n", + " 1%|▏ | 3681/674593 [00:00<01:32, 7262.22it/s]\u001b[A\n", + " 1%|▎ | 5316/674593 [00:00<01:10, 9524.13it/s]\u001b[A\n", + " 1%|▎ | 6809/674593 [00:00<01:01, 10828.52it/s]\u001b[A\n", + " 1%|▍ | 8483/674593 [00:00<00:53, 12364.80it/s]\u001b[A\n", + " 2%|▌ | 11337/674593 [00:00<00:39, 16661.26it/s]\u001b[A\n", + " 2%|▋ | 14198/674593 [00:00<00:32, 20019.81it/s]\u001b[A\n", + " 2%|▊ | 16410/674593 [00:01<00:32, 20052.84it/s]\u001b[A\n", + " 3%|▉ | 19321/674593 [00:01<00:28, 22633.49it/s]\u001b[A\n", + " 3%|█ | 21708/674593 [00:01<00:49, 13134.85it/s]\u001b[A\n", + " 4%|█▏ | 23722/674593 [00:01<00:44, 14471.84it/s]\u001b[A\n", + " 4%|█▎ | 25857/674593 [00:01<00:40, 15937.90it/s]\u001b[A\n", + " 4%|█▎ | 27979/674593 [00:01<00:37, 17175.49it/s]\u001b[A\n", + " 4%|█▍ | 29997/674593 [00:01<00:36, 17824.32it/s]\u001b[A\n", + " 5%|█▌ | 32541/674593 [00:02<00:32, 19824.06it/s]\u001b[A\n", + " 5%|█▋ | 34708/674593 [00:02<00:36, 17395.71it/s]\u001b[A\n", + " 5%|█▊ | 36663/674593 [00:02<00:35, 17933.38it/s]\u001b[A\n", + " 6%|█▉ | 39192/674593 [00:02<00:31, 19869.77it/s]\u001b[A\n", + " 6%|██ | 41302/674593 [00:02<01:03, 10041.09it/s]\u001b[A\n", + " 6%|██ | 43402/674593 [00:02<00:53, 11821.49it/s]\u001b[A\n", + " 7%|██▏ | 45453/674593 [00:03<00:46, 13458.01it/s]\u001b[A\n", + " 7%|██▎ | 47761/674593 [00:03<00:40, 15497.19it/s]\u001b[A\n", + " 7%|██▍ | 49745/674593 [00:03<00:38, 16283.25it/s]\u001b[A\n", + " 8%|██▌ | 52121/674593 [00:03<00:34, 18128.15it/s]\u001b[A\n", + " 8%|██▋ | 55496/674593 [00:03<00:27, 22199.46it/s]\u001b[A\n", + " 9%|██▊ | 57964/674593 [00:03<00:29, 21127.78it/s]\u001b[A\n", + " 9%|██▉ | 60259/674593 [00:03<00:29, 20642.15it/s]\u001b[A\n", + " 9%|███ | 62451/674593 [00:03<00:29, 20861.25it/s]\u001b[A\n", + " 10%|███▏ | 64630/674593 [00:03<00:28, 21114.62it/s]\u001b[A\n", + " 10%|███▎ | 66808/674593 [00:04<00:59, 10230.54it/s]\u001b[A\n", + " 10%|███▎ | 68677/674593 [00:04<00:52, 11564.28it/s]\u001b[A\n", + " 10%|███▍ | 70661/674593 [00:04<00:46, 13111.56it/s]\u001b[A\n", + " 11%|███▌ | 72645/674593 [00:04<00:41, 14529.00it/s]\u001b[A\n", + " 11%|███▋ | 74859/674593 [00:04<00:36, 16276.26it/s]\u001b[A\n", + " 11%|███▊ | 76817/674593 [00:04<00:36, 16462.76it/s]\u001b[A\n", + " 12%|███▉ | 79238/674593 [00:05<00:32, 18354.36it/s]\u001b[A\n", + " 12%|███▉ | 81267/674593 [00:05<00:31, 18698.65it/s]\u001b[A\n", + " 12%|████ | 83276/674593 [00:05<00:31, 18895.95it/s]\u001b[A\n", + " 13%|████▏ | 86119/674593 [00:05<00:27, 21549.99it/s]\u001b[A\n", + " 13%|████▎ | 88363/674593 [00:05<00:28, 20814.29it/s]\u001b[A\n", + " 13%|████▍ | 90511/674593 [00:05<00:27, 20945.53it/s]\u001b[A\n", + " 14%|████▌ | 92653/674593 [00:05<00:27, 20801.45it/s]\u001b[A\n", + " 14%|████▋ | 94766/674593 [00:05<00:29, 19680.72it/s]\u001b[A\n", + " 14%|████▉ | 96767/674593 [00:06<01:20, 7175.35it/s]\u001b[A\n", + " 15%|████▉ | 98918/674593 [00:06<01:04, 8982.92it/s]\u001b[A\n", + " 15%|████▊ | 101088/674593 [00:06<00:52, 10923.85it/s]\u001b[A\n", + " 15%|████▉ | 103154/674593 [00:06<00:45, 12666.60it/s]\u001b[A\n", + " 16%|████▉ | 105315/674593 [00:06<00:39, 14487.77it/s]\u001b[A\n", + " 16%|█████ | 107645/674593 [00:07<00:34, 16473.23it/s]\u001b[A\n", + " 16%|█████▏ | 109729/674593 [00:07<00:37, 15250.68it/s]\u001b[A\n", + " 17%|█████▎ | 112012/674593 [00:07<00:33, 17010.85it/s]\u001b[A\n", + " 17%|█████▍ | 114894/674593 [00:07<00:28, 19947.21it/s]\u001b[A\n", + " 18%|█████▌ | 118331/674593 [00:07<00:23, 23731.83it/s]\u001b[A\n", + " 18%|█████▊ | 121424/674593 [00:07<00:21, 25694.20it/s]\u001b[A\n", + " 18%|█████▉ | 124441/674593 [00:07<00:20, 26947.86it/s]\u001b[A\n", + " 19%|██████▏ | 129157/674593 [00:07<00:16, 32727.14it/s]\u001b[A\n", + " 20%|██████▎ | 133564/674593 [00:07<00:15, 36015.14it/s]\u001b[A\n", + " 20%|██████▌ | 137264/674593 [00:08<00:34, 15583.67it/s]\u001b[A\n", + " 21%|██████▋ | 140905/674593 [00:08<00:28, 18755.00it/s]\u001b[A\n", + " 21%|██████▊ | 143953/674593 [00:08<00:25, 20849.01it/s]\u001b[A\n", + " 22%|██████▉ | 146999/674593 [00:08<00:23, 22499.83it/s]\u001b[A\n", + " 22%|███████ | 150007/674593 [00:08<00:21, 24187.47it/s]\u001b[A\n", + " 23%|███████▎ | 153002/674593 [00:08<00:20, 25540.73it/s]\u001b[A\n", + " 23%|███████▍ | 156215/674593 [00:09<00:19, 27227.24it/s]\u001b[A\n", + " 24%|███████▌ | 159978/674593 [00:09<00:17, 30013.83it/s]\u001b[A\n", + " 24%|███████▋ | 163247/674593 [00:09<00:16, 30611.94it/s]\u001b[A\n", + " 25%|███████▉ | 167294/674593 [00:09<00:15, 33395.72it/s]\u001b[A\n", + " 25%|████████ | 171208/674593 [00:09<00:14, 35038.23it/s]\u001b[A\n", + " 26%|████████▎ | 174825/674593 [00:09<00:14, 34023.71it/s]\u001b[A\n", + " 26%|████████▍ | 178313/674593 [00:09<00:14, 34017.71it/s]\u001b[A\n", + " 27%|████████▋ | 182452/674593 [00:09<00:13, 36133.62it/s]\u001b[A\n", + " 28%|████████▊ | 186116/674593 [00:10<00:40, 12047.35it/s]\u001b[A\n", + " 28%|█████████ | 190147/674593 [00:10<00:31, 15481.87it/s]\u001b[A\n", + " 29%|█████████▏ | 193249/674593 [00:10<00:27, 17624.76it/s]\u001b[A\n", + " 29%|█████████▎ | 196298/674593 [00:10<00:24, 19787.22it/s]\u001b[A\n", + " 30%|█████████▍ | 199330/674593 [00:10<00:21, 21723.54it/s]\u001b[A\n", + " 30%|█████████▋ | 203412/674593 [00:11<00:18, 25831.27it/s]\u001b[A\n", + " 31%|█████████▊ | 206722/674593 [00:11<00:17, 26776.92it/s]\u001b[A\n", + " 31%|█████████▉ | 209937/674593 [00:11<00:16, 28109.46it/s]\u001b[A\n", + " 32%|██████████▏ | 214027/674593 [00:11<00:14, 31457.12it/s]\u001b[A\n", + " 32%|██████████▎ | 217498/674593 [00:11<00:14, 30882.93it/s]\u001b[A\n", + " 33%|██████████▍ | 220815/674593 [00:11<00:14, 30270.67it/s]\u001b[A\n", + " 33%|██████████▋ | 224186/674593 [00:11<00:14, 31188.32it/s]\u001b[A\n", + " 34%|██████████▊ | 228279/674593 [00:11<00:13, 33904.67it/s]\u001b[A\n", + " 34%|██████████▉ | 231775/674593 [00:11<00:13, 33531.58it/s]\u001b[A\n", + " 35%|███████████▏ | 236086/674593 [00:12<00:12, 36263.48it/s]\u001b[A\n", + " 36%|███████████▎ | 239779/674593 [00:12<00:12, 34453.54it/s]\u001b[A\n", + " 36%|███████████▉ | 243287/674593 [00:13<00:48, 8929.96it/s]\u001b[A\n", + " 37%|███████████▋ | 246637/674593 [00:13<00:38, 11234.89it/s]\u001b[A\n", + " 37%|███████████▊ | 250189/674593 [00:13<00:30, 14104.76it/s]\u001b[A\n", + " 38%|████████████ | 253207/674593 [00:13<00:25, 16239.92it/s]\u001b[A\n", + " 38%|████████████▏ | 256488/674593 [00:13<00:21, 19044.39it/s]\u001b[A\n", + " 38%|████████████▎ | 259661/674593 [00:13<00:19, 21516.18it/s]\u001b[A\n", + " 39%|████████████▍ | 262748/674593 [00:13<00:18, 22214.27it/s]\u001b[A\n", + " 40%|████████████▋ | 267247/674593 [00:13<00:14, 27244.15it/s]\u001b[A\n", + " 40%|████████████▊ | 270588/674593 [00:14<00:14, 28601.77it/s]\u001b[A\n", + " 41%|████████████▉ | 273909/674593 [00:14<00:13, 29018.06it/s]\u001b[A\n", + " 41%|█████████████▏ | 277697/674593 [00:14<00:12, 31353.47it/s]\u001b[A\n", + " 42%|█████████████▎ | 281093/674593 [00:14<00:12, 31482.20it/s]\u001b[A\n", + " 42%|█████████████▍ | 284424/674593 [00:14<00:12, 31247.80it/s]\u001b[A\n", + " 43%|█████████████▋ | 288794/674593 [00:14<00:11, 34721.84it/s]\u001b[A\n", + " 43%|█████████████▉ | 293012/674593 [00:14<00:10, 36845.74it/s]\u001b[A\n", + " 44%|██████████████ | 296789/674593 [00:15<00:17, 21401.68it/s]\u001b[A\n", + " 44%|██████████████▏ | 299753/674593 [00:15<00:18, 20605.65it/s]\u001b[A\n", + " 45%|██████████████▎ | 302384/674593 [00:15<00:18, 20154.00it/s]\u001b[A\n", + " 45%|██████████████▍ | 304791/674593 [00:15<00:18, 20412.68it/s]\u001b[A\n", + " 46%|██████████████▌ | 307115/674593 [00:15<00:18, 20277.54it/s]\u001b[A\n", + " 46%|██████████████▋ | 309373/674593 [00:15<00:17, 20820.12it/s]\u001b[A\n", + " 46%|██████████████▊ | 311607/674593 [00:15<00:17, 20324.28it/s]\u001b[A\n", + " 47%|██████████████▉ | 313743/674593 [00:15<00:18, 19731.22it/s]\u001b[A\n", + " 47%|██████████████▉ | 315808/674593 [00:16<00:18, 19901.03it/s]\u001b[A\n", + " 47%|████████████████ | 317850/674593 [00:23<06:27, 921.16it/s]\u001b[A\n", + " 47%|███████████████▌ | 319287/674593 [00:23<05:07, 1155.29it/s]\u001b[A\n", + " 48%|███████████████▋ | 321703/674593 [00:24<03:25, 1713.87it/s]\u001b[A\n", + " 48%|███████████████▊ | 323612/674593 [00:24<02:32, 2296.15it/s]\u001b[A\n", + " 48%|███████████████▉ | 325651/674593 [00:24<01:51, 3121.91it/s]\u001b[A\n", + " 49%|████████████████ | 327601/674593 [00:24<01:24, 4119.14it/s]\u001b[A\n", + " 49%|████████████████ | 329623/674593 [00:24<01:03, 5413.06it/s]\u001b[A\n", + " 49%|████████████████▏ | 331750/674593 [00:24<00:48, 7045.69it/s]\u001b[A\n", + " 49%|████████████████▎ | 333728/674593 [00:24<00:39, 8647.37it/s]\u001b[A\n", + " 50%|███████████████▉ | 335741/674593 [00:24<00:32, 10419.77it/s]\u001b[A\n", + " 50%|████████████████ | 337766/674593 [00:24<00:27, 12195.11it/s]\u001b[A\n", + " 50%|████████████████ | 339773/674593 [00:24<00:24, 13810.51it/s]\u001b[A\n", + " 51%|████████████████▏ | 342534/674593 [00:25<00:19, 16937.69it/s]\u001b[A\n", + " 51%|████████████████▎ | 344760/674593 [00:25<00:18, 17898.46it/s]\u001b[A\n", + " 51%|████████████████▍ | 346938/674593 [00:25<00:17, 18493.21it/s]\u001b[A\n", + " 52%|████████████████▌ | 349065/674593 [00:25<00:18, 17920.77it/s]\u001b[A\n", + " 52%|████████████████▋ | 351054/674593 [00:25<00:17, 17996.04it/s]\u001b[A\n", + " 52%|████████████████▋ | 352992/674593 [00:25<00:17, 18142.62it/s]\u001b[A\n", + " 53%|████████████████▊ | 354941/674593 [00:25<00:17, 18507.97it/s]\u001b[A\n", + " 53%|████████████████▉ | 357459/674593 [00:25<00:15, 20378.26it/s]\u001b[A\n", + " 53%|█████████████████ | 360314/674593 [00:25<00:13, 22715.01it/s]\u001b[A\n", + " 54%|█████████████████▏ | 363460/674593 [00:25<00:12, 25250.46it/s]\u001b[A\n", + " 54%|█████████████████▎ | 366033/674593 [00:26<00:12, 24280.12it/s]\u001b[A\n", + " 55%|█████████████████▍ | 368502/674593 [00:26<00:13, 23245.73it/s]\u001b[A\n", + " 55%|█████████████████▌ | 370862/674593 [00:26<00:13, 22073.68it/s]\u001b[A\n", + " 55%|█████████████████▋ | 373888/674593 [00:26<00:12, 24301.77it/s]\u001b[A\n", + " 56%|█████████████████▊ | 376361/674593 [00:26<00:15, 19819.27it/s]\u001b[A\n", + " 56%|█████████████████▉ | 378700/674593 [00:26<00:14, 20397.53it/s]\u001b[A\n", + " 56%|██████████████████ | 380859/674593 [00:26<00:15, 19492.25it/s]\u001b[A\n", + " 57%|██████████████████▏ | 382892/674593 [00:26<00:15, 19407.77it/s]\u001b[A\n", + " 57%|██████████████████▎ | 385015/674593 [00:27<00:14, 19860.07it/s]\u001b[A\n", + " 57%|██████████████████▎ | 387104/674593 [00:27<00:14, 20142.15it/s]\u001b[A\n", + " 58%|██████████████████▍ | 389153/674593 [00:27<00:14, 20111.35it/s]\u001b[A\n", + " 58%|██████████████████▌ | 392358/674593 [00:27<00:11, 23522.87it/s]\u001b[A\n", + " 59%|██████████████████▋ | 394745/674593 [00:27<00:11, 23445.10it/s]\u001b[A\n", + " 59%|██████████████████▊ | 397114/674593 [00:27<00:12, 22458.44it/s]\u001b[A\n", + " 59%|██████████████████▉ | 400198/674593 [00:27<00:11, 24841.46it/s]\u001b[A\n", + " 60%|███████████████████ | 402712/674593 [00:27<00:11, 24531.96it/s]\u001b[A\n", + " 60%|███████████████████▏ | 405186/674593 [00:27<00:11, 24455.09it/s]\u001b[A\n", + " 60%|███████████████████▎ | 408063/674593 [00:27<00:10, 25679.04it/s]\u001b[A\n", + " 61%|████████████████████ | 410645/674593 [00:35<03:56, 1117.88it/s]\u001b[A\n", + " 61%|████████████████████▏ | 413473/674593 [00:35<02:42, 1603.76it/s]\u001b[A\n", + " 62%|████████████████████▎ | 416366/674593 [00:35<01:53, 2284.42it/s]\u001b[A\n", + " 62%|████████████████████▌ | 420044/674593 [00:35<01:13, 3469.98it/s]\u001b[A\n", + " 63%|████████████████████▋ | 422791/674593 [00:36<00:57, 4387.01it/s]\u001b[A\n", + " 63%|████████████████████▊ | 425125/674593 [00:36<00:54, 4579.47it/s]\u001b[A\n", + " 63%|████████████████████▉ | 426917/674593 [00:37<00:56, 4409.09it/s]\u001b[A\n", + " 63%|████████████████████▉ | 428288/674593 [00:37<00:48, 5040.97it/s]\u001b[A\n", + " 64%|█████████████████████ | 429780/674593 [00:37<00:41, 5946.60it/s]\u001b[A\n", + " 64%|█████████████████████ | 431503/674593 [00:37<00:33, 7253.06it/s]\u001b[A\n", + " 64%|█████████████████████▏ | 433011/674593 [00:37<00:28, 8347.90it/s]\u001b[A\n", + " 64%|█████████████████████▎ | 434499/674593 [00:37<00:26, 9233.08it/s]\u001b[A\n", + " 65%|████████████████████▋ | 436039/674593 [00:37<00:22, 10405.34it/s]\u001b[A\n", + " 65%|████████████████████▊ | 437775/674593 [00:37<00:19, 11843.83it/s]\u001b[A\n", + " 65%|████████████████████▉ | 440201/674593 [00:37<00:15, 14734.05it/s]\u001b[A\n", + " 66%|█████████████████████ | 443113/674593 [00:37<00:12, 18327.71it/s]\u001b[A\n", + " 66%|█████████████████████▏ | 445852/674593 [00:38<00:11, 20710.91it/s]\u001b[A\n", + " 66%|█████████████████████▎ | 448169/674593 [00:38<00:10, 21027.04it/s]\u001b[A\n", + " 67%|█████████████████████▎ | 450599/674593 [00:38<00:10, 21931.43it/s]\u001b[A\n", + " 67%|█████████████████████▍ | 452921/674593 [00:38<00:10, 21584.54it/s]\u001b[A\n", + " 67%|█████████████████████▌ | 455279/674593 [00:38<00:10, 21748.31it/s]\u001b[A\n", + " 68%|█████████████████████▋ | 458360/674593 [00:38<00:08, 24304.14it/s]\u001b[A\n", + " 68%|█████████████████████▊ | 460850/674593 [00:38<00:08, 24435.50it/s]\u001b[A\n", + " 69%|██████████████████████ | 465078/674593 [00:38<00:07, 29629.12it/s]\u001b[A\n", + " 70%|██████████████████████▏ | 468978/674593 [00:38<00:06, 32380.79it/s]\u001b[A\n", + " 70%|██████████████████████▍ | 473306/674593 [00:38<00:05, 35602.29it/s]\u001b[A\n", + " 71%|██████████████████████▋ | 477383/674593 [00:39<00:05, 37135.14it/s]\u001b[A\n", + " 71%|██████████████████████▊ | 481120/674593 [00:39<00:05, 37086.89it/s]\u001b[A\n", + " 72%|███████████████████████ | 485788/674593 [00:39<00:04, 39920.81it/s]\u001b[A\n", + " 73%|███████████████████████▏ | 490043/674593 [00:39<00:04, 40699.24it/s]\u001b[A\n", + " 73%|███████████████████████▍ | 494123/674593 [00:39<00:04, 40070.34it/s]\u001b[A\n", + " 74%|███████████████████████▋ | 498139/674593 [00:39<00:04, 39555.57it/s]\u001b[A\n", + " 74%|███████████████████████▊ | 502102/674593 [00:39<00:04, 38307.10it/s]\u001b[A\n", + " 75%|████████████████████████ | 506798/674593 [00:39<00:04, 40792.00it/s]\u001b[A\n", + " 76%|████████████████████████▏ | 510895/674593 [00:39<00:04, 40392.83it/s]\u001b[A\n", + " 76%|████████████████████████▍ | 515949/674593 [00:39<00:03, 43356.52it/s]\u001b[A\n", + " 77%|████████████████████████▋ | 520301/674593 [00:40<00:03, 41529.11it/s]\u001b[A\n", + " 78%|█████████████████████████▋ | 524480/674593 [00:47<01:15, 1998.23it/s]\u001b[A\n", + " 78%|█████████████████████████▊ | 527423/674593 [00:47<00:58, 2524.52it/s]\u001b[A\n", + " 79%|██████████████████████████ | 532062/674593 [00:47<00:38, 3700.66it/s]\u001b[A\n", + " 79%|██████████████████████████▏ | 535557/674593 [00:47<00:28, 4853.40it/s]\u001b[A\n", + " 80%|██████████████████████████▍ | 539372/674593 [00:47<00:20, 6520.28it/s]\u001b[A\n", + " 81%|██████████████████████████▌ | 543072/674593 [00:47<00:15, 8554.22it/s]\u001b[A\n", + " 81%|█████████████████████████▉ | 546666/674593 [00:47<00:11, 10868.75it/s]\u001b[A\n", + " 82%|██████████████████████████ | 550187/674593 [00:47<00:09, 13429.79it/s]\u001b[A\n", + " 82%|██████████████████████████▎ | 554867/674593 [00:47<00:06, 17926.96it/s]\u001b[A\n", + " 83%|██████████████████████████▌ | 558682/674593 [00:48<00:05, 20999.22it/s]\u001b[A\n", + " 83%|██████████████████████████▋ | 562493/674593 [00:48<00:04, 24180.76it/s]\u001b[A\n", + " 84%|██████████████████████████▊ | 566267/674593 [00:48<00:04, 27026.08it/s]\u001b[A\n", + " 85%|███████████████████████████ | 570039/674593 [00:48<00:03, 28863.15it/s]\u001b[A\n", + " 85%|███████████████████████████▏ | 573713/674593 [00:48<00:03, 30751.94it/s]\u001b[A\n", + " 86%|███████████████████████████▍ | 578479/674593 [00:48<00:02, 35114.69it/s]\u001b[A\n", + " 86%|███████████████████████████▋ | 583325/674593 [00:48<00:02, 38708.61it/s]\u001b[A\n", + " 87%|███████████████████████████▉ | 588052/674593 [00:48<00:02, 41086.16it/s]\u001b[A\n", + " 88%|████████████████████████████ | 592447/674593 [00:48<00:02, 36702.67it/s]\u001b[A\n", + " 88%|████████████████████████████▎ | 596403/674593 [00:49<00:02, 35802.07it/s]\u001b[A\n", + " 89%|████████████████████████████▌ | 601312/674593 [00:49<00:01, 39305.01it/s]\u001b[A\n", + " 90%|████████████████████████████▋ | 605430/674593 [00:49<00:01, 38964.63it/s]\u001b[A\n", + " 90%|████████████████████████████▉ | 610244/674593 [00:49<00:01, 41492.75it/s]\u001b[A\n", + " 91%|█████████████████████████████▏ | 614506/674593 [00:49<00:01, 41254.62it/s]\u001b[A\n", + " 92%|█████████████████████████████▎ | 618710/674593 [00:49<00:01, 41330.61it/s]\u001b[A\n", + " 92%|█████████████████████████████▌ | 622898/674593 [00:49<00:01, 40447.52it/s]\u001b[A\n", + " 93%|█████████████████████████████▊ | 627612/674593 [00:49<00:01, 42280.93it/s]\u001b[A\n", + " 94%|██████████████████████████████ | 632858/674593 [00:49<00:00, 45231.82it/s]\u001b[A\n", + " 94%|██████████████████████████████▏ | 637416/674593 [00:49<00:00, 41562.52it/s]\u001b[A\n", + " 95%|██████████████████████████████▍ | 642145/674593 [00:50<00:00, 43151.06it/s]\u001b[A\n", + " 96%|██████████████████████████████▋ | 647209/674593 [00:50<00:00, 45275.47it/s]\u001b[A\n", + " 97%|██████████████████████████████▉ | 651970/674593 [00:50<00:00, 45947.87it/s]\u001b[A\n", + " 97%|███████████████████████████████▏| 656610/674593 [00:50<00:00, 44724.87it/s]\u001b[A\n", + " 98%|███████████████████████████████▎| 661119/674593 [00:50<00:00, 43091.05it/s]\u001b[A\n", + " 98%|████████████████████████████████▍| 663728/674593 [01:01<00:08, 1219.22it/s]\u001b[A\n", + " 98%|████████████████████████████████▍| 663728/674593 [01:01<00:08, 1219.22it/s]\u001b[A\n", + " 99%|████████████████████████████████▋| 666946/674593 [01:01<00:04, 1613.52it/s]\u001b[A\n", + "100%|████████████████████████████████| 674593/674593 [01:01<00:00, 10951.89it/s]\u001b[A\n", "\n", - "/////////////////////// EXTRACTING IAM DATA ////////////////////////\n", - "Done!\n", + " 0%| | 0/21238 [00:00, ?it/s]\u001b[A\n", + " 0%|▏ | 82/21238 [00:00<00:28, 731.67it/s]\u001b[A\n", + " 1%|▎ | 156/21238 [00:00<00:31, 660.55it/s]\u001b[A\n", + " 2%|▌ | 331/21238 [00:00<00:30, 682.97it/s]\u001b[A\n", + " 6%|██ | 1182/21238 [00:00<00:07, 2756.32it/s]\u001b[A\n", + " 11%|████ | 2360/21238 [00:00<00:03, 5237.93it/s]\u001b[A\n", + " 16%|█████▊ | 3408/21238 [00:00<00:02, 6714.19it/s]\u001b[A\n", + " 20%|███████▎ | 4341/21238 [00:00<00:02, 7456.50it/s]\u001b[A\n", + " 24%|████████▊ | 5178/21238 [00:01<00:02, 7392.62it/s]\u001b[A\n", + " 28%|██████████▏ | 6038/21238 [00:01<00:01, 7734.02it/s]\u001b[A\n", + " 33%|███████████▉ | 7027/21238 [00:01<00:01, 8351.37it/s]\u001b[A\n", + " 37%|█████████████▍ | 7898/21238 [00:01<00:01, 8089.84it/s]\u001b[A\n", + " 42%|███████████████ | 8871/21238 [00:01<00:01, 8556.89it/s]\u001b[A\n", + " 46%|████████████████▌ | 9749/21238 [00:01<00:01, 8379.08it/s]\u001b[A\n", + " 50%|█████████████████▍ | 10603/21238 [00:01<00:01, 8328.58it/s]\u001b[A\n", + " 55%|███████████████████▏ | 11657/21238 [00:01<00:01, 8964.42it/s]\u001b[A\n", + " 59%|████████████████████▋ | 12564/21238 [00:02<00:01, 5658.05it/s]\u001b[A\n", + " 63%|█████████████████████▉ | 13289/21238 [00:02<00:01, 5830.71it/s]\u001b[A\n", + " 67%|███████████████████████▎ | 14126/21238 [00:02<00:01, 5825.29it/s]\u001b[A\n", + " 71%|████████████████████████▋ | 15004/21238 [00:02<00:00, 6489.31it/s]\u001b[A\n", + " 76%|██████████████████████████▍ | 16050/21238 [00:02<00:00, 7452.25it/s]\u001b[A\n", + " 79%|███████████████████████████▊ | 16873/21238 [00:02<00:00, 7507.77it/s]\u001b[A\n", + " 85%|█████████████████████████████▊ | 18070/21238 [00:02<00:00, 8692.75it/s]\u001b[A\n", + " 90%|███████████████████████████████▍ | 19077/21238 [00:02<00:00, 9066.77it/s]\u001b[A\n", + " 94%|█████████████████████████████████ | 20025/21238 [00:02<00:00, 8671.53it/s]\u001b[A\n", + "100%|███████████████████████████████████| 21238/21238 [00:03<00:00, 6844.79it/s]\u001b[A\n", + "Extracting IAM data: : 4it [01:54, 28.64s/it] \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "#############################################################################################################\n", - "3.8 brightway brightway\n", - "\n", - "////////////////////////////// BUSES ///////////////////////////////\n", - "No markets found for bus in IAM data. Skipping.\n", - "Extracted 1 worksheets in 1.13 seconds\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "Done!\n", - "\n", - "\n", - "///////////////////////// PASSENGER CARS ///////////////////////////\n", - "Done!\n", - "\n", - "\n", - "////////////////////////// TWO-WHEELERS ////////////////////////////\n", - "Done!\n", - "\n", - "`update_all()` will skip the following steps:\n", - "update_two_wheelers(), update_cars(), and update_buses()\n", - "If you want to update these steps, please run them separately afterwards.\n", + "3.9.1 brightway brightway\n", + "`update()` will skip the following sectors: 'buses', 'cars', 'two_wheelers'.\n", + "If you want to update these sectors, please run them separately afterwards.\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Updating: external: 90%|████████████▌ | 9/10 [07:25<00:49, 49.50s/it]\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "External scenarios (datapackages) are not provided. Skipped.\n", "Done!\n", - "\n", - "Write new database(s) to Brightway.\n", - "Running all checks...\n", - "Anomalies found: check the change report.\n", - "Running all checks...\n", - "Anomalies found: check the change report.\n" + "\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "Writing activities to SQLite3 database:\n", - "0% [##############################] 100% | ETA: 00:00:00\n", - "Total time elapsed: 00:00:42\n" + "Updating: cars: 50%|█████████▌ | 1/2 [00:18<00:18, 18.69s/it]" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "Title: Writing activities to SQLite3 database:\n", - " Started: 01/29/2024 22:53:38\n", - " Finished: 01/29/2024 22:54:20\n", - " Total time elapsed: 00:00:42\n", - " CPU %: 97.80\n", - " Memory %: 14.98\n", - "Created database: test1\n" + "No markets found for bus in IAM data. Skipping.\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "Writing activities to SQLite3 database:\n", - "0% [##############################] 100% | ETA: 00:00:00\n", - "Total time elapsed: 00:00:34\n" + "Updating: cars: 100%|███████████████████| 2/2 [00:44<00:00, 22.41s/it]" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "Title: Writing activities to SQLite3 database:\n", - " Started: 01/29/2024 22:56:03\n", - " Finished: 01/29/2024 22:56:38\n", - " Total time elapsed: 00:00:34\n", - " CPU %: 97.20\n", - " Memory %: 14.36\n", - "Created database: test2\n", - "Generate scenario report.\n", - "Report saved under /Users/romain/GitHub/premise/dev/export/scenario_report.\n", - "Generate change report.\n", - "Report saved under /Users/romain/GitHub/premise/dev.\n", - "premise v.(1, 8, 2, 'dev7')\n", - "+------------------------------------------------------------------+\n", - "| Warning |\n", - "+------------------------------------------------------------------+\n", - "| Because some of the scenarios can yield LCI databases |\n", - "| containing net negative emission technologies (NET), |\n", - "| it is advised to account for biogenic CO2 flows when calculating |\n", - "| Global Warming potential indicators. |\n", - "| `premise_gwp` provides characterization factors for such flows. |\n", - "| It also provides factors for hydrogen emissions to air. |\n", - "| |\n", - "| Within your bw2 project: |\n", - "| from premise_gwp import add_premise_gwp |\n", - "| add_premise_gwp() |\n", - "+------------------------------------------------------------------+\n", - "+--------------------------------+----------------------------------+\n", - "| Utils functions | Description |\n", - "+--------------------------------+----------------------------------+\n", - "| clear_cache() | Clears the cache folder. Useful |\n", - "| | when updating `premise`or |\n", - "| | encountering issues with |\n", - "| | inventories. |\n", - "+--------------------------------+----------------------------------+\n", - "| get_regions_definition(model) | Retrieves the list of countries |\n", - "| | for each region of the model. |\n", - "+--------------------------------+----------------------------------+\n", - "| ndb.NewDatabase(...) | Generates a summary of the most |\n", - "| ndb.generate_scenario_report() | important scenarios' variables. |\n", - "+--------------------------------+----------------------------------+\n", - "Keep uncertainty data?\n", - "NewDatabase(..., keep_uncertainty_data=True)\n", - "\n", - "Disable multiprocessing?\n", - "NewDatabase(..., use_multiprocessing=False)\n", - "\n", - "Hide these messages?\n", - "NewDatabase(..., quiet=True)\n", - "\n", - "//////////////////// EXTRACTING SOURCE DATABASE ////////////////////\n", - "Done!\n", - "\n", - "////////////////// IMPORTING DEFAULT INVENTORIES ///////////////////\n", - "\n", - "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", - "Extracted 1 worksheets in 0.59 seconds\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "The following datasets to import already exist in the source database. They will not be imported\n", - "+--------------------------------+--------------------------------+----------+-------------+\n", - "| Name | Reference product | Location | File |\n", - "+--------------------------------+--------------------------------+----------+-------------+\n", - "| bromine, at plant | bromine, at plant | RER | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | PT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | SE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MY | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CN | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ZA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | JP | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | KR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MX | lci-PV.xlsx |\n", - "| emulsion polymerisation, polyv | emulsion polymerisation, polyv | RER | lci-PV.xlsx |\n", - "| ethylene bromide, at plant | ethylene bromide, at plant | RER | lci-PV.xlsx |\n", - "| fluorspar production, 97% puri | fluorspar, 97% purity | GLO | lci-PV.xlsx |\n", - "| hydrogen fluoride production | hydrogen fluoride | GLO | lci-PV.xlsx |\n", - "| iodine | iodine | RER | lci-PV.xlsx |\n", - "| metallization paste production | metallization paste, back side | RER | lci-PV.xlsx |\n", - "| metallization paste production | metallization paste, back side | RER | lci-PV.xlsx |\n", - "| metallization paste production | metallization paste, front sid | RER | lci-PV.xlsx |\n", - "| methyl iodide | methyl iodide | RER | lci-PV.xlsx |\n", - "| nitrogen trifluoride, at plant | nitrogen trifluoride, at plant | RER | lci-PV.xlsx |\n", - "| open ground construction, on g | open ground construction, on g | RER | lci-PV.xlsx |\n", - "| photovoltaic cell factory | photovoltaic cell factory | DE | lci-PV.xlsx |\n", - "| photovoltaic module production | photovoltaic module, building- | RER | lci-PV.xlsx |\n", - "| photovoltaic module production | photovoltaic module, building- | RER | lci-PV.xlsx |\n", - "| photovoltaic mounting system p | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", - "| photovoltaic mounting system p | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", - "| photovoltaic mounting system p | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", - "| photovoltaic panel factory con | photovoltaic panel factory | GLO | lci-PV.xlsx |\n", - "| polyvinylalcohol, at plant | polyvinylalcohol, at plant | RER | lci-PV.xlsx |\n", - "| polyvinylbutyral foil, at plan | polyvinylbutyral foil, at plan | RER | lci-PV.xlsx |\n", - "| polyvinylbutyral, powder, at p | polyvinylbutyral, powder, at p | RER | lci-PV.xlsx |\n", - "| polyvinylfluoride production | polyvinylfluoride | US | lci-PV.xlsx |\n", - "| polyvinylfluoride production, | polyvinylfluoride, dispersion | US | lci-PV.xlsx |\n", - "| polyvinylfluoride, film produc | polyvinylfluoride, film | US | lci-PV.xlsx |\n", - "| silane, at plant | silane, at plant | RER | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | NO | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | CN | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | US | lci-PV.xlsx |\n", - "| silicon production, metallurgi | silicon, metallurgical grade | APAC | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | GLO | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | CN | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | APAC | lci-PV.xlsx |\n", - "| silicon production, photovolta | silicon production, photovolta | US | lci-PV.xlsx |\n", - "| vinyl fluoride production | vinyl fluoride | US | lci-PV.xlsx |\n", - "| wafer factory construction | wafer factory | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | BE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CN | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DK | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FI | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | HU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | JP | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | KR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | LU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MY | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MX | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NO | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | PT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ZA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ES | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | SE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GB | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | US | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | AT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | BE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CN | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DK | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FI | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | FR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | DE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | HU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | IT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | JP | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | KR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | LU | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MY | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | MX | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NL | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NZ | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | NO | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | PT | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ZA | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | ES | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | SE | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | CH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TH | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | TR | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | GB | lci-PV.xlsx |\n", - "| electricity production, photov | electricity, low voltage | US | lci-PV.xlsx |\n", - "+--------------------------------+--------------------------------+----------+-------------+\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "Done!\n", - "\n", - "/////////////////////// EXTRACTING IAM DATA ////////////////////////\n", - "Done!\n", - "#############################################################################################################\n", - "3.8 brightway superstructure\n", - "\n", - "////////////////////////////// BUSES ///////////////////////////////\n", - "Extracted 1 worksheets in 1.15 seconds\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "No markets found for bus in IAM data. Skipping.\n", - "Done!\n", - "\n", - "\n", - "///////////////////////// PASSENGER CARS ///////////////////////////\n", "No markets found for car in IAM data. Skipping.\n", - "Extracted 1 worksheets in 4.85 seconds\n", - "Applying strategy: migrate_datasets\n", - "Applying strategy: migrate_exchanges\n", - "The following datasets to import already exist in the source database. They will not be imported\n", - "+--------------------------------+--------------------------------+----------+--------------------+\n", - "| Name | Reference product | Location | File |\n", - "+--------------------------------+--------------------------------+----------+--------------------+\n", - "| fuel tank, compressed hydrogen | fuel tank, compressed hydrogen | GLO | lci-pass_cars.xlsx |\n", - "| fuel tank, compressed hydrogen | hydrogen tank | RER | lci-pass_cars.xlsx |\n", - "| fuel tank, compressed natural | fuel tank, compressed natural | RER | lci-pass_cars.xlsx |\n", - "| glider lightweighting | glider lightweighting | GLO | lci-pass_cars.xlsx |\n", - "+--------------------------------+--------------------------------+----------+--------------------+\n", "Done!\n", - "\n", - "\n", - "////////////////////////// TWO-WHEELERS ////////////////////////////\n", - "Done!\n", - "\n", - "`update_all()` will skip the following steps:\n", - "update_two_wheelers(), update_cars(), and update_buses()\n", - "If you want to update these steps, please run them separately afterwards.\n" + "\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "Process SpawnPoolWorker-59:\n", - "Process SpawnPoolWorker-60:\n", - "Process SpawnPoolWorker-57:\n", - "Process SpawnPoolWorker-62:\n", - "Process SpawnPoolWorker-64:\n", - "Process SpawnPoolWorker-61:\n", - "Process SpawnPoolWorker-58:\n", - "Process SpawnPoolWorker-63:\n", - "Traceback (most recent call last):\n", - "Traceback (most recent call last):\n", - "Traceback (most recent call last):\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", - " self.run()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 108, in run\n", - " self._target(*self._args, **self._kwargs)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", - " task = get()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", - " with self._rlock:\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", - " return self._semlock.__enter__()\n", - "KeyboardInterrupt\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", - " self.run()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", - " self.run()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 108, in run\n", - " self._target(*self._args, **self._kwargs)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", - " task = get()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", - " with self._rlock:\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", - " return self._semlock.__enter__()\n", - "KeyboardInterrupt\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 108, in run\n", - " self._target(*self._args, **self._kwargs)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", - " task = get()\n", - "Traceback (most recent call last):\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", - " with self._rlock:\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", - " return self._semlock.__enter__()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", - " self.run()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 108, in run\n", - " self._target(*self._args, **self._kwargs)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", - " task = get()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", - " with self._rlock:\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", - " return self._semlock.__enter__()\n", - "KeyboardInterrupt\n", - "Traceback (most recent call last):\n", - "Traceback (most recent call last):\n", - "KeyboardInterrupt\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", - " self.run()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 108, in run\n", - " self._target(*self._args, **self._kwargs)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", - " task = get()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", - " with self._rlock:\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", - " return self._semlock.__enter__()\n", - "KeyboardInterrupt\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", - " self.run()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/process.py\", line 108, in run\n", - " self._target(*self._args, **self._kwargs)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", - " task = get()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/queues.py\", line 365, in get\n", - " res = self._reader.recv_bytes()\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/connection.py\", line 216, in recv_bytes\n", - " buf = self._recv_bytes(maxlength)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/connection.py\", line 414, in _recv_bytes\n", - " buf = self._recv(4)\n", - " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/connection.py\", line 379, in _recv\n", - " chunk = read(handle, remaining)\n", - "KeyboardInterrupt\n" + "\n" ] }, { - "ename": "KeyboardInterrupt", - "evalue": "", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn[3], line 59\u001b[0m\n\u001b[1;32m 57\u001b[0m ndb\u001b[38;5;241m.\u001b[39mupdate_cars()\n\u001b[1;32m 58\u001b[0m ndb\u001b[38;5;241m.\u001b[39mupdate_two_wheelers()\n\u001b[0;32m---> 59\u001b[0m \u001b[43mndb\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mupdate_all\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 60\u001b[0m \u001b[38;5;66;03m#ndb.update_electricity()\u001b[39;00m\n\u001b[1;32m 61\u001b[0m \n\u001b[1;32m 62\u001b[0m \u001b[38;5;66;03m#ndb.update_trucks()\u001b[39;00m\n\u001b[1;32m 66\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m export \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mbrightway\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n", - "File \u001b[0;32m~/GitHub/premise/premise/new_database.py:1361\u001b[0m, in \u001b[0;36mNewDatabase.update_all\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 1349\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m ProcessPool(processes\u001b[38;5;241m=\u001b[39mmultiprocessing\u001b[38;5;241m.\u001b[39mcpu_count()) \u001b[38;5;28;01mas\u001b[39;00m pool:\n\u001b[1;32m 1350\u001b[0m args \u001b[38;5;241m=\u001b[39m [\n\u001b[1;32m 1351\u001b[0m (\n\u001b[1;32m 1352\u001b[0m scenario,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 1359\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m scenario \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscenarios\n\u001b[1;32m 1360\u001b[0m ]\n\u001b[0;32m-> 1361\u001b[0m results \u001b[38;5;241m=\u001b[39m \u001b[43mpool\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mstarmap\u001b[49m\u001b[43m(\u001b[49m\u001b[43m_update_all\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1363\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m s, scenario \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28menumerate\u001b[39m(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscenarios):\n\u001b[1;32m 1364\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscenarios[s] \u001b[38;5;241m=\u001b[39m results[s]\n", - "File \u001b[0;32m/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py:375\u001b[0m, in \u001b[0;36mPool.starmap\u001b[0;34m(self, func, iterable, chunksize)\u001b[0m\n\u001b[1;32m 369\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mstarmap\u001b[39m(\u001b[38;5;28mself\u001b[39m, func, iterable, chunksize\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[1;32m 370\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m'''\u001b[39;00m\n\u001b[1;32m 371\u001b[0m \u001b[38;5;124;03m Like `map()` method but the elements of the `iterable` are expected to\u001b[39;00m\n\u001b[1;32m 372\u001b[0m \u001b[38;5;124;03m be iterables as well and will be unpacked as arguments. Hence\u001b[39;00m\n\u001b[1;32m 373\u001b[0m \u001b[38;5;124;03m `func` and (a, b) becomes func(a, b).\u001b[39;00m\n\u001b[1;32m 374\u001b[0m \u001b[38;5;124;03m '''\u001b[39;00m\n\u001b[0;32m--> 375\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_map_async\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfunc\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43miterable\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mstarmapstar\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mchunksize\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mget\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n", - "File \u001b[0;32m/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py:768\u001b[0m, in \u001b[0;36mApplyResult.get\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 767\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mget\u001b[39m(\u001b[38;5;28mself\u001b[39m, timeout\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[0;32m--> 768\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwait\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 769\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mready():\n\u001b[1;32m 770\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mTimeoutError\u001b[39;00m\n", - "File \u001b[0;32m/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/multiprocessing/pool.py:765\u001b[0m, in \u001b[0;36mApplyResult.wait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 764\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mwait\u001b[39m(\u001b[38;5;28mself\u001b[39m, timeout\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[0;32m--> 765\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_event\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwait\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n", - "File \u001b[0;32m/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/threading.py:607\u001b[0m, in \u001b[0;36mEvent.wait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 605\u001b[0m signaled \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_flag\n\u001b[1;32m 606\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m signaled:\n\u001b[0;32m--> 607\u001b[0m signaled \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_cond\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwait\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 608\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m signaled\n", - "File \u001b[0;32m/opt/homebrew/Caskroom/miniforge/base/envs/premise_env/lib/python3.10/threading.py:320\u001b[0m, in \u001b[0;36mCondition.wait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 318\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m: \u001b[38;5;66;03m# restore state no matter what (e.g., KeyboardInterrupt)\u001b[39;00m\n\u001b[1;32m 319\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m timeout \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m--> 320\u001b[0m \u001b[43mwaiter\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43macquire\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 321\u001b[0m gotit \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mTrue\u001b[39;00m\n\u001b[1;32m 322\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n", - "\u001b[0;31mKeyboardInterrupt\u001b[0m: " + "name": "stdout", + "output_type": "stream", + "text": [ + "Write new database(s) to Brightway.\n", + "Running all checks...\n", + "Anomalies found: check the change report.\n", + "Running all checks...\n", + "Database test1 already exists: it will be overwritten.\n", + "Vacuuming database \n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Writing activities to SQLite3 database:\n", + "0% [##################### ] 100% | ETA: 00:00:14" ] } ], @@ -669,7 +476,7 @@ " #\"3.6\",\n", " #\"3.7\",\n", " #\"3.7.1\",\n", - " \"3.8\",\n", + " #\"3.8\",\n", " #\"3.9\",\n", " \"3.9.1\"\n", "\n", @@ -710,15 +517,11 @@ " print(\"#############################################################################################################\")\n", " print(ei, source, export)\n", "\n", - " ndb.update_buses()\n", - " ndb.update_cars()\n", - " ndb.update_two_wheelers()\n", - " ndb.update_all()\n", - " #ndb.update_electricity()\n", - " \n", - " #ndb.update_trucks()\n", - " \n", - "\n", + " ndb.update()\n", + " ndb.update([\n", + " \"buses\",\n", + " \"cars\",\n", + " ])\n", "\n", " if export == \"brightway\":\n", " \n", @@ -749,7 +552,9 @@ "id": "ad531d16-2c79-420b-8337-eb46489a04ff", "metadata": {}, "outputs": [], - "source": [] + "source": [ + "p " + ] } ], "metadata": { diff --git a/docs/consequential.rst b/docs/consequential.rst index 43031405..7f1bcdbc 100644 --- a/docs/consequential.rst +++ b/docs/consequential.rst @@ -154,6 +154,6 @@ If not, the following default arguments value are used: system_args=args ) - ndb.update_electricity() + ndb.update("electricity") ndb.write_db_to_brightway() diff --git a/docs/extract.rst b/docs/extract.rst index fbcf7948..8a58d6d1 100644 --- a/docs/extract.rst +++ b/docs/extract.rst @@ -840,7 +840,7 @@ They introduce the following datasets: carbon dioxide, captured at cement production plant, for subsequent reuse RER =============================================================================================================== =========== -Using the transformation function `update_dac()`, *premise* creates various configurations of these processes, +Using the transformation function `update("dac")`, *premise* creates various configurations of these processes, using different sources for heat (industrial steam heat, high-temp heat pump heat and excess heat), which are found under the following names, for each IAM region: diff --git a/docs/faq.rst b/docs/faq.rst index 90674bc8..2252570c 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -153,7 +153,7 @@ In theory, there is consistency between the IAM scenario and pLCA database when 100% of the IAM variables and related projections are integrated into the pLCA database. -This is not the case today, as ``premise`` only integrates a subset of IAM variables, namely those that relate to: +This is not the case today, as ``premise`` only integrates a subset of IAM variables, notably those that relate to: - power production - steel production diff --git a/docs/transform.rst b/docs/transform.rst index 161b10c7..5746d63d 100644 --- a/docs/transform.rst +++ b/docs/transform.rst @@ -85,7 +85,7 @@ Run source_version="3.7.1", key='xxxxxxxxxxxxxxxxxxxxxxxxx' ) - ndb.update_electricity() + ndb.update("electricity") Efficiency adjustment @@ -257,7 +257,7 @@ emissions outputs, are re-scaled by 1/1.03 (=0.97). While non-CO2 emissions (e.g., CO) are reduced because of the reduction in fuel consumption, the emission factor per energy unit remains the same (i.e., gCO/MJ natural gas)). -It can be re-scaled using the `update_emissions` function, which updates emission factors according +It can be re-scaled using the `.update("emissions")` function, which updates emission factors according to GAINS projections. @@ -684,7 +684,7 @@ Run source_version="3.7.1", key='xxxxxxxxxxxxxxxxxxxxxxxxx' ) - ndb.update_cement() + ndb.update("cement") @@ -752,7 +752,7 @@ Run source_version="3.7.1", key='xxxxxxxxxxxxxxxxxxxxxxxxx' ) - ndb.update_steel() + ndb.update("steel")" @@ -925,10 +925,10 @@ Run source_version="3.7.1", key='xxxxxxxxxxxxxxxxxxxxxxxxx' ) - ndb.update_two_wheelers() - ndb.update_cars() - ndb.update_trucks() - ndb.update_buses() + ndb.update("two_wheelers") + ndb.update("cars") + ndb.update("trucks") + ndb.update("buses") *premise* imports inventories for transport activity operated by: @@ -1147,7 +1147,7 @@ Run source_version="3.7.1", key='xxxxxxxxxxxxxxxxxxxxxxxxx' ) - ndb.update_dac() + ndb.update("dac") @@ -1209,7 +1209,7 @@ Run source_version="3.7.1", key='xxxxxxxxxxxxxxxxxxxxxxxxx' ) - ndb.update_fuels() + ndb.update("fuels") @@ -1539,10 +1539,10 @@ Here is a list of the heat and steam production datasets that are regionalized: - heat production, hardwood chips from forest, ... These datasets are relinked to the corresponding regionalized fuel market only -if `.update_fuels()` has been run. +if `.update("fuels")` has been run. Also, heat production datasets that use biomass as fuel input (e.g., softwood and hardwood chips) relink to the dataset `market for biomass, used as fuel` if -`update_biomass()` has been run previously. +`update("biomass")` has been run previously. CO2 emissions update @@ -2025,7 +2025,7 @@ Final Steps GAINS emission factors """""""""""""""""""""" -When using `update_emissions()`, emission factors from the GAINS-EU_ and GAINS-IAM_ models are used to scale +When using `update("emissions")`, emission factors from the GAINS-EU_ and GAINS-IAM_ models are used to scale non-CO2 emissions in various datasets. .. _GAINS-EU: https://gains.iiasa.ac.at/gains/EUN/index.login diff --git a/docs/user_scenarios.rst b/docs/user_scenarios.rst index 3735c4f8..48b830fc 100644 --- a/docs/user_scenarios.rst +++ b/docs/user_scenarios.rst @@ -51,27 +51,29 @@ Example ] -The function **ndb.update_external_scenario()** can be called after that +The function **ndb.update("external")** can be called after that to implement the user-defined scenario in the database. .. code-block:: python - ndb.update_external_scenario() + ndb.update("external") Of course, if you wish your database to also integrate the projections -of the global IAM model, you can run the function **ndb.update_all()**. +of the global IAM model, you can run the function **ndb.update()**. .. code-block:: python - ndb.update_all() + ndb.update() Or if you just want the IAM projections relating to, for example, electricity and steel: .. code-block:: python - ndb.update_electricity() - ndb.update_steel() - ndb.update_external_scenario() + ndb.update([ + "electricity", + "steel", + "external" + ]) Once the integrations are complete, you can export your databases to Brightway2, within the activated project: diff --git a/examples/.ipynb_checkpoints/Untitled-checkpoint.ipynb b/examples/.ipynb_checkpoints/Untitled-checkpoint.ipynb deleted file mode 100644 index 363fcab7..00000000 --- a/examples/.ipynb_checkpoints/Untitled-checkpoint.ipynb +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/examples/.ipynb_checkpoints/examples user-defined scenarios-checkpoint.ipynb b/examples/.ipynb_checkpoints/examples user-defined scenarios-checkpoint.ipynb index 89c2bd28..4195e8d7 100644 --- a/examples/.ipynb_checkpoints/examples user-defined scenarios-checkpoint.ipynb +++ b/examples/.ipynb_checkpoints/examples user-defined scenarios-checkpoint.ipynb @@ -43,7 +43,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 1, "id": "90c8da09-12b1-4c35-bb36-550be70a738e", "metadata": {}, "outputs": [], @@ -53,29 +53,30 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 2, "id": "bda9c910-140b-4e65-9656-156158968c25", "metadata": {}, "outputs": [], "source": [ "# URL pointing to the raw datapackage.json file of the scenario\n", - "#fp = \"https://raw.githubusercontent.com/premise-community-scenarios/cobalt-perspective-2050/main/datapackage.json\"\n", - "#cobalt = Package(fp)\n", + "fp = \"https://raw.githubusercontent.com/premise-community-scenarios/cobalt-perspective-2050/main/datapackage.json\"\n", + "cobalt = Package(fp)\n", "\n", - "#fp = r\"https://raw.githubusercontent.com/premise-community-scenarios/ammonia-prospective-scenarios/main/datapackage.json\"\n", - "#ammonia = Package(fp)\n", + "fp = r\"https://raw.githubusercontent.com/premise-community-scenarios/ammonia-prospective-scenarios/main/datapackage.json\"\n", + "ammonia = Package(fp)\n", "\n", "#fp = \"https://raw.githubusercontent.com/premise-community-scenarios/energy-perspective-2050-switzerland/main/datapackage.json\"\n", - "#ep2050 = Package(fp)\n", + "fp = \"/Users/romain/Library/CloudStorage/Dropbox/EP2050/energy-perspective-2050-switzerland/datapackage.json\"\n", + "ep2050 = Package(fp)\n", "\n", - "fp= \"https://raw.githubusercontent.com/premise-community-scenarios/scenario-example-bread/main/datapackage.json\"\n", - "#fp = \"/Users/romain/GitHub/scenario-example-bread-/datapackage.json\"\n", + "#fp = \"https://raw.githubusercontent.com/premise-community-scenarios/scenario-example-bread/main/datapackage.json\"\n", + "fp = \"/Users/romain/GitHub/scenario-example-bread-/datapackage.json\"\n", "bread = Package(fp)" ] }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 3, "id": "05168dfa-b9c2-4f73-90fe-fb7523c15bc1", "metadata": {}, "outputs": [ @@ -85,7 +86,7 @@ "['scenario_data', 'inventories', 'config']" ] }, - "execution_count": 25, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -104,7 +105,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 4, "id": "b88cc08c-c6c2-4890-9c39-c52f51d5b98e", "metadata": {}, "outputs": [ @@ -133,7 +134,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 5, "id": "a02895f5-adb8-4b7c-a5a1-a49ed936f140", "metadata": {}, "outputs": [ @@ -143,7 +144,7 @@ "['scenario_data', 'inventories', 'config']" ] }, - "execution_count": 13, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -162,7 +163,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 6, "id": "c8814dca-0f42-4fb9-9169-025f1860f4b4", "metadata": {}, "outputs": [ @@ -361,7 +362,7 @@ "[5 rows x 21 columns]" ] }, - "execution_count": 26, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -391,19 +392,19 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 7, "id": "f15e00e7-4086-4312-8090-ad432ea368d6", "metadata": {}, "outputs": [], "source": [ "from premise import *\n", "import bw2data\n", - "bw2data.projects.set_current(\"carculator\")" + "bw2data.projects.set_current(\"ei39\")" ] }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 8, "id": "b0408c8e-ce9e-4d6c-8e4b-a6a0db1ff384", "metadata": {}, "outputs": [ @@ -411,7 +412,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "premise v.(1, 3, 4)\n", + "premise v.(1, 5, 0, 'alpha')\n", "+------------------------------------------------------------------+\n", "| Warning |\n", "+------------------------------------------------------------------+\n", @@ -467,11 +468,14 @@ "\n", "ndb = NewDatabase(\n", " scenarios = scenarios, \n", - " source_db=\"ecoinvent 3.8 cutoff\",\n", - " source_version=\"3.8\",\n", + " source_db=\"ecoinvent 3.9 cutoff\",\n", + " source_version=\"3.9\",\n", " key='tUePmX_S5B8ieZkkM7WUU2CnO8SmShwmAeWK9x2rTFo=',\n", " external_scenarios=[\n", " bread,\n", + " cobalt,\n", + " ammonia,\n", + " ep2050\n", " ]\n", ")\n" ] @@ -486,7 +490,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 9, "id": "51dd0dd9-86bf-42f3-bded-d3da98178b7e", "metadata": {}, "outputs": [ @@ -497,60 +501,233 @@ "\n", "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "migration_38_39\n", + "List of unlinked exchanges:\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| Name | Reference product | Location | Categories | Unit | Type | File |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "| treatment of wastewater, average, capacity 1E9l/year | None | Europe without Switzerland | None | cubic meter | technosphere | lci-EP2050.csv |\n", + "+------------------------------------------------------+-------------------+----------------------------+------------+-------------+--------------+----------------+\n", + "Create custom markets.\n", + "Create custom markets.\n", + "Create custom markets.\n", "Create custom markets.\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", + "Cannot find -> transmission network construction, long-distance transmission network, long-distance ['CH', 'UN-EUROPE', 'RER', 'Europe without Austria', 'Europe, without Russia and Turkey', 'RER w/o RU', 'ENTSO-E', 'RER w/o DE+NL+RU', 'RER w/o DE+NL+NO+RU', 'Europe without NORDEL (NCPA)', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'WEU', 'CH', 'RER', 'Europe without Switzerland', 'RoW', 'GLO', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AUS-AC', 'AUS-ACT', 'AUS-IOT', 'AUS-NSW', 'AUS-NTR', 'AUS-QNS', 'AUS-SAS', 'AUS-TSM', 'AUS-VCT', 'AUS-WAS', 'AW', 'AX', 'AZ', 'Akrotiri', 'Asia without China', 'BA', 'BALTSO', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BR-AC', 'BR-AL', 'BR-AM', 'BR-AP', 'BR-BA', 'BR-CE', 'BR-DF', 'BR-ES', 'BR-GO', 'BR-MA', 'BR-MG', 'BR-MS', 'BR-MT', 'BR-Mid-western grid', 'BR-North-eastern grid', 'BR-Northern grid', 'BR-PA', 'BR-PB', 'BR-PE', 'BR-PI', 'BR-PR', 'BR-RJ', 'BR-RN', 'BR-RO', 'BR-RR', 'BR-RS', 'BR-SC', 'BR-SE', 'BR-SP', 'BR-South-eastern grid', 'BR-Southern grid', 'BR-TO', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'Bajo Nuevo', 'CA', 'CA-AB', 'CA-BC', 'CA-MB', 'CA-NB', 'CA-NF', 'CA-NS', 'CA-NT', 'CA-NU', 'CA-ON', 'CA-PE', 'CA-QC', 'CA-SK', 'CA-YK', 'CD', 'CENTREL', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CN-AH', 'CN-BJ', 'CN-CQ', 'CN-CSG', 'CN-FJ', 'CN-GD', 'CN-GS', 'CN-GX', 'CN-GZ', 'CN-HA', 'CN-HB', 'CN-HE', 'CN-HL', 'CN-HN', 'CN-HU', 'CN-JL', 'CN-JS', 'CN-JX', 'CN-LN', 'CN-NM', 'CN-NX', 'CN-QH', 'CN-SA', 'CN-SC', 'CN-SD', 'CN-SGCC', 'CN-SH', 'CN-SX', 'CN-TJ', 'CN-XJ', 'CN-XZ', 'CN-YN', 'CN-ZJ', 'CO', 'CR', 'CS', 'CU', 'CV', 'CW', 'CY', 'CZ', 'Canada without Alberta', 'Canada without Alberta and Quebec', 'Canada without Quebec', 'Canary Islands', 'Central Asia', 'China w/o Inner Mongol', 'Clipperton Island', 'Coral Sea Islands', 'Cyprus No Mans Area', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'Dhekelia Base', 'EC', 'EE', 'EG', 'EH', 'ENTSO-E', 'ER', 'ES', 'ET', 'Europe without Austria', 'Europe without NORDEL (NCPA)', 'Europe without Switzerland', 'Europe without Switzerland and Austria', 'Europe without Switzerland and France', 'Europe, without Russia and Turkey', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FSU', 'France, including overseas territories', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'Guantanamo Bay', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'IAI Area, Africa', 'IAI Area, Asia, without China and GCC', 'IAI Area, EU27 & EFTA', 'IAI Area, Gulf Cooperation Council', 'IAI Area, North America', 'IAI Area, North America, without Quebec', 'IAI Area, Russia & RER w/o EU27 & EFTA', 'IAI Area, South America', 'ID', 'IE', 'IL', 'IM', 'IN', 'IN-AN', 'IN-AP', 'IN-AR', 'IN-AS', 'IN-BR', 'IN-CH', 'IN-CT', 'IN-DD', 'IN-DL', 'IN-DN', 'IN-Eastern grid', 'IN-GA', 'IN-GJ', 'IN-HP', 'IN-HR', 'IN-Islands', 'IN-JH', 'IN-JK', 'IN-KA', 'IN-KL', 'IN-LD', 'IN-MH', 'IN-ML', 'IN-MN', 'IN-MP', 'IN-MZ', 'IN-NL', 'IN-North-eastern grid', 'IN-Northern grid', 'IN-OR', 'IN-PB', 'IN-PY', 'IN-RJ', 'IN-SK', 'IN-Southern grid', 'IN-TN', 'IN-TR', 'IN-UP', 'IN-UT', 'IN-WB', 'IN-Western grid', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MRO', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NAFTA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NORDEL', 'NP', 'NPCC', 'NR', 'NU', 'NZ', 'North America without Quebec', 'Northern Cyprus', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'Québec, HQ distribution network', 'RAF', 'RAS', 'RE', 'RER', 'RER w/o AT+BE+CH+DE+FR+IT', 'RER w/o CH+DE', 'RER w/o DE+NL+NO', 'RER w/o DE+NL+NO+RU', 'RER w/o DE+NL+RU', 'RER w/o RU', 'RLA', 'RME', 'RNA', 'RO', 'RS', 'RU', 'RW', 'Russia (Asia)', 'Russia (Europe)', 'SA', 'SAS', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Somaliland', 'Spratly Islands', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UCTE', 'UCTE without France', 'UCTE without Germany', 'UCTE without Germany and France', 'UG', 'UM', 'UN-AMERICAS', 'UN-ASIA', 'UN-AUSTRALIANZ', 'UN-CAMERICA', 'UN-CARIBBEAN', 'UN-EAFRICA', 'UN-EASIA', 'UN-EEUROPE', 'UN-EUROPE', 'UN-MAFRICA', 'UN-MELANESIA', 'UN-MICRONESIA', 'UN-NAFRICA', 'UN-NEUROPE', 'UN-OCEANIA', 'UN-POLYNESIA', 'UN-SAMERICA', 'UN-SASIA', 'UN-SEASIA', 'UN-SEUROPE', 'UN-WAFRICA', 'UN-WASIA', 'US', 'US-AK', 'US-AL', 'US-AR', 'US-ASCC', 'US-AZ', 'US-CA', 'US-CO', 'US-CT', 'US-DC', 'US-DE', 'US-FL', 'US-FRCC', 'US-GA', 'US-HI', 'US-HICC', 'US-IA', 'US-ID', 'US-IL', 'US-IN', 'US-KS', 'US-KY', 'US-LA', 'US-MA', 'US-MD', 'US-ME', 'US-MI', 'US-MN', 'US-MO', 'US-MRO', 'US-MS', 'US-MT', 'US-NC', 'US-ND', 'US-NE', 'US-NH', 'US-NJ', 'US-NM', 'US-NPCC', 'US-NV', 'US-NY', 'US-OH', 'US-OK', 'US-OR', 'US-PA', 'US-PR', 'US-RFC', 'US-RI', 'US-SC', 'US-SD', 'US-SERC', 'US-SPP', 'US-TN', 'US-TRE', 'US-TX', 'US-UT', 'US-VA', 'US-VT', 'US-WA', 'US-WECC', 'US-WI', 'US-WV', 'US-WY', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WECC', 'WEU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW', 'GLO', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]\n", "Log file of exchanges saved under /Users/romain/GitHub/premise/premise/data/logs.\n" ] } ], "source": [ - "ndb.update_external_scenario()" + "ndb.update(\"external\")" ] }, { "cell_type": "code", - "execution_count": 33, - "id": "ab8cc0b4-a410-40de-b386-5eb74933e2c7", + "execution_count": null, + "id": "2dde9ff3-fed8-4b42-9c2d-ba71e87ca932", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Write new database(s) to Brightway2.\n", - "Prepare database 1.\n", - "- check for duplicates...\n", - "- check for values format...\n", - "- relinking exchanges...\n", - "Done!\n", - "21058 datasets\n", - "674534 exchanges\n", - "0 unlinked exchanges\n", - " \n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Writing activities to SQLite3 database:\n", - "0% [##############################] 100% | ETA: 00:00:00\n", - "Total time elapsed: 00:00:22\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Title: Writing activities to SQLite3 database:\n", - " Started: 10/24/2022 17:29:31\n", - " Finished: 10/24/2022 17:29:53\n", - " Total time elapsed: 00:00:22\n", - " CPU %: 86.60\n", - " Memory %: 10.14\n", - "Created database: ecoinvent_image_SSP2-Base_2040\n" - ] - } - ], + "outputs": [], "source": [ "ndb.write_db_to_brightway()" ] @@ -585,8 +762,12 @@ " ]\n", ")\n", "\n", - "ndb.update_electricity()\n", - "ndb.update_external_scenario()" + "ndb.update(\n", + " [\n", + " \"electricity\",\n", + " \"external\"\n", + " ]\n", + ")" ] }, { @@ -623,7 +804,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.10.13" } }, "nbformat": 4, diff --git a/examples/.ipynb_checkpoints/examples-checkpoint.ipynb b/examples/.ipynb_checkpoints/examples-checkpoint.ipynb index 2a5f2acb..3c7e5430 100644 --- a/examples/.ipynb_checkpoints/examples-checkpoint.ipynb +++ b/examples/.ipynb_checkpoints/examples-checkpoint.ipynb @@ -179,7 +179,7 @@ "metadata": {}, "outputs": [], "source": [ - "ndb.update_electricity()" + "ndb.update(\"electricity\")" ] }, { @@ -240,15 +240,6 @@ ")" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "ndb.update_all()" - ] - }, { "cell_type": "markdown", "metadata": {}, @@ -264,14 +255,14 @@ "metadata": {}, "outputs": [], "source": [ - "ndb.update_electricity()" + "ndb.update(\"electricity\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "Or you can proceed instead to doing all the transformations available (minus any transformation you have listed in `exclude`), like so:" + "Or you can proceed instead to doing all the sectoral transformations available, like so:" ] }, { @@ -280,7 +271,7 @@ "metadata": {}, "outputs": [], "source": [ - "ndb.update_all()" + "ndb.update() # <- updates all sectors" ] }, { @@ -443,45 +434,36 @@ "\n", "These functions modify the extracted database:\n", "\n", - "* **update_electricity()**: alignment of regional electricity production mixes as well as efficiencies for a number of electricity production technologies, including Carbon Capture and Storage technologies and photovoltaic panels. Also updated the natural gas extraction datasets.\n", + "* **update(\"electricity\")**: alignment of regional electricity production mixes as well as efficiencies for a number of electricity production technologies, including Carbon Capture and Storage technologies and photovoltaic panels. Also updated the natural gas extraction datasets.\n", "\n", - "* **update_cement()**: adjustment of technologies for cement production (dry, semi-dry, wet, with pre-heater or not), fuel efficiency of kilns, fuel mix of kilns (including biomass and waste fuels).\n", + "* **update(\"cement\")**: adjustment of technologies for cement production (dry, semi-dry, wet, with pre-heater or not), fuel efficiency of kilns, fuel mix of kilns (including biomass and waste fuels).\n", "\n", - "* **update_steel()**: adjustment of process efficiency, fuel mix and share of secondary steel in steel markets.\n", + "* **update(\"steel\")**: adjustment of process efficiency, fuel mix and share of secondary steel in steel markets.\n", "\n", - "* **update_dac()**: creates region- and scenario-specific inventories for DAC and DACCS systems. Applies a learning rate on energy and infrastructure needs if the IAM provides the variable.\n", + "* **update(\"dac\")**: creates region- and scenario-specific inventories for DAC and DACCS systems. Applies a learning rate on energy and infrastructure needs if the IAM provides the variable.\n", "\n", - "* **update_fuels()**: creates regional markets for liquid and gaseous fuels and relinks fuel-conusming activities to them.\n", + "* **update(\"fuels\")**: creates regional markets for liquid and gaseous fuels and relinks fuel-conusming activities to them.\n", "\n", - "* **update_heat()**: creates regionalized versions of heat and steam production datasets and relink them to heat-consuming activities.\n", + "* **update(\"heat\")**: creates regionalized versions of heat and steam production datasets and relink them to heat-consuming activities.\n", "\n", - "* **update_emissions()**: adjusts emission of local air pollutants according to GAINS projections.\n", + "* **update(\"emissions\")**: adjusts emission of local air pollutants according to GAINS projections.\n", "\n", - "* **update_cars()**: creates updated inventories for fleet average passenger cars and links back to activities that consume transport.\n", + "* **update(\"cars\")**: creates updated inventories for fleet average passenger cars and links back to activities that consume transport.\n", "\n", - "* **update_trucks()**: creates updated inventories for fleet average lorry trucks and links back to activities that consume transport.\n", + "* **update(\"trucks\")**: creates updated inventories for fleet average lorry trucks and links back to activities that consume transport.\n", "\n", - "* **update_two_wheelers()**: create inventories for two-wheelers.\n", + "* **update(\"two_wheelers\")**: create inventories for two-wheelers.\n", "\n", - "* **update_buses()**: create inventories for buses.\n", + "* **update(\"buses\")**: create inventories for buses.\n", "\n", "A look at the documentation is advised.\n", "\n", "\n", - "These functions can be applied *separately*, *consecutively* or *altogether* (using instead **.update_all()**).\n", + "These functions can be applied *separately*, *consecutively* or *altogether* (using instead **.update()** without arguments).\n", "\n", "They will apply to all the scenario-specific databases listed in `scenarios`." ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "ndb.update_all()" - ] - }, { "cell_type": "code", "execution_count": null, @@ -516,7 +498,7 @@ "metadata": {}, "outputs": [], "source": [ - "ndb.update_all()" + "ndb.update()" ] }, { @@ -544,34 +526,6 @@ "ndb.write_db_to_brightway(name=[\"my_custom_name_1\", \"my_custom_name_2\"])" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Exclude specific functions\n", - "Finally, we can exclude some transformation functions when executing `update_all()` like so:" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "ndb = NewDatabase(\n", - " scenarios=[\n", - " {\"model\":\"remind\", \"pathway\":\"SSP2-Base\", \"year\":2030,\n", - " \"exclude\": [\"update_steel\"], # <-- do not execute update_seel()\n", - " \"passenger cars\": {\"regions\":[\"EUR\"]},\"trucks\": {\"regions\":[\"EUR\"]}\n", - " },\n", - " {\"model\":\"remind\", \"pathway\":\"SSP2-Base\", \"year\":2030,},\n", - " ],\n", - " key='xxxxxxxxxxxxxxxxxxxxxxxxx',\n", - " source_db=\"ecoinvent 3.7 cutoff\",\n", - " source_version=\"3.7\", \n", - ")" - ] - }, { "cell_type": "markdown", "metadata": {}, @@ -752,6 +706,22 @@ "ndb.write_db_to_simapro(filepath=r\"C:/Users/sacchi_r/Downloads/exported_simapro_file\")" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### As a SimaPro CSV file for OpenLCA" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "ndb.write_db_to_olca(filepath=r\"C:/Users/sacchi_r/Downloads/exported_simapro_file\")" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/examples/Untitled.ipynb b/examples/Untitled.ipynb deleted file mode 100644 index 0e24f98b..00000000 --- a/examples/Untitled.ipynb +++ /dev/null @@ -1,317 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "9e048f01-bc32-4580-93d3-66c8e239e2f0", - "metadata": {}, - "outputs": [], - "source": [ - "import pandas as pd" - ] - }, - { - "cell_type": "code", - "execution_count": 41, - "id": "7fecc25c-a577-4c31-810e-480633b1fc0b", - "metadata": {}, - "outputs": [], - "source": [ - "fp = \"/Users/romain/GitHub/premise/premise/iam_variables_mapping/fuels_variables.yaml\"" - ] - }, - { - "cell_type": "code", - "execution_count": 42, - "id": "bb5fab96-391c-4d7c-93da-ebf886c4a5be", - "metadata": {}, - "outputs": [], - "source": [ - "import pandas as pd\n", - "from yaml import safe_load\n", - "\n", - "with open(fp, 'r') as f:\n", - " d = safe_load(f)" - ] - }, - { - "cell_type": "code", - "execution_count": 43, - "id": "57301df6-2646-482e-9bda-1c773a6e6a3e", - "metadata": {}, - "outputs": [], - "source": [ - "df = df.from_dict(d).T" - ] - }, - { - "cell_type": "code", - "execution_count": 44, - "id": "ee132331-1e64-4431-a7c3-9051d498d1d9", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - " | lhv | \n", - "biogenic_share | \n", - "co2 | \n", - "ecoinvent_aliases | \n", - "iam_aliases | \n", - "eff_aliases | \n", - "ecoinvent_fuels_aliases | \n", - "
---|---|---|---|---|---|---|---|
electricity | \n", - "3.6 | \n", - "0.0 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
hard coal | \n", - "26.7 | \n", - "0 | \n", - "0.098 | \n", - "{'fltr': ['market for hard coal', 'market for ... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
pulverised lignite | \n", - "1 | \n", - "0 | \n", - "0.098 | \n", - "{'fltr': {'name': ['market for pulverised lign... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
lignite | \n", - "11.2 | \n", - "0 | \n", - "0.101 | \n", - "{'fltr': ['market for lignite'], 'mask': {'nam... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
petroleum coke | \n", - "31.3 | \n", - "0 | \n", - "0.0975 | \n", - "{'fltr': ['market for petroleum coke']} | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "
kerosene, synthetic, from natural gas, economic allocation | \n", - "43 | \n", - "0 | \n", - "0.0715 | \n", - "{'fltr': ['Kerosene, synthetic, from natural g... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
kerosene, synthetic, from biomethane, energy allocation | \n", - "43 | \n", - "1 | \n", - "0.0715 | \n", - "{'fltr': ['Kerosene, synthetic, from biomethan... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
kerosene, synthetic, from biomethane, economic allocation | \n", - "43 | \n", - "1 | \n", - "0.0715 | \n", - "{'fltr': ['Kerosene, synthetic, from biomethan... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
kerosene, synthetic, from biomass, energy allocation | \n", - "43 | \n", - "1 | \n", - "0.0715 | \n", - "{'fltr': ['Kerosene, synthetic, from biomass-b... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
kerosene, synthetic, from biomass, economic allocation | \n", - "43 | \n", - "1 | \n", - "0.0715 | \n", - "{'fltr': ['Kerosene, synthetic, from biomass-b... | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "
132 rows × 7 columns
\n", - "