Accessing carbon intensity at a given point in time

I want to access the carbon intensity of a building at a given point in time the same way i do for solar generation e.g I can get solar generation using env.buildings[0].energy_simulation.solar_generation[env.time_step]. I am unable to do the same for carbon_intensity which i though would be follow the same syntax using ``env.buildings[0].energy_simulation.carbon_intensity[env.time_step]`.

My Question is how do i access carbon intensity. I want to get the true values of the carbon intensity for the next 48 steps inorder to use it for training my regression model.

answered here.