pyxems.run
check_config()
Check if the OpenEMS executable is available.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
True if the OpenEMS executable is found, False otherwise. |
Source code in src/pyxems/run.py
47 48 49 50 51 52 53 54 55 | |
find_openems_executable()
Find the OpenEMS executable by checking the system PATH and the OPENEMS_PATH environment variable. Returns: Optional[Path]: The path to the OpenEMS executable if found, otherwise None.
Source code in src/pyxems/run.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
simulate(config_path, run_dir)
Run an OpenEMS simulation using the specified configuration file and optional run directory.
Source code in src/pyxems/run.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |