## 6 Results and Discussion  
The developed workflow shows that several design activities can be automated. The interaction with DDWSS components makes it possible to simplify the algorithm's development through data management and calculations with visual programming. As sanitary calculation requires flow analysis, Dynamo provides specified nodes that work especially well with plumbing facilities, correctly organising and detecting every system element and evaluating its properties [41]. Node customisation allows specific data storage for verifications, modifications and calculations. The case studies prove that different approaches can be developed to satisfy different user requirements, meaning that the proposed approach is a generalisable solution for sanitary design. The Dynamo-friendly user interface makes programming comfortable and intuitive; node-based tasks make smooth workflows easier to structure and connect between different actions. The ability to manipulate data between different software packages helps designers integrate specific calculations and more complex analyses. DDWSS design requires several iterations and developing an optimised design requires a large-scale mechanical design that modelling software cannot handle. For the drinking-water system design in case study 1, different pipeline systems were read or extracted upstream from each fixture. Elements were divided into sub-lists, and each one was labelled according to a given numeration stored in the sub-meter properties and element parameters. Each element was then associated with each system uploading a mark type, allowing differentiation of the elements that feed each room domain (Figure 4, script 1). Pipe sections were then differentiated according to fixture positioning on the respective system routing, locating \"Iee\" elements that distribute water flow to fixture water inlets. These were obtained by assigning each Tee node a letter or a number, ensuring clarity about each system sector and the ability to tabulate all necessary parametric information (Figure 4, script 2). The purpose of script 2 is to identify energy losses due to friction, as well as singular losses, changes in elevation, flow rates and velocities as the water is distributed, and calculate the pressure at each fixture. For better pipe section tabulation, the most critical artefact in the system is highlighted according to its available pressure. This starts with pipe sections that take the route to the artefact of the building that has the highest elevation--this is referred to as the critical route since it generally has the lowest pressure in the system. After that, the additional tranches are added (Figure 4, script 3). Once the general information for the project has been defined along with the discretisation and marking of all the pipe sections, the next step is to extract the data to an MS Excel(r) worksheet to facilitate the respective calculations. This follows the same order that was given for the critical route, and then follows the ensuing sections to the remaining artefacts (Figure 4, scripts 4 and 5). The results for the second case study for the drinking-water system design (Tables 12 and 13) demonstrate the design's good performance in detecting the fixtures and re-calculating installed flow rates. For the loss summary for cold water in the type 1 retail store (Table 16), the speeds and pressures comply with the normative restrictions. The diameters maintain the pattern of decrease, except for the sections that end in a fixture. Table 22 shows the results obtained for diameters and pressures in each section, along with the results obtained with the traditional method. The comparison of the values shows that the developed workflow produced similar results to the traditional design approach and performed correctly and in compliance with the RIDAA design standard. No trend can be observed with regard to the pressure results, as the variations were both positive and negative. The relative percentage error ranged from 0.09% to 7.12%.