Home › Forums › General › Uploading scenarios › Reply To: Uploading scenarios
apologies for the delay on this: That feature has not made it into ORE, but we have come across such a requirement in the past.
Our solution at the time was adding a new scenario generator class that inherits from ore::analytics::ScenarioGenerator and loads the scenario data from an external source (e.g. a file).
ScenarioGenerator::next(const Date& d)
is called, it simply builds a new Scenario with
and then populates the scenario object with the appropriate data from the external source, using
So this use case fits quite nicely into ORE’s scenario machinery with very little additional coding.
I hope this helps.