PadhaikoAll subjects

Physical and Mathematical Models

Simulation and Modeling (ENCT 353)

Open in the Padhaiko app

2.1 Differential and partial differential equations

Many physical systems evolve continuously in space and time, so their mathematical models take the form of differential equations relating unknown functions to their derivatives.

Definition

Ordinary vs. Partial Differential Equations

  1. Ordinary Differential Equation (ODE): Contains derivatives with respect to a single independent variable (usually time or position ), e.g.:

ODEs arise in lumped-parameter models where spatial variations inside a component are ignored.

  1. Partial Differential Equation (PDE): Contains partial derivatives with respect to two or more independent variables (typically time and spatial coordinates ), e.g., the 1D heat equation:

PDEs arise in distributed-parameter models (thermal conduction, fluid flow, vibrating strings, electromagnetic fields).

Key Classifications for Modeling

Classical PDEs in Engineering Modeling
Equation NameMathematical FormPhysical System Modeled
1D Heat (Diffusion) EquationTemperature distribution along a metal rod; chemical diffusion
1D Wave EquationVibrating string; acoustic pressure waves; transmission lines
2D Laplace EquationSteady-state heat distribution; electrostatic potential

2.2 Static physical model

Definition

Static Physical Model

A static physical model is a tangible, physical representation of a system that captures its geometry, structure, or steady-state properties at a fixed point in time, without modeling time-varying motion or dynamic transients.

Characteristics and Examples


2.3 Dynamic physical model

Definition

Dynamic Physical Model

A dynamic physical model is a physical device or system whose measurable quantities evolve over time in a way that mirrors the time-dependent behavior of the real system—either via a scaled physical prototype in motion or via an analogous physical system governed by identical differential equations.

Physical Analogies

Two different physical systems are analogous when they obey differential equations of the exact same mathematical form. Electrical circuits are widely built as dynamic physical analogs of mechanical systems because voltages and currents are fast, cheap, and safe to measure compared to crashing or vibrating heavy machinery.

Force-Voltage (Mass-Inductance) Analogy Between Mechanical and Electrical Systems
Mechanical Translation QuantitySymbolSeries Electrical Analog (Force–Voltage)Symbol
ForceVoltage source
DisplacementElectric charge
VelocityCurrent
MassInductance
Viscous damping coefficientResistance
Spring stiffnessInverse capacitance (elastance)
Governing EquationGoverning Equation

2.4 Static mathematical models

Definition

Static Mathematical Model

A static mathematical model represents a system at a single instant or in steady-state equilibrium using algebraic equations, matrix systems, or inequalities—without derivatives with respect to time.

Common Forms

  1. Supply–Demand Market Equilibrium: Linear demand and supply yield equilibrium price and quantity by solving .
  2. DC Resistive Circuit Nodal Equations: Applying Kirchhoff's Current Law yields , a static system of linear algebraic equations.
  3. Leontief Input–Output Economic Model: For an economy with interdependent industries, technology matrix , total output vector , and final external demand :
AspectStatic Mathematical ModelDynamic Mathematical Model
Role of TimeAbsent; captures a snapshot or equilibriumExplicit independent variable or discrete step
Equation TypeAlgebraic equations (), linear programmingDifferential equations (ODE/PDE) or difference equations
SolutionSingle point/vector (e.g., equilibrium price )Time trajectory or sequence
ExamplesDC circuit equilibrium, static truss forces, Leontief model transient response, population growth, orbital motion

2.5 Dynamic mathematical models

Definition

Dynamic Mathematical Model

A dynamic mathematical model describes how a system's state variables evolve over time using differential equations (for continuous time ) or difference equations (for discrete time steps ).

Fundamental Dynamic Models

  1. Exponential Growth / Decay (First-Order Linear ODE):

