%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rx12,closed).
stuck(rm4,closed).
has_leak(ffm5).
h(in_state(ffm5,open),0).
stuck(lhb,open).
stuck(foi12,closed).
stuck(fi345,open).
stuck(rx12,closed).
stuck(lx12,closed).
has_leak(lfx12).
h(in_state(lfx12,open),0).
has_leak(roi12).
h(in_state(roi12,open),0).
stuck_at(fmc1_w16,fmc1_g10,1).
stuck_at(fmc3_w23,fmc3_g9,1).
stuck_at(fmc3_w60,fmc3_g11,1).
stuck_at(fmc3_w38,fmc3_g10,1).
stuck_at(fmc3_w54,fmc3_g1,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).

