This node is used for autoparametrization of Flux Python files (*.py). After selecting this file, the node provides all supported inputs as table or tree containing names and values. Each row can be added as a parameter or input slot using drag and drop.
Expected File Content
The input file can contain standard Python as well as special Flux commands. Currently supported types are shown in the following example:
# Python Boolean type AnyBoolValue = True # Flux ParameterGeom type with freely selectable argument order ParameterGeom(name= 'MyParameterGeom:MyComment1' , expression= '1.0' ) # Flux VariationParameterPilot type with freely selectable argument order VariationParameterPilot(name= 'MyVariationParameterPilot:MyComment2' , referenceValue= 2.0 ) # Flux VariationParameterTabulated type with freely selectable argument order VariationParameterTabulated(name= 'MyVariationParameterTabulated' , xParameter=VariationParameter[ 'ALPHA_AL' ], curvePoints=[XYCoordinates(xy=[ 0.0 , 1.0 ]), XYCoordinates(xy=[ 2.0 , 3.0 ]), XYCoordinates(xy=[ 4.0 , 5.0 ])]) # Flux VariationParameterMultiphysics type with freely selectable argument order VariationParameterMultiphysics(name= 'MyVariationParameterMultiphysics:MyComment3' , referenceValue= 3.0 ) # Flux VariationParameterFormula type with freely selectable argument order VariationParameterFormula(name= 'MyVariationParameterFormula:MyComment4' , formula= '4' ) # Flux SolvingOptions (precision, maximumIterationNumber) type with freely selectable argument order SolvingOptions[ 'SOLVING_OPTIONS' ].newtonRaphsonParameters=ParametersNewtonRaphson(precision= 1.5E-4 , maximumIterationNumber= 100 )
Extracted Information
For each supported parameter type, the following information is extracted:
Name
Reference Value
Comment (if it exists)
Lower Bound as result of 90% Value
Upper Bound as result of 110% Value
Type Value
entry_1 to allow treeview mode using
> >
Name | Value | Comment | Lower Bound | Upper Bound | Type | entry_1 |
---|---|---|---|---|---|---|
AnyBoolValue | 1 | - | 0 | 1 | bool | Boolean |
precision | 0.00015 | - | 0.000135 | 0.000165 | float | SolvingOptions |
maximumIterationNumber | 100 | - | 90 | 110 | int | SolvingOptions |
MyParameterGeom | 1.0 | MyComment1 | 0.9 | 1.1 | float | ParameterGeom |
MyVariationParameterFormula | 4.0 | MyComment4 | 3.6 | 4.4 | float | VariationParameterFormula |
MyVariationParameterPilot | 2.0 | MyComment2 | 1.8 | 2.2 | float | VariationParameterPilot |
MyVariationParameterMultiphysics | 3.0 | MyComment3 | 2.7 | 3.3 | float | VariationParameterMultiphysics |
MyVariationParameterTabulated_curvePoints_x1 | 0.0 | - | -1.0 | 1.0 | float | VariationParameterTabulated |
MyVariationParameterTabulated_curvePoints_y1 | 1.0 | - | 0.9 | 1.1 | float | VariationParameterTabulated |
MyVariationParameterTabulated_curvePoints_x2 | 2.0 | - | 1.8 | 2.2 | float | VariationParameterTabulated |
MyVariationParameterTabulated_curvePoints_y2 | 3.0 | - | 2.7 | 3.3 | float | VariationParameterTabulated |
MyVariationParameterTabulated_curvePoints_x3 | 4.0 | - | 3.6 | 4.4 | float | VariationParameterTabulated |
MyVariationParameterTabulated_curvePoints_y3 | 5.0 | - | 4.5 | 5.5 | float | VariationParameterTabulated |
Run Options
This node has general Run Options. The number of supported options is individual for each node.
Supported Versions
See the Supported Integration Versions table.