From 7fe8e22163783b64580b318190ad616156f6c2fc Mon Sep 17 00:00:00 2001 From: romainsacchi Date: Thu, 5 Oct 2023 19:53:29 +0200 Subject: [PATCH] Update conf.py --- dev/test_premise.ipynb | 661 ++++++++++++++++++++++++++++++++++++++++- docs/conf.py | 10 +- 2 files changed, 663 insertions(+), 8 deletions(-) diff --git a/dev/test_premise.ipynb b/dev/test_premise.ipynb index 8a0b4b78..1c2c88b6 100644 --- a/dev/test_premise.ipynb +++ b/dev/test_premise.ipynb @@ -64,7 +64,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "186769fe-f212-4a6e-b2b5-93dc7bf0fd73", "metadata": { "scrolled": true @@ -1650,7 +1650,660 @@ "name": "stderr", "output_type": "stream", "text": [ - " 91%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 615711/674593 [00:39<00:01, 48532.27it/s]" + "100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 674593/674593 [00:55<00:00, 12264.55it/s]\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Filling out exchange data\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 21238/21238 [00:03<00:00, 6042.41it/s]\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Set missing location of datasets to global scope.\n", + "Set missing location of production exchanges to scope of dataset.\n", + "Correct missing location of technosphere exchanges.\n", + "Correct missing flow categories for biosphere exchanges\n", + "Remove empty exchanges.\n", + "Remove uncertainty data.\n", + "Done!\n", + "\n", + "////////////////// IMPORTING DEFAULT INVENTORIES ///////////////////\n", + "Cannot find cached inventories. Will create them now for next time...\n", + "Importing default inventories...\n", + "\n", + "Extracted 1 worksheets in 0.13 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Remove uncertainty data.\n", + "Extracted 7 worksheets in 0.04 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.03 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.03 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.46 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\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", + "| fluorspar production, 97% purity | fluorspar, 97% purity | GLO | lci-PV.xlsx |\n", + "| metallization paste production, back side | metallization paste, back side | RER | lci-PV.xlsx |\n", + "| metallization paste production, back side, alumini | metallization paste, back side | RER | lci-PV.xlsx |\n", + "| metallization paste production, front side | metallization paste, front sid | RER | lci-PV.xlsx |\n", + "| photovoltaic module production, building-integrate | photovoltaic module, building- | RER | lci-PV.xlsx |\n", + "| photovoltaic module production, building-integrate | photovoltaic module, building- | RER | lci-PV.xlsx |\n", + "| photovoltaic mounting system production, for facad | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", + "| photovoltaic mounting system production, for flat- | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", + "| photovoltaic mounting system production, for slant | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", + "| photovoltaic panel factory construction | photovoltaic panel factory | GLO | lci-PV.xlsx |\n", + "| polyvinylfluoride production | polyvinylfluoride | US | lci-PV.xlsx |\n", + "| polyvinylfluoride production, dispersion | polyvinylfluoride, dispersion | US | lci-PV.xlsx |\n", + "| polyvinylfluoride, film production | polyvinylfluoride, film | US | lci-PV.xlsx |\n", + "| silicon production, metallurgical grade | silicon, metallurgical grade | NO | lci-PV.xlsx |\n", + "| vinyl fluoride production | vinyl fluoride | US | lci-PV.xlsx |\n", + "| wafer factory construction | wafer factory | DE | lci-PV.xlsx |\n", + "+----------------------------------------------------+--------------------------------+----------+-------------+\n", + "Extracted 1 worksheets in 0.06 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.03 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\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", + "| carbon dioxide, captured at cement production plan | carbon dioxide, captured and r | RER | lci-synfuels-from-methanol-from-cement-plant.xlsx |\n", + "+----------------------------------------------------+--------------------------------+----------+---------------------------------------------------+\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\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", + "| methanol distillation, hydrogen from coal gasifica | methanol, purified | RER | lci-synfuels-from-methanol-from-coal.xlsx |\n", + "| methanol synthesis, hydrogen from coal gasificatio | methanol, unpurified | RER | lci-synfuels-from-methanol-from-coal.xlsx |\n", + "+----------------------------------------------------+----------------------+----------+-------------------------------------------+\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.00 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 5 worksheets in 0.17 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.04 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.09 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.01 seconds\n", + "Remove uncertainty data.\n", + "Extracted 2 worksheets in 0.02 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Remove uncertainty data.\n", + "Extracted 1 worksheets in 0.02 seconds\n", + "Remove uncertainty data.\n", + "Data cached. It is advised to restart your workflow at this point.\n", + "This allows premise to use the cached data instead, which results in\n", + "a faster workflow.\n", + "\n", + "//////////////// IMPORTING USER-DEFINED INVENTORIES ////////////////\n", + "Extracted 1 worksheets in 0.45 seconds\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\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, photovoltaic | electricity, low voltage | PT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | IL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | SE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | FR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | TR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | NZ | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | MY | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | CN | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | TH | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | ZA | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | JP | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | CH | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | DE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | KR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | AT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | GR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | IE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | AU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | IT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic | electricity, low voltage | MX | lci-PV.xlsx |\n", + "| emulsion polymerisation, polyvinylchlorid | emulsion polymerisation, polyv | RER | lci-PV.xlsx |\n", + "| ethylene bromide, at plant | ethylene bromide, at plant | RER | lci-PV.xlsx |\n", + "| fluorspar production, 97% purity | 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, back side | metallization paste, back side | RER | lci-PV.xlsx |\n", + "| metallization paste production, back side, alumini | metallization paste, back side | RER | lci-PV.xlsx |\n", + "| metallization paste production, front side | 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 ground | open ground construction, on g | RER | lci-PV.xlsx |\n", + "| photovoltaic cell factory | photovoltaic cell factory | DE | lci-PV.xlsx |\n", + "| photovoltaic module production, building-integrate | photovoltaic module, building- | RER | lci-PV.xlsx |\n", + "| photovoltaic module production, building-integrate | photovoltaic module, building- | RER | lci-PV.xlsx |\n", + "| photovoltaic mounting system production, for facad | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", + "| photovoltaic mounting system production, for flat- | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", + "| photovoltaic mounting system production, for slant | photovoltaic mounting system, | RER | lci-PV.xlsx |\n", + "| photovoltaic panel factory construction | photovoltaic panel factory | GLO | lci-PV.xlsx |\n", + "| polyvinylalcohol, at plant | polyvinylalcohol, at plant | RER | lci-PV.xlsx |\n", + "| polyvinylbutyral foil, at plant | polyvinylbutyral foil, at plan | RER | lci-PV.xlsx |\n", + "| polyvinylbutyral, powder, at plant | polyvinylbutyral, powder, at p | RER | lci-PV.xlsx |\n", + "| polyvinylfluoride production | polyvinylfluoride | US | lci-PV.xlsx |\n", + "| polyvinylfluoride production, dispersion | polyvinylfluoride, dispersion | US | lci-PV.xlsx |\n", + "| polyvinylfluoride, film production | polyvinylfluoride, film | US | lci-PV.xlsx |\n", + "| silane, at plant | silane, at plant | RER | lci-PV.xlsx |\n", + "| silicon production, metallurgical grade | silicon, metallurgical grade | NO | lci-PV.xlsx |\n", + "| silicon production, metallurgical grade | silicon, metallurgical grade | CN | lci-PV.xlsx |\n", + "| silicon production, metallurgical grade | silicon, metallurgical grade | US | lci-PV.xlsx |\n", + "| silicon production, metallurgical grade | silicon, metallurgical grade | APAC | lci-PV.xlsx |\n", + "| silicon production, photovoltaics, production mix | silicon production, photovolta | GLO | lci-PV.xlsx |\n", + "| silicon production, photovoltaics, production mix | silicon production, photovolta | CN | lci-PV.xlsx |\n", + "| silicon production, photovoltaics, production mix | silicon production, photovolta | APAC | lci-PV.xlsx |\n", + "| silicon production, photovoltaics, production mix | 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, photovoltaic, residential | electricity, low voltage | AU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | AT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | BE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | CA | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | CL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | CN | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | CZ | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | DK | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | FI | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | FR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | DE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | GR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | HU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | IE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | IL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | IT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | JP | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | KR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | LU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | MY | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | MX | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | NL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | NZ | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | NO | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | PT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | ZA | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | ES | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | SE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | CH | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | TH | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | TR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | GB | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, residential | electricity, low voltage | US | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | AU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | AT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | BE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | CA | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | CL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | CN | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | CZ | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | DK | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | FI | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | FR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | DE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | GR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | HU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | IE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | IL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | IT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | JP | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | KR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | LU | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | MY | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | MX | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | NL | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | NZ | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | NO | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | PT | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | ZA | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | ES | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | SE | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | CH | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | TH | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | TR | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | GB | lci-PV.xlsx |\n", + "| electricity production, photovoltaic, commercial | electricity, low voltage | US | lci-PV.xlsx |\n", + "+----------------------------------------------------+--------------------------------+----------+-------------+\n", + "Migrating to 3.8 first\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Applying strategy: migrate_datasets\n", + "Applying strategy: migrate_exchanges\n", + "Done!\n", + "\n", + "/////////////////////// EXTRACTING IAM DATA ////////////////////////\n", + "Done!\n", + "#############################################################################################################\n", + "3.9.1 brightway brightway\n", + "\n", + "/////////////////////////// ELECTRICITY ////////////////////////////\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Process SpawnPoolWorker-51:\n", + "Process SpawnPoolWorker-52:\n", + "Process SpawnPoolWorker-54:\n", + "Process SpawnPoolWorker-56:\n", + "Process SpawnPoolWorker-50:\n", + "Process SpawnPoolWorker-55:\n", + "Process SpawnPoolWorker-49:\n", + "Process SpawnPoolWorker-53:\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 125, in worker\n", + " result = (True, func(*args, **kwds))\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/pool.py\", line 51, in starmapstar\n", + " return list(itertools.starmap(args[0], args[1]))\n", + " File \"/Users/romain/GitHub/premise/premise/electricity.py\", line 197, in _update_electricity\n", + " electricity.create_biomass_markets()\n", + " File \"/Users/romain/GitHub/premise/premise/electricity.py\", line 1538, in create_biomass_markets\n", + " suppliers = list(\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/site-packages/wurst/searching.py\", line 19, in \n", + " return lambda x: any(f(x) for f in funcs)\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 125, in worker\n", + " result = (True, func(*args, **kwds))\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/pool.py\", line 51, in starmapstar\n", + " return list(itertools.starmap(args[0], args[1]))\n", + " File \"/Users/romain/GitHub/premise/premise/electricity.py\", line 197, in _update_electricity\n", + " electricity.create_biomass_markets()\n", + " File \"/Users/romain/GitHub/premise/premise/electricity.py\", line 1538, in create_biomass_markets\n", + " suppliers = list(\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/site-packages/wurst/searching.py\", line 19, in \n", + " return lambda x: any(f(x) for f in funcs)\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/site-packages/wurst/searching.py\", line 19, in \n", + " return lambda x: any(f(x) for f in funcs)\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", + " task = get()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", + " with self._rlock:\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", + " return self._semlock.__enter__()\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", + " task = get()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", + " with self._rlock:\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", + " return self._semlock.__enter__()\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", + " task = get()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", + " with self._rlock:\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", + " return self._semlock.__enter__()\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", + " task = get()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", + " with self._rlock:\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", + " return self._semlock.__enter__()\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", + " task = get()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/queues.py\", line 364, in get\n", + " with self._rlock:\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/synchronize.py\", line 95, in __enter__\n", + " return self._semlock.__enter__()\n", + "KeyboardInterrupt\n", + "Traceback (most recent call last):\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/lib/python3.10/multiprocessing/process.py\", line 314, in _bootstrap\n", + " self.run()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/lib/python3.10/multiprocessing/pool.py\", line 114, in worker\n", + " task = get()\n", + " File \"/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/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/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/lib/python3.10/multiprocessing/connection.py\", line 379, in _recv\n", + " chunk = read(handle, remaining)\n", + "KeyboardInterrupt\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Warning: No activities found for Gas ST -- revise mapping.\n", + "Warning: No activities found for Gas ST -- revise mapping.\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[4], line 57\u001b[0m\n\u001b[1;32m 54\u001b[0m \u001b[38;5;28mprint\u001b[39m(ei, source, export)\n\u001b[1;32m 56\u001b[0m \u001b[38;5;66;03m#ndb.update_all()\u001b[39;00m\n\u001b[0;32m---> 57\u001b[0m \u001b[43mndb\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mupdate_electricity\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 58\u001b[0m \u001b[38;5;66;03m#ndb.update_buses()\u001b[39;00m\n\u001b[1;32m 59\u001b[0m \u001b[38;5;66;03m#ndb.update_cars()\u001b[39;00m\n\u001b[1;32m 60\u001b[0m \u001b[38;5;66;03m#ndb.update_trucks()\u001b[39;00m\n\u001b[1;32m 61\u001b[0m \u001b[38;5;66;03m#ndb.update_two_wheelers()\u001b[39;00m\n\u001b[1;32m 64\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/ecoinvent_modification.py:858\u001b[0m, in \u001b[0;36mNewDatabase.update_electricity\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 847\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 848\u001b[0m args \u001b[38;5;241m=\u001b[39m [\n\u001b[1;32m 849\u001b[0m (\n\u001b[1;32m 850\u001b[0m scenario,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 856\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 857\u001b[0m ]\n\u001b[0;32m--> 858\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_electricity\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 860\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 861\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscenarios[s] \u001b[38;5;241m=\u001b[39m results[s][\u001b[38;5;241m0\u001b[39m]\n", + "File \u001b[0;32m/opt/homebrew/Caskroom/miniforge/base/envs/premise/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/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/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/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/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: " ] } ], @@ -1710,8 +2363,8 @@ " print(\"#############################################################################################################\")\n", " print(ei, source, export)\n", "\n", - " #ndb.update_all()\n", - " ndb.update_electricity()\n", + " ndb.update_all()\n", + " #ndb.update_electricity()\n", " #ndb.update_buses()\n", " #ndb.update_cars()\n", " #ndb.update_trucks()\n", diff --git a/docs/conf.py b/docs/conf.py index f5ad4890..5c60a295 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ author = "Romain Sacchi, Alois Dirnaichner, Chris Mutel" # The full version, including alpha/beta/rc tags -release = "1.5.0-alpha" +release = "1.7.2" # -- General configuration --------------------------------------------------- @@ -41,21 +41,23 @@ autodoc_mock_imports = [ "numpy", - "wurst==0.3.3", - "bw2io==0.8.7", "pandas", + "bw2io >=0.8.10", "bw2data", + "wurst", "xarray", "prettytable", "pycountry", "cryptography", "premise_gwp", "pyYaml", - "sparse", + "sparse>=0.14.0", "schema", "datapackage", "requests", "bottleneck", + "constructive_geometries>=0.8.2", + "pyarrow", "premise", ]