Read about START-PROF pipe stress analysis software
Metal hose is bellows inside the braid. The braid resist to the pressure thrust forces. The whole metal hose element don't pass the pressure thrust forces on the connected pipes. The metal hose stiffness is so low that it could be ignored in analysis.
There's a 3 options how to model the metal hose:
Example project file: Metal hose1.ctp
Add the custom expansion joint with a very big flexibilities
Example project file: Metal hose1.ctp
Cut the piping and analyze two independent models with a caps at the free ends.
For both options need to apply the half weight of the metal hose into the both ends (for example 6 and 10). After analysis need to check the hose end displacements and compare to allowable values from manufacturer.
Use the flexible element