ideal ship dynamics