The functional principles of a hydrostatic skeleton were combined to obtain a physical model which includes geometry, number and length-tension relationships of the elastic elements in the body wall, internal volume and internal pressure. The model skeleton with pre-set internal volume assumes a certain shape and develops a specific internal pressure in order to minimize the potential energy stored in the elastic elements. This shape is calculated as equilibrium state by using finite element methods and optimization techniques. This model is flexible enough to accommodate different geometries and length-tension-relationships of the elastic elements. Presently, the model is implemented with linear length-tension relationships and certain geometrical restrictions, such as uniform width over the entire animal, and rectangular cross sections; the general case is outlined. First simulations with the “unit-worm” yield stable solutions, i.e. stable shapes for all combinations of parameters tested so far. They define the conditions for bringing all muscles to an optimal operating point. We detected a pressure maximum with increasing volume, assessed the contribution of circular muscles to bending, and determined the shapes of animals with different muscle activations in each body half (Chapman-matrix). We summarize our results by the volume rule and stabilization rule, two simple concepts which predict changes in shape as the result of muscle activation.