# Design of Experiment

Design of Experiment (DOE) enables the evaluation of more than one input factor by determining the input effects affecting the system for a desired output. It helps to evaluate the impact on outputs by controlling the value of a parameter or group of parameters. We can call data collection and analysis tool for DOE. One system is created during operation. We refresh our analysis by changing the variable values to examine the effect of different variable values on the output and compare them. In short, we examine how the same system works with multiple variable values. First of all, the lengths, the number of node in line with these lengths, type and dir values are entered to define my geometry. Then, boundary conditions are entered for case, as can be seen in the example below.

Step1.AddBC(“Initial Temperature”,[box1,All],,”K”) The initial temperature of the entire box geometry is defined as 0.

Step1.AddBC((“Temperature”,[box1,bottom], [Exp.AddParameter(100,numpy.linscpace(200,300,2))],”K”) In this line, the temperature of bottom is set to 100 by default. However, the analysis will also be repeated for 200 and 300 values. However, the point to note is that when the change on a different variable is taken into account, other variable values are preserved. Exp.AddParameter takes two values, the first value is the value that will remain constant while the experiments take place, the second is its variable space. If the last sentence is to be taken into account, the tempearature will be processed as 100 when experimenting on other variables. Step1.AddBC((“Heat Flux”,[box1,right, box1, left], [Exp.AddParameter(0,numpy.linscpace(2000,-2000,2)), Exp.AddParameter(0,numpy.linscpace(2000,-2000,2))]”K”) If we examine this line to understand the system; The heat flux is given zero value on the left and right edges of the box geometry. However, analysis will take place for 2000 and -2000 values during the experiments. Likewise, while the experiment is performed for other variables, the heat flux value for right and left will be accepted as 0. Ex.Build command allows solutions to be built by building at the end if the experiment is started. Ex.Result allows the resolved results to be written.

Note

work in progress

```1import TwinAPI
```

class TwinAPI.DOE.Experiment

Use to initialize a design of experiment It does not require any input Only works with Solver API. A new version to use it for any Python file is in progress