The inspiration for Trek space combat is a mixture. The foundation for it was clearly laid in TOS: Balance of Terror, which was clearly inspired by "The Enemy Below" a WW2 based movie involving a Destroyer vs Submarine. That said, they clearly put their own spin on it and the technologies are...