SWMM 5, InfoSWMM, H20MAP SWMM, InfoSewer for Water Quality,Hydrology, Hydraulics
Robert Dickinson commented on Robert Dickinson's group Stream of Information
Robert Dickinson replied to Robert Dickinson's discussion How is the St Venant Equation Solved for in the Dynamic Wave Solution of SWMM 5?
Robert Dickinson left a comment for wu ze jian
Robert Dickinson posted a discussion
Robert Dickinson added a page to the group Hydraulics
Robert Dickinson's blog post was featured
Robert Dickinson posted a blog post
Robert Dickinson commented on Robert Dickinson's group Stream of Information
Robert Dickinson commented on Robert Dickinson's group Stream of Information
Robert Dickinson commented on Robert Dickinson's group Water Quality
Robert Dickinson commented on Robert Dickinson's group Water Quality
MeHa commented on Robert Dickinson's group Water Quality
MeHa posted a status
Quah Soon Tong left a comment for Esther Bergareche Auricenea
Robert Dickinson commented on Robert Dickinson's group Stream of Information
Robert Dickinson commented on Robert Dickinson's group Stream of InformationHi,
I want to include a variable to the orifice height of my network and I tried to implement this through the source codes of SWMM 5.0. I am looking a particular function to do this.
Please look at the following example.
I believe x[1] is for the Manning's coefficient. Likewise what would be the function which can be used have the height of the orifice?
Thanks a lot.
Upaka
Tags:
Permalink Reply by Robert Dickinson on October 6, 2011 at 8:32am I am not sure what you are trying to model here. Do you want to have an orifice in your subcatchment? You can also send the runoff from the subcatchment to a node connected to an orifice so that the orifice controls the flow.
Yes, x[1] is the Manning's coefficient for the Subcatchment.
Permalink Reply by Upaka on October 6, 2011 at 8:40am I am sorry, I think I didn't really explain the things. I just took an example for a subcatchment and showed the function. Likewise, I need to include a variable to the orifice height.
Let me explain the things like this. I have a sewer network and I wanted to control optimally the sewer network. To do that, I am controlling the orifice heights. The optimization module that I am using is dealt with the genetic algorithms and I wanted to keep this orifice height as a variable, which is going to be decided by the optimization module.
There, I wanted to find a function which represent the orifice height and then I can include a variable to this height. I have gone through "link.c" but couldn't understand a correct function.
Hope you understood it now. I've just used the manning's coeffcient in the above text to explain this and no relevance to the work that I am doing.
Permalink Reply by Robert Dickinson on October 6, 2011 at 8:58am The orifice height is not in link.c - the orifice height is read in the XSECTION section and is the same variable as the diameter of a circular link or the height of a rectangular link depending on the type of orifice.
If you want to set the height then you need to set the height in XSECTION. Here is how SWMM 5 exports the Orifice Height in the Delphi GUI Code - it is the 3rd parameter of the line
with Project.Lists[ORIFICE] do
for I := 0 to Count-1 do
begin L := TLink(Objects[I]);
Line := Format('%-16s', [Strings[I]]);
Line := Line + Tab + Format('%-12s', [L.Data[ORIFICE_SHAPE_INDEX]]);
Line := Line + Tab + Format('%-16s', [L.Data[ORIFICE_HEIGHT_INDEX]]);
if SameText(L.Data[ORIFICE_SHAPE_INDEX], 'CIRCULAR') then
Line := Line + Tab + '0 '
else Line := Line + Tab + Format('%-10s', [L.Data[ORIFICE_WIDTH_INDEX]]);
Line := Line + Tab + '0 ' + Tab + '0';
S.Add(Line);
end;
© 2012 Created by Robert Dickinson.
Powered by