Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in fix charge charges #10

Open
anandkp92 opened this issue Mar 31, 2022 · 2 comments
Open

error in fix charge charges #10

anandkp92 opened this issue Mar 31, 2022 · 2 comments
Assignees

Comments

@anandkp92
Copy link
Member

Noted by @bfgerke:

Some of the OpenEI JSON files report fixed charges as $/month, and others report them as $/day. But the calculator seems to ignore the stated units and assume everything is reported in $/month.

For instance, a tariff might have entries like

{
...
fixedchargefirstmeter:0.91565
fixedchargeunits:"$/day"
...
}

In this case, the code returns monthly fixed charges that are around $0.91, when they should be closer to $27.

TODO: Need to look at fixedchargeunits in the json.

@anandkp92 anandkp92 self-assigned this Mar 31, 2022
@anandkp92
Copy link
Member Author

@bfgerke Could you share the example you worked on/ tariff json?

The reason I ask is I see that we are handling the daily rates here:

I want to replicate the costs that you are seeing, so I'd appreciate any information you can provide.

Thanks
Anand

@bfgerke
Copy link
Collaborator

bfgerke commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants