From Danish Frederik + -s- + værk; apparently Frederick V of Denmark named it after himself.
Frederiksværk