Ship engines are calculated, they are completely different to any truck engine, for a start they are a slow speed so they max out at around 109rpm and make 80,000 odd hp in some. Others are diesel electric so they have 4-6 smaller generators powering electric thrusters so that's how they manage the calculate the power they make.