setQualityType problem

Hi
In MATLAB,before I write the command “d.setQualityType(‘Chlorine’)” , the whole nodes initial quality inputs were alright, but when I write the mentioned command and after getting outputs, the nodes initial quality inputs would be the other numbers which I could not recognize how they have changed!
Could you help me what should I do?
Thanks.

Hi @Pedramjazayeri,

Please, can you send me an example to reproduce the behavior?

I tried the following example and the data are the same before and after.

start_toolkit;
d = epanet(‘Net1.inp’);
d.getNodeInitialQuality
d.setQualityType(‘Chlorine’);
d.getNodeInitialQuality

Regards,
Marios

1 Like

Hi @Mariosmsk
Thank you for your attention
It is important to say that I create a new network with the excel input file instead of using an available net such as net1.
I do the same as you told me but the problem has been remaining and the Nodes Initial Quality have changed when I write:
d.setQualityType(‘Chlorine’);
Please tell me your email address that I send my code
Kind regards

Hi, my email mariosmsk@gmail.com

1 Like

Hi @Mariosmsk
I sent it.
Yours Truely

I haven’t received any mail.

Regards,
Marios