Sources are modeled as ideal sources (ideal meaning sources that always keep the desired value) combined with their output impedance. The output impedance is defined as this modeled and/or real impedance in series with an ideal voltage source. Mathematically, current and voltage sources can be converted to each other using Thévenin's theorem and Norton's theorem.