%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fi345,open).
stuck(fm4,closed).
stuck(lom5,open).
stuck(fm2,open).
has_leak(fom5).
h(in_state(fom5,open),0).
has_leak(rox12).
h(in_state(rox12,open),0).
stuck(roha,closed).
has_leak(rfx12).
h(in_state(rfx12,open),0).
stuck(lfi345a,closed).
stuck(ri12,open).
stuck_at(fmc4_w60,fmc4_g10,1).
stuck_at(fmc4_w60,fmc4_g11,0).
stuck_at(fmc1_w16,fmc1_g9,0).
stuck_at(fmc3_w60,fmc3_g2,0).
stuck_at(fmc4_w60,fmc4_g2,0).
stuck_at(fmc2_w16,fmc2_g9,1).
stuck_at(fmc2_w52,fmc2_g9,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).

