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

[BUG] Equation for load.kva might be wrong in create_dss_object #467

Open
John-Boik opened this issue Jul 10, 2024 · 0 comments
Open

[BUG] Equation for load.kva might be wrong in create_dss_object #467

John-Boik opened this issue Jul 10, 2024 · 0 comments

Comments

@John-Boik
Copy link
Contributor

John-Boik commented Jul 10, 2024

In the function create_dss_object, for creating loads, the following occurs three times:

load.kva = abs(load.kw) + load.kvar^2

I believe the equation be:

load.kva =  sqrt(load.kw^2 + load.kvar^2)

In the same function, line 27, the following appears:

elseif :pf ∈ raw_fields && load.pf != 0.88

This seems like a rather strange test for power factor. Is it intended to be this way?

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

1 participant