Thermodynamic estimation of cooling efficiency using an electrocaloric solid-state line