In all likelyhood, that macro comes from ModellingToolkit.jl, in which case it means replace this
@named source = Voltage()
With this
source = Voltage(name=:source)
It passes the variable name as an argument to the function to avoid you having to write it twice.