Skip to contents

energyRt is using names conversion suitable for several modeling languages (R, GAMS, Python, Julia, GLPK/MathProg), therefore names in sets (such as regions) cannot include white-spaces or any special characters. This function provides a set of rules to map (or rename) buses to universal format, using capital letters (not required) and This is an ad-hoc function for a particular model(s) and project(s). Adjustments might be required in the case of changes in the model(s).#'

Usage

rev_bus2reg(x, num_width = 2, sep = "", map = NULL)

Arguments

map