# 1.1: Model Variables and Element Types

- Page ID
- 17736

This page is a draft and is under active development.

Modeling of a physical system involves two kinds of variables: flow variables that ‘flow’ through the system components, and across variables that are measured across those components. In electrical circuits, voltage or potential is measured across the circuit nodes, whereas current or electrical charge flows through the circuit branches. In mechanical linkage systems, displacement and velocity are measured across the connecting nodes, whereas force or effort ‘flows’ through the linkages. In the case of thermal and fluid systems, heat and mass serve as the flow variables, while temperature and pressure constitute the across variables.

The relationship between flow and across variables associated with an element in the system defines the type of physical element being modeled. The three basic types are the resistive, inductive, and thecapacitive elements. The terminology taken from electrical circuits extends to many other types of physical systems. Let \(q(t)\) denote a flow variable and \(x(t)\) denote an across variable associated with a physical element; then, the element type is defined by their mutual relationships, described as follows:

**The resistive element.** A resistive element is described by the following relation: \[x(t)=k\; q(t),\] The flow and across variables for the element vary in proportion to each other. For example, the voltage and current relationship through a resister is described by Ohm’s law: \(V(t)=R\; i(t)\), that states that the voltage across a resistor varies in proportion to the current throught he resistor. Similary, the force–velocity relationship though a mechanical damper is described as: \(v(t)=\frac{1}{b} f(t)\) , i.e., the velocity increases in proportion to the applied force.

**The capacitive element.** A capacitive element is desribed by the following relation: \[x(t)=k\int q(t){\rm d}t+x_{0}\] The across variable varies in proportion to the accumulated amount of the flow variable. Alternatively, the flow variable vaires proportionally with the rate of change of the across variable as: \(q\left(t\right)=\frac{1}{k}\frac{dx\left(t\right)}{dt}\).

For example, the voltage and current relationship through a capacitor is given as: \(V(t)=\frac{1}{C} \int i(t){\rm d}t+V_{0}\), i.e., the voltage across the capacitor is proportional to integral of current through it, where the current integral represents the accumulation of electrical charge; hence, \(Q=CV\). The inverse relationship is described as: \(i\left(t\right)=C\frac{dV}{dt}\). Similarly, the force–velocity relationship that governs an inertial mass element is given as: \(v(t)=\frac{1}{m} \int f(t){\rm d}t+v_{0}\). The inverse relation is the familiar Newton’s second law of motion: \(f\left(t\right)=m\frac{dv\left(t\right)}{dt}=ma(t)\), where \(a(t)\) denotes the acceleration.

**The inductive element.** An inductive element is described by the folllwing relation: \[x(t)=k\frac{{\rm d}q(t)}{{\rm d}t}\] Thus, flow variable is obtained by differentiating the across variable. Alternatively, the across variable varies in proportion to the accumulation of the flow variable.

For example, the voltage–current relationship through an inductive coil in an electric circuit is given as: \(V(t)=L\frac{di(t)}{dt}\). The inverse relationship is described as: \(i(t)=\frac{1}{L} \int V(t){\rm d}t+i_{0}\). Similarly, the force–velocity relationship though a linear spring is given as: \(v(t)=\frac{1}{K} \frac{{\rm d}f(t)}{{\rm d}t}\). The inverse relation is: \(f\left(t\right)=K\int{v\left(t\right)dt}+f_0\).

While the resistive element dissipates energy, both the capacitive and inductive elements store energy. For example, a capacitor stores electrical energy and a moving mass stores kinetic energy. The energy storage accords memory to the element that accounts for the dynamic system behavior modeled by an ODE.