I have a reservoir model where I want to be able to select from different starting condition options:
- Start empty
- Start full
- Start using the historical contents on the day the simulation is kicked off
I have created a data element to select the source type, and I have values for all options in different data or timeseries elements. However, when I try to run the model I get the following error:
The following error was found in the model. To continue, you must resolve this error.
The initial value input definition for 'Initial Quantity' is invalid. The input only accepts constant values or references to static elements and local properties (e.g. a Data element that specifies a local value of 5m, or a static local property such as Realization), but can not reference element [DATA ELEMENT]. Note that outputs of Subsystem Containers can not be used for initial values.
I want to set this value once at the beginning of the timestep. Do you have any suggestions for how to assign this starting value dynamically?
Thanks in advance

Comments
3 comments