Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Explainable Causal Reinforcement Learning for smart agriculture microgrid orchestration with inverse simulation verification

Описание и применение

Разработана объяснимая причинно-обучающая система управления микросетью для сельского хозяйства, позволяющая отслеживать решения агента и проверять их с помощью обратного симулятора.

Задача

A solar‑plus‑battery microgrid for a small farming cooperative drained its storage mid‑afternoon despite good irradiance forecasts, because the reinforcement learning (RL) agent made decisions that were statistically optimal but causally wrong and could not be explained by operators.

Результат

The explainable causal RL pipeline produced a microgrid controller whose decisions could be traced to specific causal factors, enabling operators to audit actions and maintain confidence even when the environment changed.

Рабочий процесс

  • 1. Build a simplified SCM of the microgrid (e.g., Irradiance → PV_Generation → Battery_SoC → Dispatch_Action → Grid_Import).
  • 2. Wrap the gym environment with a CausalMicrogridEnv that records state, action, reward history and uses dowhy for causal effect estimation.
  • 3. Train an RL agent (e.g., PPO) on the wrapped environment, allowing it to learn interventions rather than observations.
  • 4. Implement a CausalAttentionPolicy where each attention head corresponds to an edge in the SCM, making the policy intrinsically explainable.
  • 5. After training, query the SCM to identify the causal driver of each action (e.g., battery discharge at 2 PM caused by irradiance drop).
  • 6. Perform inverse simulation verification: run a counterfactual simulator with the same interventions to confirm that the agent’s decisions lead to expected outcomes.
  • 7. Deploy the agent to the field, monitor explanations, and adjust the SCM or policy if new causal relationships emerge.

Доказательства

The system had a reinforcement learning (RL) agent that had been trained to schedule irrigation pumps, cold storage compressors, and ventilation fans.

Источник

The agent had learned correlations between sensor readings and rewards, not the actual cause-and-effect structure of the microgrid.

Источник

Combining them with RL produced something genuinely useful: an agent whose decisions could be traced, audited, and verified against a counterfactual simulator.

Источник

  • Дата записи: 2026-10-13T03:55:56.239Z