In ‘Darwin Designer’ and in it’s ‘boundary override’, I set closed ‘value’ for a pipe attribute (pipe status), then run the design machine. When it made design for my model, I look at the ‘pipe’ which had been assumed ‘closed’ and it’s status was ‘open’ (in it’s properties) and darwin designer had designed it.
Somebody tell me why what I set as ‘boundary override’ was ignored when run.
Photo has been attached.
Did you explicitly export the design to WaterGEMS from Darwin Designer? (5th toolbar button in from the right... 'Export Scenario"). If you didn't export it then the properties you see in the property grid are for the selected scenario and not necessarily the optimized design.
of course export the design to watergems, since all pipes were designed.
indeed I have this problem with 'demand adjustment' too. I am sure that it was exported to watergems, but neither 'pipe status' nor 'demand adjustment' were applied to watergems.
one file which can be opened with watergems v8i is attached. please open it:
there are 2 scenarios:
'base': before darwin designing with below properties:
all pipes have 10 mm diameter.
junction j1 has 10 l/s demand.
all pipe's status are 'open'
'opt design1': after darwin designing with below properties:
the status of pipe number 6168 set to 'closed' in 'boundary overrides' tab.
in 'demand adjustment' tab, I set 7 l/s for additional demand for junction j1.
Then I run the darwin design machine and export it to watergems by the name: 'opt design1' scenarion. then I select this scenario in watergems and run it. the result shows that all pipes (which had 1 mm for diameters) has been designed.
BUT NOW the status of p6168 is 'open' and demand of junction j1 is 10 l/s still. I suggested that after exporting and running the scenario (opt design1), pipe6168 will be 'closed' and the demand of j1 will be 17 l/s (=10+7 l/s)
please study the model and tell me why it does not work as what I guess. where was I wrong?
Thank you very much my friend.
and 'opt design1': after darwin designing.
The reason is the same as what Wayne explained in your other thread regarding demand adjustments:
Basically when you export a design, it only exports physical properties like pipe diameter. Demands are stored in the Demand alternative and status like a pipe being open or closed is stored in the Initial Settings alternative.
So in this case, you will need to manually adjust the status after exporting the design results. You can create a new initial settings alternative if you wish to keep the original status of the pipe in other scenarios.
I've documented this information in the below solution wiki:
Jesse DringoliTechnical Support Manager, OpenFlows ProductsBentley Communities Site AdministratorBentley Systems, Inc.
Okey, I accept that 'initial setting' & 'demand adjustment' do not export from darwin dewsigner to watergems, But tell me:
1- Do the status of a pipe or addition demand of a junction (those we has changed) affect the design? about 'additional demand' which I tested it, the answer is 'Yes'. I defined an 'aditional demand' for a junction and exported the result to watergems. Then I saw this additional demand change the diameter of pipe(s) which have another diameter without this additional demand. But about status of pipe, It does not affect the design and if you change the status of a pipe from 'open' to 'closed', it does not affect on design. I do apologize but this issue has made me confused. please guide me.
2- After exporting the design to watergems, I look at alternatives (especially demand and initial setting alternatives) to know if the initial setting of the pipe or demand of the junction has been changed or not. unfortunately I consider that non of them has been changed. Do I have to change the demand or pipe status (according to 'additional demand' and 'override boundary' which I have defined already in darwin designer) manually in properties grid?
I really do apologize but this issue has made me confused. please guide me.
1) Yes, the additional demands and boundary overrides are applied during the Designer calculation. As the names suggest, they add to and override the data that is already in the model, during the calibration. This is useful if you want to design for an event that's not already depicted in the model, such as when there is a fire or a pipe break.
The fact that you do not see a change in the design when changing a pipe status in boundary overrides may be a coincidence - it could be that the same design is selected regardless of the status of that particular pipe. One easy way to see that something is indeed effecting the design is to compare the total overall fitness.
For example if you compute the Design study in the DesignerSample1.wtg that ships with WaterCAD and WaterGEMS (see the \Samples\Designer\ folder within the installation folder) you'll see the fitness for solution 1 is 38,054,900. If you then add a boundary override to close pipe P-11 and re-run the Design, the fitness will then be 60,943,600. This indicates that the change (closing the pipe) correctly applied for the design calculation (and it means that it would cost more to maintain the constraints with this pipe closed, which makes sense).
2) Yes, if you had an additional demand in your Designer study and export it to the model, you will need to manually add that additional demand in that scenario in order for it to depict what happened during the Design run. Similarly if you had any boundary overrides, you would need to manually add them as well. This can be done through a number of different methods, including the property grid as well as Flextable and (for demands) the Demand Control Center under the Tools menu. If you wish to capture these changes only in the scenario in question while leaving the other scenarios intact, you'll need to first create and assign a new Demand alternative (for the additional demands) and Initial Settings alternative (for the status changes like pipe being closed) to the scenario in question.