System representation via computational graphs has become a cornerstone of modern machine learning, underpinning the gradient-based training of complex models. We have previously introduced the Partial Lagrangian Method—a divide-and-conquer approach that decomposes the Lagrangian into link-wise components—to derive and evaluate the equations of motion for robot systems with dynamically changing structures. That method leverages the symbolic expressiveness of computational graphs with automatic differentiation to streamline dynamic analysis. In this paper, we advance this framework by establishing a principled way to encode time-dependent differential equations as computational graphs. Our approach, which augments the state vector and applies the chain rule, constructs fully time-independent graphs directly from the Lagrangian, eliminating the erroneous time-derivative embeddings that previously required manual correction. Because our transformation is derived from first principles, it guarantees graph correctness and generalizes to any system governed by variational dynamics. We validate the method on a simple serial-link robotic arm, showing that it faithfully reproduces the stand
📖 افتح في inklap 🔗 DOI 📮 اطلب بحثاً