Package: remind2 1.172.0

Renato Rodrigues

remind2: The REMIND R package (2nd generation)

Contains the REMIND-specific routines for data and model output manipulation.

Authors:Renato Rodrigues [aut, cre], Lavinia Baumstark [aut], Falk Benke [aut], Jan Philipp Dietrich [aut], Alois Dirnaichner [aut], Tabea Dorndorf [aut], Jakob Duerrwaechter [aut], Pascal Führlich [aut], Anastasis Giannousakis [aut], Robin Hasse [aut], Jérome Hilaire [aut], David Klein [aut], Johannes Koch [aut], Katarzyna Kowalczyk [aut], Antoine Levesque [aut], Aman Malik [aut], Anne Merfort [aut], Leon Merfort [aut], Simón Morena-Leiva [aut], Michaja Pehl [aut], Robert Pietzcker [aut], Sebastian Rauner [aut], Oliver Richters [aut], Marianna Rottoli [aut], Christof Schötz [aut], Felix Schreyer [aut], Kais Siala [aut], Björn Sörgel [aut], Mike Spahr [aut], Jessica Strefler [aut], Philipp Verpoort [aut], Pascal Weigmann [aut], Tonn Rüter [aut]

remind2_1.172.0.tar.gz
remind2_1.172.0.zip(r-4.5)remind2_1.172.0.zip(r-4.4)remind2_1.172.0.zip(r-4.3)
remind2_1.172.0.tgz(r-4.5-any)remind2_1.172.0.tgz(r-4.4-any)remind2_1.172.0.tgz(r-4.3-any)
remind2_1.172.0.tar.gz(r-4.5-noble)remind2_1.172.0.tar.gz(r-4.4-noble)
remind2_1.172.0.tgz(r-4.4-emscripten)remind2_1.172.0.tgz(r-4.3-emscripten)
remind2.pdf |remind2.html
remind2/json (API)

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

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

On CRAN:

Conda:

8.87 score 5 packages 161 scripts 59 exports 198 dependencies

Last updated 5 days agofrom:e8194a2ad1. Checks:6 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 21 2025
R-4.5-winNOTEMar 21 2025
R-4.5-macNOTEMar 21 2025
R-4.5-linuxNOTEMar 21 2025
R-4.4-winOKMar 21 2025
R-4.4-macOKMar 21 2025
R-4.4-linuxOKMar 21 2025
R-4.3-winOKMar 21 2025
R-4.3-macOKMar 21 2025

Exports:calc_CES_marginalscalc_regionSubset_sumscalcPricecheckVsCalibDatacolorScenConfcompareCalibrationTargetscompareScenarios2compareScenConfconvGDX2CSV_LCOEconvGDX2MIFconvGDX2MIF_LCOEconvGDX2MIF_REMIND2MAgPIEcreateVarListHtmldeletePlusget_total_efficienciesgetCfgDefaultPathgetCfgScenPathgetCs2ProfilesgetMifHistPathgetMifScenPathgetRunsMIFGDXloadCs2DataloadModeltestnashAnalysisplotLCOEplotNashConvergenceread.reportEntryreadAllreadPVPreadSupplycurveBioreportCapacityreportCapitalStockreportClimatereportCostsreportCrossVariablesreportDIETERreportEmireportEmiAirPolreportEmiForClimateAssessmentreportEmiLegacyreportEmploymentreportEnergyInvestmentreportExtractionreportFEreportLCOEreportMacroEconomyreportMOFEXreportPEreportPolicyCostsreportPricesreportSDPVariablesreportSEreportTaxreportTechnologyreportTradeswitchValuesScenConftest_rangestoolRegionSubsetsvariablesAsList

Dependencies:abindaskpassassertrbackportsbase64encbitbit64brewbriobslibcachemcallrcellrangercheckmatecitationclicliprclustercodetoolscollectionscolorspacecommonmarkcountrycodecpp11crayoncredentialscrosstalkcurldata.tabledescdevtoolsdiffobjdigestdotCall64downlitdplyrellipsisevaluatefansifarverfastmapfilelockfontawesomeforcatsforeignFormulafsgamstransferGDPucgdxgdx2gdxrrwgenericsgeometrygertggplot2ghgitcredsgluegmsgridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetshttpuvhttrhttr2igraphiniisobandjquerylibjsonlitekableExtraKernSmoothknitrlabelinglaterlatticelazyevallifecyclelinproglintrlpSolvelubridatelucode2luplotluscalelusweavemadratmagclassmagicmagpie4magpiesetsmagrittrMASSMatrixmemoisemgcvmimeminiUImipmstoolsmunsellnlmennetnonparaeffopensslopenxlsxpiamInterfacespiamPlotComparisonpiamutilspillarpkgbuildpkgconfigpkgdownpkgloadplotlyplyrpraiseprettyunitsprocessxprofvisprogresspromisespspurrrqualVquitteR.methodsS3R.ooR.utilsR6raggrappdirsrcmdcheckRColorBrewerRcppRcppProgressreadrreadxlrematchremotesremulatorrenvreshape2rexrlangrmarkdownroxygen2rpartrprojrootrstudioapirversionssassscalessessioninfoshinysourcetoolsspamstringistringrsvglitesyssystemfontstestthattextshapingtibbletidyrtidyselecttimechangetinytextrafficlighttzdburlcheckerusethisutf8vctrsviridisviridisLitevroomwaldowhiskerwhoamiwithrwritexlxfunxml2xmlparsedataxopenxtableyamlymlthiszipzoo

Adding plots to the REMIND_summary.pdf

