Skip to content

Output ConEd Rate III rate from Arcadia in URDB format #22

@jpvelez

Description

@jpvelez

What

Convert Arcadia's Tariff JSON for ConEd's Rate III rate to valid URDB format.

Why

This particular tariff includes a time-of-use structure, which is a key tariff feature we need to be able to convert.

How

  • Understand the Rate III Tariff JSON by reading our tariff wiki docs and generally referring to the Signal Tariffs API docs.
  • Write down, possibly with the help of an LLM, what the URDB version of this tariff should look like
    • Once you've done this exercise, you can check against the official URDB representation of Rate III. Please only check the "answer" once you've done it for yourself—the point is to understand the URDB format and uncover conversion logic by doing the conversion "by hand."
    • Also note that the rate in URDB might contain slightly different values that the one in Arcadia, starting with the fact that URDB has a different tariff for every ConED zone: here is the one for Zone J
  • Update the python utility function so it can take in the Rate III Tariff JSON and spit out a correct URDB version of the Tariff
  • Write tests for this expanded functionality
  • Ensure CLI supports this expanded functionality function

Deliverables

  • Release of tf that includes the updated utility function and CLI
  • Updated docs on how to use the utility function and CLI
  • Tests that check the correctness of converting Rate III from Arcadia to URDB format

Anti-deliverables

  • No need to "auto-convert" Arcadia tariffs to URDB when using tariff-fetch yet, we want to make sure it's working well for a number of tariff first

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