Skip to main content

Calculator tool for byneuron backend

Project description

Service Calculator

About

Provides a method for microservices to process data from the byneuron platform. Extends to the connector service.

Concept

In general this method host the process in 3 steps: 1/ input aggregated data from sources; 2/ performs calculations 3/ outputs the data to targets.

Handling: A/ Scope: Multiple (async) or Single B/ TimeRange: Actual (for cron based Task intervals), Recent (periodic updates), Historic (init/edit)

Datamodel: Sources are linked to the entity using:

  • itemRelation using metaValues
  • deviceRelation using deviceDefinition
  • ? solarDevice Targets are features of the entity.

Framework: 1/ Build configuration in CalculationEntityDefinition (ced) [configurator.py] -> panda & numpy 2/ Start a CalculationHandler(ch) with the ced [handler.py] -> byneuron backend 3/ Retrieve CalculationHandlerEntity (che) from ch [handler.py] -> byneuron backend

  • che will be enriched with a ced adjusted per tenant when retrieved.
  • the datamodel for the individual che will only be queried at the che.handle() 4/ Finally a CalculationEntity (ce). [calculator.py]
  • the ce hold the calculation logic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bn_calculator-0.0.15.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bn_calculator-0.0.15-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file bn_calculator-0.0.15.tar.gz.

File metadata

  • Download URL: bn_calculator-0.0.15.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for bn_calculator-0.0.15.tar.gz
Algorithm Hash digest
SHA256 9f9fb6c82af33019bd67769f7654f61a8d631eb782814590a97460f14472e8d0
MD5 95506c2f044fef7b7d0ff684ac203593
BLAKE2b-256 a3d7a0ac220160d17192e741bd961920cd2edafb54560124b2983415aee49f6d

See more details on using hashes here.

File details

Details for the file bn_calculator-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: bn_calculator-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for bn_calculator-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a83ac65f17c532575ddaf97cb4ec23e565a7a0836482e86faa9f937408e6e45a
MD5 46eb843b8da1e0ad493f2c12e5a97b69
BLAKE2b-256 6b769061fc872d90841a48f948757d3edd96458ebed6c1a73ee3294374b649ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page