Ensemble average (statistical mechanics)
In statistical mechanics, the ensemble average is defined as the mean of a quantity that is a function of the microstate of a system (the ensemble of possible states), according to the distribution of the system on its micro-states in this ensemble.
Since the ensemble average is dependent on the ensemble chosen, its mathematical expression varies from ensemble to ensemble. However, the mean obtained for a given physical quantity doesn't depend on the ensemble chosen at the thermodynamic limit. Grand canonical ensemble is an example of open system.