Modern Information Technologies for Thermodynamic

Preview:

Citation preview

Modern Information Technologies for Thermodynamic, Property of

Substances, Power and Chemical Engineering.

Cooperation: Moscow Power Engineering Institute, IAPWS, NIST and Elsevier/Knovel

5 May, 2014, TU Dresden, Germany

Valery Ochkov (OchkovVF@MPEI.Ru)

Dr., Professor, Moscow Power Engineering Institute and Joint

Institute of high temperatures of Russian Academy of Science 1

«In jeder reinen Naturlehre ist nur soviel an eigentlicher Wissenschaft enthalten, als Mathematik (Lebenden Berechnungen) in ihr angewandt werden kann.» «In any special doctrine of nature there can be only as much proper science as there is mathematics (live calculation) therein.» «В каждой естественной науке заключено столько истины, сколько в ней есть математики (живых вычислений).»

Immanuel Kant (and Valery Ochkov)

"Если в первом акте на стене висит ружье, то в последнем оно обязательно выстрелит". "Wenn ein Gewehr im ersten Akt an der Wand hängt, wird es im dritten Akt abgefeuert".

Антон Чехов – Anton Tschechow

"Если в книге или в статье есть формула, то нужно сделать так, чтобы по ней можно было считать". "Wenn eine Formel ist in einem Buch oder Artikel, Wir müssen in der Lage, auf diese Formel verlassen können."

Валерий Очков – Valery Ochkov

Cooperation in this field with: • 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 The TU Dresden too after my this visit

University Stuttgart University Zittau/Goerliz TU Dresden

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 (Guttenberg)

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 Joint 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, Knovel Math)

6

The first version of Mathcad was written in 1985 by Allen Razdow from MIT

Mathcad books by V. Ochkov

12 in Russian, 1 in Ukrainian

2 in English:

Seven features Mathcad:

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

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

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

12

2. Using units by calculation

One example: Power of the human heart

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

An 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

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).

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

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

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

39

40

PDA

SmartPhone

PC or NB

Calculation Server

NRU “MPEI”

E-Books

Tablets

41

Types of works with the RefBook

1. On-line calculations

2. Functions download and creating

3. References on functions

42

Types of works with the RefBook

1. On-line calculations

2. Functions download or creating

3. References on functions

43

Conductivity of water and steam

44

Conductivity of water and steam

45

Conductivity of water and steam

46

Conductivity of water and steam

47

48

Conductivity of water and steam

Conductivity of water and steam

49

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

51

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 54

1-st work step - comments

55

Property of the link

56

2-d work step - Reference

57

3-d work step – Insert Address

58

Finish - calculations

59

A ship Dresden

60

A steam engine of this ship

61

62

This topic on the Knovel-site

63

Knovel is a part of Elsevier from 2012

64

Interactive tools of Elsevier/Knovel

65

Interactive calculation on the Elsevier/Knovel web site

66

One link on the reference book with «dead formulas»

One link on the reference book with «live formulas»

68

One «live formula» by Valery Ochkov

69

Function - the density of water, depending on the pressure

and temperature on the Elsevier/Knovel web site

70

Downloaded Mathcad worksheet from the

Elsevier/Knovel web site

71

Downloaded Excel sheet from the Elsevier/Knovel web site

New Era working with databases and formulas

ОИВТ РАН

Knovel

NIST Reference

Calculations

МЭИ

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

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

IAPWS-IF97 in Internet – the double phase

39

IAPWS-IF97 in Internet (not Mathcad but Mathematica)

40

One IAPWS Formulation in Internet (not Mathcad but Free Charge on-line SMath)

41

One IAPWS Formulation as user function of future version of Mathcad

42

Live Reference Book in “pocket”

43

Live Reference Book in Phone

44

h, s - diagram steam expansion in a turbine

45

Rankine Cycle in Internet

46

Rankine Cycle in Internet

47

Optimization of steam-turbine cycle with two steam extraction

Thermodynamic Cycle in Internet

48

Binar Cycle calculation

One Heat transfer live task in Internet

49

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

Nomogram in book

53

Nomogram in Web Reference book

54

Download Function >>>

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 >>>

Other typical table from one reference book

60

Live table as Mathcad open user function

62

Live table as Mathcad protected user function

63

Protected Web Calculation: first level

64

Protected Web Calculation: second level

65

One more typical 3D-table from one reference book

66

67

Possible cooperation MPEI – NIST – PTC – Elsevier

/Knovel – TU Dresden

68

Now

In future

One way of cooperation MPEI(TU) – NIST – (PTC+Knovel)

69

Other of cooperation MPEI – NIST – PTC+Knovel

70

Other way of cooperation MPEI(TU) – NIST – (PTC+Knovel)

Thanks for your attention

Valery Ochkov (OchkovVF@MPEI.Ru)

Dr., Professor, NRU Moscow Power Engineering Institute

73

Recommended