-
Notifications
You must be signed in to change notification settings - Fork 12
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
Checking the replacement value for variables #1016
Comments
I agree this sounds like a desirable behavior. Until we're able to add it I think you'll have to work with filling the default value into your timeseries. Would that work? |
Yes. But actually there is the checking:
For some reason this was not activated. |
Or then it was this function, which is the culprit:
So at least add |
Can you create a pull request for this update? |
I created a pull request in the SpineInterface repository. |
Great! Closing it here then. |
Description of the issue
I'm thinking of the following function, for example considering the variable
units_out_of_service
. It seems that if the replacement_value is a time series, which has been defined only for some time indices, then a NaN will be returned for other indices and the model will crash.Describe the solution you'd like
In the case the replacement_value has not been defined for some time index, default value for the variable could be used.
The text was updated successfully, but these errors were encountered: