See in `make_summary`: `n.buses_t.marginal_price.mean().groupby(n.buses.carrier).mean()` Weighted prices are more complex but can be found in the same script