Package: edgeTransport 2.3.0

Johanna Hoppe

edgeTransport: Prepare EDGE Transport Data for the REMIND model

EDGE-T is a fork of the GCAM transport module https://jgcri.github.io/gcam-doc/energy.html#transportation with a high level of detail in its representation of technological and modal options. It is a partial equilibrium model with a nested multinomial logit structure and relies on the modified logit formulation. Most of the sources are not publicly available. PIK-internal users can find the sources in the distributed file system in the folder `/p/projects/rd3mod/inputdata/sources/EDGE-Transport-Standalone`.

Authors:Johanna Hoppe [aut, cre], Alois Dirnaichner [aut], Marianna Rottoli [aut], Jarusch Muessel [aut]

edgeTransport_2.3.0.tar.gz
edgeTransport_2.3.0.zip(r-4.5)edgeTransport_2.3.0.zip(r-4.4)edgeTransport_2.3.0.zip(r-4.3)
edgeTransport_2.3.0.tgz(r-4.4-any)edgeTransport_2.3.0.tgz(r-4.3-any)
edgeTransport_2.3.0.tar.gz(r-4.5-noble)edgeTransport_2.3.0.tar.gz(r-4.4-noble)
edgeTransport_2.3.0.tgz(r-4.4-emscripten)edgeTransport_2.3.0.tgz(r-4.3-emscripten)
edgeTransport.pdf |edgeTransport.html
edgeTransport/json (API)

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

Peer review:

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

On CRAN:

23 exports 5 stars 2.42 score 205 dependencies 2 dependents 16 scripts

Last updated 6 days agofrom:9a9882e028. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 02 2024
R-4.5-winNOTESep 02 2024
R-4.5-linuxNOTESep 02 2024
R-4.4-winNOTESep 02 2024
R-4.4-macNOTESep 02 2024
R-4.3-winNOTESep 02 2024
R-4.3-macNOTESep 02 2024

Exports:calcEdgeTransportSAcalculateSharescheckForNAsDupscsv2RDSgetFilterEntriesUnivocalNameiterativeEdgeTransporttoolApplyICEbanOnPreferencestoolApplyMixedTimeRestoolCalculateFleetCompositiontoolCalculateFS3sharetoolCheckAllLevelsCompletetoolDemandRegressiontoolDiscreteChoicetoolEdgeTransportSAtoolLoadDecisionTreetoolLoadInputstoolLoadIterativeInputstoolLoadREMINDesDemandtoolNormalizePreferencestoolOrderandChecktoolPrepareScenInputDatatoolTraverseDecisionTreetoolUpdateEndogenousCosts

Dependencies:abindaskpassassertrbackportsbase64encbitbit64brewbriobslibcachemcallrcellrangercheckmatecitationclicliprclustercodetoolscollectionscolorspacecommonmarkcountrycodecpp11crayoncredentialscrosstalkcurlcyclocompdata.tabledescdevtoolsdiffobjdigestdotCall64downlitdplyrellipsisevaluatefansifarverfastmapfilelockfontawesomeforcatsforeignFormulafsgamstransfergdxgdx2gdxdtgdxrrwgenericsgeometrygertggplot2ghgitcredsgluegmsgridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetshttpuvhttrhttr2igraphiniisobandjquerylibjsonlitekableExtraKernSmoothknitrlabelinglaterlatticelazyevallifecyclelinproglintrlpSolvelubridatelucode2luplotluscalelusweavemadratmagclassmagicmagpie4magpiesetsmagrittrMASSMatrixmemoisemgcvmimeminiUImipmrtransportmstoolsmunsellnlmennetnonparaeffopensslopenxlsxpiamInterfacespiamPlotComparisonpiamutilspillarpkgbuildpkgconfigpkgdownpkgloadplotlyplyrpraiseprettyunitsprocessxprofvisprogresspromisespspurrrqualVquitteR.methodsS3R.ooR.utilsR6raggrappdirsrcmdcheckRColorBrewerRcppRcppProgressreadrreadxlrematchrematch2remind2remotesremulatorrenvreporttransportreshape2rexrlangrmarkdownrmndtrootSolveroxygen2rpartrprojrootrstudioapirversionssassscalessessioninfoshinysourcetoolsspamstringistringrsvglitesyssystemfontstestthattextshapingtibbletidyrtidyselecttimechangetinytextrafficlighttzdburlcheckerusethisutf8vctrsviridisviridisLitevroomwaldowhiskerwhoamiwithrwritexlxfunxml2xmlparsedataxopenxtableyamlymlthiszipzoo

