NOVELTY - The method (1300) involves receiving (1302) standardized operating parameters for batter inverter of an energy storage system by a site gateway. The standardized operating parameters are translated (1304) into vendor specific parameters. The vendor specific parameters being specific to a vendor-defined communication protocol is supported by the battery inverter. The battery inverter is controlled (1306) using the vendor specific parameters. The standardized operating parameters are derived from a control command received by the site gateway from a remote server.    USE - Method for managing grid-connected energy generation and storage (EGS) system installed at site such as residence and commercial building, for generating energy using renewable resources such as solar, wind, hydropower, wind turbine, solar-thermal, geothermal, biomass, compressed air, flywheels, pumped hydro and superconducting magnetic energy storage (SMES).    ADVANTAGE - The site gateway can use the automatically determined specifications to configure the energy generation and storage (EGS) system for use. Thus, the need for a technician to manually provision system components onsite can be avoided. Hence, the entire provisioning process can be automated by the site gateway, without human intervention. The function of schedule is configured to discharge energy from battery device when site power consumption is high, but gradually decrease the magnitude of the discharge as the battery's state of charge decreases. Thus, the discharging of the battery can be prevented effectively when the state of charge reaches 50%. Hence, the charge level of 50% can be maintained and reduction of site peak power demand can be achieved efficiently.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are included for the following:    (1) a non-transitory computer-readable storage medium storing program; and    (2) a computer system.    DESCRIPTION OF DRAWING(S) - The drawing shows a flowchart illustrating the process for translating standardized operating parameters for component of energy generation and storage system into vendor-specific parameters.    Method for (1300)    Step for receiving standardized operating parameters for battery inverter (1302)    Step for translating standardized operating parameter into vendor specific parameter (1304)    Step for controlling battery inverter using vendor specific parameter (1306)