This repository has an NLP optimization model to scale RES profiles from historical data to future target capacity factor.
An improved version of this methodology is available as a Julia package in the following link: https://github.com/TulipaEnergy/TulipaProfileFitting.jl
- config.toml: configuration file with main parameters to run the model
- constants.jl: constants values in the code
- functions.jl: auxiliary file with the functions is used in the code
- Manifest.toml: file with dependencies for reproducibility
- Project.toml: file with dependencies for reproducibility
- RES-profile-scaling-main.jl: main file to run the model
The input files were generated with the renewables ninja tool. However, any hourly profile following the data format from the renewable ninja is allowed.
The output files include the scaled profiles, a summary file, and a summary plot.
Where:
The objective function minimizes the squared error to the target full load hours, while constraint ensures the new coefficient is positive.