%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lfm1).
h(in_state(lfm1,open),0).
stuck(rohb,closed).
has_leak(loi345b).
h(in_state(loi345b,open),0).
stuck(li345a,open).
stuck(lhb,closed).
stuck(rm1,open).
stuck(rx345,closed).
stuck(fm2,open).
stuck(rfi345b,open).
stuck(rm5,closed).
stuck_at(fmc3_w28,fmc3_g11,0).
stuck_at(fmc1_w60,fmc1_g10,0).
stuck_at(fmc2_w38,fmc2_g10,1).
stuck_at(fmc2_w41,fmc2_g4,1).
stuck_at(fmc2_w4,fmc2_g1,0).
stuck_at(fmc1_w29,fmc1_g11,1).
stuck_at(fmc1_w28,fmc1_g8,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).

