--- license: other license_name: ercot-website-user-agreement-eia-public-domain-apache-2.0 license_link: https://github.com/earakely-scale/agentenv-gridsim-plugin/blob/main/data/LICENSE pretty_name: 'GridSimEnv Desk: a live ERCOT battery desk' language: - en task_categories: - reinforcement-learning - text-generation size_categories: - n<1K tags: - agentenv - rl-environment - agents - tool-use - simulation - energy - electricity-markets - battery-storage - ercot - real-world-data - ancillary-services - solar - weather - forecasting - auctions configs: - config_name: desk_v4_bench default: true data_files: - split: pre_cutoff path: desk_v4_bench/pre_cutoff.parquet - split: post_cutoff path: desk_v4_bench/post_cutoff.parquet - config_name: desk_leaderboard data_files: - split: v2 path: desk_leaderboard/v2.parquet - split: v3 path: desk_leaderboard/v3.parquet - split: v4 path: desk_leaderboard/v4.parquet - split: v5 path: desk_leaderboard/v5.parquet - config_name: desk_runs data_files: - split: v2 path: desk_runs/v2.parquet - split: v3 path: desk_runs/v3.parquet - split: v4 path: desk_runs/v4.parquet - split: v5 path: desk_runs/v5.parquet - config_name: desk_tasks data_files: - split: v2 path: desk_tasks/v2.parquet - split: v3 path: desk_tasks/v3.parquet - split: v4 path: desk_tasks/v4.parquet - split: v5 path: desk_tasks/v5.parquet agentenv: bundles: gridsim-v1: plugins: - agentenv-gridsim @ git+https://github.com/earakely-scale/agentenv-gridsim-plugin@3db7869e9df6ce6c9754a1b7166dd11c2906cbc7 setup: agent-env gridsim setup --agent ---
# GridSimEnv Desk GridSimEnv hands an AI agent the trading desk of a real battery on the Texas grid. For three days at a time, while a real heat wave or winter storm sweeps across Texas, it reads ERCOT's prices and forecasts as they were posted, bids the battery into the power markets and decides when to charge and when to sell. Every window is settled in dollars and scored against the best plan hindsight allows. We put 15 AI models through 32 of these windows, and in the August heat wave most of them out-earned the real operator at three of the four batteries.
GPT-6.1 Sol trades a 100 MW battery near Houston through the August 2026 heat wave. It made $85,771, 71% of the best possible profit; the battery's real operator made $20,647. The panel on the right shows each tool call as it happens. [Watch it in 3D](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=sol&task=desk-v4-2026-08-18-S02) · [its Episode JSON](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/blob/main/results/desk-v4-bench/episodes/sol/desk-v4-2026-08-18-S02.gpt-6.1-sol.json.gz)
## Before and after: the real operator and the agents
Every window also happened for real. The battery's own operator traded those same three days, and ERCOT publishes what
each battery did 60 days later: its day-ahead awards, its output and its charge every five minutes
([NP3-966-ER](https://www.ercot.com/mp/data-products/data-product-details?id=NP3-966-ER),
[NP3-965-ER](https://www.ercot.com/mp/data-products/data-product-details?id=NP3-965-ER)). That gives each window a before
and an after. Here are the 3 windows where the agents most clearly beat the operator, all on the
18 to 20 August 2026 heat wave, after every reported training cutoff. Each shows the operator beside the run that made the
most there, GPT-6.1 Sol's.




| 21.5 GW of batteries on ERCOT's grid, October 2026 Jul 2025 14.1 GW · Oct 2026 21.5 GW ERCOT fact sheet, Oct 2026 · ERCOT Monthly, Jul 2025 | 76% of what perfect timing allowed, captured by the best quarter of ERCOT battery bidders in January 2026 Best quarter 76% · Worst quarter 27% Modo Energy, Apr 2026 |
| $29.4/kW a year of revenue for ERCOT batteries in 2025, Modo's estimate, down from 2023 2023 $193/kW · 2025 $29.4/kW Modo Energy, Feb 2026 | 166 GW of batteries waiting to connect to ERCOT in July 2026, more than any other kind of plant Share of the queue 36.3% ERCOT overview, Jul 2026 |
| 12.0 GW discharged at once by ERCOT's batteries, a record, on 22 July 2026 30 Jul 2025 7.2 GW · 22 Jul 2026 12.0 GW Grid Status, Aug 2026 · ERCOT Monthly, Jul 2025 | $799/MWh real-time price at Battery S01 at 22:00 on 26 August, the rollout's spike, against that hour's day-ahead price Day ahead $104 · Real time $799 This benchmark, replayed |




| Data | 144 three-day training windows; 438 rows, three a window; 397 after the 150k-token cap, about 34M tokens, 1.3M of them trained |
| Model | Qwen3.5-9B, LoRA r 32 / α 64 on all linear layers |
| Training | TRL SFTTrainer, lr 1e-4, 1 epoch, 50 steps, gradient accumulation 8; activations offloaded to CPU, so rows up to 150k tokens fit on one 95 GiB GPU (RTX PRO 6000, g7e.8xlarge spot), in 4.5 h |
| Eval | OpenCode with vLLM at a 262,144-token context, the same harness for base and student |
| Cost | about $104 of GPU for training and the evals on our own servers; the teacher is our own planner, so no LLM API spend |
| Code | desk_distill_sft.py and desk_distill_train.py, and the pre-registration |
| Guide | AgentEnv's training docs: TRL, Unsloth, NeMo RL, prime-rl, verl and SkyRL on AgentEnv environments |








desk_v4_bench, one row per model and windowagent-env run