Assessment of marginal emissions factor in power systems under ramp-rate constraints