Main

View or edit on GitHub

This page is synchronized from trase/models/indonesia/shrimp/main.ipynb. Last modified on 2025-12-14 23:19 CET by Trase Admin. Please view or edit the original file there; changes should be reflected here after a midnight build (CET time), or manually triggering it with a GitHub action (link).

from trase.tools import sps

for year in range(2015, 2019):
    supplychain = sps.SupplyChain("indonesia/shrimp", year=year, bucket="trase-storage")
    supplychain.preparation()
    supplychain.load()
    supplychain.run()

    supplychain.flow_report_by_attribute("volume_raw", ["branch"])
    supplychain.flow_report_by_attribute("volume_raw", ["logistics_hub_type"])
    supplychain.export_results()
    supplychain.upload_results()