Optimal capacitor placement using deterministic and genetic algorithms | Synapse