30
Miguel C Miguel C ASQUILHO ASQUILHO CPQ “Centro de Processos Químicos” Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon http://web.ist.utl.pt/mcasqui lho/ … Computation Scientific computing, Internet, Industry Scientific computing, Internet, Industry Porto (Portugal), 06–08 June 2013 1. 1. st st Portuguese Meeting on Portuguese Meeting on Mathematics for Industry Mathematics for Industry 07-Jun-2013 Comput. científica, Internet, Indústria 1 / 30

Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

Embed Size (px)

Citation preview

Page 1: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

Miguel CMiguel CASQUILHOASQUILHOCPQ “Centro de Processos Químicos”

Department of Chemical Eng.ing

IST Instituto Superior TécnicoUTL Technical University of Lisbon

http://web.ist.utl.pt/mcasquilho/… Computation

Scientific computing, Internet, IndustryScientific computing, Internet, Industry

Porto (Portugal), 06–08 June 2013

1.1.stst Portuguese Meeting on Portuguese Meeting onMathematics for IndustryMathematics for Industry

07-Jun-2013 Comput. científica, Internet, Indústria 1 / 30

Page 2: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

ABSTRACT    Scientific computing [SC] (Mathematics) is being, in our technological era, “disregarded” by Industry. To connect SC to Industry, the link we propose is the Internet.SC via the Internet* is a little-trodden field, whether in general, or in learning, or for Industry.Based on SC cases that we use academically (via the Internet) we shall focus on:1. Antecedents;2. Examples;3. Producer-consumer communication (of SC); and4. Conclusions: the Internet for the connection to Industry.

* Computing on the Internet — The user, in a site: supplies his data; executes a program; and gets results.

Scientific computing, Internet, Industry

2 / 30

Page 3: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

1. Antecedents

2. Examples

3. Producer-consumer communication

4. Conclusions

Scientific computing, Internet, Industry

Alfredo Keil(1850–1907)

“Caminho da floresta”3 / 30

Page 4: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

Matemathics is taken to Industry…

…But Industry does not take advantage of Mathematics:• Lack of structure — no technical staff for it• Lack of stimulus — no disposition; fear

We don’t use those things* that you taught us… (sic)* Operational Research

1. 2. 3. 4. Antecedents

4 / 30

Page 5: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

Is the Internet the path of Mathematics to Industry ? Yet: The Internet (Web)* itself has not paid attention to SC

(either with free or paid software). Innumerable webpages and applications deal with science,

but tend to the novelty of the medium (images, video, etc.). There are many informative webpages:

• more for consultation, study; and• less for dynamic use: data results.

Scarce applicable material is found on• Mathematics, Physics, etc., or industrial applications

What about solving problems (academic, industrial) ?

* http://en.wikipedia.org/wiki/Internet#Services

1. 2. 3. 4. Antecedents

5 / 30

Page 6: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

Software that exists in our organization(Example in parentheses)

One of us (technical staff, professor, etc.)•can use tne software (Matlab ), to which he accesses remotely,•to solve this simple problem (via Monte Carlo):

What is the total length of these 2 (similar) bars, eachwith ~50 cm ? (Maybe 1 m !)

Suppose uniform distributions in 49–51 cm.

•On the Internet: sum of uniforms

6 / 30

Page 7: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

Webpages on science and…

• Wolfram Mathworld, de Eric Weisstein

http://mathworld.wolfram.com/

• Springer Encyclopaedia of Mathematics

http://eom.springer.de/

• Wikipedia (part)

http://en.wikipedia.org/

• NIST/SEMATECH e-Handbook of Statistical Methods (Statistical Eng.ing Division Information Technology Laboratory Nat’l Inst. of Standards and Technology, USA)

http://www.itl.nist.gov/div898/handbook/

1. 2. 3. 4. Antecedents

7 / 30

Page 8: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

…webpages on scientific computing

Emphasis on images, interactivity• “Atractor” (.pt) http://atractor.pt/

Example (polyhedra — etc.):

http://atractor.pt/webM/exemplos/poliedros.htmAcademic SC: scarce working material on Mathematics, Physics, Industry. Exception:

• Prof. V. M. Ponce, San Diego St. U. (Fortran:remarkable, although without default data)

http://ponce.sdsu.edu/onlinewaterbalance.php

“scientific computing on the internet”

• 6 results (sources of software, university courses)

1. 2. 3. 4. Antecedents

8 / 30

Page 9: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

