Performance modeling of sodium-sulfur (NaS) batteries following optimized charging and discharging patterns | Synapse