OnSSET is a model for electrification planning developed by the KTH School of Industrial Engineering and Management, Division of Energy Systems. This automation makes it easier to generate batch reports using the CrossCompute Analytics Automation Framework.
sudo dnf -y install python3.10
# sudo apt -y install python3.10
python3 -m venv ~/.virtualenvs/crosscompute
source ~/.virtualenvs/crosscompute/bin/activate
pip install --upgrade \
crosscompute>=0.9.4 \
crosscompute-views-map>=0.2.0
cd ~/Documents
git clone https://github.com/crosscompute/onsset-automation
cd onsset-automation
bash setup.sh
export MAPBOX_TOKEN=YOUR-MAPBOX-TOKEN
crosscompute
First, create the batch folders.
cp -r batches/djibouti batches/lesotho
libreoffice batches/lesotho/scenario-info.csv
libreoffice batches/lesotho/scenario-parameters.csv
libreoffice batches/lesotho/specs-data.csv
libreoffice batches/lesotho/settlements.csv
Then, update the configuration file.
vim automate.yaml
batches:
- name: Djibouti
folder: batches/djibouti
- name: Lesotho
folder: batches/lesotho