Modeling of parasitic losses