A simulation-based optimization method for cost-optimal analysis of nearly Zero Energy Buildings