Modeling the influence of anode-cathode spacing in a pulsed discharge nozzle