Dynamic modeling and co-optimization of configuration and operation for a solar-assisted ejector heat pump with energy storages | Synapse