What's the meaning of this error?


#1

Hi evryone!

When I run this Code, I encountered the following error

 Index exceeds array bounds.

Error in epanet/setNodeBaseDemands (line 2483)
                    [obj.Errcode] = ENsetbasedemand(i, u,
                    value{u}(i),obj.LibEPANET);


Error in EX16_create_multiple_scenarios (line 49)
    d.setNodeBaseDemands({BaseDemand})

Thanks,
Thomas