Problem using file created on older version - Stochastic mapping for units #1228
Replies: 3 comments 4 replies
-
|
I can't remember what the solution was to other issue that you referred to. But I've checked your json file and compared it to a newer json file. The only thing that seemed a bit off to me was ""index_name": "x"". I removed that and uploaded it to the database again, but the error stayed the same. Maybe there are indeed migration issues. But I'm not sure where to start looking from here (other than rebuilding the case), so I don't have an immediate solution for you. If I come up with something, I'll try again, but for now I'm unsure. If you have been able to try other stuff and get a new clue, please let us know. |
Beta Was this translation helpful? Give feedback.
-
|
It is unfortunate that we were not able to resolve this issue. I'm afraid that the only way we can get a new clue is when someone tries to implement it from scratch in the new version. But I don't see that happen any time soon, so I'm closing this issue. |
Beta Was this translation helpful? Give feedback.
-
|
It's possible that the changes that @manuelma made to improve the performance of the model didn't take into account that bounds may be stochastic maps. Or rather, if the unit_capacity value is a map, then it shouldn't be implemented as a simple bound. Hopefully @manuelma can help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your problem
I am working on updating a model that was created older versions of SpineOpt/Toolbox and am running into "MethodError: no method matching...." when SpineOpt is attempting to set the variable_unit_flow upper bounds. This model makes use of stochastic scenarios, with 4 separate forecasts for a number of the node/unit parameters, where each of the forecasts consists of a different time series. It is very similar to the system described in #1042, which seems to have run into similar errors.
When updating to the latest version I did the following:
Upgrade project popup - selected yes
Backup and upgrade input/output databases from revision 989fccf80441 to 91f1f55aa972 - selected okay

Altered specifications of Run SpineOpt to have "upgrade = true"
The key error that pops up once I have done the above is:

I am wondering if the fact that the data being passed is "::SpineInterface.Map{Symbol, SpineInterface.Timeseries{Float64}}" instead of "::SpineInterface.Call" is an error on my side (either in the upgrading or data input in the first place) or if it is pointing out a unit/node that isn't supported for a stochastic scenario map. Currently there are maps on the following entity classes/parameter types:
I would really appreciate any help that anyone could provide!
Attach your model as a JSON file (encouraged)
average4_original_notworking.json
average4_upgrade_notworking.json
What versions are you using?
SpineOpt: v0.10.2
SpineInterface: v0.15.2
SpineToolbox: v0.9.6
Julia: v1.11.1
Beta Was this translation helpful? Give feedback.
All reactions