I'm not shire, if I understand your problem correctly. With T=1 and T=2, do you mean that this are the different timepositions in the same simulation? Because if yes, then why do you want to change the parameters in the file omnetpp.ini? Because in this file you will give your ned-parameters any fixed value and in the initialization-method you will copy this values in attributes of your class. This attributes can be changed however you want. but you can not change the values in the omnetpp.ini file out of a running simulation (if it is possible and you need to do this, then this is no good programming).
Regards
Jan