%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rx345,closed).
has_leak(lfm4).
h(in_state(lfm4,open),0).
stuck(rfm4,open).
has_leak(rfm5).
h(in_state(rfm5,open),0).
has_leak(ffm3).
h(in_state(ffm3,open),0).
has_leak(lohb).
h(in_state(lohb,open),0).
stuck(ri345b,closed).
has_leak(rfm4).
h(in_state(rfm4,open),0).
stuck(roi345b,open).
has_leak(rfm3).
h(in_state(rfm3,open),0).
stuck_at(fmc1_w29,fmc1_g11,0).
stuck_at(fmc1_w28,fmc1_g8,1).
stuck_at(fmc2_w56,fmc2_g1,1).
stuck_at(fmc4_w23,fmc4_g9,1).
stuck_at(fmc1_w54,fmc1_g1,0).
stuck_at(fmc1_w52,fmc1_g9,1).
stuck_at(fmc3_w28,fmc3_g8,0).
%%%%%%%%%%%%     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).

