How are commodity pricing models built?

I want to explore how to create a pricing model for raw water and want to know how the pricing models of other commodities are built, especially what common factors each commodity has.