Rendered fromremind_summary.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2024-09-26
Started: 2019-08-01

compareScenarios in remind2

Rendered fromcompareScenariosRemind2.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2025-02-20
Started: 2024-04-30

remind2 reporting

Rendered fromremind2_reporting.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2024-03-15
Started: 2022-05-31

Readme and manuals

Help Manual

Help pageTopics
The REMIND R package (2nd generation)remind2-package remind2
Calculate CES Marginalscalc_CES_marginals
Calculate Sums for Region Subsetscalc_regionSubset_sums
Calculates normalized prices of a commoditycalcPrice
Render checkVsCalibDatacheckVsCalibData
take scenario-config*.csv files and produce colorful xlsx file with values from main.gms in first row, identical values in this column in turquoise, and unknown column names in redcolorScenConf
Render compareCalibrationTargetscompareCalibrationTargets
Render CompareScenarios2compareScenarios2
take two REMIND scenario-config*.csv files and print the difference, comparing it to a default.cfg Can also be used for piamInterfaces mapping files with row.names=NULL and expanddata=FALSE.compareScenConf
Read in GDX and write LCOE .csv reportingconvGDX2CSV_LCOE
Read in GDX and write *.mif reportingconvGDX2MIF
Read in GDX and write LCOE .mif reportingconvGDX2MIF_LCOE
Read in GDX and write *.mif short reporting for REMIND-MAgPIE couplingconvGDX2MIF_REMIND2MAgPIE
Create an HTML Document of a Hierarchical List of VariablescreateVarListHtml
dimSumsdimSums
Get CES Total Efficienciesget_total_efficiencies
Get Paths to Certain Files in the REMIND DirectorygetCfgDefaultPath getCfgScenPath getMifHistPath getMifScenPath
Copy fulldata.gdx and mif files from a suite of runs into one folder. This function creates the folder "./data/" in your working directory if such folder does not exist. It will furthermore create a subfolder with the experiment name where the gdx and mif-files will be copied to. Care: If this subfolder is already existing, old files in this subfolder will be overwritten!getRunsMIFGDX
Load compareScenarios DataloadCs2Data
Load Modeltest ResultsloadModeltest
Modify Investment VariablesmodifyInvestmentVariables
Nash AnalysisnashAnalysis
Read in LCOE mif and write LCOE_plots.pdfplotLCOE
Creates a REMIND convergence overviewplotNashConvergence
Read entry in file of report formatread.reportEntry
readAllreadAll
Read PVP ("Present value price") from GDX filereadPVP
Read bioenergy supplycurve from GDXreadSupplycurveBio
Read in GDX and calculate capacities, used in convGDX2MIF.R for the reportingreportCapacity
Read in GDX and calculate capital stocks, used in convGDX2MIF.R for the reportingreportCapitalStock
Read in GDX and extract climate assessment variablesreportClimate
Read in GDX and calculate costs, used in convGDX2MIF.R for the reportingreportCosts
Read in GDX and calculate variables that need variables produced by other report*.R functions, used in convGDX2MIF.R for the reportingreportCrossVariables
Reporting for the coupled DIETER ModelreportDIETER
Read in GDX and calculate emissions, used in convGDX2MIF.R for the reportingreportEmi
Read in GDX and calculate air pollution emissions, used in convGDX2MIF.R for the reportingreportEmiAirPol
Reports emissions & air pollutant values from GDX for climate assessment in between Nash iterations before some of the energy system variables are defined. The report contains only a subset of reported emissions, with the main difference being that Emi|CO2|Energy and Industrial Processes is calculated from the difference between total and LUC emissions. Only global values from this function should be used, as it also skips the subtraction of certain non-regional sources, such as bunkers, from the regional informationreportEmiForClimateAssessment
Read in GDX and calculate emissions, used in convGDX2MIF.R for the reportingreportEmiLegacy
Computes the employment values (jobs) across different sectorsreportEmployment
Read in GDX and calculate prices, used in convGDX2MIF.R for the reportingreportEnergyInvestment
Compute the reporting values of the extraction sectorreportExtraction
Read in GDX and calculate final energy, used in convGDX2MIF.R for the reportingreportFE
Read in GDX and calculate LCOE reporting used in convGDX2MIF_LCOE.reportLCOE
Read in GDX and calculate macro economy values, used in convGDX2MIF.R for the reportingreportMacroEconomy
Calculate and report relevant fossil fuel cost and quantity variables from MOFEX standalone model.reportMOFEX
Read in GDX and calculate primary energy, used in convGDX2MIF.R for the reportingreportPE
Read in GDX and calculate policy costs, used in convGDX2MIF.R for the reportingreportPolicyCosts
Read in GDX and calculate prices, used in convGDX2MIF.R for the reportingreportPrices
Add SDP variables to mif, used in convGDX2MIF.R for the reportingreportSDPVariables
Read in GDX and calculate secondary energy, used in convGDX2MIF.R for the reportingreportSE
Read in GDX and calculate tax, used in convGDX2MIF.R for the reportingreportTax
Read in GDX and calculate technology information, used in convGDX2MIF.R for the reportingreportTechnology
Read in GDX and calculate trade, used in convGDX2MIF.R for the reportingreportTrade
searches all scenario config files of REMIND directory for a switch and prints the occurencesswitchValuesScenConf
Test Ranges on Variables in magpie Objectstest_ranges
toolRegionSubsets Returns a list of parent regions that are equal to a child mapping union of region mappings.toolRegionSubsets
Variable Names as Hierarchical ListvariablesAsList