%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rha,open).
stuck(rha,open).
stuck(lox12,open).
stuck(fom3,open).
has_leak(foi12).
h(in_state(foi12,open),0).
has_leak(lfx345).
h(in_state(lfx345,open),0).
has_leak(fom1).
h(in_state(fom1,open),0).
has_leak(lfi345a).
h(in_state(lfi345a,open),0).
stuck(rfx12,closed).
stuck(ri345a,closed).
stuck_at(fmc2_w42,fmc2_g8,1).
stuck_at(fmc4_w16,fmc4_g10,1).
stuck_at(fmc4_w29,fmc4_g11,1).
stuck_at(fmc2_w28,fmc2_g8,0).
stuck_at(fmc2_w54,fmc2_g1,0).
stuck_at(fmc2_w16,fmc2_g9,0).
stuck_at(fmc1_w29,fmc1_g11,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: minus_z
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(minus_z,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(minus_z,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(minus_z,right_rcs),T).

