A steam turbine trip is followed by a prompt closure of stop valves in front of the turbine and consequently to a pressure rise in the main steam pipeline. This steam hammer transient leads to the generation of intensive fluid dynamic forces that act along the pipeline axis and induce additional dynamic loads on the main steam pipeline. It is a common practice to assume a simultaneous closure of all stop valves in the safety analysis of the main steam pipeline. In the present paper computer simulations and analyses of the fluid dynamic forces are performed for several scenarios that take into account the possibility of delayed closure of the stop valve in front of the turbine. The influence of the failure of the steam by-pass line opening is considered too. The results show that the delay of the stop valve closure increases the maximum intensity of fluid dynamic force in the pipeline segment in front of the stop valve and decreases the intensity of fluid dynamic forces in segments along the pipeline. The failure of the by-pass line to open leads to prolonged steam pressure and fluid dynamic forces oscillation in pipeline segments. The simulations were performed with the in-house computer code based on the method of characteristics for the solving of the hyperbolic system of PDE that represent the mass, momentum and energy balance equations of the 1-D, compressible and transient fluid-flow. The obtained results are a support to safety analyses of thermal power plants under transient conditions.