An electric power system (400; 500), comprising: an alternating current AC or direct current DC distribution bus (402; 502); an energy storage module (416; 504) connected to the distribution bus (402; 502), wherein when the distribution bus is an AC distribution bus, the electric power system comprises a DC to AC converter and the energy storage module is connected to the AC distribution bus via the DC to AC converter; a processor; a memory including instructions that, when executed by the processor, cause the processor to perform operations including: receiving sensor measurements from the energy storage module (416; 504); generating, based on the sensor measurements, a droop control procedure including a first droop control curve having a non-constant slope that depends on two or more of a state of charge of the energy storage module, a state of health of the energy storage module, energy and power measurements of the energy storage module, a temperature of the energy storage module, and a measure of prior usage of the energy storage module, where the first droop control curve is situated within a droop control range delimited by a second droop control curve and a third droop control curve that provide for the maximum state of charge achievable and the minimum state of charge achievable, respectively; and regulating a power delivery from the energy storage module (416; 504) to the distribution bus (402; 502) according to the droop control procedure. an alternating current AC or direct current DC distribution bus (402; 502); an energy storage module (416; 504) connected to the distribution bus (402; 502), wherein when the distribution bus is an AC distribution bus, the electric power system comprises a DC to AC converter and the energy storage module is connected to the AC distribution bus via the DC to AC converter; a processor; a memory including instructions that, when executed by the processor, cause the processor to perform operations including: receiving sensor measurements from the energy storage module (416; 504); generating, based on the sensor measurements, a droop control procedure including a first droop control curve having a non-constant slope that depends on two or more of a state of charge of the energy storage module, a state of health of the energy storage module, energy and power measurements of the energy storage module, a temperature of the energy storage module, and a measure of prior usage of the energy storage module, where the first droop control curve is situated within a droop control range delimited by a second droop control curve and a third droop control curve that provide for the maximum state of charge achievable and the minimum state of charge achievable, respectively; and regulating a power delivery from the energy storage module (416; 504) to the distribution bus (402; 502) according to the droop control procedure. receiving sensor measurements from the energy storage module (416; 504); generating, based on the sensor measurements, a droop control procedure including a first droop control curve having a non-constant slope that depends on two or more of a state of charge of the energy storage module, a state of health of the energy storage module, energy and power measurements of the energy storage module, a temperature of the energy storage module, and a measure of prior usage of the energy storage module, where the first droop control curve is situated within a droop control range delimited by a second droop control curve and a third droop control curve that provide for the maximum state of charge achievable and the minimum state of charge achievable, respectively; and regulating a power delivery from the energy storage module (416; 504) to the distribution bus (402; 502) according to the droop control procedure.