calculation for internal water spray system