Assigning a demand pattern to terminal nodes

Hi all. I have a vector (e.g term_nodes) with the indices of all the terminal nodes of my network. Now I need to assign them a demand pattern. The demand pattern is already in some nodes of the network. Therefore, I need to somehow copy the demand pattern of a node and assign it to each of the terminal nodes. Any suggestions would be highly appreciated.

Thank you in advance!
Jorge

The easiest way to do this is to export a INP file, and paste the content on an excel file. There you can modify everything and paste it again.

Thank you Matias. It’s a good approach.

Hola Jorge

Si utilizas la interfaz de usuario de Epanet, puedes apoyarte con las herramientas seleccionar región y editar grupo, de esta manera podrás modificar los patrones de demanda.
Si lo realizar por programación, habría que mirar el código.

Saludos

Correcto. Es mediante el codigo. Gracias por la sugerencia.
Saludos