Deform, bending a mesh

Hello,
how it is possible to bend / deform a given mesh at defined edges on it?

Here is a example mesh with bending edges and their bending zones.

So i understand, it maybe possible with skeletons and bones.
Or is it possible to generate a bending simulation with a physic system?

What i want is to bend at the marked edges with a given angle.

Hope you are have any ideas.