kios-research / ccwi2016 Goto Github PK
View Code? Open in Web Editor NEWSource-code for executing the case study in our CCWI 2016 paper
Source-code for executing the case study in our CCWI 2016 paper
Hi, I encounter a very interesting bug here. The name of the reservoir in a network made a difference when loading MSX file via loadMSXFile command.
In order to reproduce, please
(1) download bugreport.zip first
(2) run bugreport.m
when running case 1, there is Error 506 - could not read MSX input file.
when running case 2, there is no error.
And the code is exactly the same for case 1 and case 2 (only three lines), the only difference is the reservoir's name is different in source file Network_1.inp and Network_2.inp
I put the code here for your convinence
% Case 1
close all; clear;
G = epanet('Network_1.inp'); % Load EPANET Input file
G.loadMSXFile('Arsenite.msx'); % Load MSX file
% Case 2
close all; clear;
G = epanet('Network_2.inp'); % Load EPANET Input file
G.loadMSXFile('Arsenite.msx'); % Load MSX file
The details of error:
EPANET loaded successfully.
Loading File "Network_1.inp"...
Input File "Network_1.inp" loaded sucessfuly.
Error 506 - could not read MSX input file.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Error 519 - an MSX project was not opened.
Output argument "value" (and maybe others) not assigned during call to
"epanet/getMSXSourceType".
Error in epanet>MSXMatlabSetup (line 7402)
obj.MSXSourceType = obj.getMSXSourceType;
Error in epanet/loadMSXFile (line 2882)
MSXMatlabSetup(obj,msxname);
Check here for the next versions of EMT:
https://github.com/OpenWaterAnalytics/EPANET-Matlab-Toolkit
The matlab will crash when the addNodeJunction and closeNetwork run in sequence, as follows:
`
d = epanet('Net1.inp');
d.addNodeJunction('j1');
d.closeNetwork;
`
I use the epanet to open an INP file which does not contain Demands Pattern.
`error in epanet/saveBinInpFile (line 4966)
fprintf(f,'\n%s%s%f%s%s',obj.BinNodeNameID{u},sps,obj.BinNodeBaseDemands(u),sps,obj.BinPatternNameID{1});
error in epanet (line 446)
obj.saveBinInpFile;
error in epanet_pdd (line 77)
obj.Epanet = epanet(varargin{1},'BIN');`
At line 424 of the epanet.m script,
424 obj.LibEPANETpath = [pwdepanet,'/glnx/'];
there is no such dirctory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.