In our academic work:• Computing, Operational Research, Quality Control• we have adopted SC on the Internet• since 15 years1.st example (year 1998):• Area of a triangle by Heron’s formula (year 60)

• Program in Fortran (5 lines) (a, b, c, sides; s, semiperimeter)• About 1 year to put it on the Internet

http://web.ist.utl.pt/mcasquilho/compute/misc/F-triang.html

1. 2. 3. 4. Antecedents

csbsassA

9 / 30

Page 10: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

1. Antecedents

2. Examples

3. Producer-consumer communication

4. Conclusions

Scientific computing, Internet, Industry

Carlos Botelho (1899-1982)

“Lisboa”, tapeçaria de Portalegre

10 / 30

Page 11: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Chi-square Chi-square Try Try = 3, = 3, = 30 = 30 http://web.ist.utl.pt/~mcasquilho/compute/qc/Fx-chisquare.php

1. 2. 3. 4. Examples

(Images are hyperlinks)

11 / 30

Page 12: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Fraction defective Fraction defective Result Resulthttp://web.ist.utl.pt/~mcasquilho/compute/qc/Fx-fracdefective.php

1. 2. 3. 4. Examples

12 / 30

Page 13: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Convergence to non-central Convergence to non-central tt — Results: 30 000, 106 trialshttp://web.ist.utl.pt/~mcasquilho/compute/qc/F-tncConverg.php

1. 2. 3. 4. Examples

13 / 30

Page 14: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Sequence of non-central Sequence of non-central tt curves curves — Result Resulthttp://web.ist.utl.pt/~mcasquilho/compute/qc/F-tncseq.php

1. 2. 3. 4. Examples

14 / 30

Page 15: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Sum of 2 GaussiansSum of 2 Gaussians — Result Resulthttp://web.ist.utl.pt/~mcasquilho/compute/qc/Fx-sum-2Gauss.php

1495?

1. 2. 3. 4. Examples

15 / 30

Page 16: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Packet filling, as tubes (FIFO)Packet filling, as tubes (FIFO) Result; exec. 12 s (none, FIFO)http://web.ist.utl.pt/~mcasquilho/compute/qc/Fx-3tubefill.php

1. 2. 3. 4. Examples

16 / 30

Page 17: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• EOQ (economic order quantity) with random demandEOQ (economic order quantity) with random demand — Result Resulthttp://web.ist.utl.pt/mcasquilho/compute/or/Fx-inventoryRand.php

1. 2. 3. 4. Examples

17 / 30

Page 18: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Catenary with concentrated loads*Catenary with concentrated loads* — Result Resulthttp://web.ist.utl.pt/~mcasquilho/compute/com/Fx-catenaryLoads.php

• * Problem and resolution: colleague Prof. A. Pinto da Costa, DECivil, IST

1. 2. 3. 4. Examples

18 / 30

Page 19: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

1. 2. 3. 4. Examples

19 / 30

• Semicontinuous cooled reactorSemicontinuous cooled reactor — Result (temperature)http://web.ist.utl.pt/~mcasquilho/compute/com/Fx-scoolreactor.phphttp://web.ist.utl.pt/~mcasquilho/compute/com/Fx-scoolreactor.php

Page 20: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Minimum distance “within an angle”Minimum distance “within an angle” Try = 50, 5http://web.ist.utl.pt/~mcasquilho/compute/com/Fx-angdistImg.phphttp://web.ist.utl.pt/~mcasquilho/compute/com/Fx-angdistImg.php

1. 2. 3. 4. Examples

20 / 30

Page 21: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

1. Antecedents

2. Examples

3. Producer-consumer communicaation

4. Conclusions

07-Jun-2013 Comput. científica, Internet, Indústria

Scientific computing, Internet, Industry

Henrique Medina(1901–1988)

“A rapariga da galinha branca”

21 / 30

Page 22: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Minimum distance “within an angle”Minimum distance “within an angle” Computehttp://webpages.fc.ul.pt/~macasquilho/compute/Fx-angdistRemote.phphttp://webpages.fc.ul.pt/~macasquilho/compute/Fx-angdistRemote.php

• Our webpage at Our webpage at Faculty of SciencesFaculty of Sciences……• ……does the computing at does the computing at TécnicoTécnico

1. 2. 3. 4. Producer-consumer communication

22 / 30

Page 23: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• For a company, the computing can be:• Started on its website;• Executed on another site (University ?); and• Presented on the company’s website.

• The user does not even notice the circuit.

1. 2. 3. 4. Producer-consumer communication

23 / 30

