Git Product home page Git Product logo

odoo-openems's Introduction

Build Status Gitpod live-demo Cite via Zenodo codecov

the Feneco - OpenEMS Logo
Open Source Energy Management System

OpenEMS - the Open Source Energy Management System - is a modular platform for energy management applications. It was developed around the requirements of monitoring, controlling, and integrating energy storage together with renewable energy sources and complementary devices and services like electric vehicle charging stations, heat-pumps, electrolysers, time-of-use electricity tariffs and more.

If you plan to use OpenEMS for your own projects, please consider joining the OpenEMS Association e.V., a network of universities, hardware manufacturers, software companies as well as commercial and private owners, and get in touch in the OpenEMS Community forum.

OpenEMS in »Local Energy Management«

alt text

OpenEMS in »Areal Energy Management«

alt text

OpenEMS IoT stack

The OpenEMS 'Internet of Things' stack contains three main components:

  • OpenEMS Edge runs on site, communicates with devices and services, collects data and executes control algorithms
  • OpenEMS UI is the real-time user interface for web browsers and smartphones
  • OpenEMS Backend runs on a (cloud) server, connects the decentralized Edge systems and provides aggregation, monitoring and control via internet

Features

The OpenEMS software architecture was designed to leverage some features that are required by a modern and flexible Energy Management System:

  • Fast, PLC-like control of devices
  • Easily extendable due to the use of modern programming languages and modular architecture
  • Reusable, device independent control algorithms due to clear device abstraction
  • Wide range of supported devices and protocols

OpenEMS UI Screenshots

alt text alt text

System architecture

OpenEMS is generally used in combination with external hardware and software components (the exception is a simulated development environment - see Getting Started). As a brief overview, this is how OpenEMS is used in production setups: alt text

Getting Started

Documentation

Open Source philosophy

The OpenEMS project is driven by the OpenEMS Association e.V., a network of users, vendors and scientific institutions from all kinds of areas like hardware manufacturers, software companies, grid operators and more. They share the common target of developing a free and open-source platform for energy management, that supports the 100 % energy transition.

We are inviting third parties to use OpenEMS for their own projects and are glad to support them with their first steps. In any case if you are interested in OpenEMS we would be glad to hear from you in the OpenEMS Community forum.

OpenEMS development was started by FENECON GmbH, a German company specialized in manufacturing and project development of energy storage systems. It is the software stack behind FEMS - FENECON Energy Management System and widely used in private, commercial and industrial applications.

OpenEMS is funded by several federal and EU funding projects. If you are a developer and you would like to get hired by one of the partner companies or universities for working on OpenEMS, please send your motivation letter to [email protected].

Scientific Research

If you use OpenEMS in your scientific research, please use our Zenodo Digital Object Identifier (DOI) as reference:

Cite via Zenodo

License

  • OpenEMS Edge
  • OpenEMS Backend

Copyright (C) 2016-2022 OpenEMS Association e.V.

This product includes software developed at FENECON GmbH: you can redistribute it and/or modify it under the terms of the Eclipse Public License version 2.0.

  • OpenEMS UI

Copyright (C) 2016-2022 OpenEMS Association e.V.

This product includes software developed at FENECON GmbH: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3.

odoo-openems's People

Contributors

sfeilmeier avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

odoo-openems's Issues

[12.0] Installation bug

Hello guys, congrats for the work. I checked your module and both with and without demo data i keep getting this error. Can you help me?

`Error:
Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 350, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in
File "", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 445, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 561, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 421, in load_modules
loaded_modules, update_module, models_to_check)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 313, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 222, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package, report=report)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 68, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 798, in convert_file
convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 845, in convert_csv_import
raise Exception(
('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
Exception: Module loading odoo-openems failed: file odoo-openems/security/ir.model.access.csv could not be processed:
No matching record found for external id 'openems.model_openems_edge' in field 'Object'
No matching record found for external id 'openems.model_openems_edge' in field 'Object'
No matching record found for external id 'openems.model_openems_edge' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_edge_user_role' in field 'Object'
No matching record found for external id 'openems.model_openems_edge_user_role' in field 'Object'
No matching record found for external id 'openems.model_openems_edge_user_role' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_openemsconfigupdate' in field 'Object'
No matching record found for external id 'openems.model_openems_openemsconfigupdate' in field 'Object'
No matching record found for external id 'openems.model_openems_openemsconfigupdate' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_setup_protocol' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_setup_protocol_production_lot' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_production_lot' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_production_lot' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_setup_protocol_item' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_item' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_item' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'stock.model_stock_production_lot' in field 'Object'
No matching record found for external id 'stock.model_stock_production_lot' in field 'Object'
No matching record found for external id 'stock.model_stock_production_lot' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Found more than 10 errors and more than one error per 10 records, interrupted to avoid showing too many errors.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 98, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1269, in run
result = request.env['ir.actions.server'].browse([action_id]).run()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 553, in run
res = func(action, eval_context=eval_context)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 444, in run_action_code_multi
safe_eval(action.sudo().code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action'
File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 373, in safe_eval
pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 350, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in
File "", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 445, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 561, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 421, in load_modules
loaded_modules, update_module, models_to_check)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 313, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 222, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package, report=report)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 68, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 798, in convert_file
convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 845, in convert_csv_import
raise Exception(
('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
ValueError: <class 'Exception'>: "Module loading odoo-openems failed: file odoo-openems/security/ir.model.access.csv could not be processed:
No matching record found for external id 'openems.model_openems_edge' in field 'Object'
No matching record found for external id 'openems.model_openems_edge' in field 'Object'
No matching record found for external id 'openems.model_openems_edge' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_edge_user_role' in field 'Object'
No matching record found for external id 'openems.model_openems_edge_user_role' in field 'Object'
No matching record found for external id 'openems.model_openems_edge_user_role' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_openemsconfigupdate' in field 'Object'
No matching record found for external id 'openems.model_openems_openemsconfigupdate' in field 'Object'
No matching record found for external id 'openems.model_openems_openemsconfigupdate' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_setup_protocol' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_setup_protocol_production_lot' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_production_lot' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_production_lot' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'openems.model_openems_setup_protocol_item' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_item' in field 'Object'
No matching record found for external id 'openems.model_openems_setup_protocol_item' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
No matching record found for external id 'stock.model_stock_production_lot' in field 'Object'
No matching record found for external id 'stock.model_stock_production_lot' in field 'Object'
No matching record found for external id 'stock.model_stock_production_lot' in field 'Object'
No matching record found for external id 'openems.group_openems_manager' in field 'Group'
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Missing required value for the field 'Object' (model_id)
Found more than 10 errors and more than one error per 10 records, interrupted to avoid showing too many errors." while evaluating
'records.button_immediate_install()'

Screenshot from 2022-01-24 00-51-43
`

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.