Note that this system would be a special case extended version of the Uniswap model where tokenized energy was used in place of ETH. Check out @markusbkoch modeling of uniswap and analysis of liquidity providers here:
We imagine extending this model with specialize dynamics that account for the properties of the local grid. While the use case is different, the core components of the liquidity pool model remain intact.