Package: remind2 1.162.1

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], 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.162.1.tar.gz
remind2_1.162.1.zip(r-4.5)remind2_1.162.1.zip(r-4.4)remind2_1.162.1.zip(r-4.3)
remind2_1.162.1.tgz(r-4.4-any)remind2_1.162.1.tgz(r-4.3-any)
remind2_1.162.1.tar.gz(r-4.5-noble)remind2_1.162.1.tar.gz(r-4.4-noble)
remind2_1.160.0.tgz(r-4.4-emscripten)remind2_1.162.1.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'))

Peer review:

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

On CRAN:

8.85 score 5 packages 156 scripts 78 exports 199 dependencies

Last updated 4 days agofrom:6fe85c5275. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 18 2024
R-4.5-winNOTEDec 18 2024
R-4.5-linuxNOTEDec 18 2024
R-4.4-winOKDec 18 2024
R-4.4-macOKDec 18 2024
R-4.3-winOKDec 18 2024
R-4.3-macOKDec 18 2024

Exports:calc_CES_marginalscalc_regionSubset_sumscalcNetTradecalcNetTradeValuecalcPricecheckVsCalibDatacolorScenConfcompareCalibrationTargetscompareScenarios2compareScenConfconvGDX2CSV_LCOEconvGDX2MIFconvGDX2MIF_LCOEconvGDX2MIF_REMIND2MAgPIEcreateVarListHtmldeletePlusgdx.copyget_total_efficienciesgetCfgDefaultPathgetCfgScenPathgetCs2ProfilesgetMifHistPathgetMifScenPathgetRunsMIFGDXloadCs2DataloadModeltestnashAnalysisplotLCOEplotNashConvergenceread.reportEntryreadAllreadAllReportingMIFinFolderreadConsumptionreadCurrentAccountreadEmissionsreadEnergyInvestmentsreadFEreadFuelexreadFuelSupplyCostsreadGDPMERreadInvestmentsNonESMreadNonEnergyAbatementCostsreadOandMcostsreadPopulationreadPVPreadReportingMIFreadSupplycurveBioreadTimeStepWeightreadTradereportCapacityreportCapitalStockreportClimatereportCostsreportCrossVariablesreportDIETERreportEmireportEmiAirPolreportEmiForClimateAssessmentreportEmploymentreportEnergyInvestmentreportExtractionreportFEreportLCOEreportMacroEconomyreportMOFEXreportPEreportPolicyCostsreportPricesreportSDPVariablesreportSEreportTaxreportTechnologyreportTraderunEmploymentswitchValuesScenConftest_rangestoolRegionSubsetsvariablesAsList

Dependencies:abindaskpassassertrbackportsbase64encbitbit64brewbriobslibcachemcallrcellrangercheckmatecitationclicliprclustercodetoolscollectionscolorspacecommonmarkcountrycodecpp11crayoncredentialscrosstalkcurlcyclocompdata.tabledescdevtoolsdiffobjdigestdotCall64downlitdplyrellipsisevaluatefansifarverfastmapfilelockfontawesomeforcatsforeignFormulafsgamstransferGDPucgdxgdx2gdxrrwgenericsgeometrygertggplot2ghgitcredsgluegmsgridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetshttpuvhttrhttr2igraphiniisobandjquerylibjsonlitekableExtraKernSmoothknitrlabelinglaterlatticelazyevallifecyclelinproglintrlpSolvelubridatelucode2luplotluscalelusweavemadratmagclassmagicmagpie4magpiesetsmagrittrMASSMatrixmemoisemgcvmimeminiUImipmstoolsmunsellnlmennetnonparaeffopensslopenxlsxpiamInterfacespiamPlotComparisonpiamutilspillarpkgbuildpkgconfigpkgdownpkgloadplotlyplyrpraiseprettyunitsprocessxprofvisprogresspromisespspurrrqualVquitteR.methodsS3R.ooR.utilsR6raggrappdirsrcmdcheckRColorBrewerRcppRcppProgressreadrreadxlrematchremotesremulatorrenvreshape2rexrlangrmarkdownroxygen2rpartrprojrootrstudioapirversionssassscalessessioninfoshinysourcetoolsspamstringistringrsvglitesyssystemfontstestthattextshapingtibbletidyrtidyselecttimechangetinytextrafficlighttzdburlcheckerusethisutf8vctrsviridisviridisLitevroomwaldowhiskerwhoamiwithrwritexlxfunxml2xmlparsedataxopenxtableyamlymlthiszipzoo

Adding plots to the REMIND_summary.pdf

Rendered fromremind_summary.Rmdusingknitr::rmarkdownon Dec 18 2024.

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

compareScenarios in remind2

Rendered fromcompareScenariosRemind2.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-04-30
Started: 2024-04-30

remind2 reporting

Rendered fromremind2_reporting.Rmdusingknitr::rmarkdownon Dec 18 2024.

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
Calculate net trade from GDX filecalcNetTrade
Calculate monetary value of trade in primary energy from GDX filecalcNetTradeValue
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.cfgcompareScenConf
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
function for copying REMIND GDX filesgdx.copy
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
Reads in all valid MIF reporting files in a folderreadAllReportingMIFinFolder
Read Consumption from GDX filereadConsumption
Read Current Account from GDX filereadCurrentAccount
Read Emissions from GDX filereadEmissions
Read Energy Investments from GDX filereadEnergyInvestments
Read final energy from GDX filereadFE
Read Fuelex from GDX filereadFuelex
Read Fuel supply costs from GDX filereadFuelSupplyCosts
Read GDP|MER from GDX filereadGDPMER
Read Investments|Non-ESM from GDX filereadInvestmentsNonESM
Read non-Energy Abatement costs from GDX filereadNonEnergyAbatementCosts
Read OandM costs from GDX filereadOandMcosts
Read Population from GDX filereadPopulation
Read PVP ("Present value price") from GDX filereadPVP
Reads in a valid MIF (or CSV) reporting filereadReportingMIF
Read bioenergy supplycurve from GDXreadSupplycurveBio
Read Time Step Weight from GDX filereadTimeStepWeight
Read Trade from GDX filereadTrade
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
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
Computes the employment values (jobs) across different sectorsrunEmployment
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