Hybrid systems System structure and realization mathematics