summaryrefslogtreecommitdiff
path: root/Power_Electronics_Principles_and_Applications_by_Jacob/Chapter2.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Power_Electronics_Principles_and_Applications_by_Jacob/Chapter2.ipynb')
-rw-r--r--Power_Electronics_Principles_and_Applications_by_Jacob/Chapter2.ipynb65
1 files changed, 65 insertions, 0 deletions
diff --git a/Power_Electronics_Principles_and_Applications_by_Jacob/Chapter2.ipynb b/Power_Electronics_Principles_and_Applications_by_Jacob/Chapter2.ipynb
new file mode 100644
index 00000000..9d88fe28
--- /dev/null
+++ b/Power_Electronics_Principles_and_Applications_by_Jacob/Chapter2.ipynb
@@ -0,0 +1,65 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 2: Power Electronics Circuit Layout"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Example 2.9,Page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "load current is 3.75 A\n",
+ "wiring resistance is 26.67 mohm\n",
+ "resistance per inch is 1666.67 microohm/inch\n"
+ ]
+ }
+ ],
+ "source": [
+ "#finding an appropriate wire gauge\n",
+ "\n",
+ "#initialisation of variable\n",
+ "from math import pi,tan,sqrt,sin,cos,acos,atan\n",
+ "V=15.0;#voltage\n",
+ "R=4.0;#resistance\n",
+ "Vl=.1;\n",
+ "D=8.0;#duty cycle\n",
+ "\n",
+ "#calculation\n",
+ "Il=V/R;\n",
+ "Rw=Vl/Il#wiring resistance\n",
+ "Ri=Rw/(2*D);\n",
+ "\n",
+ "#result\n",
+ "print \"load current is\",round(Il,2), \"A\"\n",
+ "print \"wiring resistance is\",round(Rw*1000,2), \"mohm\"\n",
+ "print \"resistance per inch is\",round(Ri*1e6,2), \"microohm/inch\""
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}