Modeling of once-through steam generator