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
Built Distribution
File details
Details for the file zefir-analytics-0.4.17.tar.gz
.
File metadata
- Download URL: zefir-analytics-0.4.17.tar.gz
- Upload date:
- Size: 51.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680dc915d49d9a28608a9d257dd93b56d6444f1c1b6157dcb4d599794a398e97 |
|
MD5 | 0b29f3bc3038343da98c917f9de1fe48 |
|
BLAKE2b-256 | 4aff6c94694a43172dad0d1bc48e378c5ed6451697a914054bc4dda3ae5e8de5 |
File details
Details for the file zefir_analytics-0.4.17-py3-none-any.whl
.
File metadata
- Download URL: zefir_analytics-0.4.17-py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e5f9157da5698d9fb9eae5620b2e9b9a575f3318072af7c5e36499255486ef |
|
MD5 | 7f4d92b283af2211f01bdfb259a472d2 |
|
BLAKE2b-256 | f7747344d95dbee1c4edc83bbdb8424d25d7fcf4dddba3f375c04f3e5d0fe087 |