Experiment
|
Page in progress. |
Creates an experimental object.
| Library |
|
Description
Function Experiment creates an experimental object EngeeDesignOptimization.Experiment. The experimental object contains the model name, model parameters, input and output signals. As a rule, the output signals obtained during a field experiment are associated with the corresponding signals in the model.
Syntax
Function call
-
exp = Experiment(model_name=model_name, parameters=parameters)— creates an objectexpwith propertiesmodel_nameandparameters, set to values ofmodel_nameandparametersaccordingly.
-
exp = Experiment(model_name=model_name, parameters=parameters, Name=Value)— sets properties using one or more optional arguments of the type «name-value».
Arguments
Input arguments
# model_name is the name of the model
+
line
Details
The name of the model associated with the experiment, specified as a string without a file extension.
| Типы данных |
|
# parameters — vector of model parameters
+
vector of objects
Details
The parameters of the model for the experiment, set as a vector of objects EngeeDesignOptimization.Continuous.
| Типы данных |
|
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.
# input_data — input data
+
[] (by default) | object
Details
Experimental input data set as a signal object EngeeDesignOptimization.SimulationSignal.
| Типы данных |
|
# output_data — output data
+
[] (by default) | object
Details
Experimental output data, set as a signal object EngeeDesignOptimization.SimulationSignal.
| Типы данных |
|
# name — name of the experiment
+
"" (by default) | line
Details
The name of the experiment, set as a string.
| Типы данных |
|
# description — description of the experiment
+
"" (by default) | line
Details
Description of the experiment, set as a string.
| Типы данных |
|
Output arguments
# exp — experimental object
+
object
Details
The object of the experiment. The object contains the following properties: model_name, input_data, output_data, parameters, name, description.
| Типы данных |
|