An open-source active power controller for grid required ancillary services (Universitas Ahmad Dahlan, 2022)