simulation_signal
|
Page in progress. |
Creates a signal object.
| Library |
|
Description
Function simulation_signal creates an object EngeeDesignOptimization.SimulationSignal, which binds the data to the model’s signal.
Syntax
Function call
-
signal = simulation_signal(Name=Value)— creates an objectsignaland sets its properties using one or more arguments of the type «name-value».
-
signal = simulation_signal(base_signal, Name=Value)— creates an objectsignalbased onbase_signal, the properties of which have been changed in accordance with the specified arguments of the type «name-value».
Arguments
Input arguments
# base_signal is the original signal
+
object
Details
The object of the signal. The object contains the following properties: block_path, block, port, values, name.
| Типы данных |
|
Input arguments «name-value»
Specify optional argument pairs as Name=Value, where Name — the name of the argument, and Value — the appropriate value. The order of type arguments «name-value» It doesn’t matter.
#
block_path is
the path to the system where the port
is located
"" (by default) | line
Details
The path to the system in the model where the port is located, specified as a string.
| Типы данных |
|
#
block —
the name of the system where the port
is located
"" (by default) | line
Details
The name of the system where the port is located, set as a string.
| Типы данных |
|
# port — port name
+
"" (by default) | line
Details
The name of the port, set as a string.
| Типы данных |
|
# values — signal values
+
DataFrame() (by default) | tabular data
Details
Signal values set as tabular data.
| Типы данных |
|
# name — the name of the signal
+
"" (by default) | line
Details
The name of the signal in the model, set as a string.
| Типы данных |
|
Output arguments
# signal — signal
+
object
Details
The object of the signal. The object contains the following properties: block_path, block, port, values, name.
| Типы данных |
|