Package: edgeTransport 2.9.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.9.0.tar.gz
edgeTransport_2.9.0.zip(r-4.5)edgeTransport_2.9.0.zip(r-4.4)edgeTransport_2.9.0.zip(r-4.3)
edgeTransport_2.9.0.tgz(r-4.4-any)edgeTransport_2.9.0.tgz(r-4.3-any)
edgeTransport_2.9.0.tar.gz(r-4.5-noble)edgeTransport_2.9.0.tar.gz(r-4.4-noble)
edgeTransport_2.8.4.tgz(r-4.4-emscripten)edgeTransport_2.9.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:

6.66 score 5 stars 2 packages 14 scripts 27 exports 206 dependencies

Last updated 8 days agofrom:961e273e52. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-winNOTENov 13 2024
R-4.5-linuxNOTENov 13 2024
R-4.4-winNOTENov 13 2024
R-4.4-macNOTENov 13 2024
R-4.3-winNOTENov 13 2024
R-4.3-macNOTENov 13 2024

Exports:calcEdgeTransportSAcalculateSharescheckForNAsDupscsv2RDSgetFilterEntriesUnivocalNameiterativeEdgeTransporttoolApplyICEbanOnPreferencestoolApplyMixedTimeRestoolCalculateFleetCompositiontoolCalculateFS3sharetoolCalculateFVdemandtoolCalculateVehicleDepreciationFactorstoolCheckAllLevelsCompletetoolDemandRegressiontoolDiscreteChoicetoolEdgeTransportSAtoolLoadDecisionTreetoolLoadInputstoolLoadIterativeInputstoolLoadREMINDesDemandtoolLoadREMINDfuelCoststoolNormalizePreferencestoolOrderandChecktoolPrepareDataEndogenousCoststoolPrepareScenInputDatatoolTraverseDecisionTreetoolUpdateEndogenousCosts

Dependencies:abindaskpassassertrbackportsbase64encbitbit64brewbriobslibcachemcallrcellrangercheckmatecitationclicliprclustercodetoolscollectionscolorspacecommonmarkcountrycodecpp11crayoncredentialscrosstalkcurlcyclocompdata.tabledescdevtoolsdiffobjdigestdotCall64downlitdplyrellipsisevaluatefansifarverfastmapfilelockfontawesomeforcatsforeignFormulafsgamstransferGDPucgdxgdx2gdxdtgdxrrwgenericsgeometrygertggplot2ghgitcredsgluegmsgridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetshttpuvhttrhttr2igraphiniisobandjquerylibjsonlitekableExtraKernSmoothknitrlabelinglaterlatticelazyevallifecyclelinproglintrlpSolvelubridatelucode2luplotluscalelusweavemadratmagclassmagicmagpie4magpiesetsmagrittrMASSMatrixmemoisemgcvmimeminiUImipmrdriversmrtransportmstoolsmunsellnlmennetnonparaeffopensslopenxlsxpiamInterfacespiamPlotComparisonpiamutilspillarpkgbuildpkgconfigpkgdownpkgloadplotlyplyrpraiseprettyunitsprocessxprofvisprogresspromisespspurrrqualVquitteR.methodsS3R.ooR.utilsR6raggrappdirsrcmdcheckRColorBrewerRcppRcppProgressreadrreadxlrematchremind2remotesremulatorrenvreporttransportreshape2rexrlangrmarkdownrmndtrootSolveroxygen2rpartrprojrootrstudioapirversionssassscalessessioninfoshinysourcetoolsspamstringistringrsvglitesyssystemfontstestthattextshapingtibbletidyrtidyselecttimechangetinytextrafficlighttzdburlcheckerusethisutf8vctrsviridisviridisLitevroomwaldowhiskerwhoamiwithrwritexlxfunxml2xmlparsedataxopenxtableyamlymlthiszipzoo

EnergyDemandGenerator-Transport Model (EDGE-T)

Rendered fromEDGEtransport.Rmdusingknitr::rmarkdownon Nov 13 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
Calculate eneryg service demand on fuel vehicle leveltoolCalculateFVdemand
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$/(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$/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