JOB 
RESULT_FILE               ${CMAKE_BINARY_DIR}/tests/${CURRENT_TEST}/res.dflw
MODELS_PATH               ${CMAKE_BINARY_DIR}/Units
MODELS_PATH               ${CMAKE_BINARY_DIR}/Solvers
MATERIALS_DATABASE        ${CMAKE_SOURCE_DIR}/Materials.dmdb
EXPORT_FILE               ${CMAKE_BINARY_DIR}/tests/${CURRENT_TEST}/real.res
EXPORT_SIGNIFICANCE_LIMIT 1e-06

SIMULATION_TIME            110
RELATIVE_TOLERANCE         1e-7
ABSOLUTE_TOLERANCE         1e-7
INIT_TIME_WINDOW           0.1
MIN_TIME_WINDOW            1e-09
MAX_TIME_WINDOW            1
MAX_ITERATIONS_NUMBER      500
WINDOW_CHANGE_RATE         1.2
ITERATIONS_UPPER_LIMIT     7
ITERATIONS_LOWER_LIMIT     3
ITERATIONS_UPPER_LIMIT_1ST 20
CONVERGENCE_METHOD         WEGSTEIN
RELAXATION_PARAMETER       1
ACCELERATION_LIMIT         -0.5
EXTRAPOLATION_METHOD       CUBIC_SPLINE

COMPOUNDS         "Sand" 
PHASES            "Solids" SOLID 
DISTRIBUTION_GRID "GLOBAL" SIZE NUMERIC EQUIDISTANT DIAMETER 100 0 2e-3

UNIT "Inlet" "InletFlow" 
UNIT "Mixer" "Mixer" 
UNIT "Crusher" "Crusher" 
UNIT "Splitter" "Splitter" 
UNIT "Delay" "Time delay" 
UNIT "Outlet" "OutletFlow" 

STREAM "Inflow" "Inlet" "InletMaterial" "Mixer" "In1"
STREAM "Delayed" "Delay" "Out" "Mixer" "In2"
STREAM "Mixed" "Mixer" "Out" "Crusher" "Input"
STREAM "Crushed" "Crusher" "Output" "Splitter" "In"
STREAM "Outflow" "Splitter" "Out1" "Outlet" "In"
STREAM "Split" "Splitter" "Out2" "Delay" "In"

UNIT_PARAMETER "Crusher" "Model" 0
UNIT_PARAMETER "Crusher" "P"  0 200
UNIT_PARAMETER "Crusher" "Mean"  0 0.001
UNIT_PARAMETER "Crusher" "Deviation"  0 0.00015
UNIT_PARAMETER "Crusher" "CSS" 0.04
UNIT_PARAMETER "Crusher" "alpha1" 0.6
UNIT_PARAMETER "Crusher" "alpha2" 2
UNIT_PARAMETER "Crusher" "n" 2
UNIT_PARAMETER "Crusher" "d'" 0.003
UNIT_PARAMETER "Crusher" "q" 0.55
UNIT_PARAMETER "Splitter" "KSplitt"  0 0.5
UNIT_PARAMETER "Delay" "Model" 0
UNIT_PARAMETER "Delay" "Time delay" 1
UNIT_PARAMETER "Delay" "Relative tolerance" 1e-6
UNIT_PARAMETER "Delay" "Absolute tolerance" 1e-6

HOLDUP_OVERALL      "Inlet" "InputMaterial" 0 1 300 100000 10 2 300 100000 50 2 300 100000 70 3 300 100000
HOLDUP_PHASES       "Inlet" "InputMaterial" 0 1 10 1 50 1 70 1
HOLDUP_COMPOUNDS    "Inlet" "InputMaterial" SOLID 0 1 10 1 50 1 70 1
HOLDUP_DISTRIBUTION "Inlet" "InputMaterial" SIZE MIXTURE Q3_DENSITY DIAMETER NORMAL 0 0.0015 0.0001

EXPORT_STREAM_MASS Mixed   0 50 110
EXPORT_STREAM_PSD  Mixed   0 50 110
EXPORT_STREAM_MASS Crushed 0 50 110
EXPORT_STREAM_PSD  Crushed 0 50 110
EXPORT_STREAM_MASS Split   0 50 110
EXPORT_STREAM_PSD  Split   0 50 110
EXPORT_STREAM_MASS Delayed 0 50 110
EXPORT_STREAM_PSD  Delayed 0 50 110
EXPORT_STREAM_MASS Outflow 0 50 110
EXPORT_STREAM_PSD  Outflow 0 50 110
