The shipped / preferred model of the energydecision benchmark. A standalone Decision Transformer distilled from an honest (non-clairvoyant) SDP-planning teacher — no solver at inference — that beats the PPO reference on
all four identity surfaces and passes the
market-impact gate, with bootstrap 95% CIs excluding zero on every comparison.
All six paired-difference bootstrap 95% CIs exclude zero; expanded broad-2024 additionally significant under paired Wilcoxon (p = 0.0002, n = 27). Methodology and full experiment ladder:
report.md §8.2.10.
Action space: dim 0 energy dispatch in [-1, 1]; dims 1–8 FCAS bids in [0, 1] (RAISEREG, LOWERREG, RAISE6SEC, LOWER6SEC, RAISE60SEC, LOWER60SEC, RAISE5MIN, LOWER5MIN). State space: 18-dim normalized market observations (time features, RRP, demand, 8 FCAS prices, generation mix, SOC).
1import torch
2from huggingface_hub import hf_hub_download
3from decision_transformer import DecisionTransformer
4from decision import AEMOAgent
5
6import json
7repo = "mrvictoru/energydecision-dt-v2-sdp"
8ckpt = hf_hub_download(repo, "aemo_dt_sdp_jtsoc_fullcorpus.pt")
9meta = json.loads(hf_hub_download(repo, "aemo_dt_sdp_jtsoc_fullcorpus.pt.meta.json"))
10
11model_kwargs = dict(
12 state_dim=meta["model"]["state_dim"], act_dim=meta["model"]["act_dim"],
13 h_dim=meta["model"]["h_dim"], context_len=meta["model"]["context_len"],
14 n_block=8, n_heads=12, n_kv_heads=6, drop_p=0.15,
15 max_timestep=2016, rope_enabled=True, qk_norm=True, tie_weights=True,
16 action_head_mode="mixed",
17)
18model = DecisionTransformer(**model_kwargs)
19model.load_from_checkpoint(ckpt) # raw state_dict
20model.return_scale = meta["return_scale"] # J_t(soc) prompt scaling (~25,988)
21model.eval()
22
23agent = AEMOAgent(env, algorithm="dt", model=model, rtg_mode="auto")
Research into offline RL / sequence modeling for energy markets; simulation of multi-market BESS dispatch in Australia's NEM; baseline for planner-distilled offline RL. Not intended for live trading without further validation (sim-to-real is open), risk management, and regulatory compliance.
1@misc{energydecision-dt-v2-sdp,
2 title = {AEMO SDP-Teacher Decision Transformer (planner-distilled)},
3 author = {mrvictoru},
4 year = {2026},
5 url = {https://huggingface.co/mrvictoru/energydecision-dt-v2-sdp}
6}