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.25.tar.gz (27.6 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.25-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bn_calculator-0.0.25.tar.gz
  • Upload date:
  • Size: 27.6 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.25.tar.gz
Algorithm Hash digest
SHA256 e6d73280465fe43687e91bc80a9333031ee37eb8d7fcdf0e90bc515a50f8334b
MD5 d15779514d67bccc69b899495cf57e20
BLAKE2b-256 e390b65941da0786f8191c08101bd0eb06df6ac601c5fba068e3493035176ce6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bn_calculator-0.0.25-py3-none-any.whl
  • Upload date:
  • Size: 29.2 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.25-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4cf9fb9540e9d487283f7259e4234c6e4dbf25c2099b5b1a75bbb2289e66a0
MD5 56b4d039729510c73355658fa41fc81c
BLAKE2b-256 96aec8a9c395c21ed4c16e8a555d14413c037768473441276f13e4589fde4a99

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