mods to fitdata to support fitting linear-equality contraints for thermodynamic cycle energy conservation