SlideShare a Scribd company logo
Yasser B. A. Farag
MSc. of Maritime Energy Management – WMU - Sweden
Lecturer at Institute of Maritime Upgrading Studies
Maritime Chief Engineer
Maritime Postgraduate Institute - 2 0 2 0 -
Numerical Modeling & tools MPI 794
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Contents
• Background & Introduction
• Classical vs Non-classical methods
• Data-driven modelling
• Artificial intelligence (AI)
• Case study (using an Artificial Neural Network-ANN)
2
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
The need
3
Climate models are tools employed to enhance understanding of the climate system and to aid prediction of future
climates. Although there have been great advances made in the discipline of climate modelling over its forty year
history, even the most sophisticated models remain very much simpler than the full climate system.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Origin
4
www.AMNH.org
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Background
5
Greenhouse effect schematic showing energy flows between space, the atmosphere, and Earth's surface. Energy influx and
emittance are expressed in watts per square meter(W/m2). A greenhouse gas is a gas in an atmosphere
that absorbs and emits radiant energy within the thermal infrared range. This process is the fundamental cause of
the greenhouse effect. The primary greenhouse gases in Earth's atmosphere are water vapor, carbon dioxide, methane, nitrous
oxide, and ozone. Without greenhouse gases, the average temperature of Earth's surface would be about −18 °C rather than
the present average of 15 °C. Human activities since the beginning of the Industrial Revolution (around 1750) have produced a
40% increase in the atmospheric concentration of carbon dioxide (CO2), from 280 ppm in 1750 to 406 ppm in early 2017
https://nems.nih.gov
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Understanding
6
Human activities since the beginning of the Industrial Revolution (around 1750) have produced a 40% increase in
the atmospheric concentration of carbon dioxide (CO2), from 280 ppm in 1750 to 409 ppm in 2019
(NASA simulation)
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Understanding
7
(NASA simulation)
Source: Global Carbon budget
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Understanding
8
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Prediction
9
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Modeling
10
• Most real-word applications lead to mathematical problems which cannot be solved with exact formulas, or analytically
• A common approach is to reduce a problem to special cases and simplified situations, and study those in detail
• The aim is to uncover generally applicable concepts and properties, which can guide us in more difficult problems
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Modeling
11
• The simplified analytical model (e.g., set of equations) for problem is converted into a numerical model
 Can be solved in a finite number of basic arithmetic operations
 Approximation of an analytical model (error)
