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

Differences in aggregate and individual DSM time series #1120

Open
khelfen opened this issue Mar 16, 2023 · 0 comments
Open

Differences in aggregate and individual DSM time series #1120

khelfen opened this issue Mar 16, 2023 · 0 comments

Comments

@khelfen
Copy link
Contributor

khelfen commented Mar 16, 2023

Currently, there are differences in the aggregated and individual DSM time series. These are caused by the truncation of the values at zero.

for index, liste in scheduled_load.items():
lamb = lam.loc[index]
p_max.loc[index] = [max(0, lamb * s_inc - item) for item in liste]
# P_min
p_min = scheduled_load.copy()
for index, liste in scheduled_load.items():
lamb = lam.loc[index]
p_min.loc[index] = [min(0, -(item - lamb * s_dec)) for item in liste]

The sum of the individual time series is a more accurate value than the aggregated time series used so far and should replace it in the future. Since the deviations are relatively small, a tolerance is currently accepted in the sanity checks.

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