Skip to content

add print statement to NCC if instantiated with date before its introduction #38

Description

@eglucas

add print statement (similar to that in NRAB) to levies.py - NCC class - from_dataframe() L1078

# Alert message if price cap period pre-dates ncc
if price_cap_date < pd.to_datetime("2025-04-01"):
print(f"Selected date {price_cap} pre-dates introduction of NCC levy. Levy object will not contain any levy rates.")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions