Skip to main content

No project description provided

Project description

Zefir Analytics

The Zefir Analytics module was created by the authors of PyZefir for relatively inexpensive processing or conversion of raw data into user-friendly condition, such as a report or a set of graphs. Also, this module is a set of computational methods used in the endpoints of the Zefir Backend repository.

Setup Development Environment

Install repository from global pip index:

pip install zefir-analytics

Make setup

Check if make is already installed

make --version

If not, install make

sudo apt install make 

Make stages

Install virtual environment and all dependencies

make install

Run linters check (black, pylama)

make lint

Run unit and fast integration tests (runs lint stage before)

Make unit

Run integration tests (runs lint and unit stages before)

make test

Remove temporary directories such as .venv, .mypy_cache, .pytest_cache etc.

make clean

Available methods in Zefir Engine objects

  • source_params:
    • get_capex_opex
    • get_costs_per_tech_type
    • get_dump_energy_sum
    • get_emission
    • get_ets_cost
    • get_fuel_availability_per_tech
    • get_fuel_cost
    • get_fuel_cost_per_tech
    • get_fuel_usage
    • get_generation_demand
    • get_generation_sum
    • get_installed_capacity
    • get_load_sum
    • get_var_costs
  • aggregated_consumer_params:
    • get_aggregate_elements_type_attachments
    • get_aggregate_parameters
    • get_fractions
    • get_n_consumers
    • get_total_yearly_energy_usage
    • get_yearly_energy_usage
  • lbs_params:
    • get_lbs_capacity
    • get_lbs_fraction
  • line_params:
    • get_capacity
    • get_flow
    • get_transmission_fee

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

zefir-analytics-0.4.13.tar.gz (50.8 kB view details)

Uploaded Source

Built Distribution

zefir_analytics-0.4.13-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file zefir-analytics-0.4.13.tar.gz.

File metadata

  • Download URL: zefir-analytics-0.4.13.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for zefir-analytics-0.4.13.tar.gz
Algorithm Hash digest
SHA256 ba038297dc931461c7cf3819759c80ca015f1f835293b5751253588754ace243
MD5 28c5875dceab3b63446bb825f99ffafd
BLAKE2b-256 72d2e4a39b1c815adf1d4baf6a5054e66cf498f3e71bfae8bfa81bea3f27e129

See more details on using hashes here.

File details

Details for the file zefir_analytics-0.4.13-py3-none-any.whl.

File metadata

  • Download URL: zefir_analytics-0.4.13-py3-none-any.whl
  • Upload date:
  • Size: 45.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for zefir_analytics-0.4.13-py3-none-any.whl
Algorithm Hash digest
SHA256 1cad09da78a899f03c904916cb9046cc73d0b6f4626efeb6d1802fc359da8646
MD5 8f261b7de7e7a0afb78ea4e6acf013a2
BLAKE2b-256 1d7aa4d02933db0b5fd13b809ae54ab53a07fe0a6d29e6d92b0e1af9971c0959

See more details on using hashes here.

Supported by

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