%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfha).
h(in_state(rfha,open),0).
stuck(lfm5,open).
has_leak(rfm4).
h(in_state(rfm4,open),0).
has_leak(rfhb).
h(in_state(rfhb,open),0).
stuck(ri12,closed).
stuck(loha,open).
stuck(ffha,closed).
has_leak(foi345).
h(in_state(foi345,open),0).
stuck(roi345a,closed).
has_leak(rom5).
h(in_state(rom5,open),0).
stuck_at(fmc1_w6,fmc1_g4,0).
stuck_at(fmc1_w6,fmc1_g3,1).
stuck_at(fmc1_w4,fmc1_g1,1).
stuck_at(fmc4_w60,fmc4_g3,1).
stuck_at(fmc3_w60,fmc3_g3,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

