Skip to content

We started to incorporate FOM and VOM in the objective function of the optimisation

Notifications You must be signed in to change notification settings

anustg/green-hydrogen-supply-publication

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code was primarily written by Ahmad Mojiri, for the HILTCRC project HILT.RP2.001 "Green hydrogen supply modelling for industry".

Running stand-alone via Jupyter

Add instructions here.

Server-based installation

To install the Dash-based GUI for this project on a new server or virtual machine, using the following steps:

  1. Install needed system packages:

    sudo apt install htop byobu apache2 libapache2-mod-wsgi-py3 git man minizinc python3-pip
    
  2. Install needed python packages (for the root user)

    sudo pip3 install dash pandas
    
  3. Install NREL's System Advisor Model, version 2021-12-01

    wget -Osam.run https://sam.nrel.gov/download/version-2021-12-01/65-sam-2020-11-29-for-linux/file.html
    sudo ./sam.run
    

    This will install the files in /opt/SAM/2020-11-29 (there seems to be a problem with the version numbers here!)

  4. Install Minizinc from the official packages (Ubuntu's version may be missing some features)

  5. Edit the file apache2/indust.re.conf to indicate the locations where the repository is located on your machine (we used /srv/indust.re)

  6. Create a symlink to the above file, then enable the site, via

    cd /etc/apache/sites-available
    sudo ln -s /path/to/apache2/indust.re.conf
    sudo a2ensite indust.re
    
  7. Restart apache, systemctl restart apache2

  8. Open the (ServerAlias as listed in apache2/indust.re.conf) site in your browser.

  9. Chek apache2/indust.re.conf for the location of the error log files. In case of the presence of {APACHE_LOG_DIR} in the path to error log file, the location is configured using APACHE_LOG_DIR environment variable, which is defined in /etc/apache2/envvars.

  10. Once you find the full path to the error log file, use tail -f to monitor the errors generated by apache: e.g. sudo tail -f /var/log/apache2$SUFFIX/indust.re-error.log.

About

We started to incorporate FOM and VOM in the objective function of the optimisation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.6%
  • Other 0.4%