%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfm3).
h(in_state(rfm3,open),0).
has_leak(rohb).
h(in_state(rohb,open),0).
has_leak(fom5).
h(in_state(fom5,open),0).
has_leak(lom5).
h(in_state(lom5,open),0).
has_leak(fom5).
h(in_state(fom5,open),0).
has_leak(ffm5).
h(in_state(ffm5,open),0).
has_leak(rom3).
h(in_state(rom3,open),0).
stuck(lm2,closed).
has_leak(fohb).
h(in_state(fohb,open),0).
stuck(rm3,open).
stuck_at(fmc2_w38,fmc2_g10,1).
stuck_at(fmc2_w38,fmc2_g10,0).
stuck_at(fmc1_w6,fmc1_g4,1).
stuck_at(fmc2_w23,fmc2_g9,0).
stuck_at(fmc1_w53,fmc1_g3,0).
stuck_at(fmc1_w44,fmc1_g8,1).
stuck_at(fmc3_w29,fmc3_g11,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

