Multiperiod Hypergraph Models for Water Systems Optimization