Config¶
Functions for configuring sober.
config_energyplus
¶
config_energyplus(
*,
version=None,
root=None,
schema_energyplus=None,
exec_energyplus=None,
exec_epmacro=None,
exec_expandobjects=None,
exec_readvars=None,
)
Configure EnergyPlus-related file paths.
Three methods to find these paths are available.
- If
versionis specified, the default EnergyPlus installation directory on the current operating system will be used to find all paths. - If
versionis not specified androotis specified, the user-specified EnergyPlus installation directory will be used to find all paths. - If neither
versionnorrootis specified, each path can be specified separately, whereschema_energyplusandexec_energyplusare mandatory.
| PARAMETER | DESCRIPTION |
|---|---|
version
|
EnergyPlus version.
TYPE:
|
root
|
EnergyPlus installation directory path.
TYPE:
|
schema_energyplus
|
Energy+.idd file path.
TYPE:
|
exec_energyplus
|
EnergyPlus executable path.
TYPE:
|
exec_epmacro
|
EPMacro executable path.
TYPE:
|
exec_expandobjects
|
ExpandObjects executable path.
TYPE:
|
exec_readvars
|
ReadVarsESO executable path.
TYPE:
|
config_parallel
¶
config_parallel(*, n_processes=None)
Configure parallel-related settings.
| PARAMETER | DESCRIPTION |
|---|---|
n_processes
|
Number of prcesses to be parallelised, default is the total number of accessible CPU cores minus one.
TYPE:
|
config_script
¶
config_script(*, exec_python=None)
Configure script language paths.
| PARAMETER | DESCRIPTION |
|---|---|
exec_python
|
Python executable path, which can be obtained by
TYPE:
|