%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rfha,open).
has_leak(ffm5).
h(in_state(ffm5,open),0).
has_leak(lom1).
h(in_state(lom1,open),0).
has_leak(rfm2).
h(in_state(rfm2,open),0).
stuck(fha,open).
stuck(lx12,open).
stuck(ffi12,closed).
has_leak(ffi12).
h(in_state(ffi12,open),0).
stuck(rm4,closed).
stuck(li345a,closed).
stuck_at(fmc3_w53,fmc3_g3,1).
stuck_at(fmc4_w6,fmc4_g4,0).
stuck_at(fmc1_w6,fmc1_g3,0).
stuck_at(fmc2_w54,fmc2_g1,1).
stuck_at(fmc3_w6,fmc3_g4,0).
stuck_at(fmc1_w4,fmc1_g1,0).
stuck_at(fmc4_w41,fmc4_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).

