Modeling Of Distributed Naval Ship Systems Using Architecture Flow Optimization