{"id":358,"date":"2009-05-06T10:00:18","date_gmt":"2009-05-06T07:00:18","guid":{"rendered":"http:\/\/www.water-simulation.com\/wsp\/?p=358"},"modified":"2014-02-20T09:14:01","modified_gmt":"2014-02-20T06:14:01","slug":"epanet-and-matlab","status":"publish","type":"post","link":"http:\/\/www.water-simulation.com\/wsp\/2009\/05\/06\/epanet-and-matlab\/","title":{"rendered":"EPANet and Matlab"},"content":{"rendered":"<p>A visitor that came to this blog from <a href=\"http:\/\/eldemet.wordpress.com\/\">Demetrios\u05b2 Eliades&#8217;s<\/a>\u05b2 web site reminded me of the EPANet and Matlab issue. About 3 years ago I was busy preparing for the <a href=\"http:\/\/www.water-simulation.com\/wsp\/about\/bwsn\/\">Battle of the Water Sensor Networks<\/a> (BWSN). A few people helped me test and debug the software utilities for the battle. One of them was <a href=\"http:\/\/centres.exeter.ac.uk\/cws\/people\/friends-past-associates\/55-dr-philip-jonkergouw\">Philip Jonkergouw<\/a>\u05b2\u00a0from the University of Exeter. One of the methods we used to validate the\u05b2\u00a0programs was to independently write the code and compare results. I developed the programs in Visual Basic and Philip used <a href=\"http:\/\/www.mathworks.com\">Matlab<\/a>.<\/p>\n<p>The programs we wrote had to call the <a href=\"http:\/\/www.water-simulation.com\/wsp\/2005\/06\/22\/epanet-programmers-toolkit\/\">EPANet toolkit<\/a>.\u05b2\u00a0Both of us spent a lot of time setting up the programs\u05b2\u00a0to work correctly according to the BWSN rules. When it did work we compared the results, fixed the bugs and the BWSN is history.<\/p>\n<p>Calling EPANet from Matlab is still a task people are looking for help with. Philip <a title=\"getwdsdata.m\" href=\"http:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/15502\">posted<\/a>\u05b2\u00a0a Matlab file and shared his experience. Some time later Demetrios <a title=\"Calling EPANET from Matlab\" href=\"http:\/\/eldemet.wordpress.com\/2008\/08\/14\/epanet-and-matlab\/\">published<\/a>\u05b2\u00a0an &#8220;enhanced modified version&#8221; with some technical explanation for beginners.<\/p>\n<p>More information regarding EPANet and Matlab integration can be found by searching the <a href=\"http:\/\/www.water-simulation.com\/wsp\/bb\/\" target=\"_blank\">Water Simulation Forum<\/a>.<\/p>\n<p>I have met Demetrios in August 2006 at the <a href=\"http:\/\/www.eng.uc.edu\/wdsa2006\/\">WDSA 2006<\/a> and even had a good time. Who said water engineers can&#8217;t party?<\/p>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2009\/05\/pict3007.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-364\" title=\"wdsa2006\" alt=\"wdsa2006\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2009\/05\/pict3007.jpg\" width=\"480\" height=\"360\" \/><\/a><\/p>\n<p>From right to left: Ami Preis, <a href=\"http:\/\/eldemet.wordpress.com\/\">Demetrios\u05b2\u00a0Eliades<\/a>, Lina Perelman, yours truly and a Colombian guy that I can&#8217;t remember his name.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A visitor that came to this blog from Demetrios\u05b2 Eliades&#8217;s\u05b2 web site reminded me of the EPANet and Matlab issue. About 3 years ago I was busy preparing for the Battle of the Water Sensor Networks (BWSN). A few people &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.water-simulation.com\/wsp\/2009\/05\/06\/epanet-and-matlab\/\"> <span class=\"screen-reader-text\">EPANet and Matlab<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,7],"tags":[55],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-epanet-related","category-programming","tag-matlab"],"_links":{"self":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":2,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":1264,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts\/358\/revisions\/1264"}],"wp:attachment":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}