Fundamentals of electrotechnology