simple python function for calculating tariff codes based on inputs
Budget: $250 – $750 AUD
Hi there!
We need to calculate the tariff code with a python function based on the set of inputs from the following list:
nmi (distributor)
residential/small-business/large
peak
off_peak
shoulder
controlled_load
demand
Here is a photo example (attached).
So given the structure of what exists in the above, we need to "guess" the tariff code
(note: peak == anytime)
Here is an example of citipower (click on 2023 pricing proposal pdf):
https://www.aer.gov.au/networks-pipelines/determinations-access-arrangements/pricing-proposals-tariffs/citipower-annual-pricing-2022%E2%80%9323
Jemena:
https://www.aer.gov.au/networks-pipelines/determinations-access-arrangements/pricing-proposals-tariffs/jemena-annual-pricing-2022%E2%80%9323
Energex:
https://www.aer.gov.au/networks-pipelines/determinations-access-arrangements/pricing-proposals-tariffs/energex-annual-pricing-2022%E2%80%9323
We also need the pricing for the remaining distributors. I've also attached the structures for the nmi patterns:
class NMIPatterns:
"""
Patterns that NMIs in these distributors START with.
https://www.aemo.com.au/-/media/Files/Electricity/NEM/Retail_and_Metering/Metering-Procedures/NMI-Allocation-List.pdf
"""
# VIC
AUSNET = ["6509", "6305", "6306" "VBBB", "VtniW"] # != VBBBW
CITIPOWER = ["VAAA", "6102", "6103"] # != VAAAW
POWERCOR = ["VCCC", "6203", "6204"] # != VCCCW
JEMENA = ["VDDD", "6001"] # != VDDDW
UNITED = ["VEEE"] # != VDDDW
# NSW
AUSGRID = ["NCCC", "4102", "4103", "4104"] # != NCCCW
ENDEAVOUR = ["NEEE", "431"] # != NEEEW
ESSENTIAL = ["NFFF", "4407", "4001", "4508", "4204"] # != NFFFW
TRANSGRID = ["46081", "NTTTW"]
# QLD
ENERGEX = ["QB", "31"] # != QB..W
ERGON = ["30", "QAAA", "QCCC", "QDDD", "QEEE", "QFFF", "QGGG"] # != Q...W
POWERLINK = ["QtniW", "3202"]
# SA
SAPOWER = ["200", "SAAA"] # != SAAAW (SASMP == Sample Meter)
ELECTRANET = ["StniW"]
# TAS
TASNETWORKS = ["8590", "8000", "T0000"]
# WA
WESTERNPOWER = ["8001","8002", "8003", "8004", "8005", "8006", "8007", "8008", "8009", "801", "8020", "WAAA"]
HORIZONPOWER = ["8021"]
# MISC
EMBEDDEDNETWORK = ["7105", "7106"]
AEMORESERVED1 = ["8801", "8802", "8803", "8804", "8805"]
AEMORESERVED2 = ["9"]
EXEMPT = ["NKKKNR", "7102"]
SYDNEYAIRPORT = ["NJJJNR"]
Please add "88hiyu" to your proposal so I know you've added it.
We need to calculate the tariff code with a python function based on the set of inputs from the following list:
nmi (distributor)
residential/small-business/large
peak
off_peak
shoulder
controlled_load
demand
Here is a photo example (attached).
So given the structure of what exists in the above, we need to "guess" the tariff code
(note: peak == anytime)
Here is an example of citipower (click on 2023 pricing proposal pdf):
https://www.aer.gov.au/networks-pipelines/determinations-access-arrangements/pricing-proposals-tariffs/citipower-annual-pricing-2022%E2%80%9323
Jemena:
https://www.aer.gov.au/networks-pipelines/determinations-access-arrangements/pricing-proposals-tariffs/jemena-annual-pricing-2022%E2%80%9323
Energex:
https://www.aer.gov.au/networks-pipelines/determinations-access-arrangements/pricing-proposals-tariffs/energex-annual-pricing-2022%E2%80%9323
We also need the pricing for the remaining distributors. I've also attached the structures for the nmi patterns:
class NMIPatterns:
"""
Patterns that NMIs in these distributors START with.
https://www.aemo.com.au/-/media/Files/Electricity/NEM/Retail_and_Metering/Metering-Procedures/NMI-Allocation-List.pdf
"""
# VIC
AUSNET = ["6509", "6305", "6306" "VBBB", "VtniW"] # != VBBBW
CITIPOWER = ["VAAA", "6102", "6103"] # != VAAAW
POWERCOR = ["VCCC", "6203", "6204"] # != VCCCW
JEMENA = ["VDDD", "6001"] # != VDDDW
UNITED = ["VEEE"] # != VDDDW
# NSW
AUSGRID = ["NCCC", "4102", "4103", "4104"] # != NCCCW
ENDEAVOUR = ["NEEE", "431"] # != NEEEW
ESSENTIAL = ["NFFF", "4407", "4001", "4508", "4204"] # != NFFFW
TRANSGRID = ["46081", "NTTTW"]
# QLD
ENERGEX = ["QB", "31"] # != QB..W
ERGON = ["30", "QAAA", "QCCC", "QDDD", "QEEE", "QFFF", "QGGG"] # != Q...W
POWERLINK = ["QtniW", "3202"]
# SA
SAPOWER = ["200", "SAAA"] # != SAAAW (SASMP == Sample Meter)
ELECTRANET = ["StniW"]
# TAS
TASNETWORKS = ["8590", "8000", "T0000"]
# WA
WESTERNPOWER = ["8001","8002", "8003", "8004", "8005", "8006", "8007", "8008", "8009", "801", "8020", "WAAA"]
HORIZONPOWER = ["8021"]
# MISC
EMBEDDEDNETWORK = ["7105", "7106"]
AEMORESERVED1 = ["8801", "8802", "8803", "8804", "8805"]
AEMORESERVED2 = ["9"]
EXEMPT = ["NKKKNR", "7102"]
SYDNEYAIRPORT = ["NJJJNR"]
Please add "88hiyu" to your proposal so I know you've added it.