%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(ffm5).
h(in_state(ffm5,open),0).
stuck(rm2,open).
stuck(ri345b,open).
has_leak(fom3).
h(in_state(fom3,open),0).
has_leak(loha).
h(in_state(loha,open),0).
stuck(rfm4,open).
stuck(lha,closed).
stuck(lox12,open).
stuck(rm2,open).
stuck(ri345b,closed).
stuck_at(fmc1_w4,fmc1_g2,0).
stuck_at(fmc2_w41,fmc2_g4,1).
stuck_at(fmc3_w4,fmc3_g2,0).
stuck_at(fmc3_w16,fmc3_g10,1).
stuck_at(fmc3_w29,fmc3_g11,0).
stuck_at(fmc3_w52,fmc3_g9,1).
stuck_at(fmc1_w38,fmc1_g10,1).
%%%%%%%%%%%%     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).

