4.5 The Lagrangian Differential-Algebraic Equations 189
4.5 The Lagrangian Differential-Algebraic Equations
The results of the previous sections can be combined to yield a systematic ap-
proach for modeling multidiscipline dynamics systems. In particular, consider
a dynamic system described with N configuration displacement variables,
q = [q
1
, q
2
, ···, q
N
]
T
, and corresponding flow variables, f = [f
1
, f
2
, ···, f
N
]
T
.
In addition, the system is required to satisfy the displacement and flow con-
straints
φ
j
(q, t) = 0, j = 1, 2, ···, m
1
, (a)
ψ
j
(q, f, t) = 0, j = 1, 2, ···, m
2
, (b)
where N > (m
1
+ m
2
), and the flow constraints, ψ
j
, are in the Pfaffian form.
The system also includes effort constraints
Γ
j
(q, f, s, e, t), j = 1, 2, ···, m
3
, (c)
where e = [e
1
, e
2
, ···, e
m
3
]
T
are the regulated efforts, and dynamic constraints
˙s
j
= Σ
j
(q, f, s, e, t), j = 1, 2, ···, m
4
, (d)
where s = [s
1
, s
2
, ···, s
m
4
]
T
are the dynamic variables.
Then we can use the results of Sections 4.2 and 4.3 to show that equations
of motion for the system becomes
0 =
d
dt
∂T
∗
∂f
i
−
∂T
∗
∂q
i
+
∂D
∂f
i
+
∂V
∂q
i
+
m
1
X
j=1
λ
j
∂φ
j
∂q
i
+
m
2
X
j=1
µ
j
∂ψ
j
∂f
i
− e
s
i
,
i = 1, 2, ···, N,
0 = φ
i
(q, t), i = 1, 2, ···, m
1
,
0 = ψ
i
(q, f, t), i = 1, 2, ···, m
2
,
0 = ˙s
i
− Σ
i
(q, f, s, e, t), i = 1, 2, ···, m
4
,
0 = Γ
i
(q, f, s, e, t), i = 1, 2, ···, m
3
. (4.7)
In these equations T
∗
(q, f, t) is the kinetic coenergy of the system, V (q) is
the potential energy of the system, and D(f ) is the dissipation function for
the system. The virtual work done by the system efforts is encompassed
in configuration efforts, e
s
i
, such that δW =
P
N
i=1
e
s
i
δq
i
. The configuration
efforts, e
s
i
include the regulated efforts, e
i
, from the dynamic constraints and
effort constraints. Note however, that e
s
i
does not include the efforts due to
capacitors and dampers that are represented in the potential energy V (q),
and the dissipation function, D(f). The variables λ
j
, j = 1, 2, ···, m
1
, are the
Lagrange multipliers associated with the displacement constraints, and the
variables µ
j
, j = 1, 2, ···, m
2
, are the Lagrange multipliers associated with
the flow constraints.