use crate::registry::prelude::*;

pub static ESKILSTUNA_ENERGI_MILJO: GridOperator = GridOperator::builder()
    .name("Eskilstuna Energi & Miljö")
    .vat_number("SE556513955601")
    .country(Country::SE)
    .main_fuses(MainFuseSizes::new_range(16, 25))
    .links(
        Links::builder()
            .fee_info(
                "https://www.eem.se/privat/elnat/priser-och-avgifter/elnatsavgift-2025",
                "article",
            )
            .build(),
    )
    .price_lists(&[
        PriceList::builder() // NOTE: They have a power tariff based price model implemented for 35A+, but we'll skip adding those for now...
            .from_date(2025, 1, 1)
            .monthly_fee(Cost::fuses(&[
                (16, Money::new(361, 67)),
                (20, Money::new(475, 42)),
                (25, Money::new(577, 50)),
            ]))
            .transfer_fee(TransferFee::fixed_subunit(29.40))
            .monthly_production_fee(Cost::fixed(25, 0))
            .feed_in_revenue(FeedInRevenue::fixed_subunit(5.0))
            .power_tariff(PowerTariff::Unverified)
            .build(),
    ])
    .build();
