A System Simulator For Shipboard Electrical Distribution Systems.