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

Calculations in plotting functions: calc_ac_loading, calc_dc_loading, plot_grid #741

Open
pl0via opened this issue May 17, 2024 · 0 comments
Assignees

Comments

@pl0via
Copy link

pl0via commented May 17, 2024

There seem to be some incorrect calculation steps in the mentioned functions.

calc_ac_loading:
Instead of taking the absolute sum, the individual directed power flows are offset against each other. As a result, existing power flows are partially omitted. The approach of calc_dc_loadings should be used:

calc_ac vs  calc_dc

Also, there seem to be calculation steps in reversed order when using calc_ac_loading and calc_dc_loading in combination with plot_grid(line_colors="line_loading").
When calculating the average power utilization, the sum value of all time steps is divided by the nominal power value (s_nom_opt for AC, p_nom_opt for DC), although it should be the rep_snapshots value:

average
In order to calculate the share of the optimum power, the average power should be divided by s_nom_opt or p_nom_opt instead of rep_snapshots:

plot_grid

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

3 participants