Functional model of the Chernobyl power plant