• A numerical model is solved with numerical methods, introducing additional errors
• Machine representation: computers have a limit on how small or large a number can be
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Simulation
12
• Simulation is the representation of the behavior or characteristics of one system through the use of another system,
especially a computer program designed for the purpose.
• A model is a simplified representation of a system or phenomenon with any hypotheses required to describe the system or
explain the phenomenon.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Conceptual Models
13
• Depending on the type of description of reality, models can be classified as conceptual or mathematical.
• A conceptual model is a qualitative description of “some aspect of the behavior of a natural system.”
• This description is usually verbal, but can also be accompanied by pictures and graphics.
𝒗 𝒔
Wind
Waves Current
Swirl
Water depth
Draught & Trim
Loading condition
Hull fouling
Propeller condition
Thrust
Fuel
Engine condition
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Mathematical Models
14
• A mathematical model is a summary description (summary in the sense that it is based on variables, equations and so on)
of “some aspect of the behavior of a natural system”. However, the motivation of mathematical models is not abstraction
but quantification.
• Mathematical modeling methods (discretization, calibration, etc.) are more specific. However, it should be clear that the
conceptualization is the first step in modeling and mathematical modeling helps in building strong conceptual models.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Model types
15
Depending on how to solve the equations, the models can be classified into analytical and numerical.
Model
Physical
Static
Dynamic
Mathematical
Static
Numerical
Analytical
Dynamic
Analytical
Numerical Simulation
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Analytical vs numerical models
16
• The analytical models are based on closed structure solutions, they are convenient because they are easy to evaluate and
intuitive (a look at the equation can give an idea of the phenomenon). As a result, they are used very often.
• Numerical models are based on partial differential equations which regulate the natural phenomenon. This leads to linear
systems of equations can be solved only with the help of a computer.
• The advantage of numerical models is its generality. Analytical models are limited to homogeneous domains, the simple
geometry and boundary conditions. Numerical models, on the other hand, can handle spatially and temporally variable
properties, arbitrary geometry and boundary conditions and processes. The price to pay is the methodological uniqueness.
Analytical models are easy to use. Numerical models can be complex and often difficult.
• Also, it should be distinguished between specific models and generic models. The former is for a specific place, while the
latter emphasize processes, regardless of where it is performed.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Analytical vs numerical models
17
• Models are often used as decision
support tools. Building an accurate
model is very difficult and takes time.
As a result, rarely can you expect
models that generate accurate
predictions. However, approximate
models are much easier to build. They
do not lead to accurate predictions,
but usually allow a reasonable
assessment of the results of different
management alternatives. That is, you
can evaluate the relevant advantages
and disadvantages of each alternative
and rank the options. This is usually all
that is needed for decision-making.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
MODELING PROCESS
18
• The procedure for constructing a model is as follows. First, a conceptual model. Secondly, the model is discretized. This can
be entered as input data for a simulation code. Unfortunately, the output data rarely conform to the observations. This is
what leads to the calibration, i.e., modifying model parameters to ensure that the output of the model is similar to that
observed in reality. Therefore, the calibrated model may be considered as a “representation of the natural system” and can
be used for management purposes or simulation.
• CONCEPTUALIZATION:
Modeling begins by defining what processes are important and how they are represented in the model. A definition of the
relevant processes is called “identification process” and is necessary for several reasons. First, the number of processes
that may affect is very large. For practical reasons, the designer is forced to select those that most significantly affect the
phenomenon under study. Second, not all processes are well understood and must be treated in a simplified manner. Briefly,
the process involves identification simplifications in the choice thereof as in the way they are implemented in the model.
The identification of the structure of the model refers to the definition of the variability of parameters, boundary
conditions, etc. In a somewhat smaller but more systematic way, identifying the model structure involves expressing the
model in terms of a finite number of unknowns called model parameters. The parameters that control the above processes
are variable in space and, in some cases, they can also vary in time. The data are usually limited, so variability cannot be
expressed accurately. Therefore, the designer is also forced to make many simplifications to express patterns of variation in
parameters, boundary conditions, etc. These assumptions are reflected in the model’s structure.
The conceptualization of any modeling is subjective and depends on the ingenuity of the modeler, experience, scientific
knowledge, and how to look at the data.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
MODELING PROCESS
19
• DISCRETIZATION:
is to replace a continuum with a discrete system. Yet here we are extending this term to describe the process of moving
from mathematical equations derived from the conceptual model to numerical expressions which can be solved by a
computer. Closely related is the issue of verification, which is to ensure that a code solves the equations accurately. As
such, verification is a concept that dependents on the code.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
MODELING PROCESS
20
• MODEL SELECTION
The first step in any modeling effort is the construction of a conceptual model, describing through appropriate
regulatory equations, and lastly translating to computer code. Model selection process involves choosing between types
of alternative models. The methods for selecting the model can be classified into three broad categories. The first
category is based on a comparative analysis of the residuals (differences between measured and calculated responses
of the system) using both objective and subjective criteria. In the second category there is the selection of parameters,
and it consists in evaluating whether the calculated parameters may be considered “reasonable”. The third category is
based on theoretical model validity measures known as “identification criteria”. In practice, the three categories are
required: residue analysis and evaluation of the parameters suggest ways to modify an existing model, and the
consequent improvement in the realization of the model is evaluated on the basis of criteria of identification. If the
modified model is considered an improvement over the previous model, the modified is accepted and the previous
discarded.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
PREDICTIONS AN UNCERTAINTY
21
• Most of the models are created in order to study the response of the environment to several alternative scenarios. Very
often, you stress the scenario in a way that the model structure is not valid any more.
• Also, uncertainty about future natural and human-induced stresses cause the model predictions to be uncertain.
• Finally, even if future conditions and the conceptual model were known exactly, errors in the model parameters still
produce errors in predictions.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
PREDICTIONS AN UNCERTAINTY
22
• Most real-word applications lead to
mathematical problems which
cannot be solved with exact
formulas, or analytically
• A common approach is to reduce a
problem to special cases and
simplified situations, and study
those in detail
• Errors accumulate through every
simplification step at the model
level, and at every approximation
related to model implementation
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Applications
23
• Finite Element Analysis (FEA)
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Applications
24
• Computational Fluid Dynamic - CFD
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Applications
25
• Climate modeling
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Applications
26
• Data modeling
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Applications
27
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Tools
28
• ANSYS
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Tools
29
• SPSS
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Tools
30
• Even Excel!
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Tools
31
• Python
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Tools
32
• MATLAB
MATLAB is a proprietary multi-paradigm programming language and numerical computing environment developed by
MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of
user interfaces, and interfacing with programs written in other languages.
MPI
Climate Change
N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020
Tools
33
• FORTRAN
is a general-purpose, compiled imperative programming language that is especially suited to numeric computation and
scientific computing.

