Power electronic circuit simulation