Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Creation of interactive open internet computations
according to Handbooks and References, using Mathcad
and SMath 5 Nov., 2015, Estonian University of Life Sciences
Valery Ochkov ([email protected])
Professor, Moscow Power Engineering Institute and Institute of
high temperatures of Russian Academy of Science 1
Cooperation with: • PTC – the own of Mathcad (www.ptc.com)
• The International Association for the Properties of Water and Steam (www.iapws.org)
• The National Institute of Standards and Technology (NIST - www.nist.gov)
• The Knovel Corporation (www.knovel.com) now a part of the Elsevier Corporation (www.elsevier.com)
• I hope with Estonian University of Life Sciences…
after my this visit in Uni
Three revolutionary events stand out in
historical process of knowledge transfer
development from one generation to the next :
1. Writing appearance
2. Invention of book printing
3. Implementation of computer
technologies
2
Now we have one Crisis in computer technologies:
1. «Nightmare» of the inherited, old software at firms, in institutions and universities
2. Misprints the formulas of scientific and technical literature and reference
3. Disarrangement of paper manuals and textbooks with IT-technologies
3
«Nightmare» of the “old” software at the Institute of high temperatures of Russian Academy of Science: old Hewlett-Packard with old Fortran (since 1885)
3
Three historical stages in the modes of using computers for educational,
engineering and scientific problems:
1. Batch mode, where one computer (the famous BESM-6, for example, installed in the computer center) serves many users, which it delivered to the their tasks recorded in the deck of cards and the other is neglected (paper) Media .
2. Mode (time) of personal computers.
3. Mode of global and local (corporate, university and other) networks, which essentially brings us back to a batch mode, but in a different, more qualitative level, baseline data and calculation results are transferred is no longer on paper and in electronic form on the web. Same calculations as it is necessary can be parallelized (cluster, distributed calculations, etc.) .
4
Three historical stages of development of software solutions of engineering and
scientific problems on computers:
1. Work with absolute codes (assembler, pocket calculator)
2. Programming using high-level languages (ALGOL, fortran,
Pascal, C, BASIC, Java etc)
Excel (with VBA), Matlab (Programming languages)
3. Using mathematical packages such as Mathcad,
SMath, Maple, Matlab, Mathematica, MuPAD, Derive, etc
5
Why Mathcad/SMath?
6
© 2006 PTC 7
PTC (Mathcad own) in the World Aerospace/
Defense
Automotive High Tech/
Electronics
Industrial
Equipment
Consumer
Products Life Sciences
http://www.lockheedmartin.com/index.htmlhttp://www.abb.com/global/abbzh/abbzh251.nsf!OpenDatabase&mt=&l=ushttp://www.trw.com/home/main/1,,,00.htmlhttp://www.gsk.com/index.htmhttp://www.timberland.com/cgi-bin/timberland/timberland/tim_homepage.jsphttp://www.tatamotors.com/home.php?SessionID=http://www.eicherworld.com/
© 2006 PTC 8
PTC in Russia
http://www.ruselprom.ru/ru/company/enterprises/niptiem/
The first version of Mathcad was written in 1985 by Allen Razdow from MIT
http://www.razdow.com/
Smath – a russian clone Mathcad
Mathcad books by V. Ochkov
15 in Russian, 1 in Ukrainian
2 in English:
Seven features Mathcad/SMath:
10
1. "Natural" formulas record
2. Units in formulas
3. Traditional variable’s names
4. Numerical & Symbolical Mathematics
5. 2D & 3D scientific plots and animations tools
6. “Users built-in” functions
7. Programming
Seven features Mathcad/SMath
11
1. "Natural" formulas record
BASIC: a=21: b=4.5: c=-12 d=(a^2 - b^5.5) / c
Excel
Mathcad
Tree tools of Mathcad/SMath
18
1. Menu commands
2. Operators 5! x2 M1,5 etc.
(built-in and users
as in mathematic!)
3. Functions (built-in: sin(x) sin x etc.
and users)
Seven features Mathcad/SMath
12
2. Using units by calculation
One example: Power of the human heart
Seven features Mathcad/SMath 2. Using units by calculation One example: Height and weight
Seven features Mathcad
12
2. Using units by calculation
Three type of formulas in books:
1. Physical formulas – m·c2, m·v2/2 etc.
2. Empirical formulas
3. Pseudo-empirical formulas (???)
An Empirical formula
One Typical empirical formula
A Pseudo-empirical formula – what is it?
One example: I want to calculate the molality (L) aqueous solution of NaCl with
molarity M = 2 mol/L and density q = 1.076 gm/mL. I find in Internet table:
A Pseudoempirical formula – (a physical formula with help for units calculation)
Seven features Mathcad
13
3. Traditional variable’s names (as in manuals)
Seven features Mathcad
14
4. Numerical & Symbolical Mathematics (SmartMath)
Seven features Mathcad
15
5. 2D & 3D scientific Plots
3D-Plot
Rankine Thermodynamic cycle
2D-Plot
http://twt.mpei.ac.ru/MCS/Worksheets/PTU/Rankine.xmcdhttp://twt.mpei.ac.ru/MCS/Worksheets/WSP/HTPs.xmcdhttp://twt.mpei.ac.ru/MCS/Worksheets/PTU/Rankine.xmcd
One “Property Gift” from IAPWS-MPEI-Trieru (my company)
Valery Ochkov gives his famous glass cube with the thermodynamic surface water and steam to Isaac Newton in London (25/11/2013).
The landscape: Density of water/steam by IAPWS-95 and IAPWS-IF97
The landscape: Density of water/steam by IAPWS-95 and IAPWS-IF97
WebSheet: Regions or the IAPWS-IF97
One “Mathcad Materials Properties Gift” from Trieru (my company)
Seven features Mathcad
16
6. Users built-in Functions of WaterSteamPro
Application WaterSteamPro™ www.wsp.ru For Mathcad, Matlab, Excel, Pascal, BwitASIC, fortran, C etc DLL-technology
http://www.wsp.ru/
Seven features Mathcad
17
7. Built-in Programming Language
Data Base – Mathcad – Pro/E (Creo):
9
(Pro/E) Creo
Mathcad since 2006
Materials
Properties
Data Base
(Old) Data Base in Mathcad
19
Mathcad + Internet =
Mathcad Calculation Server
20
Kill two birds with one stone
• Tear off tasks from the package Mathcad (early attempt Mathcad Explorer): dreams of exe-file
• Move tasks from personal computer to Internet not only for a viewing, but also for an interactive work on them
From WorkSheet to WebSheet
Mathcad + Internet =
= Mathcad Calculation Server
21
From WorkSheet to WebSheet
http://twt.mpei.ac.ru/MCS/Worksheets/PTU/pump.xmcd
Calculation Server NRU “MPEI”
1. Provide undergraduate and graduate students with quality certified calculations, and teachers the possibility of rapid publication of its calculations on the Internet
2. Ensure power engineering quality calculations online
3. Solve (eliminate) the problem of "piracy“ software for calculations
22
Calculation Server NRU “MPEI”
1. Thermophysical properties of fluids, working
fluids and materials in the Mechanical and Power Engineering calculation programs and Internet sites
2. Thermodynamic cycles in Internet
3. Interactive Engineering Reference books on the web and more than 30 textbooks and book of problems
23
From paper book to Internet
41
42
PDA
SmartPhone
PC or NB
Calculation Server
NRU “MPEI”
E-Books
Tablets
http://mas.mathsoft.com/mas/library/calc_DeltaP_A400.mcdhttp://www.trie.ru/
43
Types of works with the RefBook
1. On-line calculations
2. Functions download and creating
3. References on functions
44
Types of works with the RefBook
1. On-line calculations
2. Functions download or creating
3. References on functions
45
Table VI from the e-RefBook
46
Table from the e-RefBook
47
T-h diagram: not one but two points
48
Conductivity of water and steam
49
Conductivity of water and steam
50
Conductivity of water and steam
51
Conductivity of water and steam
52
53
Conductivity of water and steam
Conductivity of water and steam
54
Properties of Ionic Liquids – online calculation
Types of works with the RefBook
1. On-line calculations
2. Functions download or creating
3. References on functions
56
IAPWS-95 Formulation as Mathcad user function (we can download it)
31
Properties of Ionic Liquids Code generator for Java, Matlab, VBA and others languages
Types of works with the RefBook
1. On-line calculations
2. Functions download or creating
3. References on functions
Cloud Functions 59
1-st work step - comments
60
Property of the link
61
2-d work step - Reference
62
3-d work step – Insert Address
63
Finish - calculations
64
This topic on the Knovel-site
65
This topic on the Knovel-site
66
This topic on the Knovel-site
67
This topic on the Knovel-site
68
69
Interactive Heat Engineering Reference books on the web
25
Paper variant of the Reference book
Web variant of the Reference book
What do we have in the Reference book!?
Texts
Formulas
Tables
Plots
26
What do we have in the Web Reference book!?
Texts with links etc
Live Formulas
Live Color 2D and 3D Plots + Animations
Live Tables
27
What do we have in the Web Reference book!?
Texts with links etc
Live Formulas
Live Color Plots + Animations
Live Tables
28
Live IAPWS etc Formulations
29
http://twt.mpei.ac.ru/ochkov/WSPHB/engindex.html
Live IAPWS-95 Formulation
30
http://twt.mpei.ac.ru/MCS/Worksheets/WSP/iapwsif95.xmcdhttp://twt.mpei.ac.ru/ochkov/WSPHB/iapws95coeff.html
Live IAPWS-IF97 Formulation
32
http://twt.mpei.ac.ru/MCS/Worksheets/WSP/RegionsAllAxes.xmcd
Live IAPWS-IF97 Formulation
33
Live IAPWS-IF97 Formulation: Region 1 & 2
34
Live IAPWS-IF97 Formulation: Region 3
35
Live IAPWS-IF97 Formulation: Region 4 & 5
36
Live IAPWS-IF97 Formulation: Region 4
37
IAPWS-IF97 in Internet
38
Virtual Thermodynamic surface water and steam
Website for Pocket PC
http://twt.mpei.ac.ru/MAS/Worksheets/VTP_wsp.mcd
IAPWS-IF97 in Internet – the double phase
39
IAPWS-IF97 in Internet (not Mathcad but Mathematica)
40
http://www.ekayasolutions.com/webMathematica/webmath/SteamTable.jsp
One IAPWS Formulation in Internet (not Mathcad but Free Charge on-line SMath)
41
http://smath.info/live/?lang=rus&file=401
One IAPWS Formulation as user function of future version of Mathcad
42
Live Reference Book in “pocket”
43
http://www.iapws.org/
Live Reference Book in Phone
44
h, s - diagram steam expansion in a turbine
45
http://twt.mpei.ac.ru/MCS/Worksheets/PTU/H-s-Throttling.xmcd
Rankine Cycle in Internet
46
http://twt.mpei.ac.ru/MAS/Worksheets/Rankine3D.mcd
Rankine Cycle in Internet
47
Optimization of steam-turbine cycle with two steam extraction
http://twt.mpei.ac.ru/MCS/Worksheets/PTU/2RegP-Plot.xmcd
Thermodynamic Cycle in Internet
48
Binar Cycle calculation
http://twt.mpei.ac.ru/MAS/Worksheets/PGU.mcd
One Heat transfer live task in Internet
49
http://twt.mpei.ac.ru/mas/worksheets/therm/Heat_Flow_6.mcd
Can you solve this thermodynamic task?
50
http://twt.mpei.ac.ru/MAS/Worksheets/Therm/otto_ideal_cycle_test.mcdhttp://twt.mpei.ac.ru/MAS/Worksheets/Therm/Otto_anim.mcd
What do we have in the Web Reference book!?
Texts with links etc
Live Formulas
Live Color Plots + Animations
Live Tables
51
Sound velocity in See Water
52
http://twt.mpei.ac.ru/MAS/Worksheets/Therm/F_V_pic_7_12.mcd
Nomogram in book
53
Nomogram in Web Reference book
54
Download Function >>>
http://twt.mpei.ac.ru/MCS/Worksheets/Dow/DOWEX-MARATHON-C/Fig-12.xmcd
Nomogram as Mathcad user function
55
http://twt.mpei.ac.ru/TTHB/1/Dow/DOWEX-MARATHON-C/Fig-12_images/Fig-12-ionit-Function.xmcdz
What do we have in the Web Reference book!?
Texts with links etc
Live Formulas
Live Color Plots + Animations
Live Tables
56
57
One typical table from one paper reference book
Other typical table from one paper reference book
58
Download All Function >>>
http://twt.mpei.ac.ru/MCS/Worksheets/HEDH/Tab-5-5-6-2-Therm-Cond-Solids.xmcd
Live tables in Internet
59
http://twt.mpei.ac.ru/ochkov/VPU_Book_New/mas/eng/index.html
Other typical table from one reference book
60
Live tables in Internet
61
http://twt.mpei.ac.ru/MCS/Worksheets/HEDH/Tab-5-5-8-2-3-Young-Modul.xmcd
Live table as Mathcad open user function
62
http://twt.mpei.ac.ru/TTHB/HEDH/QSYM-Australian-Stainless-Steel-T.xmcdz
Live table as Mathcad protected user function
63
http://twt.mpei.ac.ru/TTHB/HEDH/QSYM-Nickel-copper-alloy-400.xmcdz
Protected Web Calculation: first level
64
Protected Web Calculation: second level
65
http://twt.mpei.ac.ru/MCS/Worksheets/PTU/Vv-11eng.xmcd
One more typical 3D-table from one reference book
66
http://twt.mpei.ac.ru/MCS/Worksheets/GC/Tab-2-8.xmcd
67
Possible cooperation MPEI – NIST – PTC – Elsevier
/Knovel - QMUL
68
Now
In future
One way of cooperation MPEI(TU) – NIST – (PTC+Knovel)
69
Other of cooperation MPEI – NIST – PTC+Knovel
http://twt.mpei.ac.ru/TTHB/ChemKin/Chapter3rus.html
70
Other way of cooperation MPEI(TU) – NIST – (PTC+Knovel)
71
Now
In future
Other way of cooperation MPEI(TU) – NIST – (PTC+Knovel)
http://www.knovel.com/web/portal/basic_search?_EXT_KNOVEL_BASIC_SEARCH_SubjectAreaID=-2&_EXT_KNOVEL_BASIC_SEARCH_SecondSelect1=0&_EXT_KNOVEL_BASIC_SEARCH_TopSubSubjectAreaID=0&_EXT_KNOVEL_BASIC_SEARCH_Page=1&_EXT_KNOVEL_BASIC_SEARCH_BookID=0&_EXT_KNOVEL_BA
72
Other way of cooperation MPEI(TU) – NIST – (PTC+Knovel)
http://twt.mpei.ac.ru/TTHB/1/Chem-Kin-Chapter-3.htmlhttp://twt.mpei.ac.ru/MCS/Worksheets/Chem/ChemKin-3-01.xmcd
Thanks for your attention
Valery Ochkov ([email protected])
Professor NRU Moscow Power Engineering Institute
73