State of charge estimation for latent-heat thermal energy storage using data-driven hysteresis modeling and Koopman state observer | Synapse