energy is plentiful some of the time, so systems will need to be designed and sized to process all of a colony's basic needs in a short period of time, and then have excess storage capacity and reserves for contingencies.
Since food and water will also need to be produced on site, there will be the oportunity to integrate all of these systems, as it is my belief that any comercialisation of say deuterium, will require a permanent human presence, but so far surviving the lunar night has proven to be very difficult even for machines to do once, let alone for years.