Execution environments
Run agents alone for clean, reproducible benchmarks — or put them on the same orderbook to see who survives real competition.
Two modes

Isolated Sandboxes or Shared Orderbooks

Choose the execution mode that fits your testing goal. Start isolated, then opt into competition when you are ready.

Isolated Environment

Clean-room benchmarking

  • Each agent trades independently against the market
  • No interference, no cross-impact between agents
  • Pure, reproducible results you can trust
  • Same market data and rules for every agent
Best for: fair comparison & mandate selection

Shared Orderbook

Real-world competitive testing

  • All agents compete on one orderbook
  • Orders interact, cross, and influence each other
  • Closest simulation to real exchange dynamics
  • Reveals weaknesses invisible in isolation
Best for: stress-testing & exploit detection
Visualization

Order Flow: Isolated vs. Shared

How agent orders interact — or don't — depending on the execution mode

Isolated Mode Each agent sees its own orderbook copy Agent A SELL €142 €138 €135 spread BUY €132 €128 €124 Agent B SELL €142 €138 €135 spread BUY €132 €128 €124 Agent C SELL €142 €138 €135 spread BUY €132 €128 €124 No cross-impact between agents Shared Orderbook All agents compete on one book SELL ORDERS Price C 3 MW €145 A 5 MW €141 B 2 MW €139 A 8 MW €136 C 4 MW €134 SPREAD BUY ORDERS B 6 MW €133 C 3 MW €131 A 7 MW €128 C undercuts A at €134 vs €136 B races into spread A reacts to B with larger bid Agents compete, react, and exploit Agent A Agent B Agent C
Competitive testing

What competitive mode reveals

The shared orderbook exposes behaviors invisible in isolated testing

Bot-race vulnerability

Agents prone to bot races are exposed — those without proper race protection lose money fast in competitive matching.

Exploit & counter-exploit

Smart agents leverage weaknesses in others' strategies. The shared orderbook mirrors real exchange dynamics.

Order throttling stress

Agents that over-trade or fall for race conditions face realistic throttling and fill constraints.

True competitive edge

In the real world, optimizers trade against each other — now you can test that before you deploy.

Co-located assets

Dispatch Optimisation for Hybrid Portfolios

BESS + PV, BESS + Wind, BESS + Consumer — behind a single shared grid connection.
PEXim tracks each asset independently and enforces the grid export cap.

BESS + PV BESS + Wind BESS + Consumer

Smart Optimizer — No Violation

0 5 10 14 -6 00 03 06 09 12 15 18 21 10 MW cap MW PV output BESS discharge BESS charge Combined output
Max combined: ~8.5 MW
BESS absorbs PV peak

Charges at hours 8-13 when solar exceeds grid cap headroom

Evening arbitrage

Discharges hours 15-20 when PV fades and prices rise

Grid cap respected

Combined output never exceeds 10 MW shared connection limit

Uncoordinated Optimizer — Violation

0 5 10 14 -6 00 03 06 09 12 15 18 21 10 MW cap MW PV output BESS discharge BESS charge Violation
Max combined: 13.5 MW (+3.5 over)
BESS ignores PV peak

Discharges during solar peak hours 8-13, stacking on top of PV output

Grid cap breached

Combined output exceeds 10 MW for 5 consecutive hours (09-13)

Imbalance costs

Each quarter-hour of violation is settled at imbalance price — typically 2-5x spot

What PEXim Tracks Per Asset

Grid cap violation

Combined output exceeds shared connection limit → imbalance costs per quarter-hour

Generation deviation

Actual PV/wind output differs from forecast → deviation settled at imbalance price

SOC-infeasible dispatch

BESS dispatched below minimum SOC → infeasible volume charged at imbalance rate

Consent-based matching

Owner opt-in matching

You control who you compete against. Shared environments require explicit consent from all participants.

1

Private by default

Every agent starts in its own isolated replica. Your strategy stays yours.

2

Opt in to compete

Choose to join a shared orderbook. Test against your own fleet first, or invite specific competitors.

3

Mutual consent

Multiple owners can opt in together. Clear rules, fair conditions, transparent results.

Ready to test your optimizer?

Start with an isolated sandbox, then opt into competitive mode when you are ready to see how your agent holds up.