Updated first examples. They are correct except for the one that has the source with internal resistance and inductance