The force $F$, the moment $T$, the current $i$, the flow $\dot{Q}$
Speed $v$, angular velocity $ω$, voltage $v$, temperature $θ$
On the example of an electrical connector, in the Modelica code:
connector Pin "Pin of an electrical component"
SI.Voltage v "Potential at the pin";
flow SI.Current i "Current flowing into the pin";
end Pin;
The presence of the “flow” prefix allows you to designate the variable for which the node law is applied.
The absence of the prefix “flow” indicates a variable for which the mesh law applies.
In the mechanical and electrical fields, the product of the voltage/current and force/speed variables give power. But in thermal, the heat flow is already a power.
Power variables are the quantities necessary to describe the laws of nodes and meshes. The energy variables are the primitive quantities of the power variables (e.g. electric charge $q$, magnetic flux $φ$)
For a dissipative effect:
In electricity: $P=R.I^2$
For an energy storage effect of the “capacity” type:
In electricity: $E=\dfrac{1}{2}C.v^2$
For an energy storage effect of the “inertia” type:
Power variable : Flow rate $Q_h~[m^3/s]$ and Pressure $P~[Pa]$
Dissipative effect: Laminar hydraulic resistance (low flow rate) $\Delta P=R_h.Q_h$
Note: In turbulent (high flow) the pressure drop is a function of the square flow.
Energy storage effect (capacity) : Hydraulic capacity $Q_h=C_h. \dot{P}$
Energy storage effect (inertia): Hydraulic inertance $\Delta P=L_h. \dot{Q}_h$
A model of the power window is available: : Chap2_PowerWindow.mo
$v = Ri+L\frac{di}{dt}+k\Omega$
$J_{motor}\frac{d\Omega}{dt} = k.i - T_{ch}$
The law of nodes is applied here : the sum of torques equals 0. The spring is used to apply a torque that compensates for the effect of the weight of the glass. The spring thus makes it possible to reduce the torque to be supplied by the motor.
The transforming effects are as follows:
Perfect transformer: d
Joule losses in copper: a
Magnetization of the magnetic circuit: c
The imperfect coupling of the primary and secondary (leakage flow): b
Iron losses of the magnetic circuit: e
Answer : b
Vertical
Shock absorber : c (viscous friction part)
Coil spring: c (spring part)
Tire: e
Vehicle body (weight): a
Vehicle body (inertia): b
Wheel rim (inertia) : d
Position of the road: f
The weight of the rim could have been taken into account by an additional force source connected to the mass d.