deckle studio
Open the editor
SPICE subcircuitmains_230

Mains supply 230 V (L, N, PE)

The house supply at the meter: L carries 230 V AC at 50 Hz against N and PE, which are bonded to earth (TN-C-S). The loop impedance limits a short circuit to some hundred amperes, as in a real house.

LNPE230 V50 Hz
Schematic symbol

Key data

Category
House wiring
Simulation model
SPICE subcircuit
Reference prefix
X
Pins
3

Simulation model

The part is a small SPICE netlist (below), solved by the analog engine together with the rest of the circuit. Pin ids are the node names, {braces} are parameters.

SPICE netlist
U1 L N PE MAINS U={U} F={F} RI={RI}

Pins 3

PinNameUse
LLPassive pinContact: carries a signal or supply wire
NNPassive pinContact: carries a signal or supply wire
PEPEPassive pinContact: carries a signal or supply wire

Parameters 3

Voltage (RMS)U
Default230 V
FrequencyF
Default50 Hz
Loop impedanceRI
Default0.4 Ω

Resistance of the supply up to this point; a short circuit L–N draws U / RI

PCB

No land pattern: the part is not placed on the board.