GMLC-1-4-2 / battery_interface

Implemenation of Device Models and their Battery Equivalent Interface
MIT License
5 stars 0 forks source link

Regulation crashing when calculating PJM metrics for fuelcell #101

Open Hayden-Reeve opened 5 years ago

Hayden-Reeve commented 5 years ago

@DavidWiniarski-pnnl ,

FYI, when I run fuelcell and Refridge with regulation it crashes at the command below with TypeError: No loop matching the specified signature and casting was found for ufunc lstsq_n

https://github.com/GMLC-1-4-2/battery_interface/blob/508bf50a950b8bb321b8fa1475ea11488cdb6a51/src/services/reg_service/reg_service.py#L260

I assume this is a exception handling issue.

DavidWiniarski-pnnl commented 5 years ago

Thanks, yes I saw the same errors last night in trying to run both