Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import math
|
|
| 3 |
import itertools
|
| 4 |
|
| 5 |
# Available Capacitor Units (kVAR)
|
| 6 |
-
available_capacitors = [25, 20, 15, 10, 5, 2.5, 1.5, 1]
|
| 7 |
|
| 8 |
def calculate_power_parameters(voltage, current, power_factor):
|
| 9 |
if voltage > 0 and current > 0:
|
|
|
|
| 3 |
import itertools
|
| 4 |
|
| 5 |
# Available Capacitor Units (kVAR)
|
| 6 |
+
available_capacitors = [30,25, 20, 15, 10, 5, 2.5, 1.5, 1]
|
| 7 |
|
| 8 |
def calculate_power_parameters(voltage, current, power_factor):
|
| 9 |
if voltage > 0 and current > 0:
|