1. A method of training a resource model of a system, the method comprising: correlating a resource cost incurred by each component of the system in response to a given operation; generating a resource map based on the correlation of the resource costs to the given operation; determining workload transformations applied to the given operation at each interface between components of the system; and generating a workload map based on the determined workload transformations applied to the given operation at each interface between components of the system.