Git Product home page Git Product logo

battery-scheduler's Introduction

Battery Scheduler for Autonomous Mobile Robots

Prerequisits

  1. MongoDB, 'message_store' database with collection of 'task_events'.
  2. PRISM - https://github.com/bfalacerda/prism
  3. Clone of this repository with the files in the folder models.

Modifications

  1. PRISM path should be modified. Look for ##SPECIFY LOCATION##
  2. Choose any array of test dates, from the possible dates.

Running the files

  1. Run roscore.
  2. Run mongodb store
  3. Run fhc.py for finite horizon control.
  4. Run rhc.py for receding horizon control.
  5. Run rule_based_*.py for rule based controls.

General Script Description

While running these files, the following scripts are called:

  1. generate_samples.py will generate test points.
  2. probabilistic_rewards.py generates the rewards and task model probabilities.
  3. bcth_prism_model.py generates the prism script for model checking.
  4. read_adversary.py reads the policies generated by prism.
  5. In fhc.py and rhc.py simulation is done by obtaining the prism model, finding the next state and action taken from the current state from the optimal policy picked and accumalating these results across all the test points.

battery-scheduler's People

Contributors

milanmt avatar

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.