Pietro Viero
OpenCLD: A Python-Native Library for Hybrid System Dynamics and Machine Learning Integration.
Rel. Giovanni Zenezini. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Gestionale (Engineering And Management), 2026
|
Preview |
PDF (Tesi_di_laurea)
- Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives. Download (15MB) | Preview |
Abstract
The integration of System Dynamics (SD) and Machine Learning (ML) is increasingly necessary for modeling complex systems, yet current proprietary SD tools and transpiler-based open-source libraries present severe architectural bottlenecks that hinder deep algorithmic coupling. This thesis introduces OpenCLD, a Python-native, open-source library designed to resolve this structural disconnect by implementing a strict ``Model-as-Code'' paradigm. Built on an object-oriented architecture, the framework treats SD components as mutable, explicit Python objects. The simulation engine is optimized for high-performance execution, featuring O(1) component lookups, automated topological sorting via NetworkX to resolve dependencies and algebraic loops, and a robust numerical perturbation algorithm for dynamic polarity detection.
Furthermore, OpenCLD ensures physical validity through strict runtime dimensional consistency via the Pint library and supports heavily vectorized simulations utilizing NumPy
Relatori
Anno Accademico
Tipo di pubblicazione
Numero di pagine
Corso di laurea
Classe di laurea
URI
![]() |
Modifica (riservato agli operatori) |