Growth occurs when (unconstrained population, compound interest); decay occurs when (radioactive decay, Newton's law of cooling).

  1. Logistic Growth Model (Bounded Carrying Capacity ):
  1. Damped Harmonic Oscillator (Second-Order Linear ODE):

characterized by natural angular frequency and damping ratio :

  1. Lotka–Volterra Predator–Prey Model (Coupled Nonlinear ODEs):

where is prey population and is predator population.

  1. Discrete-Time Difference Equations (Cobweb / Recurrence Models):

used when observations or control updates occur at fixed sampling intervals (e.g., loan amortization, Euler discretization of ODEs).


Worked Out Examples

Example 1

1

In a static mathematical market model, the demand and supply functions for a commodity are:

where is the unit price (in USD) and are quantities demanded and supplied.

  1. Find the market equilibrium price and quantity .
  2. If the government imposes a per-unit tax of on suppliers (so suppliers receive per unit), find the new equilibrium price and quantity .

Finding initial market equilibrium ():

Substituting back into the demand equation:

Incorporating the per-unit tax into supply: Because suppliers effectively receive per unit, the new supply function becomes:

Solving for the post-tax equilibrium ():

Answer:
  1. Initial equilibrium: , .
  2. Post-tax equilibrium: , .
Example 2

2

A mechanical translational system has mass , viscous damper , spring stiffness , and a constant step force for .

  1. Write the governing differential equation for displacement .
  2. Construct the equivalent dynamic physical electrical analog using the Force–Voltage analogy (specify ).
  3. Compute the natural frequency , damping ratio , classify the damping, and find the steady-state displacement .

Writing the mechanical ODE: Applying Newton's second law ():

Constructing the Force–Voltage electrical analog:

In a series circuit driven by :

  • Inductance
  • Resistance
  • Capacitance
  • Analogous ODE: .

Computing dynamic parameters and steady-state displacement:

Since , the system is underdamped. At steady state ():

Answer:
  1. Mechanical ODE: .
  2. Series analog: , , , .
  3. , (underdamped), steady-state displacement .
Example 3

3

A series charging circuit has , , source voltage , and initial capacitor voltage .

  1. Formulate the continuous dynamic mathematical model and solve analytically for at and .
  2. Discretize the ODE using forward Euler with step size to obtain a difference equation, and compute the first two discrete values () and ().

Formulating and solving the continuous ODE: The time constant is . By Kirchhoff's voltage law:

The analytical solution is:

Evaluating at and :

Deriving the discrete difference equation with : Approximating :

Starting from :

Answer:
  1. Continuous solution gives and .
  2. Discrete difference model gives and .

Exercises

Practice Exercises — Physical and Mathematical Models

Question 1

Distinguish between ordinary differential equations (ODEs) and partial differential equations (PDEs) in system modeling. Explain the difference between an initial-value problem (IVP) and a boundary-value problem (BVP) with one example of each.

ODEs vs. PDEs:

  • An ODE involves derivatives with respect to a single independent variable (typically time ), modeling lumped-parameter systems such as an circuit or spring-mass-damper.
  • A PDE involves partial derivatives with respect to two or more independent variables (e.g., space and time ), modeling distributed-parameter systems such as heat conduction .

IVP vs. BVP:

  • IVP: All conditions are given at one initial value of the independent variable (e.g., with ).
  • BVP: Conditions are specified at two or more distinct boundary points (e.g., on with and ).
Answer:

ODEs govern lumped systems with one independent variable, while PDEs govern distributed systems with multiple independent variables. IVPs specify all conditions at a single starting point, whereas BVPs specify conditions at separate boundary points.

Question 2

Compare static physical models and dynamic physical models with real engineering examples. Explain why electrical circuits are frequently used as dynamic physical analogs for mechanical systems.

Static vs. Dynamic Physical Models:

  • A static physical model represents fixed geometry or steady equilibrium at one instant (e.g., an architectural building model or a rigid wind-tunnel model measuring steady drag).
  • A dynamic physical model exhibits time-varying physical behavior matching the prototype (e.g., a towing-tank ship hull responding to waves, a flight simulator, or an analog of a mechanical suspension).

Why Electrical Analogs Are Preferred: Electrical circuits obey second-order differential equations identical in form to mechanical mass-damper-spring systems (, , ). Component values can be changed rapidly using variable resistors/capacitors, measurements take microseconds on an oscilloscope, and testing extreme inputs does not destroy expensive mechanical hardware.

Answer:

Static physical models capture fixed geometry or equilibrium (e.g., architectural scale models), whereas dynamic physical models reproduce time-dependent motion (e.g., towing-tank tests or analogs). Electrical analogs are popular because parameters are cheap to adjust and safe to measure rapidly.

Question 3

Consider a static Leontief two-sector economic model (Agriculture and Manufacturing) with technology matrix and external demand vector (in million USD):

Solve the static mathematical model to find the total gross output vector .

Forming :

Computing the determinant and inverse :

Solving for :

Answer:

The required gross outputs are (Agriculture) and (Manufacturing).

Question 4

By Newton's law of cooling, the temperature (in ) of a hot metal part placed in a room satisfies the dynamic mathematical model:

where is time in minutes.

  1. Find the temperature after .
  2. Determine the time required for the part to cool to .

Solving the first-order linear ODE: Let . Then with :

Evaluating :

Finding time when :

Taking the natural logarithm:

Answer:
  1. After , the temperature is .
  2. It takes to cool to .
Question 5

A mechanical suspension has mass , damper , and spring stiffness .

  1. Determine the equivalent series electrical circuit parameters under the Force–Voltage analogy.
  2. Calculate the natural frequency and damping ratio , and identify whether the system is underdamped, critically damped, or overdamped.

Mapping to the Force–Voltage Electrical Analog:

  • Inductance
  • Resistance
  • Capacitance

Calculating and :

Since , the system is critically damped.

Answer:
  1. Equivalent series circuit: , , .
  2. , , so the system is critically damped.
← Introduction to SimulationSimulation of Continuous System →