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 commodities) cannot include white-spaces or any special characters. This function provides a set of rules to map (or rename) carriers 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

carriers2comm(x)

Arguments

x

string vector with carriers names

Value

string vector with commodity names to use in `energyRt``