%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rom1).
h(in_state(rom1,open),0).
stuck(foha,closed).
has_leak(loi12).
h(in_state(loi12,open),0).
stuck(rm1,open).
stuck(lx12,closed).
stuck(lm5,closed).
stuck(lhb,open).
stuck(ri12,closed).
stuck(fm1,closed).
has_leak(lox345).
h(in_state(lox345,open),0).
stuck_at(fmc3_w38,fmc3_g10,0).
stuck_at(fmc4_w56,fmc4_g1,0).
stuck_at(fmc1_w60,fmc1_g2,1).
stuck_at(fmc3_w41,fmc3_g4,1).
stuck_at(fmc3_w56,fmc3_g1,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

