%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfm5).
h(in_state(rfm5,open),0).
has_leak(lox345).
h(in_state(lox345,open),0).
stuck(fm3,closed).
stuck(rfm1,closed).
stuck(fm2,open).
stuck(lha,closed).
stuck(rx345,closed).
stuck(rm1,closed).
has_leak(ffm1).
h(in_state(ffm1,open),0).
has_leak(rom1).
h(in_state(rom1,open),0).
stuck_at(fmc1_w60,fmc1_g2,0).
stuck_at(fmc3_w41,fmc3_g4,0).
stuck_at(fmc3_w6,fmc3_g4,0).
stuck_at(fmc1_w16,fmc1_g10,0).
stuck_at(fmc2_w44,fmc2_g8,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

