The most common way of representing a magnetic circuit is the resistance–reluctance model, which draws an analogy between electrical and magnetic circuits. This model is good for systems that contain only magnetic components, but for modelling a system that contains both electrical and magnetic parts it has serious drawbacks. It does not properly model power and energy flow between the electrical and magnetic domains. This is because electrical resistance will dissipate energy whereas magnetic reluctance stores it and returns it later. An alternative model that correctly models energy flow is the gyrator–capacitor model.