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

Problem finding a value of a repeatable time series #51

Open
spine-o-bot opened this issue Feb 7, 2021 · 1 comment
Open

Problem finding a value of a repeatable time series #51

spine-o-bot opened this issue Feb 7, 2021 · 1 comment
Assignees

Comments

@spine-o-bot
Copy link

In GitLab by @manuelma on Feb 4, 2021, 12:41

@nnhjy reported some problems getting values for time series with repeat=true, for one history time slice. @nnhjy if you have more information, please post it here whenever you get the chance.

@spine-o-bot
Copy link
Author

In GitLab by @nnhjy on Feb 4, 2021, 17:40

Here is the database for testing: data_store.sqlite.
Now with the Commit 12a03f55, the SpineOpt will report the following error:

- [variable_nonspin_ramp_down_unit_flow]  0.000072 seconds (38 allocations: 2.297 KiB)
  0.087254 seconds (216.07 k allocations: 10.812 MiB)
Fixing variable values...ERROR: LoadError: DivideError: integer division error
Stacktrace:
 [1] div at .\int.jl:230 [inlined]
 [2] div at .\div.jl:215 [inlined]
 [3] div at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Dates\src\periods.jl:80 [inlined]

When you untick the repeat option for all timeseries parameter values, the model should then work normally.

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