Generating a Real-Time Time Scale With an Ensemble Clock and a Primary Frequency Standard