%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rfm4,closed).
stuck(lfm5,closed).
stuck(rm2,closed).
stuck(lhb,open).
has_leak(ffm3).
h(in_state(ffm3,open),0).
stuck(loha,closed).
has_leak(rfx345).
h(in_state(rfx345,open),0).
has_leak(rfx12).
h(in_state(rfx12,open),0).
stuck(ffm2,closed).
stuck(rom2,open).
stuck_at(fmc1_w16,fmc1_g10,0).
stuck_at(fmc4_w53,fmc4_g3,1).
stuck_at(fmc4_w6,fmc4_g3,1).
stuck_at(fmc2_w39,fmc2_g2,0).
stuck_at(fmc1_w52,fmc1_g9,0).
stuck_at(fmc2_w6,fmc2_g4,1).
stuck_at(fmc1_w6,fmc1_g4,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

