rtaormina / epanetCPA

epanetCPA is a MATLAB® toolbox for assessing the impacts of cyber-physical attacks on water distribution systems
23 stars 17 forks source link

Attack on Actuator #5

Open NoyKad opened 5 years ago

NoyKad commented 5 years ago

Hi @rtaormina! When I'm attacking a valve to inject false settings, as the example:

[CYBERATTACKS]
; Type,  Target,    Init_cond,     End_cond,        Arguments
 Actuator,  FCV1,     TIME==20,   TIME==30,      85

The settings changes during the attack, but at the end of the attack the original settings do not restored. From my experience the settings after the attack are replaced with the value of zero, what can cause a big mess in the WDN.

Do I doing it wrong or it is a bug? Anyway, for now this is my solution:

; FCV1 - original setting 90.3 
 Actuator, FCV1,    TIME==20,     TIME==30,     85
 Actuator, FCV1,    TIME==30,     TIME==-1,     90.3

Thanks!

rtaormina commented 5 years ago

Thanks for pointing it out. I will look at it asap and let you know. It is true that valves are harder to handle with respect to pumps.