Giter VIP home page Giter VIP logo

Comments (3)

purcell-lab avatar purcell-lab commented on May 28, 2024

I'm struggling to find the non numeric values here:

curl -i -H "Content-Type: application/json" -X POST -d '{
 "load_cost_forecast":[0.22, 0.21, 0.23, 0.25, 0.24, 0.27, 0.31, 0.42, 0.32, 0.31, 0.28, 0.31, 0.26, 0.28, 0.29, 0.27, 0.25, 0.23, 0.25, 0.24, 0.24, 0.23, 0.23, 0.23, 0.22, 0.22, 0.22, 0.22, 0.22, 0.2, 0.19, 0.16, 0.15, 0.14, 0.12, 0.12, 0.15, 0.15, 0.15, 0.15, 0.15, 0.2, 0.2, 0.2, 0.22, 0.22, 0.24, 0.21], 
 "prod_price_forecast":[0.13, 0.12, 0.14, 0.16, 0.15, 0.18, 0.21, 0.31, 0.22, 0.22, 0.18, 0.21, 0.17, 0.18, 0.19, 0.17, 0.15, 0.13, 0.15, 0.14, 0.14, 0.13, 0.13, 0.13, 0.13, 0.13, 0.12, 0.12, 0.12, 0.11, 0.09, 0.07, 0.07, 0.06, 0.04, 0.04, 0.07, 0.06, 0.06, 0.06, 0.07, 0.11, 0.11, 0.12, 0.13, 0.13, 0.15, 0.12], 
 "pv_power_forecast":[5883, 9816, 7968, 5973, 4029, 2048, 412, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 415, 1590, 3203, 4859, 6555, 8292, 9924, 11556, 12746, 13262, 13925, 14326, 14796, 14878, 14790, 14500, 14113, 13947, 13474], 
 "prediction_horizon":48,
 "soc_init":0.97,
 "def_total_hours":[0,0,0,0,0]}'
 http://localhost:5000/action/naive-mpc-optim

from emhass.

davidusb-geek avatar davidusb-geek commented on May 28, 2024

I've just released a new version addressing this. The messages are now really more explicit and also there was a bug, I was wrongly detecting numeric values as non-numeric.

from emhass.

purcell-lab avatar purcell-lab commented on May 28, 2024

Thanks for the quick turn around.

from emhass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.