More Related Content

PDF
Lecture 3 data-driven models
PPTX
Hong Liu CanWEA presentation
PDF
CESAR Project 2: Modelling Climate
PDF
Weather factor landslide hazard
PPTX
Hourly probabilistic solar power forecasts
PPTX
Application of integrated System Dynamics, GIS and 3D visualization system in...
PDF
A New Temperature-Based Model for Estimating Global Solar Radiation in Port-...
PPTX
Random Forest Ensemble of Support Vector Regression for Solar Power Forecasting
Lecture 3 data-driven models
Hong Liu CanWEA presentation
CESAR Project 2: Modelling Climate
Weather factor landslide hazard
Hourly probabilistic solar power forecasts
Application of integrated System Dynamics, GIS and 3D visualization system in...
A New Temperature-Based Model for Estimating Global Solar Radiation in Port-...
Random Forest Ensemble of Support Vector Regression for Solar Power Forecasting

What's hot (7)

PPTX
Population forecast geometric method
PDF
SURF_Poster_REU2016Team1
PDF
How Deep Learning Could Predict Weather Events
PDF
IRJET - Intelligent Weather Forecasting using Machine Learning Techniques
PPTX
Overview of MediaEval 2020 Insights for Wellbeing: Multimodal Personal Health...
PPTX
Holiday homework extracted from Greendale 2015 prelim sect a b weather
PPTX
population forecasting
Population forecast geometric method
SURF_Poster_REU2016Team1
How Deep Learning Could Predict Weather Events
IRJET - Intelligent Weather Forecasting using Machine Learning Techniques
Overview of MediaEval 2020 Insights for Wellbeing: Multimodal Personal Health...
Holiday homework extracted from Greendale 2015 prelim sect a b weather
population forecasting
Ad

Similar to MPI 794 (week-1 & 2) (20)

PDF
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
PPTX
naanmudhalvanproject@1245678903.pdf.pptx
PPTX
Embodied Carbon in Real Estate
PPTX
Use of Definitive Screening Designs to Optimize an Analytical Method
PDF
Supporting municipalities with modeled based policy support - When to provide...
PPTX
Carbon dioxide emissions from cars of different brands.
PDF
Operations Research_18ME735_module 1_LPP.pdf
PDF
The Treatment of Uncertainty in Models
PPTX
Fdp session rtu session 1
PPT
Biuspp metrex
PDF
"Business as usual" baselines: Challenges for tracking NDCs by Andrew Prag
PDF
ICIAM 2019: A New Algorithm Model for Massive-Scale Streaming Graph Analysis
PDF
Does myopic foresight modeling better capture the real-world energy transitio...
PDF
VERGE 23: A Practical Guide to Harnessing AI for Decarbonization
PDF
Integrating TIMES and life cycle assessment models
PPTX
Qt unit i
PDF
Scottish Urban Air Quality Steering Group - Modelling & Monitoring Workshop -...
PDF
Modeling and Data-Analysis in Developing Long-Term Low-Emission Development S...
PPTX
data analytics presentAtion on cororna virus or covid -19 detection analysis ...
PPT
Francisco J. Doblas-Big Data y cambio climático
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
naanmudhalvanproject@1245678903.pdf.pptx
Embodied Carbon in Real Estate
Use of Definitive Screening Designs to Optimize an Analytical Method
Supporting municipalities with modeled based policy support - When to provide...
Carbon dioxide emissions from cars of different brands.
Operations Research_18ME735_module 1_LPP.pdf
The Treatment of Uncertainty in Models
Fdp session rtu session 1
Biuspp metrex
"Business as usual" baselines: Challenges for tracking NDCs by Andrew Prag
ICIAM 2019: A New Algorithm Model for Massive-Scale Streaming Graph Analysis
Does myopic foresight modeling better capture the real-world energy transitio...
VERGE 23: A Practical Guide to Harnessing AI for Decarbonization
Integrating TIMES and life cycle assessment models
Qt unit i
Scottish Urban Air Quality Steering Group - Modelling & Monitoring Workshop -...
Modeling and Data-Analysis in Developing Long-Term Low-Emission Development S...
data analytics presentAtion on cororna virus or covid -19 detection analysis ...
Francisco J. Doblas-Big Data y cambio climático
Ad

