Python Structural Analysis Definition