All network-optimization models for battery-mineral and lithium supply chains, plus the RFF (Critical Mineral Lab) trade-exposure analysis.
The lab's network model is models/critmin-net/. It is the one
maintained version; any network model elsewhere in the lab should derive from it (its README says
how). It is built on Erick C. Jones Jr.'s formulation. An early six-stage lithium prototype by Sara Alavi
(SEAR Lab) was its starting point; the model has since been rebuilt, and the prototype's network was retired in
0.16.0.
Archived on Zenodo. Cite the release you used: every GitHub release has its own DOI, and
10.5281/zenodo.24540500 stands for all versions (it resolves to the latest; 0.17.0 is
10.5281/zenodo.24568643). CITATION.cff and GitHub's "Cite this repository" give the formats:
@software{jones_critmin_network_models, author = {Jones, Erick C., Jr.}, title = {critmin-network-models: the SEAR Lab's critical-mineral network models (critmin-net)}, version = {0.17.0}, year = {2026}, doi = {10.5281/zenodo.24568643}, url = {https://github.com/sear-labs/critmin-network-models} }
Code: MIT (LICENSE). Data (each model's data/ folder): CC BY 4.0. Every number in critmin-net's data names
its source (models/critmin-net/src/critmin_net/data/SOURCES.md).
| Folder | What it is | Source |
|---|---|---|
models/critmin-net/ |
The lab model. One engine for supply-chain networks passed as data, and a multi-mineral lithium-ion battery network projected to 2040 on supply, demand and cost curves, with recycling, mine expansions and royalties, US tariffs, 45X and China's export controls (docs/battery-horizon.md). | critmin-energy-surrogatecoupling @ 5c3616a, then developed here |
rff-trade-exposure/ |
RFF Critical Mineral Lab: import exposure, FEOC, friendshoring | critmin-tradeexposure |
game-theory/ |
Not here. Bilevel and Benders formulations live in sear-labs/lithium-gametheory. |
lithium-bilevel (renamed) |
tools/credscan.py |
Credential scanner. Run before every commit. | advopt-lithiumsc |
Solving needs a Gurobi licence. models/critmin-net/ uses whatever licence gurobipy finds (a licence file); the
exploratory notebooks read one from environment variables (GUROBI_WLSACCESSID, GUROBI_WLSSECRET,
GUROBI_LICENSEID). No credential is in this repository (tools/credscan.py checks every commit).
models/critmin-net/ runs and tests from a clean clone (a full Gurobi licence is needed to solve; version and
changes in its CHANGELOG.md). The rest
is exploratory: each is a notebook plus its data, not yet reproducible from a clean clone.