In one of your posts you referred that the injection pump was replaced. Did you ever go back and re-tighten all the high & low pressure fuel connections ???????? That the injector pump was replaced and that you now have starting problems would suggest that maybe the injector pump was NOT the problem, etc. It then follows as good possibility that there is a cracked (or loose) fuel line / connector in your system .... why was the injector pump replaced??? The cheapy compression fittings used on boat fuel systems are notorious 'leakers', should be only tightened ONCE (before retightening, the tubing should be trimmed and the internal connection ferrules should be replaced - better to use double flared connections ... BTW, NEVER use PTFE tape or 'dope' on such fittings to make them 'seal'.
The cheap copper tubing used in the fuel supply line is 'reactive' with most diesel fuels - developed pin hole on the suction side?? The lift pumps on QMs are easy to break ... pin hole in the internal diaphragm which allows fuel to slowly drain/bypass into the crankcase during moderate to long term engine shut down?
If the engine is physically located higher than the 'highest' elevation of the rest of the fuel system ... and if one (or both) of the check valves in the lift pump is faulty, the fuel can flow/drain retrograde back into the tank when the engine is shut down ... leaving air in the fuel line section close to the injection pump - hard starting. Most Yanmars are NOT 'sensitive' to moderate amount of air in the fuel line, they will easily start with 'some' air in the system. If this is an air leakage problem you will probably find a LARGE amount of air in the delivery system.
A quick check to validate the integrity of the low pressure side of the fuel delivery system: If you have the expertise - install a vacuum gage into the fuel line, shut off the tank valve, install a tee with cock valve and apply vacuum, then shut cock valve. Watch the vacuum gage ... if the vacuum gage slowly over time returns to "0", you HAVE an air leak in the low pressure side of the fuel system: tubing, connectors, filter(s), lift pump diaphragm ... and that leak may be causing the fuel to drain back to the tank (or crankcase) during shut down. Next time when shutting down, close the tank valve and reopen when you later return and see if the engine starts 'easier'. If so, you HAVE an air leak in the delivery system; if so, trace the system to find out where the oil is 'going'.
For super cold temperature starting I do the following to start my QM:
• Throttle set at HALF.
• Decompression OPEN ... on most Yanmars, decompression is usually NOT hooked up nor connected to a 'stop button' (to stop a Yanmar you pull the 'idle kick' to stall the engine). The linkage that runs along the port side of the engine at the valvecover is the decompression assembly ... just move the linkage by hand.
•With the decompression OPEN, SPIN the engine with the starter, once engine is spinning (at max.) THEN close the decompression. The speed of the rotation will build the inertia of the rotating parts; suddenly closing the decompression lever with little load on the starter (least resistance to the starter) will usually cause sufficient compression to start.
Yanmar engines usually can last through 8-000-10000 total engine hours without 'noticeable' compression loss.
Most likely, there is a VERY SIMPLE reason, that you have 'hard starting'; just be patient and check out everything slowly and 'methodically'
hope this helps