Code Monkey home page Code Monkey logo

ccwi2016's People

Contributors

eldemet avatar mariosmsk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ccwi2016's Issues

Weird Error 506 - could not read MSX input file.

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

bugreport.zip

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);

INP file do not contain demand pattern

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');`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.