Latest Activity

Profile Icon
Kashif Ali replied to Kashif Ali's discussion '10,000+ subcatchments to be assigned with outlets'
Hello Robert, Here is the .inp file for your review, if you can see how large data can be handled by excel add-on http://www.mediafire.com/?a5u64plrksd3tec
1 hour ago
Profile Icon
Profile Icon
Kashif Ali replied to Kashif Ali's discussion '10,000+ subcatchments to be assigned with outlets'
Thanks Rui for your time and efforts to go through this project, By using GIS functions and adding fields in attribute files, the sub catchments are now linked with their appropriate outlets.  Also, rather than, loading all hydrologic and…
1 hour ago
Profile Icon
Kashif Ali replied to Kashif Ali's discussion '10,000+ subcatchments to be assigned with outlets'
Thanks Robert, It really what I needed - without reading the manual, I was trying each option in the swmm to see if there is way to export the data in excel format. However, data being too large, excel simply says sorry with this message (This…
2 hours ago
Profile Icon
Rui Daniel Pina replied to Kashif Ali's discussion '10,000+ subcatchments to be assigned with outlets'
Please try inp.PINS and select inpTools --> Subcatchments connection (https://sites.google.com/site/inppins/) You can also edit inp text file, or even use GIS functions.
20 hours ago
Profile Icon
Rui Daniel Pina commented on MeHa's blog post 'ArcGIS data into SWMM'
inp.PINS worked just fine! Kashif, Please see the message I send you with my results data. The data you send me needed to be "SWMM formated". I did some of this: 1 - Assign invert elevation to nodes from links shp - GIS join; 2 - Define…
20 hours ago
Profile Icon
Robert Dickinson commented on Robert Dickinson's group 'Stream of Information'
After Hours: 120,900 radar images of US weather systems stitched together to form a 14-year weather time-lapse. [reddit.]
yesterday
Profile Icon

Maximum Surcharge Height Over Crown Explanation

Note:   Maximum Surcharge Height Over Crown Explanation Here is an example of how the Maximum Surcharge Height over the Node Crown is calculated.     Consider a manhole with an invert of 10 feet,  one incoming pipe (Pipe A), one outgoing pipe (Pipe B), both pipes with a diameter of 2 feet, but the invert  of Pipe A is 10 feet and the invert of Pipe B is 11 feet.  What is the Maximum Surcharge height if the HGL at the node is 17…See More
Blog post by Robert Dickinson Wednesday
Profile Icon
ash is now a member of SWMM5 - Stormwater Management Model Tuesday
Profile Icon
Robert Dickinson commented on Robert Dickinson's group 'Stream of Information'
A flood warning sign starts to disappear below floodwaters near Charleville, Australia. (Reuters / Queensland Police Service)
Tuesday
Profile Icon
Robert Dickinson replied to Kashif Ali's discussion '10,000+ subcatchments to be assigned with outlets'
You can save the SWMM 5 input file to Excel using this tool and then use Excel to populate the OUTLET column http://www.swmm2000.com/xn/detail/2039064:Note:1021
Tuesday
Profile Icon

10,000+ subcatchments to be assigned with outlets

Hi experts,I am to assign outlet to some 10,000 sub catchments, manually doing it doesn't seem professional.Luckily, name of subcatchment is same name of junction (outlet)i.e.Subcatcment              Junction177119                      177119177123                      177123177126                      177126263803                      263803263806                      263806These are not in particular sequence but name of subcatchment is always same as of junction.Any clueThanks in advanceSee More
Discussion posted by Kashif Ali Tuesday
Profile Icon
Robert Dickinson commented on Robert Dickinson's group 'ExtraVariables'
QA/QC version based on v22 of EPA SWMM 5 with the ability to read older SWMM 5 OUT files. swmm5.dll Epaswmm5.exe
Monday
Profile Icon
Robert Dickinson commented on Robert Dickinson's group 'Stream of Information'
Video: How Snowflakes Are Formed February 4th, 2012 | Posted by Jaime Menchén in Science Videos This time-lapse video lasts 11 seconds, with no music or voice-over. And still you’ll want to see it over and over again. The…
Monday
Profile Icon
4 blog posts by Robert Dickinson were featured Monday
Profile Icon
Blog posts by Robert Dickinson Monday
Profile Icon

[gickr.com]_cf9284f4-d453-2834-0dff-67895a933b33

Photo posted by Robert Dickinson Monday
Profile Icon

This is a galaxy

This is a galaxy. Or is it? A remix of material originally produced for BBC Stargazing Live 2012 If you liked this video, follow me on twitter to hear about ...
Video posted by Robert Dickinson Sunday
Profile Icon
2 blog posts by Robert Dickinson were featured Feb 5
Profile Icon
Blog posts by Robert Dickinson Feb 5
Upaka

Calling some results SWMM results to another program

  • Rating: No Rating
Hi,
I am trying to call some results of SWMM through another program.
(Example; I wanna call the orifice flows from the attached problem to another program which is in C++)

If anyone knows; the coding to do this please let me know.

Upaka 

Views: 32

Attachments:

Reply to This

Replies to This Discussion

Upaka, are you trying to substitute your orifice flow equation for the orifice flow equation in SWMM5? If you are then it would be easier to modify the SWMM 5 code in the file link.c to change the orifice equation.
Thanks for the reply.
I am trying to do an optimisation of overflows. To do that I am going to use another program called "NSGA II" which is written in C++.
However I have to call the "Orifice flows" to NSGA II from the "SWMM rpt" file.

It seems to be "SWMM_Nlink" function is for "conduits, pumps, orifices, weirs and outlets".

To me, I wanna call just only the flow of the orifices.
Okay, so you just want a time series of the orifice flows in the rpt file? You can do that now if you use the DOS version of SWMM 5 and use the REPORT function.
I think I didn't explain it well. Sorry for that.

when we run the SWMM example (which is attached), we can have the Orifice flows with the time.

I wanted to link these values with another C++ program (NSGA II).

Hope I mentioned it to clear.

My question is, what are the possible C++ coding to link these Orifice flows to another C++ program.

Thanks alot
Attachments:

Reply to Discussion

RSS

© 2012   Created by Robert Dickinson.   Powered by .

Badges  |  Report an Issue  |  Terms of Service