How can I check the source of the electricity consumed by the storage, for example, if the storage consumes 100KWh, how much comes from coal-fired generation and how much from wind power?
You cannot check that directly. The storage will tend to absorb surplus generation from a module in different time slices, so it is not tied to a particular generating process.