numerous.sdk.models.input module#
- class numerous.sdk.models.input.InputSource(project_id, scenario_id, type, offset=0.0)#
Bases:
object- job_time_to_base_time(time)#
- Return type:
float
-
offset:
float= 0.0#
-
project_id:
str#
-
scenario_id:
str#
-
type:
InputSourceType#
- class numerous.sdk.models.input.InputSourceType(value)#
Bases:
EnumAn enumeration.
- DATASET = 'dataset'#
- SCENARIO = 'scenario'#
- class numerous.sdk.models.input.InputVariable(uuid, id, path, display_name, source, scale=1.0, offset=0.0)#
Bases:
object-
display_name:
str#
-
id:
str#
- property key: str#
-
offset:
float= 0.0#
-
path:
list[str]#
-
scale:
float= 1.0#
-
source:
Union[InputVariableScenarioSource,InputVariableStaticSource]#
-
uuid:
str#
- property value: float | None#
-
display_name:
- class numerous.sdk.models.input.InputVariableScenarioSource(source, tag)#
Bases:
object-
source:
InputSource#
-
tag:
str#
-
value:
Optional[float] = None# Should only be set by InputReader
-
source:
- numerous.sdk.models.input.get_input_sources_from_scenario_document(data)#
- Return type:
dict[str,InputSource]