Examining a voltage regulator schematic, I believe I can connect the primary side of a step down transformer to mains voltage directly to step it down on the secondary, but PSpice doesn't let me simulate that same exact circuit(transformer with bridge rectifier) claiming I can't have a voltage source and inductor loop without a series resistor to break it. I don't know if this is just a PSpice limitation or if connecting the primary of a transformer directly to mains without resistors is a bad idea?
Background: The goal is to rebuild a voltage regulator using discrete components. I am trying to go from a 120 V 60 Hz to 12 Volts. Once I can step down and clip the negative wave correctly, I'll add the capacitive filter to smoothify or make the waveform more DC like.