Running Modeling to Generate Alternatives with GenX
GenX includes a modeling to generate alternatives (MGA) package that can be used to automatically enumerate a diverse set of near cost-optimal solutions to electricity system planning problems. To use the MGA algorithm, user will need to perform the following tasks:
- Add a
Resource_Typecolumn in all the resource.csvfiles denoting the type of each technology. - Add a
MGAcolumn in all the resource.csvfiles denoting the availability of the technology. - Set the
ModelingToGenerateAlternativesflag in thegenx_settings.ymlfile to 1. - Set the
ModelingtoGenerateAlternativeSlackflag in thegenx_settings.ymlfile to the desirable level of slack. - Set the
ModelingToGenerateAlternativesIterationsflag to half the total number of desired solutions, as each iteration provides 2 solutions. - Set the
MGAAnnualGenerationflag in thegenx_settings.ymlfile to the desired MGA formulation. - Solve the model using
Run.jlfile.
Results from the MGA algorithm would be saved in MGA_max and MGA_min folders in the case folder.