%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm1,closed).
has_leak(loi345a).
h(in_state(loi345a,open),0).
stuck(rm3,closed).
has_leak(rfx345).
h(in_state(rfx345,open),0).
stuck(li345b,closed).
stuck(ri345b,closed).
has_leak(lfx12).
h(in_state(lfx12,open),0).
stuck(rha,open).
stuck(lm1,open).
has_leak(ffhb).
h(in_state(ffhb,open),0).
stuck_at(fmc4_w16,fmc4_g9,1).
stuck_at(fmc1_w42,fmc1_g8,1).
stuck_at(fmc1_w39,fmc1_g2,1).
stuck_at(fmc4_w4,fmc4_g1,1).
stuck_at(fmc4_w6,fmc4_g4,0).
%%%%%%%%%%%%     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).

