%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(roha,closed).
stuck(lox345,closed).
stuck(lm4,open).
has_leak(rfx12).
h(in_state(rfx12,open),0).
stuck(lm4,open).
stuck(li345b,closed).
stuck(rom4,closed).
has_leak(rfm1).
h(in_state(rfm1,open),0).
has_leak(fom2).
h(in_state(fom2,open),0).
has_leak(loi345a).
h(in_state(loi345a,open),0).
stuck_at(fmc1_w29,fmc1_g11,0).
stuck_at(fmc4_w60,fmc4_g3,1).
stuck_at(fmc2_w4,fmc2_g1,0).
stuck_at(fmc4_w41,fmc4_g4,1).
stuck_at(fmc1_w54,fmc1_g1,0).
stuck_at(fmc3_w4,fmc3_g1,1).
stuck_at(fmc2_w56,fmc2_g1,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).

