Dynamic model and preliminary design of a small-scale renewable methanol system