Hydroelectricity simulation using FRP