Code covered by the BSD License  

Highlights from
EPANET MATLAB Toolkit

5.0

5.0 | 2 ratings Rate this file 19 Downloads (last 30 days) File Size: 17.08 KB File ID: #25100

EPANET MATLAB Toolkit

by Demetrios Eliades

 

21 Aug 2009 (Updated 29 Jun 2011)

Setup and run EPANET simulations in Matlab

| Watch this File

File Information
Description

This is an extension of the getwdsdata.m originally created by Philip Jonkergouw in 2007.

It captures most of the commands allowed by EPANET, and effort was given to be as generic as possible.

*** You need to add the EPANET.DLL file in the folder for this to work properly - you can download it from the EPA website: http://www.epa.gov/nrmrl/wswrd/dw/epanet.html ***

*** There seems to be an bug in setdata.m. To solve this use

[errorcode]=calllib('epanet2','ENsetcontrol', ControlIndex, ControlType, LinkIndex, Setting, NodeINdex, Level)

Details on the parameters can be found in the toolkit.chm file, section ENsetcontrol. ***

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 Jan 2010 Kegong Diao

Thanks a lot!

07 Mar 2011 david

fantastic tool!

Please login to add a comment or rating.
Updates
22 Oct 2010

Philip Jonkergouw is now properly acknowledged!

25 Oct 2010

Removed epanet.dll file

25 Nov 2010

1. Added instructions on how to run the example by downloading EPANET.DLL
2. Changed the copyright file

29 Jun 2011

Notify for a bug in setdata.m, regarding control modification

Tag Activity for this File
Tag Applied By Date/Time
epanet Demetrios Eliades 21 Aug 2009 12:02:23
hydraulics Demetrios Eliades 21 Aug 2009 12:02:23
water distribution Demetrios Eliades 21 Aug 2009 12:02:23

Contact us at files@mathworks.com