effective use of python in transportation engineering teaching
TRANSCRIPT
![Page 1: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/1.jpg)
Mehmet M. KuntEastern Mediterranean Univeristy
SciPy 2010June 28‐ July 3Austin, Texas
![Page 2: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/2.jpg)
OutlineTransportation engineering teaching for civil engineering studentsObjectiveWhat is expected?Current SituationCoding of the ConceptExamplesBenefits
![Page 3: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/3.jpg)
Transportation engineering teaching in civil engineering
Third year courseFundamentals of transportation engineering in one semesterMost of the students have no background on transportation engineeringUse of commercial software is limited:
BudgetCommercial software are specialized so one software will not cover all the subjectsPython is versatile and flexible so any problem can be solved
![Page 4: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/4.jpg)
ObjectiveUsing a software tool that will help the students to
Understand the conceptCheck their hand calculation accuracyUse software for what‐if analysis
![Page 5: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/5.jpg)
What is expected?The students need to learn, understand and use engineering principles to solve the problems.
![Page 6: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/6.jpg)
Current SituationVisual examples as given in textbooks are limitedDoing what if analysis may take away precious teaching timeThe students may have problem in
Understanding the problem, how to solve it?Selecting the appropriate formula for the solutionUsing the right unit in the calculations (i.e., radians vsdegrees)
![Page 7: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/7.jpg)
Current SituationSurveying students on learning styles
Visual learning style is mainly usedProblem solving duration estimation
Hand calculation (with a calculator)Using Python
Post‐test survey of students
![Page 8: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/8.jpg)
Current SituationDuration in minutes for one problem
Surveying students on learning styles
Visual is most preferredProblem solving duration estimation
Hand calculation (with a calculator)Using Python
![Page 9: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/9.jpg)
Current Situation
Surveying students on learning styles
Visual is most preferredProblem solving duration estimation
Hand calculation (with a calculator)Using Python
Average duration = 5 min
![Page 10: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/10.jpg)
Coding of the conceptEquationsPython Code
![Page 11: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/11.jpg)
c
ss R
L2
=θ
cs RLA =4
5
40AL
LX sss −=
6
7
2
3
3366 AL
AL
Y sss −=
⎟⎠⎞
⎜⎝⎛= −
XYd 1tan
22 YXc +=
( )scs RYp θcos1−−=
scs RXk θsin−=
( ) ⎟⎠⎞
⎜⎝⎛ Δ+=
2tan' pRT c
sradcc LRL −Δ=
Spiral CurveInput:Δ, Rc, Ls
![Page 12: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/12.jpg)
Coding of the concept‐Python Modules
Python 2.6.5NumpyMatplotlib
![Page 13: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/13.jpg)
Coding of the concept‐Python Functions
Python 2.6.5Numpy
Degree to radian conversion (pi)Array calculationsArray statistics – average(), mean (), std()Linear algebra – lstsq()Trigonometric functions
![Page 14: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/14.jpg)
Portland Cement Concrete Pavement Thickness Design based on Costs of subbase and pavement
Vertical Curve – Sag or Crest, finding the lowest or highest point
![Page 15: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/15.jpg)
![Page 16: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/16.jpg)
Limiting Stress
![Page 17: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/17.jpg)
![Page 18: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/18.jpg)
CIVL361 TRANSPORTATION ENGINEERINGInstructor: Dr. Mehmet M. Kunt
Computer Name: datron-86c6bb17 Date : 2010-06-28IP Number is : 94.79.97.87
Input Variables=============================================================g1 = -2.7 %; g2 = 1.5 %; Length of the Curve = 3.5 sta=============================================================
RESULTS===========================================================THIS IS A SAG VERTICAL CURVE
Rate of change of grade is 1.200 %/StaLocation of lowest point is 2.25 sta from BVCStation of PI = 150 + 0 staElevation of PI = 25.0 mStation of BVC = 148 + 25 staElevation of BVC = 29.73 mStation of lowest point = 150 + 50 staElevation of lowest point = 26.69 m===========================================================
![Page 19: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/19.jpg)
![Page 20: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/20.jpg)
CIVL361 TRANSPORTATION ENGINEERINGInstructor: Dr. Mehmet M. Kunt
Computer Name: datron-86c6bb17 Date : 2010-06-28IP Number is : 94.79.97.87
Input Variables=============================================================g1 = 2.7 %; g2 = -1.5 %; Length of the Curve = 3.5 sta=============================================================
RESULTS===========================================================THIS IS A CREST VERTICAL CURVE
Rate of change of grade is -1.200 %/StaLocation of highest point is 2.25 sta from BVCStation of PI = 150 + 0 staElevation of PI = 25.0 mStation of BVC = 148 + 25 staElevation of BVC = 20.27 mStation of highest point = 150 + 50 staElevation of highest point = 23.31 m===========================================================
![Page 21: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/21.jpg)
![Page 22: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/22.jpg)
![Page 23: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/23.jpg)
BenefitsTime savings (one problem for 24 students saved two‐8 hr day)Efficient, accurate, reliable problem solving environmentAllows the instructor to discuss more cases, advanced issueAllows build‐up of knowledge without forcing the students to memorize the examples or assumptionsThe attention will be on using the right input and obtaining the right decisions
![Page 24: Effective use of Python in Transportation Engineering Teaching](https://reader031.vdocument.in/reader031/viewer/2022021212/62065d1e8c2f7b1730070ccb/html5/thumbnails/24.jpg)