Smart Energy Management for Marine and Off Grid