%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rm3,open).
stuck(fm5,closed).
has_leak(loi345a).
h(in_state(loi345a,open),0).
stuck(rfi12,open).
stuck(lm2,closed).
has_leak(rfm4).
h(in_state(rfm4,open),0).
stuck(rm4,closed).
stuck(rha,open).
stuck(rfm4,open).
stuck(ffm1,closed).
stuck_at(fmc1_w4,fmc1_g2,1).
stuck_at(fmc1_w60,fmc1_g10,0).
stuck_at(fmc1_w23,fmc1_g9,0).
stuck_at(fmc2_w41,fmc2_g4,1).
stuck_at(fmc1_w4,fmc1_g1,1).
stuck_at(fmc1_w60,fmc1_g10,1).
stuck_at(fmc2_w44,fmc2_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).

