Mesoscopic modeling of ion exchange membranes for energy conversion applications | Synapse