Fixing equation and cleanup

This commit is contained in:
Jeff MacKinnon 2025-07-10 11:44:12 -03:00
parent f8c9f20762
commit 548879c7aa
2 changed files with 1 additions and 17 deletions

View file

@ -6,12 +6,6 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"import jepl.jepl as jmk # import the module. If this file is located further up the file tree it may look like \"resources.JEPL.jepl.jepl\"\n",
<<<<<<< HEAD
"#%run jepl/jeplinit.py jepl/ # This is needed to initialize the databases. Again if you are running this from a different location the run command will look like %run jeplinit.py resources/JEPL/jepl/ "
=======
"%run jepl/jeplinit.py jepl/ # This is needed to initilize the databases. Again if you are running this from a different location the run command will look like %run jeplinit.py resources/JEPL/jepl/ "
>>>>>>> 619a53650e4a613fb57eade5024967e76c5a0bd7
] ]
}, },
{ {
@ -791,7 +785,6 @@
"33" "33"
] ]
}, },
<<<<<<< HEAD
"execution_count": 14, "execution_count": 14,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
@ -915,15 +908,6 @@
"source": [ "source": [
"from jepl.jepl_templates import *\n", "from jepl.jepl_templates import *\n",
"af_labels('testresults_labels.csv')" "af_labels('testresults_labels.csv')"
=======
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"jmk.panels_per_string(1500,40,beta=-0.5,temp = 2)"
>>>>>>> 619a53650e4a613fb57eade5024967e76c5a0bd7
] ]
} }
], ],

View file

@ -18,7 +18,7 @@ def va(voltage, current,phases=3):
''' '''
if phases == 3: if phases == 3:
va = (math.pi * voltage * current) va = (math.sqrt(3) * voltage * current)
elif phases == 1: elif phases == 1:
vs = voltage * current vs = voltage * current