On October 20th, the NC State University Libraries is hosting an Energy Week presentation on Energy Systems Modeling with High Performance Computing Resources. (See the following regstration link.)
In this presentation, Dr. Joseph DeCarolis, Professor in the Department of Construction, Civil, and Environmental Engineering at NC State, will highlight ongoing work using Tools for Energy Model Optimization and Analysis (Temoa), an open source energy system optimization model developed at NC State that is designed to conduct rigorous uncertainty analysis and make use of high-performance computing resources.
HPC users can try Temoa for themselves on the Henry2 cluster, following these instructions.
Copy from HPC:
cdto the Temoa directory:
cd /share/$GROUP/$USER cp /usr/local/usrapps/solvers/temoa.tar . tar -xvf temoa.tar cd temoa
cd /usr/local/usrapps/$GROUP/ git clone https://github.com/TemoaProject/temoa/ cd temoaUsing
git clonegives the latest version. Starting from the latest stable (tagged) version is generally a best practice for a basic user.
git tag git checkout v1.6.0
conda activate /usr/local/usrapps/solvers/temoa/env_1.6.0To exit the Temoa environment, do
To run Temoa, use this Video Tutorial on Running Temoa from the Command Line. Please watch the video, as Temoa is described in the video, but this page only contains the commands needed to run on HPC. See also the official documentation on running Temoa.
The most notable difference between using the Video Tutorial and using HPC is that you must request an interactive session so that Temoa is not running on a login node. The other two differences are that the example will not use CPLEX on HPC, and some of the directories have alternate names.
Request an interactive session that uses 1 core on a compute node for 20 minutes. Set the environment for the interactive session.
bsub -Is -n 1 -W 20 tcsh conda activate /usr/local/usrapps/solvers/temoa/env_1.6.0
To run the test, do
python temoa_model/ data_files/utopia-15.dat [you will be prompted to press enter]The output should approximately match with the video.
That's it! To exit the interactive session, type