origin_sdk.types.scenario_types
The scenario_types module contains type hinting and can be useful when trying to understand what options you have when interacting with functions, or what outputs to expect from queries. Enums are available in scenario_enums for import and usage.
InputScenario Objects
class InputScenario(TypedDict)
Interface for creating or updating scenarios. Note that while you may be able to create a scenario partially, the values required to put it into a launchable state varies based on configuration. If you are missing parameters, the service ought to tell you what is missing.
Attributes:
projectGlobalIdstring - The ID of the project to create the scenario innamestring - The name of the scenariobaseScenarioGlobalIdstring - Required only for non-Aurorean use. The "base" scenario you wish to use. This is equivalent to your own scenario, or a published AER scenario that you wish to "copy".descriptionoptional, string - A description for the scenario. Purely for user purposes, not used by the system.regionGroupCodeoptional, string - A region group for the scenario. Be aware that a "regionGroup" would be AUS, whereas a "region" would then be "VIC" or "NSW". For most regions, the "regionGroup" and it's three letter region code are identical.useExogifiedInputsoptional, boolean - A true value here is equivalent to the "Model Determined Capacity" toggled off in the interface. When this is set to false, the model automatically builds capacity to support demand. If you unselect this, you are choosing to take control of defining the capacity build assumptions (this runs much more quickly). Whether these options are available, depends on the scenario this is based on.defaultCurrencyoptional, string - Should be set automatically once aregionGroupCodeis chosen, but can be overriddenretentionPolicyoptional, string - Internal only.scenarioRunTypeoptional, ScenarioRunType - Deprecated for external use. Internal only. External users should useuseExogifiedInputsinstead. Set useExogifiedInputs=True for MDC off (fixed capacities), or useExogifiedInputs=False for MDC on (model-determined capacities).modelTypeoptional, ModelType - Deprecated Internal users should usescenarioRunTypeinstead. Can be valuesAERES,NODAL,REGIONALorNETWORK.modelPriceSpikinessoptional, ModelPriceSpikiness - Used for AUS, set this to one of the ModelPriceSpikiness enum values if you wish to use the feature.yearsoptional, List[int] - Internal only.weatherYearoptional, int - The Weather Year for which to simulate (half)hourly profiles - if supported. Should only be used for scenarios with "fixed capacities" and without further edits; i.e.useExogifiedInputs=True, orscenarioRunType=FYRadvancedSettingsoptional, AdvancedScenarioSettings - Internal only.
ScenarioSummaryType Objects
class ScenarioSummaryType(TypedDict)
Dictionary received when requesting a list of scenarios
RegionDict Objects
class RegionDict(TypedDict)
Regional information object.
Attributes:
regionCodeString - ISO code or similar from the servicemetaUrlString - URL used to get the meta json file for this region's downloadsdataUrlBaseString - URL used as the base to construct a download URL for output data__meta_jsonOptional - Not provided by the service. This field is populated as required by internal implementation of the Scenario class. Observe this at your own risk.
ScenarioType Objects
class ScenarioType(ScenarioSummaryType)
Extended scenario details received when requesting a single scenario