More from Yasser B. A. Farag (20)

PDF
Retrospective application of SAFEMODE risk models to maritime accident invest...
PDF
Air Pollution Prevention - An Introduction
PDF
Deck machinery
PDF
Air compressors
PDF
Refrigeration
PDF
Onboard Oil-Managemeent
PDF
Pollution prevention systems
PDF
Ship common systems
PDF
Marine Boilers
PDF
Bilge management
PDF
Steering gear system
PDF
Heat exchangers
PDF
Ue231 course intro
PDF
Ship Propulsion system
PDF
Fuel oil properties
PPTX
Automatic control fundmentals
PDF
Tanker Cargo system
PPTX
Engine room resource management
PDF
PDF
Pumps pumping systems
Retrospective application of SAFEMODE risk models to maritime accident invest...
Air Pollution Prevention - An Introduction
Deck machinery
Air compressors
Refrigeration
Onboard Oil-Managemeent
Pollution prevention systems
Ship common systems
Marine Boilers
Bilge management
Steering gear system
Heat exchangers
Ue231 course intro
Ship Propulsion system
Fuel oil properties
Automatic control fundmentals
Tanker Cargo system
Engine room resource management
Pumps pumping systems

Recently uploaded (20)

DOCX
Epoxy Coated Steel Bolted Tanks for Fish Farm Water Provides Reliable Water f...
PDF
Effective factors on adoption of intercropping and it’s role on development o...
PPTX
Making GREEN and Sustainable Urban Spaces
DOCX
Epoxy Coated Steel Bolted Tanks for Beverage Wastewater Storage Manages Liqui...
PDF
School Leaders Revised Training Module, SCB.pdf
PDF
Lecture 2 investigation of renal diseses.pdf
PPTX
sustainable-development in tech-ppt[1].pptx
PDF
The Role of Non-Legal Advocates in Fighting Social Injustice.pdf
PPTX
structure and components of Environment.pptx
PPTX
"One Earth Celebrating World Environment Day"
PPTX
Disposal Of Wastes.pptx according to community medicine
PPTX
ser tico.pptxXYDTRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRY
PPTX
Delivery census may 2025.pptxMNNN HJTDV U
PPTX
Biodiversity.udfnfndrijfreniufrnsiufnriufrenfuiernfuire
PDF
Effect of anthropisation and revegetation efforts on soil bacterial community...
PDF
Insitu conservation seminar , national park ,enthobotanical significance
PPTX
NOISE-MITIGATION.-pptxnaksnsbaksjvdksbsksk
PPTX
Envrironmental Ethics: issues and possible solution
PDF
Tree Biomechanics, a concise presentation
PDF
PET Hydrolysis (polyethylene terepthalate Hydrolysis)
Epoxy Coated Steel Bolted Tanks for Fish Farm Water Provides Reliable Water f...
Effective factors on adoption of intercropping and it’s role on development o...
Making GREEN and Sustainable Urban Spaces
Epoxy Coated Steel Bolted Tanks for Beverage Wastewater Storage Manages Liqui...
School Leaders Revised Training Module, SCB.pdf
Lecture 2 investigation of renal diseses.pdf
sustainable-development in tech-ppt[1].pptx
The Role of Non-Legal Advocates in Fighting Social Injustice.pdf
structure and components of Environment.pptx
"One Earth Celebrating World Environment Day"
Disposal Of Wastes.pptx according to community medicine
ser tico.pptxXYDTRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRY
Delivery census may 2025.pptxMNNN HJTDV U
Biodiversity.udfnfndrijfreniufrnsiufnriufrenfuiernfuire
Effect of anthropisation and revegetation efforts on soil bacterial community...
Insitu conservation seminar , national park ,enthobotanical significance
NOISE-MITIGATION.-pptxnaksnsbaksjvdksbsksk
Envrironmental Ethics: issues and possible solution
Tree Biomechanics, a concise presentation
PET Hydrolysis (polyethylene terepthalate Hydrolysis)

