pyopmspe11.utils.inputvalues module

Utility functions to set required input values for pyopmspe11.

pyopmspe11.utils.inputvalues.check_deck(cfg: Config) None

Check Flow release compatibility.

pyopmspe11.utils.inputvalues.load_config_txt(lines: list) dict

Read the txt (the types are checked when creating the Config data class)

pyopmspe11.utils.inputvalues.postprocesstoml(cfg: Config, time: float, msg1: str, msg2: str) None

Convert units and generate variables.

pyopmspe11.utils.inputvalues.process_input(cli: dict) Config

Process configuration input.

pyopmspe11.utils.inputvalues.setcaseproperties(cfg: Config) float

Set time scale, boxes, and sensors.