The problem
Data centers are arriving in Ishikari Bay New Port. One started on 100 % renewable power in August 2026, and five more plots (590 MW) already hold grid capacity from 2031–32. Their waste heat is released into the air, while greenhouses, pools, schools, hotels and road heating nearby burn kerosene (156.8 yen/L in Hokkaido, Nov 2026). Today nobody plans this across sites. Each match would be a one-off negotiation, and the grid capacity and renewable claims of new data centers are hard to check from public data. We start in Ishikari, where the data is public, and aim to test it with Abira Town, a small community 20 min from Chitose and Tomakomai.
What we built
An open decision tool for Ishikari’s data centers that answers four questions from public data:
- Waste heat: which users connect to which data center, along which streets, with which pipes. It also drafts a one-page proposal for each promising pair.
- Grid: how much new load the grid can host (tested on benchmark systems so far).
- Siting: where the next data center should go, counting heat value and the cost of the grid connection.
- Renewable matching: how much of a data center’s power is renewable in the 30 minutes it is used, not only over the year.
Every number is sourced or marked as an assumption. The heat plan is worth 11.4 M yen a year with existing users only, and up to 93.8 M with two planned sites.
How it works
Stack: Python (uv), Streamlit app with eight pages in Japanese and English, MIT license, CI with 350+ tests.
Mathematical Models: a network-design MILP with monthly heat balances and pipe sizes along streets, plus stochastic (two-stage) and robust (column-and-constraint generation) versions, with an LP-guided kernel search to find plans; AC optimal power flow with SDP/SOCP relaxations (chordal decomposition) and an interior-point method; facility location on the heat values and published connection costs; a linear program for the cheapest renewable contract and battery; the heat plan as a graph (routes, pipe outages, shared pipes).
Solvers: HiGHS and Clarabel (open source, the default). Gurobi is optional and certifies optimality on the largest heat model.
Libraries: NumPy, SciPy, pandas, OSMnx, NetworkX, GeoPandas, Shapely, scikit-learn, Folium, Altair, Matplotlib.
Data: OpenStreetMap (roads, buildings, candidate users, substations and power lines), GSI map tiles and geocoder, JMA daily weather for Sapporo 1976–2025, HEPCO Network 30-minute supply and demand records, PGLib-OPF benchmark grids, Hokkaido kerosene prices, published pipe and heat-pump costs, OCCTO standard unit costs of transmission lines, published generation costs and battery prices, CO2 emission factors, and published documents on the Ishikari data centers and the GX strategic zone (METI, Hokkaido, Ishikari City, operators). Every input is listed with its source or marked as an assumption.
What’s next
To use this for a real decision:
- Measured inputs in place of assumptions. Metered heat demand of the candidate users, the data centers’ actual heat output and temperatures, confirmed positions, and current construction prices (the pipe costs are 2019 quotes; prices have risen about 22 % since). Two assumed users carry half of the plan, so the first step is a pre-study with a municipality, the operators and the heat users.
- Engineering design. Routes checked on site, hydraulics, and heat losses that depend on pipe length and temperature. The model’s role is to say which networks are worth that study.
- A network model of the Hokkaido grid. The hosting-capacity method runs on benchmark systems today. Candidates are the grid operator’s published data for 187 kV and above, the IEEJ standard models, or OpenStreetMap.
- Siting with land, zoning, hazards and fibre, and with hosting capacity as a constraint.
- Who pays. A fair split of a common trunk among the partners, heat-price contracts, and the actual rules of subsidy schemes (scenarios only today).
The team plans to continue the research after the event.
Prior work
A first prototype existed before the kickoff. On 23 November, in the hours before the 17:00 kickoff, one member wrote a first prototype from the organizers’ published idea starter “Warm Ishikari”, in a private repository: the single-source heat model (model v1, about 390 lines), one app page, the OpenStreetMap download script and the road-network helper. The animated map page followed at 17:30, during the kickoff. About 900 lines of that Python came into this repository on 24 November, together with the map page; that is about 5 % of the 18,000 lines of Python in it today.
Everything else was written after the kickoff: model v2 with its stochastic and robust versions, the proposals, the other themes, the documents and the tests. We used no older code, private library or template. The dependencies are public open-source packages (HiGHS, Clarabel, OSMnx, Streamlit and others); Gurobi is optional.
Main AI tools
-
Coding: Claude Code with the models Claude Fable 5.2 and Claude Opus 5.5, OpenAI GPT-Astra-6.2, GPT-6.1-Sol/Luna and GLM-5.3 for most of the code, tests and documents; directed, reviewed and run by the team.
-
In the app: the model carbonforge-flash on CarbonForge’s OpenAI-compatible endpoint (the default; set by environment variables), optionally through the OrcaRouter gateway, for the what-if box.
-
Voice: ElevenLabs, for the spoken explanation of the content.