Structured Energy Approach for the Modeling of Flexible Structures