Package: mrindustry 1.1.6

Falk Benke

mrindustry: input data generation for the REMIND industry module

The mrindustry packages contains data preprocessing for the REMIND model.

Authors:Falk Benke [aut, cre], Jakob Dürrwächter [aut], Renato Rodrigues [aut], Simón Moreno-Leiva [aut], Lavinia Baumstark [aut], Michaja Pehl [aut], Bennet Weiss [aut]

mrindustry_1.1.6.tar.gz
mrindustry_1.1.6.zip(r-4.7)mrindustry_1.1.6.zip(r-4.6)mrindustry_1.1.6.zip(r-4.5)
mrindustry_1.1.6.tgz(r-4.6-any)mrindustry_1.1.6.tgz(r-4.5-any)
mrindustry_1.1.6.tar.gz(r-4.7-any)mrindustry_1.1.6.tar.gz(r-4.6-any)
mrindustry_1.1.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
mrindustry/json (API)

# Install 'mrindustry' in R:
install.packages('mrindustry', repos = c('https://pik-piam.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pik-piam/mrindustry/issues

On CRAN:

Conda:

5.16 score 2 packages 30 exports 147 dependencies

Last updated from:b402f8ca87. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING241
source / vignettesOK353
linux-release-x86_64WARNING241
macos-release-arm64WARNING176
macos-oldrel-arm64WARNING194
windows-develWARNING167
windows-releaseWARNING175
windows-oldrelWARNING163
wasm-releaseOK172

Exports:calcCementcalcCementSharecalcChemicalFeedstocksSharecalcClinkerToCementRatiocalcEmissionFactorsFeedstockscalcIndustry_CCS_limitscalcIndustry_EEKcalcindustry_max_secondary_steel_sharecalcindustry_specific_FE_limitscalcindustry_subsectors_specificcalcIndustry_Value_AddedcalcODYM_RECCcalcSteel_ProjectionscalcUNIDOconvertADVANCE_WP2convertMuellerconvertUNIDOconvertUSGSreadADVANCE_WP2readIEA_WEIO_2014readindustry_subsectors_specificreadMuellerreadODYM_RECCreadPauliukreadUNIDOreadUSGSreadvanRuijven2016readworldsteeltool_expand_tibbletool_fix_IEA_data_for_Industry_subsectors

Dependencies:abindassertrbackportsbase64encbitbit64bootbroombslibcachemcallrcarcarDatacellrangercheckmateclicliprclustercollectionscolorspacecountrycodecowplotcpp11crayondata.tableDerivdescdigestdoBydplyrevaluatefarverfastmapfilelockfontawesomeforcatsforecastforeignFormulafracdifffsgamstransferGDPucgenericsggplot2gluegmsgridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetsigraphisobandjquerylibjsonliteknitrlabelinglatticelazyevallifecyclelme4lmtestlubridatemadratmagclassmagpiesetsmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamintymodelrmrdriversnlmenloptrnnetnumDerivpbkrtestpillarpkgbuildpkgconfigpkgloadplyrprettyunitsprocessxprogresspspurrrquantregquitteR.methodsS3R.ooR.utilsR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreadODSreadrreadxlreformulasrematchrenvreshape2rlangrmarkdownrpartrprojrootrstudioapiS7sassscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetinytextzdburcautf8vctrsviridisLitevroomwithrwritexlxfunyamlzipzoo

Readme and manuals

Help Manual

Help pageTopics
Calculates chemical energy demand from 2005 to 2020 from chemical production per route (AllChemicalRoutes_2005to2020) and specific energy consumption for the different routes (retrieved from IEA_PetrochemEI and other literature sources). The energy demand for OtherChem is calculated as the remaining share of total chemical industry energy demand. Results are aggregated to the country level.calcAllChemicalEnergyDemand_2005to2020
Extrapolates Chemical Flows from 2020 to 2005-2020 based on total chemical UE in 2005-2020 and assuming constant UE shares of the final chemical flows; intermediate ammonia and methanol flows are calculated from the final flows and ammonia-to-fertilizer and methanol-to-hvc ratios. Flows are aggregated to the country level.calcAllChemicalFlows_2005to2020
Calculates mat2ue conversion factors of ammoFinal, methFinal, HVC and fertilizer for 2020-2150 based on the mat2ue conversion factors in 2020 and the projected relative increases in production (IEA The Future of Petrochemicals) and total chemical UE (FeDemandIndustry)calcAllChemicalMat2Ue_2020to2150
Calculates chemical route flows (including OtherChem) from 2005 to 2020 from total chemical flows based on 2020 route shares. Flows are aggregated to the country level.calcAllChemicalRoutes_2005to2020
Filters chemical route flows from calcAllChemicalRoutes_2005to2020 for the year 2020 can be removed if calcAllChemicalRoutes_2005to2020 is read into REMINDcalcAllChemicalRoutes_2020
Calculates chemical energy demand from 2005 to 2020 from chemical production per route (AllChemicalRoutes_2005to2020) and specific energy consumption for the different routes (retrieved from IEA_PetrochemEI and other literature sources). The energy demand for OtherChem is calculated as the remaining share of total chemical industry energy demand. Results are aggregated to the country level.calcAllChemicalSpecFeDemand_2005to2020
Calculates UE shares for all chemicals (including OtherChem) in 2020 from final product flows (methFinal, ammoFinal, HVC, fertilizer), material prices (mat2ue) and the total UE of chemicals (from FeDemandIndustry). Shares are aggregated to the country level.calcAllChemicalUeShares_2020
Calculates shares of ammoFinal, methFinal, HVC, fertilizer and OtherChem of total chemical UE for 2020-2150 based on the UE shares in 2020 and the projected relative increases in production (IEA The Future of Petrochemicals) and total chemical UE (FeDemandIndustry)calcAllChemicalUeShares_2020to2150
Calculates ammonia production volumes per production route in Mt for 2015-2020 based on IFA total ammonia production volumes (2015-2020) and shares for different ammonia production routes from IEA (2020 and 2017) and China specific data (2020)calcAmmoniaRoute
Calculate Historic Cement ProductioncalcCement
Calculate Cement Share in NONMET FE UsecalcCementShare
Calculate Chemical Feedstock share projectionscalcChemicalFeedstocksShare
Aggregates chemical flow data in 2020 from calcAllChemicalRoutes_2020into broader categories based on their outputs (ammonia, methanol, HVC, fertilizer and final ammonia/methanol).calcChemicalFlows_2020
Joins magpie objects with ammonia, methanol, HVC (Mt) and fertilizer production routes (MtN), calculates ammonia and methanol final routes (Mt that are not used for HVC/fertilizer production), converts from Mt to Gt and returns magpie object for year 2020.calcChemicalRoutes_2020
Calculate Total Chemical Energy consumption from IEA energy balances (Energy use + Feedstocks)calcChemicalTotal
Retrieve Methanol capacity, Production and consumption data in China from ChinaBaogao (Chinese business website that publishes industry analyses.)calcChinaBaogao
Calculate Clinker-to-Cement RatiocalcClinkerToCementRatio
Calculate emission factors for feedstocks in the chemicals industry using emissions from UNFCCC and energy demands from IEA Energy BalancescalcEmissionFactorsFeedstocks
Calculate Energy Balances Output to Industry Additional corrections are applied to the IEA data in [`mrindustry::tool_fix_IEA_data_for_Industry_subsectors`].calcEnergyBalancesOutputToIndustry
Calculates FE demand in industry as REMIND variablescalcFeDemandIndustry
Calculates the total fertilizer production (MtN, as the sum of urea, AN, CAN and AS) per country and the fraction of ammonia production (MtN/MtN) used for fertilizer production based on IFA data.calcFertilizerRoute
Calculate historical basic material production data for steel (Worldsteel) and cement (USGS)calcHistoricalBasicMaterialProduction
Calculate Steel Stock from Mueller steel stock per capita and WDI populationcalcHistoricalSteelStock
Calculates HVC production volumes per production route in Mt for 2015-2020 based on IEA The Future of Petrochemicals (2018)calcHVCRoute
Read-in IEA Ammonia Technology Roadmap 2021 Fig 2.9 Ammonia production by process route and scenario in major ammonia producing regions data as a magclass object.calcIEA_Ammonia
Read-in IEA The Future of Petrochemicals 2018 data from several figures (e.g., "Fig 4.1 Petrochem Production", "Fig A.1 Petrochem Prod Region", "Fig 4.5 Petrochem Feedstock", "Fig 4.9 Petro Prod Route RTS", "Fig 5.10 Petro Prod Route CTS") as a MagPIE object.calcIEA_Petrochem
Retrieve specific energy consumption (SEC) for the production of key chemicals (2006) from IEA Information Paper Chemical and Petrochemical Sector 2009 (Table 12)calcIEA_PetrochemEI
Retrieve IFA (International fertilizer Association) data containing production, consumption, export and import volumes as well as capacities for ammonia and urea.calcIFA_Chem
Retrieves IFA (International fertilizer Association) data containing production volumes and/or capacities for ammonium nitrate (AN), ammonium sulphate (AS), calcium ammonium nitrate (CAN) and urea ammonium nitrate (UAN).calcIFA_ChemAppend
Retrieve methanol production, capacity and demand data for 2018 from 9TH RUSSIA & CIS OIL & GAS EXECUTIVE SUMMIT 2019 METHANOL, optionally the 2018 data is interpolated to 2010-2020 based on temporal coverage of Methanol capacities 2010-2020 from IHS MarkitcalcIHS_Meth
Calculate Limits on Industry CCS CapacitiescalcIndustry_CCS_limits
Industry Energy Efficiency CapitalcalcIndustry_EEK
Calculate Maximum Secondary Steel Production Sharecalcindustry_max_secondary_steel_share
Thermodynamic Limits for Industry Specific FE Demandcalcindustry_specific_FE_limits
Function for calculating industry activity trajectories.calcIndustry_Value_Added
Calculate different feedstocks for the chemical sector from IEA energy balancescalcIndustryFE
Calculates methanol production volumes per production route in Mt for 2015-2020 based on methanol production volumes (Argus 2018 data, extrapolated to 2015-2020 based on IHS data, and China specific data 2015-2020) and shares for different methanol production routes from IEA (2017) and China specific data (2020)calcMethanolRoute
Read-in MMSA Global Methanol Outlook 2023 Growth and Decarbonization data containing regional methanol capacities and demands.calcMMSA_Methanol
Read-in RMI (Rocky Mountain Institute) "Transforming China Chemicals Industry Pathways and Outlook under the Carbon Neutrality Goal 2022.xlsx" data from either "ES1-3 China Chemical Demand" or "ES29 China Chemical Structure" sheets as a magclass object. Data contains chemical demand projections 2020-2050 for ammonia, methanol and ethylene and the feedstock structure for the production of ammonia, methanol and ethylene in the zero-carbon scenario.calcRMI_China
Function for calculating industry activity trajectories.calcSteel_Projections
Convert ADVANCE WP2 DataconvertADVANCE_WP2
Convert ChinaBaogaoconvertChinaBaogao
Convert IEA_AmmoniaconvertIEA_Ammonia
Convert IEA_PetrochemconvertIEA_Petrochem
Convert IEA_PetrochemEIconvertIEA_PetrochemEI
Convert IFA_ChemconvertIFA_Chem
Convert IFA_ChemconvertIFA_ChemAppend
Convert IHS_MethconvertIHS_Meth
Convert MMSA_MethanolconvertMMSA_Methanol
Convert Mueller dataconvertMueller
Convert RMI_ChinaconvertRMI_China
convertStegmann2022convertStegmann2022
Read ADVANCE WP2 DatareadADVANCE_WP2
Read ChinaBaogaoreadChinaBaogao
Read IEA_AmmoniareadIEA_Ammonia
Read IEA_PetrochemreadIEA_Petrochem
Read-in specific energy consumption (SEC) for the production of key chemicals (2006) from IEA Information Paper Chemical and Petrochemical Sector 2009 (Table 12)readIEA_PetrochemEI
IEA World Energy Investment Outlook (2014)readIEA_WEIO_2014
Read IFAreadIFA_Chem
Read IFAreadIFA_ChemAppend
Read IHS_MethreadIHS_Meth
industry/subsector change factorscalcindustry_subsectors_specific readindustry_subsectors_specific
Read MMSA_MethanolreadMMSA_Methanol
Read Müller et al. 2013 data.readMueller
Read ODYM_RECC data from the SHAPE ProjectcalcODYM_RECC readODYM_RECC
Read Pauliuk et al. 2013 datareadPauliuk
Read RMI_ChinareadRMI_China
Read PlasticsEoLreadStegmann2022
UNIDO datacalcUNIDO convertUNIDO readUNIDO
Read U.S. Geological Survey dataconvertUSGS readUSGS
Read van Ruijven et al. (2016) data.readvanRuijven2016
Read World Steel Statistical Yearbook Datareadworldsteel
Expand tibble across scenarios and regions with default valuestool_expand_tibble
Apply adjustments to industry-related IEA datatool_fix_IEA_data_for_Industry_subsectors
convergence year and level (relative to global average) to which per-capita cement demand converges (Michaja Pehl)toolGetCementConvergenceParameters
Steel production estimates (Michaja Pehl)toolGetExpertGuessSteelProduction
Maximum share of secondary steel production in total steel production and years between which a linear convergence from historic to target shares is to be applied. (Michaja Pehl)toolGetSecondarySteelShare