Package with functions that call Python
This package contains functions that call Python.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
exchange | Function that communicates with Python |
Function that communicates with Python
This function exchanges data with Python. See Buildings.Utilities.IO.Python27.UsersGuide for instructions, and Buildings.Utilities.IO.Python27.Functions.Examples for examples.
Type | Name | Default | Description |
---|---|---|---|
String | moduleName | Name of the python module that contains the function | |
String | functionName | moduleName | Name of the python function |
Real | dblWri[max(1, nDblWri)] | Double values to write | |
Integer | intWri[max(1, nIntWri)] | Integer values to write | |
String | strWri[max(1, nStrWri)] | String values to write | |
Integer | nDblWri | Number of double values to write | |
Integer | nDblRea | Number of double values to read | |
Integer | nIntWri | Number of integer values to write | |
Integer | nIntRea | Number of integer values to read | |
Integer | nStrWri | Number of strings to write |
Type | Name | Description |
---|---|---|
Real | dblRea[max(1, nDblRea)] | Double values returned by Python |
Integer | intRea[max(1, nIntRea)] | Integer values returned by Python |