EnergyDemandGenerator-Transport Model (EDGE-T)

Rendered fromEDGEtransport.Rmdusingknitr::rmarkdownon Sep 02 2024.

Last update: 2024-07-18
Started: 2020-09-25

Readme and manuals

Help Manual

Help pageTopics
Generate EDGE-Transport Input Data for the REMIND model, madrat interface.calcEdgeTransportSA
Calculate shares based on discrete choice model.calculateShares
Check a data.table for NAs and duplicates and throw an error if neededcheckForNAsDups
Creates RDS files for iterative REMIND-EDGE runs from csv input files. Existing files are overwritten silently. Does not return anything.csv2RDS
List associated univocalNames for any entry of the decision treegetFilterEntriesUnivocalName
EDGE-Transport iterativeiterativeEdgeTransport
Apply ICE ban on vehicle types that feature preference factorstoolApplyICEbanOnPreferences
toolApplyMixedTimeRestoolApplyMixedTimeRes
Apply scenario specific adjustments to the preference trendstoolApplyScenPrefTrends
Apply demand scenario specific adjustments to the energy intensitytoolApplyScenSpecEnInt
Apply demand scenario specific adjustments to the load FactortoolApplyScenSpecLoadFactor
Calculate annuity for different vehicle typestoolCalculateAnnuity
Calculate composition of the fleettoolCalculateFleetComposition
toolCalculateFS3sharetoolCalculateFS3share
Apply regional differences for inconvenience cost start values based on ICE cost differencestoolCalculateInitialIncoCost
Calculate vehicle depreciation factors for fleet trackingtoolCalculateVehicleDepreciationFactors
Calibrate the logit share weights to historical data.toolCalibrateHistPrefs
toolCheckAllLevelsCompletetoolCheckAllLevelsComplete
Function that converts CAPEX and OPEX into US$2005/(p|t)km and provides them combined in a structured formattoolCombineCAPEXandOPEX
Energy service demand projectiontoolDemandRegression
Calculate vehicle sales shares and mode shares for all levels of the decisionTree.toolDiscreteChoice
Energy Demand Generator (EDGE)- Transport ModeltoolEdgeTransportSA
Read and build the complete structure of the edgeTransport decision treetoolLoadDecisionTree
Load all inputs that are required to run the modeltoolLoadInputs
Load iterative inputstoolLoadIterativeInputs
Load GDP and Population data from mrdriverstoolLoadmrdriversData
Load data from mrremindtoolLoadmrremindData
Load input data from the mrtransport packagetoolLoadmrtransportData
Load input data from the edgeTransport package and choose data according to SSP and transport policy scenariotoolLoadPackageData
Load REMIND energy service demandtoolLoadREMINDesDemand
Load fuel prices from a REMIND fulldata.gdx in [US$2005/MJ] and map them on to the edgeTransport decision tree. The output is provided in the same spatial resolution as the transferred gdx file and the temporal resolution is set according to the param yrs.toolLoadREMINDfuelCosts
Normalize preferences so that the maximum in each branch of the decision tree equals 1toolNormalizePreferences
toolOrderandChecktoolOrderandCheck
Format all cost componentstoolPrepareDataEndogenousCosts
Apply transport scenario specific adjustments to input datatoolPrepareScenInputData
Calculate data for the next higher level of the decision tree.toolTraverseDecisionTree
toolUpdateEndogenousCoststoolUpdateEndogenousCosts