OptiPlant can be used to model and optimize Power-to-X fuel production systems with a high variety of customizable input parameters. The tool is adapted to investigate a large number of scenarios and system configurations in a single run. Please cite https://doi.org/10.1016/j.rser.2022.113057 when using the model.
If you are already familiar with GitHub, environments, etc... you can basically follow these steps:
- Fork the repository (including this branch)
- Clone the repository to your local machine
- Open in VS Code
- Setup Julia Environment
Though, for more detailed instructions and avoid failed installations, it is recommended to read the documentation: https://njbca.github.io/OptiPlant/dev/installation/
- In VSCode, in the open the
Run.jlfile from theexamplesfolder. - If Gurobi is not installed, make sure that the selected solver is
"HiGHS" - Execute the code (little arrow top left).
No errors? Great! A result folder full of interesting csv files should have appeared. You can now start using the tool for more useful stuff.
Most of the tool parameter setting, scenario selection, etc... happens in the excel files in the data folder.
To start your own project, copy one of the existing data folder (the example one typically), rename it, and then change the excel files to your convenience.
In the Run.jlfile change the datafoldername and techno_eco_filename to yours.
Run and check your results in the results folder.
More detailed explanations are given in the documentation: https://njbca.github.io/OptiPlant/dev/userguide/
A data analysis dashboard is currently under development and will be released soon (a provisory working version is available on the DevDashboards branch).
In the meantime you can use the result excel file coming with the package (Results_general.xlsm) or use your own analysis method.