enum ModelTypeHow the data for a simulation input series is generated.
-
Unspecified model type.
Declaration
Swift
case modelTypeUnspecified -
The series is this structure’s observed history, replayed as recorded rather than modeled.
Declaration
Swift
case modelTypeHistoricalData -
The series is generated by a model, identified by model_version. Used for forecasts and for inputs that have no recorded history.
Declaration
Swift
case modelTypeModeledData -
The series is deliberately empty because the scenario does not use this model. For example, a scenario that holds a constant target has no comfort model. This does not indicate that data was unavailable or failed to load.
Declaration
Swift
case modelTypeEmptyData -
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"Declaration
Swift
init?(rawValue: UInt64)Parameters
rawValueThe raw value to use for the new instance.