%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfm2).
h(in_state(rfm2,open),0).
has_leak(rox345).
h(in_state(rox345,open),0).
has_leak(rfha).
h(in_state(rfha,open),0).
has_leak(lfi12).
h(in_state(lfi12,open),0).
has_leak(lom1).
h(in_state(lom1,open),0).
stuck(fm3,closed).
has_leak(lom5).
h(in_state(lom5,open),0).
has_leak(rom4).
h(in_state(rom4,open),0).
has_leak(rfha).
h(in_state(rfha,open),0).
stuck(ri12,closed).
stuck_at(fmc1_w23,fmc1_g9,0).
stuck_at(fmc4_w4,fmc4_g1,1).
stuck_at(fmc3_w4,fmc3_g1,0).
stuck_at(fmc2_w28,fmc2_g11,1).
stuck_at(fmc1_w29,fmc1_g11,0).
stuck_at(fmc1_w29,fmc1_g11,1).
stuck_at(fmc2_w29,fmc2_g11,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: minus_x
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(minus_x,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(minus_x,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(minus_x,right_rcs),T).

