algorithms and power systems architecture