A nonlinear simulation model of a BWR nuclear power plant