grid_tariffs/
lib.rs

1#![allow(unused)]
2//! Grid operator information
3//!
4//! This information is written for consumers specifically
5//! Costs for apartments are excluded as we do not aim to support those
6//! All costs are specified with VAT included
7//!
8//! TODO: Change it so that a grid operator can have multiple price lists (e.g. Tekniska Verken becomes one)
9//! TODO: Verify that we use the correct pricing and calculation method for each grid operator
10//! TODO: Generate GridOperator entries from Tariff API
11//!
12use std::collections::HashMap;
13
14use chrono::{NaiveDate, Utc};
15use indexmap::IndexMap;
16use serde::Serialize;
17
18pub use crate::{
19    costs::Cost,
20    country::{Country, CountryInfo},
21    links::*,
22    money::Money,
23    operator::{GridOperator, GridOperatorSimplified},
24    power_tariffs::PowerTariff,
25    price_list::PriceList,
26    revenues::{FeedInRevenue, FeedInRevenueSimplified},
27    tax_reductions::*,
28    taxes::*,
29    transfer_fee::{TransferFee, TransferFeeSimplified},
30};
31use crate::{
32    currency::Currency, defs::MainFuseSizes, price_list::PriceListSimplified, registry::sweden,
33};
34pub(crate) use operator::GridOperatorBuilder;
35
36mod costs;
37mod country;
38mod currency;
39mod defs;
40mod helpers;
41mod links;
42mod money;
43mod operator;
44mod power_tariffs;
45mod price_list;
46pub mod registry;
47mod revenues;
48mod tax_reductions;
49mod taxes;
50mod transfer_fee;