MPI 794 (week-1 & 2)

  • 1. Yasser B. A. Farag MSc. of Maritime Energy Management – WMU - Sweden Lecturer at Institute of Maritime Upgrading Studies Maritime Chief Engineer Maritime Postgraduate Institute - 2 0 2 0 - Numerical Modeling & tools MPI 794
  • 2. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Contents • Background & Introduction • Classical vs Non-classical methods • Data-driven modelling • Artificial intelligence (AI) • Case study (using an Artificial Neural Network-ANN) 2
  • 3. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 The need 3 Climate models are tools employed to enhance understanding of the climate system and to aid prediction of future climates. Although there have been great advances made in the discipline of climate modelling over its forty year history, even the most sophisticated models remain very much simpler than the full climate system.
  • 4. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Origin 4 www.AMNH.org
  • 5. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Background 5 Greenhouse effect schematic showing energy flows between space, the atmosphere, and Earth's surface. Energy influx and emittance are expressed in watts per square meter(W/m2). A greenhouse gas is a gas in an atmosphere that absorbs and emits radiant energy within the thermal infrared range. This process is the fundamental cause of the greenhouse effect. The primary greenhouse gases in Earth's atmosphere are water vapor, carbon dioxide, methane, nitrous oxide, and ozone. Without greenhouse gases, the average temperature of Earth's surface would be about −18 °C rather than the present average of 15 °C. Human activities since the beginning of the Industrial Revolution (around 1750) have produced a 40% increase in the atmospheric concentration of carbon dioxide (CO2), from 280 ppm in 1750 to 406 ppm in early 2017 https://nems.nih.gov
  • 6. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Understanding 6 Human activities since the beginning of the Industrial Revolution (around 1750) have produced a 40% increase in the atmospheric concentration of carbon dioxide (CO2), from 280 ppm in 1750 to 409 ppm in 2019 (NASA simulation)
  • 7. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Understanding 7 (NASA simulation) Source: Global Carbon budget
  • 8. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Understanding 8
  • 9. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Prediction 9
  • 10. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Modeling 10 • Most real-word applications lead to mathematical problems which cannot be solved with exact formulas, or analytically • A common approach is to reduce a problem to special cases and simplified situations, and study those in detail • The aim is to uncover generally applicable concepts and properties, which can guide us in more difficult problems
  • 11. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Modeling 11 • The simplified analytical model (e.g., set of equations) for problem is converted into a numerical model  Can be solved in a finite number of basic arithmetic operations  Approximation of an analytical model (error) • A numerical model is solved with numerical methods, introducing additional errors • Machine representation: computers have a limit on how small or large a number can be
  • 12. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Simulation 12 • Simulation is the representation of the behavior or characteristics of one system through the use of another system, especially a computer program designed for the purpose. • A model is a simplified representation of a system or phenomenon with any hypotheses required to describe the system or explain the phenomenon.
  • 13. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Conceptual Models 13 • Depending on the type of description of reality, models can be classified as conceptual or mathematical. • A conceptual model is a qualitative description of “some aspect of the behavior of a natural system.” • This description is usually verbal, but can also be accompanied by pictures and graphics. 𝒗 𝒔 Wind Waves Current Swirl Water depth Draught & Trim Loading condition Hull fouling Propeller condition Thrust Fuel Engine condition
  • 14. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Mathematical Models 14 • A mathematical model is a summary description (summary in the sense that it is based on variables, equations and so on) of “some aspect of the behavior of a natural system”. However, the motivation of mathematical models is not abstraction but quantification. • Mathematical modeling methods (discretization, calibration, etc.) are more specific. However, it should be clear that the conceptualization is the first step in modeling and mathematical modeling helps in building strong conceptual models.
  • 15. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Model types 15 Depending on how to solve the equations, the models can be classified into analytical and numerical. Model Physical Static Dynamic Mathematical Static Numerical Analytical Dynamic Analytical Numerical Simulation
  • 16. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Analytical vs numerical models 16 • The analytical models are based on closed structure solutions, they are convenient because they are easy to evaluate and intuitive (a look at the equation can give an idea of the phenomenon). As a result, they are used very often. • Numerical models are based on partial differential equations which regulate the natural phenomenon. This leads to linear systems of equations can be solved only with the help of a computer. • The advantage of numerical models is its generality. Analytical models are limited to homogeneous domains, the simple geometry and boundary conditions. Numerical models, on the other hand, can handle spatially and temporally variable properties, arbitrary geometry and boundary conditions and processes. The price to pay is the methodological uniqueness. Analytical models are easy to use. Numerical models can be complex and often difficult. • Also, it should be distinguished between specific models and generic models. The former is for a specific place, while the latter emphasize processes, regardless of where it is performed.
  • 17. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Analytical vs numerical models 17 • Models are often used as decision support tools. Building an accurate model is very difficult and takes time. As a result, rarely can you expect models that generate accurate predictions. However, approximate models are much easier to build. They do not lead to accurate predictions, but usually allow a reasonable assessment of the results of different management alternatives. That is, you can evaluate the relevant advantages and disadvantages of each alternative and rank the options. This is usually all that is needed for decision-making.
  • 18. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 MODELING PROCESS 18 • The procedure for constructing a model is as follows. First, a conceptual model. Secondly, the model is discretized. This can be entered as input data for a simulation code. Unfortunately, the output data rarely conform to the observations. This is what leads to the calibration, i.e., modifying model parameters to ensure that the output of the model is similar to that observed in reality. Therefore, the calibrated model may be considered as a “representation of the natural system” and can be used for management purposes or simulation. • CONCEPTUALIZATION: Modeling begins by defining what processes are important and how they are represented in the model. A definition of the relevant processes is called “identification process” and is necessary for several reasons. First, the number of processes that may affect is very large. For practical reasons, the designer is forced to select those that most significantly affect the phenomenon under study. Second, not all processes are well understood and must be treated in a simplified manner. Briefly, the process involves identification simplifications in the choice thereof as in the way they are implemented in the model. The identification of the structure of the model refers to the definition of the variability of parameters, boundary conditions, etc. In a somewhat smaller but more systematic way, identifying the model structure involves expressing the model in terms of a finite number of unknowns called model parameters. The parameters that control the above processes are variable in space and, in some cases, they can also vary in time. The data are usually limited, so variability cannot be expressed accurately. Therefore, the designer is also forced to make many simplifications to express patterns of variation in parameters, boundary conditions, etc. These assumptions are reflected in the model’s structure. The conceptualization of any modeling is subjective and depends on the ingenuity of the modeler, experience, scientific knowledge, and how to look at the data.
  • 19. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 MODELING PROCESS 19 • DISCRETIZATION: is to replace a continuum with a discrete system. Yet here we are extending this term to describe the process of moving from mathematical equations derived from the conceptual model to numerical expressions which can be solved by a computer. Closely related is the issue of verification, which is to ensure that a code solves the equations accurately. As such, verification is a concept that dependents on the code.
  • 20. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 MODELING PROCESS 20 • MODEL SELECTION The first step in any modeling effort is the construction of a conceptual model, describing through appropriate regulatory equations, and lastly translating to computer code. Model selection process involves choosing between types of alternative models. The methods for selecting the model can be classified into three broad categories. The first category is based on a comparative analysis of the residuals (differences between measured and calculated responses of the system) using both objective and subjective criteria. In the second category there is the selection of parameters, and it consists in evaluating whether the calculated parameters may be considered “reasonable”. The third category is based on theoretical model validity measures known as “identification criteria”. In practice, the three categories are required: residue analysis and evaluation of the parameters suggest ways to modify an existing model, and the consequent improvement in the realization of the model is evaluated on the basis of criteria of identification. If the modified model is considered an improvement over the previous model, the modified is accepted and the previous discarded.
  • 21. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 PREDICTIONS AN UNCERTAINTY 21 • Most of the models are created in order to study the response of the environment to several alternative scenarios. Very often, you stress the scenario in a way that the model structure is not valid any more. • Also, uncertainty about future natural and human-induced stresses cause the model predictions to be uncertain. • Finally, even if future conditions and the conceptual model were known exactly, errors in the model parameters still produce errors in predictions.
  • 22. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 PREDICTIONS AN UNCERTAINTY 22 • Most real-word applications lead to mathematical problems which cannot be solved with exact formulas, or analytically • A common approach is to reduce a problem to special cases and simplified situations, and study those in detail • Errors accumulate through every simplification step at the model level, and at every approximation related to model implementation
  • 23. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Applications 23 • Finite Element Analysis (FEA)
  • 24. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Applications 24 • Computational Fluid Dynamic - CFD
  • 25. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Applications 25 • Climate modeling
  • 26. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Applications 26 • Data modeling
  • 27. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Applications 27
  • 28. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Tools 28 • ANSYS
  • 29. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Tools 29 • SPSS
  • 30. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Tools 30 • Even Excel!
  • 31. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Tools 31 • Python
  • 32. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Tools 32 • MATLAB MATLAB is a proprietary multi-paradigm programming language and numerical computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages.
  • 33. MPI Climate Change N u m e r i c a l m o d e l i n g & t o o l s M P I 7 9 4 | Y A S S E R B . A . F A R A G6 December 2020 Tools 33 • FORTRAN is a general-purpose, compiled imperative programming language that is especially suited to numeric computation and scientific computing.