Model calculation of weak and medium strong linear hydrogen bonded systems