%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfhb).
h(in_state(rfhb,open),0).
stuck(fom1,closed).
stuck(ri345b,closed).
stuck(lx12,open).
stuck(lm4,closed).
stuck(rha,closed).
stuck(li345b,open).
stuck(ri345b,closed).
stuck(li345b,open).
stuck(rha,closed).
stuck_at(fmc4_w28,fmc4_g11,1).
stuck_at(fmc3_w28,fmc3_g8,0).
stuck_at(fmc1_w39,fmc1_g2,0).
stuck_at(fmc2_w60,fmc2_g2,1).
stuck_at(fmc3_w38,fmc3_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).

