# Exercise 1d Minimum Flow Properties

Note: Create a new network called Exercise 1d and setup the timestep before running the network as described in Exercise 1a.

![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2F9vvPDUvqmPMtTy1B6YC3%2F0.png?alt=media)

## **Create the network**

Navigate to the left panel and click on **Build** to open the Nodes list.

Drag and drop to the workspace Map:

\-          1 input node ![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2FVql9GrpHtvFWNIrZlJwt%2Fimage.png?alt=media\&token=afbbe039-58bd-42f1-a7ca-328c3f52d907)

\-          2 output nodes ![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2F4264dvX48MmApPtBAW1V%2Fimage.png?alt=media\&token=0a7d931c-943e-4e1f-bd71-500039fea569)&#x20;

\-          2 link nodes ![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2Fg1RSNddX4ksUHcCJNosN%2Fimage.png?alt=media\&token=f0210046-5792-4ede-92dc-4cad770528bb)

Click on **edge** ![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2FfgL2eO97H2QxSOWetpuW%2F4.png?alt=media) to activate “link mode”, connect the nodes and fill their attributes as shown in the picture below:

![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2F1dFYasgKp4to8Nuis8p5%2F5.png?alt=media)

Click again on **edge** ![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2FaE4xc3MWqC1Q44wANF36%2F6.png?alt=media) to deactivate “link mode”.

On the left panel click on **Run a Model** ![](https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2FfwtQdqLb0xKKgbN3vgQn%2F7.png?alt=media).&#x20;

A new window will pop-up, click on **Submit**

Visualize the **simulated\_flow** results

<figure><img src="https://530325344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOe4DHiaeqejzGopyV9BO%2Fuploads%2FvruStTd3cQdFqPnQJhMi%2Fimage.png?alt=media&#x26;token=f9648eba-d178-4872-ab2e-1ae2121687b8" alt=""><figcaption></figcaption></figure>

## **Explanation**

The water distribution network is designed to ensure a mandatory input node supply of 20 Mm³/day. This configuration enforces a minimum and maximum flow of 20 Mm³/day, making it the total daily flow available for the entire network.

**Link1:** High Priority Allocation

* **Priority:** Link1 has the highest priority due to its most negative allocation penalty value.
* **Max Flow Configuration:** The network aims to allocate 8 Mm³/day to Link1, given the available flow.
* **Allocation:** With 20 Mm³/day available, 8 Mm³/day is allocated to Link1, leaving a remaining 12 Mm³/day for subsequent nodes.

**Output2:** Second Priority Allocation

* **Priority:** Output2 is the second priority node based on the allocation penalty value.
* **Max Flow Configuration:** The network targets an allocation of 8 Mm³/day to Output2, if available.
* **Allocation:** With 12 Mm³/day remaining after Link1's allocation, 8 Mm³/day is allocated to Output2, leaving a remaining 4 Mm³/day.

**Link2:** Remaining Flow Route

* **Max Flow Configuration**: Link2 does not have a maximum flow constraint.
* **Flow Dependency:** The flow through Link2 depends on downstream constraints rather than a specific max flow value.

**Output1:** Final Allocation Node

* **Configuration:** Output1 lacks both a maximum flow constraint and an allocation penalty value.
* **Flow Allocation:** Output1 through Link2 receives the remaining 4 Mm³/day flow in the network.
* **Flow Distribution:**

8 Mm³/day is received from Link1.

4 Mm³/day is received from Link2.

**Total Flow:** Output1 ultimately withdraws 12 Mm³/day.