Page 24: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

1. 2. 3. 4. Producer-consumer communication

24 / 30

• Collaboration started with a battery factory• Portuguese company (American multinational*)

Drying of battery plates

* Non-authorized identification

O objectivo é criar uma película seca nas faces das placas para que estas sigam para a cura sem o risco de se colarem entre si. No entanto, há que garantir humidade mínima (10,5-12,5 para >9,5 %) na placa e temperatura máxima (30-40 para 50) para não inserir na câmara de sazonamento demasiada carga térmica, que prejudicaria o processo (exotérmico).

Passam por este processo cerca de 80 tipos de placas com massa e espessura diferentes, sendo necessário estabelecer correctos parâmetros para o processo..

Page 25: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

1. Antecedents

2. Examples

3. Producer-consumer communication

4. Conclusions

07-Jun-2013 Comput. científica, Internet, Indústria

Scientific computing, Internet, Industry

Amadeo de Souza-Cardoso

(1887–1918)“A casita clara”

25 / 30

Page 26: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

Scientific computing on the Internet is a little-trodden field, making it easy to interact with Industry.

The “start” may be difficult, which may justify why it is not visible.

Working on the Internet avoids platform incompatibilities (Windows, Mac), and overcomes limitations of the user’s PC.

The modern software is obsolete (!), for inadequacy to the Internet (licences, permissions). Thus, modern languages (Mathematica, Matlab, etc.), which favour productivity, do not (yet) seem “Internet-friendly”.

1. 2. 3. 4. Conclusions…

26 / 30

Page 27: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

Scientific computing on the Internet benefits from• sharing — in team work• visibility — attracting connections, e.g., with Industry• network computing — “grid”, “cloud”, parallel• easy access, just using a browser

Problems: welcome !

1. 2. 3. 4. …Conclusions

27 / 30

Page 28: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

APMInd: Associação Portuguesa da Matemática para a Indústria CPQ: “Centro de Processos Químicos”, IST, UTL DEQ: Department of Chemical Engineering, IST, UTL CIIST: “Centre of Informatics of IST”, Instituto Superior Técnico,

Technical University of Lisbon Milipeia (Lab. of Advanced Computation), Univ. of Coimbra Profs. (DEngCivil) A. Pinto da Costa, M. Azevedo Coutinho ( Ponce),

(DMat, FacC, ULisboa) Jorge Buescu

Keywords• Scientific computing; Internet; Industry

Acknowledgements

28 / 30

Page 29: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

07-Jun-2013 Comput. científica, Internet, Indústria

• Casquilho, M. [2012] “Computação científica na Internet, um campo pouco explorado”, Universidade Aberta, Porto Salvo.

• Ferreira, M., M. Casquilho [2013] “Scientific computing over the Internet: an example in Geometry”, WorldCIST'13, World Conference on Information Systems and Technologies, 27 Mar., Olhão (Portugal)

• Ferreira, M., M. Casquilho [2013] “A web application for distributed computing — solving a typical statistical problem in Industry”, CISTI‘2013, 8.ª Conf. Ibérica de Sistemas e Tecnologias de Informação, 19 Jun., Lisboa (Portugal)

• Franco, B., M. Casquilho [2011] “A Web application for scientific computing: combining several tools and languages to solve a statistical problem”, CISTI'2011, 6.ª Conferência Ibérica de Sistemas e Tecnologias de Informação, Chaves (Portugal)

• Hughes, Alan [2006] “University-industry linkages and UK science and innovation policy”, Working Paper No. 326, Centre for Business Research, University of Cambridge, Cambridge (UK)

• [“Internet” or “the Internet” ?] in http://microsites.oii.ox.ac.uk/ics2011/. (2011-Sep)

Bibliography

29 / 30

Page 30: Miguel C ASQUILHO CPQ Centro de Processos Químicos Department of Chemical Eng. ing IST Instituto Superior Técnico UTL Technical University of Lisbon

Miguel CMiguel CASQUILHOASQUILHOCPQ “Centro de Processos Químicos”

Department of Chemical Eng.ing

IST Instituto Superior TécnicoUTL Technical University of Lisbon

http://web.ist.utl.pt/mcasquilho/… Research

Scientific computing, Internet, IndustryScientific computing, Internet, Industry

Porto (Portugal), 06–08 June 2013

1.1.stst Portuguese Meeting on Portuguese Meeting onMathematics for IndustryMathematics for Industry

07-Jun-2013 Comput. científica, Internet, Indústria 30 / 30